From 7d814da8280543a59fd2b5f773776f6a5b69bf97 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Sun, 15 Sep 2024 06:18:27 +0400 Subject: [PATCH] feat: Added interfaces. --- .../AutoSDK.CLI/Commands/GenerateCommand.cs | 2 + .../AutoSDK.SourceGenerators/SdkGenerator.cs | 5 + src/libs/AutoSDK/Models/EndPoint.cs | 4 + src/libs/AutoSDK/Sources/Sources.Clients.cs | 34 ++- src/libs/AutoSDK/Sources/Sources.Methods.cs | 103 +++++--- src/libs/AutoSDK/Sources/Sources.cs | 9 + .../Ai21/NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.CompletionClient.g.verified.cs | 2 +- .../_#G.CustomModelsClient.g.verified.cs | 2 +- .../_#G.DatasetsClient.g.verified.cs | 2 +- ...aticalErrorCorrectionsClient.g.verified.cs | 2 +- ...StudioV1ChatFilesConvertPost.g.verified.cs | 28 ++ .../_#G.IApi.V1Answer.g.verified.cs | 38 +++ ..._#G.IApi.V1ConversationalRag.g.verified.cs | 54 ++++ .../_#G.IApi.V1Embed.g.verified.cs | 32 +++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 86 ++++++ ...#G.IChatClient.V1J2UltraChat.g.verified.cs | 72 +++++ .../_#G.IChatClient.g.verified.cs | 25 ++ ...ionClient.V1J2GrandeComplete.g.verified.cs | 76 ++++++ ...1J2GrandeCustomModelComplete.g.verified.cs | 80 ++++++ ...t.V1J2GrandeInstructComplete.g.verified.cs | 76 ++++++ ...tionClient.V1J2JumboComplete.g.verified.cs | 76 ++++++ ...ionClient.V1J2JumboComplete2.g.verified.cs | 80 ++++++ ...nt.V1J2JumboInstructComplete.g.verified.cs | 76 ++++++ ...tionClient.V1J2LargeComplete.g.verified.cs | 76 ++++++ ...V1J2LargeCustomModelComplete.g.verified.cs | 80 ++++++ ...nt.V1J2LargeInstructComplete.g.verified.cs | 76 ++++++ ...tionClient.V1J2LightComplete.g.verified.cs | 76 ++++++ ...V1J2LightCustomModelComplete.g.verified.cs | 80 ++++++ ...letionClient.V1J2MidComplete.g.verified.cs | 76 ++++++ ...t.V1J2MidCustomModelComplete.g.verified.cs | 80 ++++++ ...tionClient.V1J2UltraComplete.g.verified.cs | 76 ++++++ ...ionClient.V1J2UltraComplete2.g.verified.cs | 80 ++++++ .../_#G.ICompletionClient.g.verified.cs | 25 ++ ...lsClient.V1CreateCustomModel.g.verified.cs | 38 +++ ...odelsClient.V1GetCustomModel.g.verified.cs | 18 ++ ...delsClient.V1GetCustomModels.g.verified.cs | 20 ++ ...lsClient.V1UpdateCustomModel.g.verified.cs | 32 +++ .../_#G.ICustomModelsClient.g.verified.cs | 25 ++ ...tasetsClient.V1DeleteDataset.g.verified.cs | 18 ++ ...IDatasetsClient.V1GetDataset.g.verified.cs | 18 ++ ...ient.V1GetDatasetDownloadUrl.g.verified.cs | 20 ++ ...DatasetsClient.V1GetDatasets.g.verified.cs | 16 ++ ...tasetsClient.V1UploadDataset.g.verified.cs | 42 +++ .../_#G.IDatasetsClient.g.verified.cs | 25 ++ ...rectionsClient.V1Corrections.g.verified.cs | 28 ++ ...aticalErrorCorrectionsClient.g.verified.cs | 25 ++ ...ompleteClient.V1ChatComplete.g.verified.cs | 81 ++++++ .../_#G.IJambaCompleteClient.g.verified.cs | 25 ++ ...gementClient.V1LibraryDelete.g.verified.cs | 21 ++ ...ntClient.V1LibraryManagement.g.verified.cs | 34 +++ ...tClient.V1LibraryManagement2.g.verified.cs | 26 ++ ...tClient.V1LibraryManagement3.g.verified.cs | 57 ++++ ...gementClient.V1LibraryUpload.g.verified.cs | 50 ++++ ..._#G.ILibraryManagementClient.g.verified.cs | 25 ++ ...araphraseClient.V1Paraphraze.g.verified.cs | 38 +++ .../_#G.IParaphraseClient.g.verified.cs | 25 ++ ...EngineClient.V1LibraryAnswer.g.verified.cs | 52 ++++ ...neClient.V1LibraryManagement.g.verified.cs | 18 ++ ...EngineClient.V1LibrarySearch.g.verified.cs | 48 ++++ .../_#G.IRAGEngineClient.g.verified.cs | 25 ++ ...ntationClient.V1Segmentation.g.verified.cs | 32 +++ .../_#G.ISegmentationClient.g.verified.cs | 25 ++ ...ISummarizeClient.V1Summarize.g.verified.cs | 38 +++ ...eClient.V1SummarizeBySegment.g.verified.cs | 34 +++ .../_#G.ISummarizeClient.g.verified.cs | 25 ++ ...G.ITokenizeClient.V1Tokenize.g.verified.cs | 28 ++ .../_#G.ITokenizeClient.g.verified.cs | 25 ++ .../_#G.JambaCompleteClient.g.verified.cs | 2 +- .../_#G.LibraryManagementClient.g.verified.cs | 2 +- .../_#G.ParaphraseClient.g.verified.cs | 2 +- .../_#G.RAGEngineClient.g.verified.cs | 2 +- .../_#G.SegmentationClient.g.verified.cs | 2 +- .../_#G.SummarizeClient.g.verified.cs | 2 +- .../_#G.TokenizeClient.g.verified.cs | 2 +- .../Ai21/SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.CompletionClient.g.verified.cs | 2 +- .../_#G.CustomModelsClient.g.verified.cs | 2 +- .../_#G.DatasetsClient.g.verified.cs | 2 +- ...aticalErrorCorrectionsClient.g.verified.cs | 2 +- ...StudioV1ChatFilesConvertPost.g.verified.cs | 28 ++ .../_#G.IApi.V1Answer.g.verified.cs | 38 +++ ..._#G.IApi.V1ConversationalRag.g.verified.cs | 54 ++++ .../_#G.IApi.V1Embed.g.verified.cs | 32 +++ .../SystemTextJson/_#G.IApi.g.verified.cs | 86 ++++++ ...#G.IChatClient.V1J2UltraChat.g.verified.cs | 72 +++++ .../_#G.IChatClient.g.verified.cs | 25 ++ ...ionClient.V1J2GrandeComplete.g.verified.cs | 76 ++++++ ...1J2GrandeCustomModelComplete.g.verified.cs | 80 ++++++ ...t.V1J2GrandeInstructComplete.g.verified.cs | 76 ++++++ ...tionClient.V1J2JumboComplete.g.verified.cs | 76 ++++++ ...ionClient.V1J2JumboComplete2.g.verified.cs | 80 ++++++ ...nt.V1J2JumboInstructComplete.g.verified.cs | 76 ++++++ ...tionClient.V1J2LargeComplete.g.verified.cs | 76 ++++++ ...V1J2LargeCustomModelComplete.g.verified.cs | 80 ++++++ ...nt.V1J2LargeInstructComplete.g.verified.cs | 76 ++++++ ...tionClient.V1J2LightComplete.g.verified.cs | 76 ++++++ ...V1J2LightCustomModelComplete.g.verified.cs | 80 ++++++ ...letionClient.V1J2MidComplete.g.verified.cs | 76 ++++++ ...t.V1J2MidCustomModelComplete.g.verified.cs | 80 ++++++ ...tionClient.V1J2UltraComplete.g.verified.cs | 76 ++++++ ...ionClient.V1J2UltraComplete2.g.verified.cs | 80 ++++++ .../_#G.ICompletionClient.g.verified.cs | 25 ++ ...lsClient.V1CreateCustomModel.g.verified.cs | 38 +++ ...odelsClient.V1GetCustomModel.g.verified.cs | 18 ++ ...delsClient.V1GetCustomModels.g.verified.cs | 20 ++ ...lsClient.V1UpdateCustomModel.g.verified.cs | 32 +++ .../_#G.ICustomModelsClient.g.verified.cs | 25 ++ ...tasetsClient.V1DeleteDataset.g.verified.cs | 18 ++ ...IDatasetsClient.V1GetDataset.g.verified.cs | 18 ++ ...ient.V1GetDatasetDownloadUrl.g.verified.cs | 20 ++ ...DatasetsClient.V1GetDatasets.g.verified.cs | 16 ++ ...tasetsClient.V1UploadDataset.g.verified.cs | 42 +++ .../_#G.IDatasetsClient.g.verified.cs | 25 ++ ...rectionsClient.V1Corrections.g.verified.cs | 28 ++ ...aticalErrorCorrectionsClient.g.verified.cs | 25 ++ ...ompleteClient.V1ChatComplete.g.verified.cs | 81 ++++++ .../_#G.IJambaCompleteClient.g.verified.cs | 25 ++ ...gementClient.V1LibraryDelete.g.verified.cs | 21 ++ ...ntClient.V1LibraryManagement.g.verified.cs | 34 +++ ...tClient.V1LibraryManagement2.g.verified.cs | 26 ++ ...tClient.V1LibraryManagement3.g.verified.cs | 57 ++++ ...gementClient.V1LibraryUpload.g.verified.cs | 50 ++++ ..._#G.ILibraryManagementClient.g.verified.cs | 25 ++ ...araphraseClient.V1Paraphraze.g.verified.cs | 38 +++ .../_#G.IParaphraseClient.g.verified.cs | 25 ++ ...EngineClient.V1LibraryAnswer.g.verified.cs | 52 ++++ ...neClient.V1LibraryManagement.g.verified.cs | 18 ++ ...EngineClient.V1LibrarySearch.g.verified.cs | 48 ++++ .../_#G.IRAGEngineClient.g.verified.cs | 25 ++ ...ntationClient.V1Segmentation.g.verified.cs | 32 +++ .../_#G.ISegmentationClient.g.verified.cs | 25 ++ ...ISummarizeClient.V1Summarize.g.verified.cs | 38 +++ ...eClient.V1SummarizeBySegment.g.verified.cs | 34 +++ .../_#G.ISummarizeClient.g.verified.cs | 25 ++ ...G.ITokenizeClient.V1Tokenize.g.verified.cs | 28 ++ .../_#G.ITokenizeClient.g.verified.cs | 25 ++ .../_#G.JambaCompleteClient.g.verified.cs | 2 +- .../_#G.LibraryManagementClient.g.verified.cs | 2 +- .../_#G.ParaphraseClient.g.verified.cs | 2 +- .../_#G.RAGEngineClient.g.verified.cs | 2 +- .../_#G.SegmentationClient.g.verified.cs | 2 +- .../_#G.SummarizeClient.g.verified.cs | 2 +- .../_#G.TokenizeClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.IApi.CreateMessage.g.verified.cs | 245 ++++++++++++++++++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 26 ++ .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.IApi.CreateMessage.g.verified.cs | 245 ++++++++++++++++++ .../SystemTextJson/_#G.IApi.g.verified.cs | 26 ++ .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.IApi.g.verified.cs | 41 +++ ...LeMURClient.GetLemurResponse.g.verified.cs | 19 ++ ...LeMURClient.LemurActionItems.g.verified.cs | 28 ++ ...URClient.LemurQuestionAnswer.g.verified.cs | 30 +++ ...#G.ILeMURClient.LemurSummary.g.verified.cs | 30 +++ .../_#G.ILeMURClient.LemurTask.g.verified.cs | 28 ++ ...Client.PurgeLemurRequestData.g.verified.cs | 20 ++ .../_#G.ILeMURClient.g.verified.cs | 26 ++ ...gClient.CreateTemporaryToken.g.verified.cs | 32 +++ .../_#G.IStreamingClient.g.verified.cs | 26 ++ ...criptClient.CreateTranscript.g.verified.cs | 28 ++ ...criptClient.DeleteTranscript.g.verified.cs | 19 ++ ...criptClient.GetRedactedAudio.g.verified.cs | 19 ++ ...ranscriptClient.GetSubtitles.g.verified.cs | 25 ++ ...anscriptClient.GetTranscript.g.verified.cs | 19 ++ ...ient.GetTranscriptParagraphs.g.verified.cs | 19 ++ ...lient.GetTranscriptSentences.g.verified.cs | 19 ++ ...scriptClient.ListTranscripts.g.verified.cs | 32 +++ ...ITranscriptClient.UploadFile.g.verified.cs | 17 ++ ...ITranscriptClient.WordSearch.g.verified.cs | 21 ++ .../_#G.ITranscriptClient.g.verified.cs | 26 ++ .../_#G.LeMURClient.g.verified.cs | 2 +- .../_#G.StreamingClient.g.verified.cs | 2 +- .../_#G.TranscriptClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../SystemTextJson/_#G.IApi.g.verified.cs | 41 +++ ...LeMURClient.GetLemurResponse.g.verified.cs | 19 ++ ...LeMURClient.LemurActionItems.g.verified.cs | 28 ++ ...URClient.LemurQuestionAnswer.g.verified.cs | 30 +++ ...#G.ILeMURClient.LemurSummary.g.verified.cs | 30 +++ .../_#G.ILeMURClient.LemurTask.g.verified.cs | 28 ++ ...Client.PurgeLemurRequestData.g.verified.cs | 20 ++ .../_#G.ILeMURClient.g.verified.cs | 26 ++ ...gClient.CreateTemporaryToken.g.verified.cs | 32 +++ .../_#G.IStreamingClient.g.verified.cs | 26 ++ ...criptClient.CreateTranscript.g.verified.cs | 28 ++ ...criptClient.DeleteTranscript.g.verified.cs | 19 ++ ...criptClient.GetRedactedAudio.g.verified.cs | 19 ++ ...ranscriptClient.GetSubtitles.g.verified.cs | 25 ++ ...anscriptClient.GetTranscript.g.verified.cs | 19 ++ ...ient.GetTranscriptParagraphs.g.verified.cs | 19 ++ ...lient.GetTranscriptSentences.g.verified.cs | 19 ++ ...scriptClient.ListTranscripts.g.verified.cs | 32 +++ ...ITranscriptClient.UploadFile.g.verified.cs | 17 ++ ...ITranscriptClient.WordSearch.g.verified.cs | 21 ++ .../_#G.ITranscriptClient.g.verified.cs | 26 ++ .../_#G.LeMURClient.g.verified.cs | 2 +- .../_#G.StreamingClient.g.verified.cs | 2 +- .../_#G.TranscriptClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ConnectorsClient.g.verified.cs | 2 +- .../_#G.DatasetsClient.g.verified.cs | 2 +- .../_#G.EmbedJobsClient.g.verified.cs | 2 +- .../_#G.FinetuningClient.g.verified.cs | 2 +- .../_#G.IApi.Chat.g.verified.cs | 214 +++++++++++++++ .../_#G.IApi.Chatv2.g.verified.cs | 98 +++++++ .../_#G.IApi.CheckAPIKey.g.verified.cs | 19 ++ .../_#G.IApi.Classify.g.verified.cs | 61 +++++ .../_#G.IApi.Detokenize.g.verified.cs | 40 +++ .../_#G.IApi.Embed.g.verified.cs | 77 ++++++ .../_#G.IApi.Generate.g.verified.cs | 134 ++++++++++ .../_#G.IApi.Rerank.g.verified.cs | 66 +++++ .../_#G.IApi.Summarize.g.verified.cs | 70 +++++ .../_#G.IApi.Tokenize.g.verified.cs | 40 +++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 53 ++++ ...ectorsClient.CreateConnector.g.verified.cs | 62 +++++ ...ectorsClient.DeleteConnector.g.verified.cs | 21 ++ ...onnectorsClient.GetConnector.g.verified.cs | 21 ++ ...nectorsClient.ListConnectors.g.verified.cs | 27 ++ ...ient.OAuthAuthorizeConnector.g.verified.cs | 23 ++ ...ectorsClient.UpdateConnector.g.verified.cs | 60 +++++ .../_#G.IConnectorsClient.g.verified.cs | 26 ++ ...DatasetsClient.CreateDataset.g.verified.cs | 84 ++++++ ...DatasetsClient.DeleteDataset.g.verified.cs | 21 ++ ...G.IDatasetsClient.GetDataset.g.verified.cs | 21 ++ ...tasetsClient.GetDatasetUsage.g.verified.cs | 19 ++ ...IDatasetsClient.ListDatasets.g.verified.cs | 33 +++ .../_#G.IDatasetsClient.g.verified.cs | 26 ++ ...bedJobsClient.CancelEmbedJob.g.verified.cs | 21 ++ ...bedJobsClient.CreateEmbedJob.g.verified.cs | 72 +++++ ...IEmbedJobsClient.GetEmbedJob.g.verified.cs | 21 ++ ...mbedJobsClient.ListEmbedJobs.g.verified.cs | 19 ++ .../_#G.IEmbedJobsClient.g.verified.cs | 26 ++ ...gClient.CreateFinetunedModel.g.verified.cs | 80 ++++++ ...gClient.DeleteFinetunedModel.g.verified.cs | 20 ++ ...ningClient.GetFinetunedModel.g.verified.cs | 20 ++ ...IFinetuningClient.ListEvents.g.verified.cs | 26 ++ ...ngClient.ListFinetunedModels.g.verified.cs | 24 ++ ...ient.ListTrainingStepMetrics.g.verified.cs | 24 ++ ...gClient.UpdateFinetunedModel.g.verified.cs | 80 ++++++ .../_#G.IFinetuningClient.g.verified.cs | 26 ++ .../_#G.IModelsClient.GetModel.g.verified.cs | 23 ++ ..._#G.IModelsClient.ListModels.g.verified.cs | 27 ++ .../_#G.IModelsClient.g.verified.cs | 25 ++ .../_#G.ModelsClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ConnectorsClient.g.verified.cs | 2 +- .../_#G.DatasetsClient.g.verified.cs | 2 +- .../_#G.EmbedJobsClient.g.verified.cs | 2 +- .../_#G.FinetuningClient.g.verified.cs | 2 +- .../_#G.IApi.Chat.g.verified.cs | 214 +++++++++++++++ .../_#G.IApi.Chatv2.g.verified.cs | 98 +++++++ .../_#G.IApi.CheckAPIKey.g.verified.cs | 19 ++ .../_#G.IApi.Classify.g.verified.cs | 61 +++++ .../_#G.IApi.Detokenize.g.verified.cs | 40 +++ .../_#G.IApi.Embed.g.verified.cs | 77 ++++++ .../_#G.IApi.Generate.g.verified.cs | 134 ++++++++++ .../_#G.IApi.Rerank.g.verified.cs | 66 +++++ .../_#G.IApi.Summarize.g.verified.cs | 70 +++++ .../_#G.IApi.Tokenize.g.verified.cs | 40 +++ .../SystemTextJson/_#G.IApi.g.verified.cs | 53 ++++ ...ectorsClient.CreateConnector.g.verified.cs | 62 +++++ ...ectorsClient.DeleteConnector.g.verified.cs | 21 ++ ...onnectorsClient.GetConnector.g.verified.cs | 21 ++ ...nectorsClient.ListConnectors.g.verified.cs | 27 ++ ...ient.OAuthAuthorizeConnector.g.verified.cs | 23 ++ ...ectorsClient.UpdateConnector.g.verified.cs | 60 +++++ .../_#G.IConnectorsClient.g.verified.cs | 26 ++ ...DatasetsClient.CreateDataset.g.verified.cs | 84 ++++++ ...DatasetsClient.DeleteDataset.g.verified.cs | 21 ++ ...G.IDatasetsClient.GetDataset.g.verified.cs | 21 ++ ...tasetsClient.GetDatasetUsage.g.verified.cs | 19 ++ ...IDatasetsClient.ListDatasets.g.verified.cs | 33 +++ .../_#G.IDatasetsClient.g.verified.cs | 26 ++ ...bedJobsClient.CancelEmbedJob.g.verified.cs | 21 ++ ...bedJobsClient.CreateEmbedJob.g.verified.cs | 72 +++++ ...IEmbedJobsClient.GetEmbedJob.g.verified.cs | 21 ++ ...mbedJobsClient.ListEmbedJobs.g.verified.cs | 19 ++ .../_#G.IEmbedJobsClient.g.verified.cs | 26 ++ ...gClient.CreateFinetunedModel.g.verified.cs | 80 ++++++ ...gClient.DeleteFinetunedModel.g.verified.cs | 20 ++ ...ningClient.GetFinetunedModel.g.verified.cs | 20 ++ ...IFinetuningClient.ListEvents.g.verified.cs | 26 ++ ...ngClient.ListFinetunedModels.g.verified.cs | 24 ++ ...ient.ListTrainingStepMetrics.g.verified.cs | 24 ++ ...gClient.UpdateFinetunedModel.g.verified.cs | 80 ++++++ .../_#G.IFinetuningClient.g.verified.cs | 26 ++ .../_#G.IModelsClient.GetModel.g.verified.cs | 23 ++ ..._#G.IModelsClient.ListModels.g.verified.cs | 27 ++ .../_#G.IModelsClient.g.verified.cs | 25 ++ .../_#G.ModelsClient.g.verified.cs | 2 +- .../_#G.AccountClient.g.verified.cs | 2 +- .../_#G.AdminClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.DataSetClient.g.verified.cs | 2 +- .../_#G.DescriptorClient.g.verified.cs | 2 +- .../_#G.ErrorClient.g.verified.cs | 2 +- .../_#G.ExcerptClient.g.verified.cs | 2 +- .../_#G.ExportClient.g.verified.cs | 2 +- .../_#G.FileClient.g.verified.cs | 2 +- .../_#G.FileStorageClient.g.verified.cs | 2 +- ...countDisableRecurringPayment.g.verified.cs | 20 ++ ...untBillingLogsForCurrentUser.g.verified.cs | 18 ++ ...AccountDetailsForCurrentUser.g.verified.cs | 18 ++ ...ountGetAccountForCurrentUser.g.verified.cs | 18 ++ ...ccountProjectInfoJobResponse.g.verified.cs | 20 ++ ...GetExportStorageMetricsJobId.g.verified.cs | 20 ++ ...tProjectAccessDetailsForUser.g.verified.cs | 20 ++ ...ProjectAccessDetailsForUser2.g.verified.cs | 20 ++ ...ountClient.AccountGrantAdmin.g.verified.cs | 22 ++ ...RemoveUserFromCurrentAccount.g.verified.cs | 20 ++ ...untClient.AccountRevokeAdmin.g.verified.cs | 22 ++ ...nt.AccountSendPaymentReceipt.g.verified.cs | 24 ++ ...StartExportAccountChargesJob.g.verified.cs | 20 ++ ...tartExportAccountPaymentsJob.g.verified.cs | 20 ++ ...portAccountProjectSummaryJob.g.verified.cs | 20 ++ ...tartGetAccountProjectInfoJob.g.verified.cs | 20 ++ ...AccountUpdateAccountPWPolicy.g.verified.cs | 40 +++ ...ent.AccountUpdateAccountUser.g.verified.cs | 30 +++ .../_#G.IAccountClient.g.verified.cs | 25 ++ ...ent.AdminAddCreditsToAccount.g.verified.cs | 24 ++ ...lient.AdminAddGroupToProject.g.verified.cs | 24 ++ ...ent.AdminAddNewUserToAccount.g.verified.cs | 32 +++ ...Client.AdminAddUserToAccount.g.verified.cs | 22 ++ ...inClient.AdminAddUserToGroup.g.verified.cs | 24 ++ ...minClient.AdminCreateAccount.g.verified.cs | 22 ++ ....AdminGetAccountTransactions.g.verified.cs | 20 ++ ...ient.AdminGetActiveUserInfos.g.verified.cs | 18 ++ ...ient.AdminGetActivityMetrics.g.verified.cs | 18 ++ ...ent.AdminGetFilteredProjects.g.verified.cs | 22 ++ ...nGetFilteredProjectsAndUsers.g.verified.cs | 22 ++ ...Client.AdminGetFilteredUsers.g.verified.cs | 22 ++ ...inClient.AdminGetMergeStatus.g.verified.cs | 20 ++ ....AdminGetProjectSecurityInfo.g.verified.cs | 20 ++ ...ient.AdminGetRevenueSegments.g.verified.cs | 18 ++ ...lient.AdminGetSignupSegments.g.verified.cs | 18 ++ ...dminGetUserFullDetailsByUser.g.verified.cs | 20 ++ ...minClient.AdminMergeProjects.g.verified.cs | 30 +++ ...nt.AdminMigrateUserToAccount.g.verified.cs | 22 ++ ...inClient.AdminOverrideVerify.g.verified.cs | 20 ++ ...inClient.AdminProcessPayment.g.verified.cs | 24 ++ ...t.AdminSendAllClientsMessage.g.verified.cs | 22 ++ ...AdminSetAccountCPUPMOverride.g.verified.cs | 24 ++ ...AdminSetAccountGroupDiscount.g.verified.cs | 20 ++ ...minSetAccountStudentDiscount.g.verified.cs | 20 ++ ...minSetAccountUserAdminStatus.g.verified.cs | 24 ++ ...nClient.AdminSetUserPassword.g.verified.cs | 22 ++ ...ent.AdminStartAddDemoProject.g.verified.cs | 20 ++ ....AdminStartExportAccountsJob.g.verified.cs | 18 ++ ...ent.AdminStartExportUsersJob.g.verified.cs | 18 ++ ...minClient.AdminSubmitPayment.g.verified.cs | 50 ++++ ...t.AdminUnlinkUserFromProject.g.verified.cs | 22 ++ ...minClient.AdminUpdateProject.g.verified.cs | 24 ++ ...nClient.AdminUpdateUserGroup.g.verified.cs | 30 +++ ...inClient.AdminUpdateUserInfo.g.verified.cs | 26 ++ .../_#G.IAdminClient.g.verified.cs | 25 ++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 125 +++++++++ ...atClient.ChatGetChatMessages.g.verified.cs | 26 ++ ...ient.ChatGetProjectChatUsers.g.verified.cs | 20 ++ ...ChatSubmitProjectChatMessage.g.verified.cs | 24 ++ .../_#G.IChatClient.g.verified.cs | 25 ++ ...aSetClient.DataSetAddDataSet.g.verified.cs | 48 ++++ ...tClient.DataSetDeleteDataSet.g.verified.cs | 54 ++++ ....DataSetGetDataSetsByProject.g.verified.cs | 20 ++ ...tClient.DataSetUpdateDataSet.g.verified.cs | 54 ++++ .../_#G.IDataSetClient.g.verified.cs | 25 ++ ...ient.DescriptorAddDescriptor.g.verified.cs | 26 ++ ...DescriptorAddDescriptorField.g.verified.cs | 32 +++ ....DescriptorAddDescriptorLink.g.verified.cs | 26 ++ ...t.DescriptorAddDescriptorSet.g.verified.cs | 26 ++ ...nt.DescriptorAddDynamicValue.g.verified.cs | 32 +++ ...torClient.DescriptorAddLinks.g.verified.cs | 22 ++ ...ptorAddOrUpdateDynamicValues.g.verified.cs | 28 ++ ...t.DescriptorDeleteDescriptor.g.verified.cs | 36 +++ ...criptorDeleteDescriptorField.g.verified.cs | 38 +++ ....DescriptorDeleteDescriptors.g.verified.cs | 22 ++ ...rClient.DescriptorDeleteLink.g.verified.cs | 24 ++ ...rceDeleteDescriptorSetPolled.g.verified.cs | 22 ++ ...tConvertFieldTypeJobResponse.g.verified.cs | 20 ++ ...rGetDesDataFromFileJobResult.g.verified.cs | 20 ++ ...etDesFieldImportDataFromFile.g.verified.cs | 20 ++ ...rGetDynamicValuesByProjectId.g.verified.cs | 20 ++ ...ProjectDescriptorFieldValues.g.verified.cs | 24 ++ ...torGetProjectDescriptorLinks.g.verified.cs | 20 ++ ...torGetProjectDescriptorProps.g.verified.cs | 20 ++ ...orGetProjectDescriptorsPaged.g.verified.cs | 24 ++ ...t.DescriptorGetResourceLinks.g.verified.cs | 22 ++ ...lient.DescriptorImportFields.g.verified.cs | 28 ++ ...eDescriptorSetPolledComplete.g.verified.cs | 20 ++ ...ptorStartConvertFieldTypeJob.g.verified.cs | 26 ++ ...torStartExportDescriptorsJob.g.verified.cs | 26 ++ ...scriptorStartExportFieldsJob.g.verified.cs | 24 ++ ...orStartGetDesDataFromFileJob.g.verified.cs | 24 ++ ...torStartImportDescriptorsJob.g.verified.cs | 26 ++ ...escriptorUpdateDescriptorSet.g.verified.cs | 34 +++ ...criptorUpdateFieldAndOptions.g.verified.cs | 30 +++ ....DescriptorUpdateFieldOrders.g.verified.cs | 22 ++ ...lient.DescriptorUpdateValues.g.verified.cs | 22 ++ .../_#G.IDescriptorClient.g.verified.cs | 25 ++ ...orClient.ErrorProcessUIError.g.verified.cs | 32 +++ .../_#G.IErrorClient.g.verified.cs | 25 ++ ...ptAddDocumentExcerptWithTags.g.verified.cs | 36 +++ ...lient.ExcerptAddImageExcerpt.g.verified.cs | 30 +++ ...nt.ExcerptAddPDFImageExcerpt.g.verified.cs | 30 +++ ...ExcerptAddPDFSwfImageExcerpt.g.verified.cs | 30 +++ ....ExcerptAddPDFSwfTextExcerpt.g.verified.cs | 34 +++ ...lient.ExcerptAddVideoExcerpt.g.verified.cs | 30 +++ ...tClient.ExcerptDeleteExcerpt.g.verified.cs | 22 ++ ...xcerptGetExcerptsByProjectId.g.verified.cs | 24 ++ ...tGetSearchExcerptsJobResults.g.verified.cs | 20 ++ ...tIsDeleteExcerptsJobComplete.g.verified.cs | 20 ++ ...xcerptStartDeleteExcerptsJob.g.verified.cs | 22 ++ ...xcerptStartSearchExcerptsJob.g.verified.cs | 22 ++ ...nt.ExcerptUpdateExcerptRange.g.verified.cs | 30 +++ ...ent.ExcerptUpdateExcerptText.g.verified.cs | 24 ++ ...erptUpdateImageExcerptRegion.g.verified.cs | 28 ++ ...datePDFSwfImageExcerptRegion.g.verified.cs | 28 ++ .../_#G.IExcerptClient.g.verified.cs | 25 ++ ...xportGetExcerptsExportStatus.g.verified.cs | 20 ++ ...t.ExportGetExcerptsExportURL.g.verified.cs | 20 ++ ...Client.ExportGetExportJobURI.g.verified.cs | 20 ++ ...nt.ExportIsExportJobComplete.g.verified.cs | 20 ++ ...nt.ExportStartExcerptsExport.g.verified.cs | 52 ++++ ...ortStartExportBubbleChartJob.g.verified.cs | 34 +++ ...rtExportHierarchicalChartJob.g.verified.cs | 24 ++ ...rtExportSingleSeriesChartJob.g.verified.cs | 22 ++ ...xportStartGridChartExportJob.g.verified.cs | 34 +++ .../_#G.IExportClient.g.verified.cs | 25 ++ ...#G.IFileClient.FileEmailFile.g.verified.cs | 26 ++ ....FileGetConvertPDF2SwfResult.g.verified.cs | 20 ++ ...ient.FileGetExportJobFileURI.g.verified.cs | 20 ++ ...ient.FileGetFXMLDocJobResult.g.verified.cs | 20 ++ ...Client.FileGetFXMLDocXPolled.g.verified.cs | 22 ++ ...eFileFromTempToPermJobResult.g.verified.cs | 20 ++ ....IFileClient.FileGetWriteKey.g.verified.cs | 18 ++ ....FileIsJobManagerJobComplete.g.verified.cs | 20 ++ ...ient.FileStartConvertPDF2Swf.g.verified.cs | 22 ++ ...t.FileStoreProjectFileString.g.verified.cs | 26 ++ .../_#G.IFileClient.g.verified.cs | 25 ++ ...ient.GetBytesFromFileStorage.g.verified.cs | 20 ++ ...ent.GetStringFromFileStorage.g.verified.cs | 20 ++ ...geClient.UploadToFileStorage.g.verified.cs | 26 ++ .../_#G.IFileStorageClient.g.verified.cs | 25 ++ ..._#G.ILoginClient.CreateLogin.g.verified.cs | 30 +++ ...oginClient.GetClientVersions.g.verified.cs | 16 ++ .../_#G.ILoginClient.GetRsa.g.verified.cs | 16 ++ ...GetServiceMessagesController.g.verified.cs | 16 ++ ...ILoginClient.GetTopBlogPosts.g.verified.cs | 16 ++ ..._#G.ILoginClient.UnsafeLogin.g.verified.cs | 30 +++ ...ILoginClient.Validate2Factor.g.verified.cs | 22 ++ .../_#G.ILoginClient.g.verified.cs | 25 ++ ...#G.IMemoClient.MemoAddFolder.g.verified.cs | 24 ++ .../_#G.IMemoClient.MemoAddMemo.g.verified.cs | 34 +++ ...lient.MemoAddMemoFolderLinks.g.verified.cs | 24 ++ ...IMemoClient.MemoDeleteFolder.g.verified.cs | 26 ++ ...G.IMemoClient.MemoDeleteMemo.g.verified.cs | 38 +++ ...opyMemosToDocumentsJobResult.g.verified.cs | 20 ++ ...emoGetImportMemosXMLResponse.g.verified.cs | 20 ++ ...MemoGetSearchMemosJobResults.g.verified.cs | 20 ++ ...yMemosToDocumentsJobComplete.g.verified.cs | 20 ++ ...lient.MemoLinkFoldersToMemos.g.verified.cs | 24 ++ ...G.IMemoClient.MemoLinkObject.g.verified.cs | 38 +++ ...dProjectMemosFoldersAndLinks.g.verified.cs | 20 ++ ...StartCopyMemosToDocumentsJob.g.verified.cs | 24 ++ ...oClient.MemoStartExportMemos.g.verified.cs | 36 +++ ...ient.MemoStartExportMemosXML.g.verified.cs | 32 +++ ...ient.MemoStartImportMemosXML.g.verified.cs | 22 ++ ...ient.MemoStartSearchMemosJob.g.verified.cs | 22 ++ ...IMemoClient.MemoUnlinkObject.g.verified.cs | 30 +++ ...Client.MemoUpdateFolderTitle.g.verified.cs | 24 ++ ...G.IMemoClient.MemoUpdateMemo.g.verified.cs | 48 ++++ .../_#G.IMemoClient.g.verified.cs | 25 ++ ...ient.ProjectAddProjectByUser.g.verified.cs | 24 ++ ...ectAddProjectEncryptedByUser.g.verified.cs | 26 ++ ...nt.ProjectCheckEncryptedData.g.verified.cs | 22 ++ ...GetAllProjectsForCurrentUser.g.verified.cs | 18 ++ ....ProjectGetCopyProjectStatus.g.verified.cs | 20 ++ ...etExportAccountProjectsJobId.g.verified.cs | 20 ++ ...Client.ProjectGetProjectById.g.verified.cs | 20 ++ ...jectGetProjectCopyJobProject.g.verified.cs | 20 ++ ...etProjectImportJobExceptions.g.verified.cs | 20 ++ ...rojectGetProjectImportStatus.g.verified.cs | 20 ++ ...tIsDeletedProjectJobComplete.g.verified.cs | 20 ++ ...tClient.ProjectRenameProject.g.verified.cs | 22 ++ ...t.ProjectStartCopyProjectJob.g.verified.cs | 26 ++ ...nt.ProjectStartDeleteProject.g.verified.cs | 22 ++ ...ProjectStartProjectExportJob.g.verified.cs | 28 ++ ...ProjectStartProjectImportJob.g.verified.cs | 24 ++ ...tClient.ProjectUpdateProject.g.verified.cs | 24 ++ .../_#G.IProjectClient.g.verified.cs | 25 ++ ...ent.ResourceAddAudioResource.g.verified.cs | 28 ++ ...ceClient.ResourceAddResource.g.verified.cs | 32 +++ ...Client.ResourceAddTranscript.g.verified.cs | 26 ++ ...ent.ResourceAddVideoResource.g.verified.cs | 28 ++ ...Client.ResourceCloneDocument.g.verified.cs | 26 ++ ...lient.ResourceDeleteResource.g.verified.cs | 46 ++++ ...ent.ResourceDeleteTranscript.g.verified.cs | 32 +++ ...tAddImageResourceJobResponse.g.verified.cs | 20 ++ ...dPDFImageResourceJobResponse.g.verified.cs | 20 ++ ...AddPDFSwfResourceJobResponse.g.verified.cs | 20 ++ ...ourceGetAudioResourceByJobId.g.verified.cs | 22 ++ ...lient.ResourceGetAudioSample.g.verified.cs | 22 ++ ...ceGetDocumentSearchJobResult.g.verified.cs | 20 ++ ...ient.ResourceGetExportJobURL.g.verified.cs | 20 ++ ...urceGetExportPDFSwfJobResult.g.verified.cs | 20 ++ ...ResourceGetResourceSyncItems.g.verified.cs | 22 ++ ...esourceGetResourcesByProject.g.verified.cs | 20 ++ ...ient.ResourceGetTranscripsts.g.verified.cs | 20 ++ ...urceGetTranscriptExportJobId.g.verified.cs | 22 ++ ...ourceGetVideoResourceByJobId.g.verified.cs | 22 ++ ...Client.ResourceIsJobComplete.g.verified.cs | 20 ++ ...ourceAudioConversionComplete.g.verified.cs | 20 ++ ...ourceVideoConversionComplete.g.verified.cs | 20 ++ ...eClient.ResourceLockResource.g.verified.cs | 22 ++ ...esourceStartAddImageResource.g.verified.cs | 26 ++ ...eStartAddPDFImageResourceJob.g.verified.cs | 26 ++ ...rceStartAddPDFSwfResourceJob.g.verified.cs | 24 ++ ...ourceStartDeleteResourcesJob.g.verified.cs | 22 ++ ...sourceStartDocumentSearchJob.g.verified.cs | 22 ++ ...tartExportDocumentJobWithRTL.g.verified.cs | 30 +++ ...ResourceStartExportPDFSwfJob.g.verified.cs | 22 ++ ...ourceStartExportResourcesJob.g.verified.cs | 26 ++ ...lient.ResourceUnlockResource.g.verified.cs | 22 ++ ...pdateDocumentDataAndExcerpts.g.verified.cs | 30 +++ ...lient.ResourceUpdateResource.g.verified.cs | 26 ++ ...esourceUpdateResourceAndData.g.verified.cs | 32 +++ ...ResourceUpdateTranscriptData.g.verified.cs | 36 +++ .../_#G.IResourceClient.g.verified.cs | 25 ++ ...urityClient.SecurityAddGroup.g.verified.cs | 24 ++ ...tyClient.SecurityDeleteGroup.g.verified.cs | 30 +++ ...nt.SecurityGetAllAccessLists.g.verified.cs | 18 ++ ...SecurityGetProjectGroupLinks.g.verified.cs | 20 ++ ...ent.SecurityGetProjectGroups.g.verified.cs | 20 ++ ...ient.SecurityGetSuperUserIds.g.verified.cs | 18 ++ ...ityClient.SecurityGetVersion.g.verified.cs | 18 ++ ...ient.SecurityImpersonateUser.g.verified.cs | 22 ++ ...urityClient.SecurityLinkUser.g.verified.cs | 24 ++ ...curityLinkUserWithInvitation.g.verified.cs | 26 ++ ...rityResetUserPasswordByEmail.g.verified.cs | 18 ++ ...yResetUserPasswordByUsername.g.verified.cs | 18 ++ ...nt.SecurityStopImpersonation.g.verified.cs | 18 ++ ...ecurityUnlinkUserFromProject.g.verified.cs | 22 ++ ...tyClient.SecurityUpdateGroup.g.verified.cs | 30 +++ .../_#G.ISecurityClient.g.verified.cs | 25 ++ ...yImportGetSurveyImportStatus.g.verified.cs | 20 ++ ...eyImportStartSurveyImportJob.g.verified.cs | 24 ++ .../_#G.ISurveyImportClient.g.verified.cs | 25 ++ ....TagAddExcerptTagApplication.g.verified.cs | 30 +++ ...TagAddExcerptTagApplications.g.verified.cs | 28 ++ .../_#G.ITagClient.TagAddTag.g.verified.cs | 36 +++ ..._#G.ITagClient.TagAddTagLink.g.verified.cs | 26 ++ ...agClient.TagAddTagWithParent.g.verified.cs | 38 +++ ...ITagClient.TagDeleteTagByJob.g.verified.cs | 46 ++++ ....ITagClient.TagDeleteTagLink.g.verified.cs | 34 +++ ...TagGetDeleteTagByJobResponse.g.verified.cs | 20 ++ ...rojectTagsExportFileURLJobId.g.verified.cs | 26 ++ ...tProjectTagsExportJobFileURL.g.verified.cs | 20 ++ ...etroUpcodeJobTagApplications.g.verified.cs | 20 ++ ...gGetTagApplicationsByProject.g.verified.cs | 24 ++ ...ient.TagGetTagLinksByProject.g.verified.cs | 20 ++ ...agClient.TagGetTagsByProject.g.verified.cs | 20 ++ ...TagsFromSpreadsheetJobResult.g.verified.cs | 20 ++ ....ITagClient.TagIsJobComplete.g.verified.cs | 20 ++ ....TagIsRetroUpcodeJobComplete.g.verified.cs | 20 ++ .../_#G.ITagClient.TagMergeTags.g.verified.cs | 24 ++ ...ient.TagRemoveTagApplication.g.verified.cs | 22 ++ ...TagStartGetTagsFromImportJob.g.verified.cs | 20 ++ ...Client.TagStartImportTagsJob.g.verified.cs | 22 ++ ...lient.TagStartRetroUpcodeJob.g.verified.cs | 22 ++ .../_#G.ITagClient.TagUpdateTag.g.verified.cs | 44 ++++ ...Client.TagUpdateTagAppWeight.g.verified.cs | 24 ++ ....ITagClient.TagUpdateTagLink.g.verified.cs | 32 +++ ...TagClient.TagUpdateTagOrders.g.verified.cs | 22 ++ .../_#G.ITagClient.g.verified.cs | 25 ++ ...ainingClient.TrainingAddTest.g.verified.cs | 32 +++ ...ingClient.TrainingDeleteTest.g.verified.cs | 38 +++ ...ent.TrainingGetAddTestResult.g.verified.cs | 20 ++ ...ient.TrainingGetTestExcerpts.g.verified.cs | 22 ++ ...GetTestMasterTagApplications.g.verified.cs | 22 ++ ...TrainingGetTestResultTagApps.g.verified.cs | 24 ++ ...iningGetTestResultsByProject.g.verified.cs | 20 ++ ...ngClient.TrainingGetTestTags.g.verified.cs | 22 ++ ...nt.TrainingGetTestsByProject.g.verified.cs | 20 ++ ...nt.TrainingIsTestAddComplete.g.verified.cs | 20 ++ ...lient.TrainingSaveTestResult.g.verified.cs | 30 +++ ...ningStartExportTestResultJob.g.verified.cs | 26 ++ ...ent.TrainingUpdateTestResult.g.verified.cs | 32 +++ .../_#G.ITrainingClient.g.verified.cs | 25 ++ ...cceptInvitationByCurrentUser.g.verified.cs | 20 ++ ...ient.UserAddNewUserToAccount.g.verified.cs | 34 +++ ...lient.UserDoesUserEmailExist.g.verified.cs | 18 ++ ...UserClient.UserDoesUserExist.g.verified.cs | 18 ++ ....UserGetCurrentAccountStatus.g.verified.cs | 18 ++ ...urrentUserPendingInvitations.g.verified.cs | 18 ++ ...erationResponseForConnection.g.verified.cs | 20 ++ ...rClient.UserGetFilteredUsers.g.verified.cs | 24 ++ ...erClient.UserGetProjectUsers.g.verified.cs | 20 ++ ...ient.UserInviteUserToProject.g.verified.cs | 24 ++ ...Client.UserLinkUsertoAccount.g.verified.cs | 22 ++ ...lient.UserRegisterConnection.g.verified.cs | 22 ++ ...ejectInvitationByCurrentUser.g.verified.cs | 20 ++ ....UserSendContactRequestEmail.g.verified.cs | 30 +++ ...rSubmitCurrentAccountPayment.g.verified.cs | 48 ++++ ...G.IUserClient.UserSubmitEula.g.verified.cs | 20 ++ ...rClient.UserUpdateConnection.g.verified.cs | 24 ++ ...serUpdateCurrentUserPassword.g.verified.cs | 22 ++ ...G.IUserClient.UserUpdateUser.g.verified.cs | 30 +++ ...serClient.UserUpdateUserInfo.g.verified.cs | 38 +++ ...erClient.UserValidate2Factor.g.verified.cs | 24 ++ ...IUserClient.UserValidateUser.g.verified.cs | 24 ++ ...UserClient.UserValidateUser2.g.verified.cs | 24 ++ .../_#G.IUserClient.g.verified.cs | 25 ++ ...UsersClient.GetConnectionKey.g.verified.cs | 18 ++ .../_#G.IUsersClient.GetMe.g.verified.cs | 18 ++ .../_#G.IUsersClient.g.verified.cs | 25 ++ .../_#G.LoginClient.g.verified.cs | 2 +- .../_#G.MemoClient.g.verified.cs | 2 +- .../_#G.ProjectClient.g.verified.cs | 2 +- .../_#G.ResourceClient.g.verified.cs | 2 +- .../_#G.SecurityClient.g.verified.cs | 2 +- .../_#G.SurveyImportClient.g.verified.cs | 2 +- .../_#G.TagClient.g.verified.cs | 2 +- .../_#G.TrainingClient.g.verified.cs | 2 +- .../_#G.UserClient.g.verified.cs | 2 +- .../_#G.UsersClient.g.verified.cs | 2 +- .../_#G.AccountClient.g.verified.cs | 2 +- .../_#G.AdminClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.DataSetClient.g.verified.cs | 2 +- .../_#G.DescriptorClient.g.verified.cs | 2 +- .../_#G.ErrorClient.g.verified.cs | 2 +- .../_#G.ExcerptClient.g.verified.cs | 2 +- .../_#G.ExportClient.g.verified.cs | 2 +- .../_#G.FileClient.g.verified.cs | 2 +- .../_#G.FileStorageClient.g.verified.cs | 2 +- ...countDisableRecurringPayment.g.verified.cs | 20 ++ ...untBillingLogsForCurrentUser.g.verified.cs | 18 ++ ...AccountDetailsForCurrentUser.g.verified.cs | 18 ++ ...ountGetAccountForCurrentUser.g.verified.cs | 18 ++ ...ccountProjectInfoJobResponse.g.verified.cs | 20 ++ ...GetExportStorageMetricsJobId.g.verified.cs | 20 ++ ...tProjectAccessDetailsForUser.g.verified.cs | 20 ++ ...ProjectAccessDetailsForUser2.g.verified.cs | 20 ++ ...ountClient.AccountGrantAdmin.g.verified.cs | 22 ++ ...RemoveUserFromCurrentAccount.g.verified.cs | 20 ++ ...untClient.AccountRevokeAdmin.g.verified.cs | 22 ++ ...nt.AccountSendPaymentReceipt.g.verified.cs | 24 ++ ...StartExportAccountChargesJob.g.verified.cs | 20 ++ ...tartExportAccountPaymentsJob.g.verified.cs | 20 ++ ...portAccountProjectSummaryJob.g.verified.cs | 20 ++ ...tartGetAccountProjectInfoJob.g.verified.cs | 20 ++ ...AccountUpdateAccountPWPolicy.g.verified.cs | 40 +++ ...ent.AccountUpdateAccountUser.g.verified.cs | 30 +++ .../_#G.IAccountClient.g.verified.cs | 25 ++ ...ent.AdminAddCreditsToAccount.g.verified.cs | 24 ++ ...lient.AdminAddGroupToProject.g.verified.cs | 24 ++ ...ent.AdminAddNewUserToAccount.g.verified.cs | 32 +++ ...Client.AdminAddUserToAccount.g.verified.cs | 22 ++ ...inClient.AdminAddUserToGroup.g.verified.cs | 24 ++ ...minClient.AdminCreateAccount.g.verified.cs | 22 ++ ....AdminGetAccountTransactions.g.verified.cs | 20 ++ ...ient.AdminGetActiveUserInfos.g.verified.cs | 18 ++ ...ient.AdminGetActivityMetrics.g.verified.cs | 18 ++ ...ent.AdminGetFilteredProjects.g.verified.cs | 22 ++ ...nGetFilteredProjectsAndUsers.g.verified.cs | 22 ++ ...Client.AdminGetFilteredUsers.g.verified.cs | 22 ++ ...inClient.AdminGetMergeStatus.g.verified.cs | 20 ++ ....AdminGetProjectSecurityInfo.g.verified.cs | 20 ++ ...ient.AdminGetRevenueSegments.g.verified.cs | 18 ++ ...lient.AdminGetSignupSegments.g.verified.cs | 18 ++ ...dminGetUserFullDetailsByUser.g.verified.cs | 20 ++ ...minClient.AdminMergeProjects.g.verified.cs | 30 +++ ...nt.AdminMigrateUserToAccount.g.verified.cs | 22 ++ ...inClient.AdminOverrideVerify.g.verified.cs | 20 ++ ...inClient.AdminProcessPayment.g.verified.cs | 24 ++ ...t.AdminSendAllClientsMessage.g.verified.cs | 22 ++ ...AdminSetAccountCPUPMOverride.g.verified.cs | 24 ++ ...AdminSetAccountGroupDiscount.g.verified.cs | 20 ++ ...minSetAccountStudentDiscount.g.verified.cs | 20 ++ ...minSetAccountUserAdminStatus.g.verified.cs | 24 ++ ...nClient.AdminSetUserPassword.g.verified.cs | 22 ++ ...ent.AdminStartAddDemoProject.g.verified.cs | 20 ++ ....AdminStartExportAccountsJob.g.verified.cs | 18 ++ ...ent.AdminStartExportUsersJob.g.verified.cs | 18 ++ ...minClient.AdminSubmitPayment.g.verified.cs | 50 ++++ ...t.AdminUnlinkUserFromProject.g.verified.cs | 22 ++ ...minClient.AdminUpdateProject.g.verified.cs | 24 ++ ...nClient.AdminUpdateUserGroup.g.verified.cs | 30 +++ ...inClient.AdminUpdateUserInfo.g.verified.cs | 26 ++ .../_#G.IAdminClient.g.verified.cs | 25 ++ .../SystemTextJson/_#G.IApi.g.verified.cs | 125 +++++++++ ...atClient.ChatGetChatMessages.g.verified.cs | 26 ++ ...ient.ChatGetProjectChatUsers.g.verified.cs | 20 ++ ...ChatSubmitProjectChatMessage.g.verified.cs | 24 ++ .../_#G.IChatClient.g.verified.cs | 25 ++ ...aSetClient.DataSetAddDataSet.g.verified.cs | 48 ++++ ...tClient.DataSetDeleteDataSet.g.verified.cs | 54 ++++ ....DataSetGetDataSetsByProject.g.verified.cs | 20 ++ ...tClient.DataSetUpdateDataSet.g.verified.cs | 54 ++++ .../_#G.IDataSetClient.g.verified.cs | 25 ++ ...ient.DescriptorAddDescriptor.g.verified.cs | 26 ++ ...DescriptorAddDescriptorField.g.verified.cs | 32 +++ ....DescriptorAddDescriptorLink.g.verified.cs | 26 ++ ...t.DescriptorAddDescriptorSet.g.verified.cs | 26 ++ ...nt.DescriptorAddDynamicValue.g.verified.cs | 32 +++ ...torClient.DescriptorAddLinks.g.verified.cs | 22 ++ ...ptorAddOrUpdateDynamicValues.g.verified.cs | 28 ++ ...t.DescriptorDeleteDescriptor.g.verified.cs | 36 +++ ...criptorDeleteDescriptorField.g.verified.cs | 38 +++ ....DescriptorDeleteDescriptors.g.verified.cs | 22 ++ ...rClient.DescriptorDeleteLink.g.verified.cs | 24 ++ ...rceDeleteDescriptorSetPolled.g.verified.cs | 22 ++ ...tConvertFieldTypeJobResponse.g.verified.cs | 20 ++ ...rGetDesDataFromFileJobResult.g.verified.cs | 20 ++ ...etDesFieldImportDataFromFile.g.verified.cs | 20 ++ ...rGetDynamicValuesByProjectId.g.verified.cs | 20 ++ ...ProjectDescriptorFieldValues.g.verified.cs | 24 ++ ...torGetProjectDescriptorLinks.g.verified.cs | 20 ++ ...torGetProjectDescriptorProps.g.verified.cs | 20 ++ ...orGetProjectDescriptorsPaged.g.verified.cs | 24 ++ ...t.DescriptorGetResourceLinks.g.verified.cs | 22 ++ ...lient.DescriptorImportFields.g.verified.cs | 28 ++ ...eDescriptorSetPolledComplete.g.verified.cs | 20 ++ ...ptorStartConvertFieldTypeJob.g.verified.cs | 26 ++ ...torStartExportDescriptorsJob.g.verified.cs | 26 ++ ...scriptorStartExportFieldsJob.g.verified.cs | 24 ++ ...orStartGetDesDataFromFileJob.g.verified.cs | 24 ++ ...torStartImportDescriptorsJob.g.verified.cs | 26 ++ ...escriptorUpdateDescriptorSet.g.verified.cs | 34 +++ ...criptorUpdateFieldAndOptions.g.verified.cs | 30 +++ ....DescriptorUpdateFieldOrders.g.verified.cs | 22 ++ ...lient.DescriptorUpdateValues.g.verified.cs | 22 ++ .../_#G.IDescriptorClient.g.verified.cs | 25 ++ ...orClient.ErrorProcessUIError.g.verified.cs | 32 +++ .../_#G.IErrorClient.g.verified.cs | 25 ++ ...ptAddDocumentExcerptWithTags.g.verified.cs | 36 +++ ...lient.ExcerptAddImageExcerpt.g.verified.cs | 30 +++ ...nt.ExcerptAddPDFImageExcerpt.g.verified.cs | 30 +++ ...ExcerptAddPDFSwfImageExcerpt.g.verified.cs | 30 +++ ....ExcerptAddPDFSwfTextExcerpt.g.verified.cs | 34 +++ ...lient.ExcerptAddVideoExcerpt.g.verified.cs | 30 +++ ...tClient.ExcerptDeleteExcerpt.g.verified.cs | 22 ++ ...xcerptGetExcerptsByProjectId.g.verified.cs | 24 ++ ...tGetSearchExcerptsJobResults.g.verified.cs | 20 ++ ...tIsDeleteExcerptsJobComplete.g.verified.cs | 20 ++ ...xcerptStartDeleteExcerptsJob.g.verified.cs | 22 ++ ...xcerptStartSearchExcerptsJob.g.verified.cs | 22 ++ ...nt.ExcerptUpdateExcerptRange.g.verified.cs | 30 +++ ...ent.ExcerptUpdateExcerptText.g.verified.cs | 24 ++ ...erptUpdateImageExcerptRegion.g.verified.cs | 28 ++ ...datePDFSwfImageExcerptRegion.g.verified.cs | 28 ++ .../_#G.IExcerptClient.g.verified.cs | 25 ++ ...xportGetExcerptsExportStatus.g.verified.cs | 20 ++ ...t.ExportGetExcerptsExportURL.g.verified.cs | 20 ++ ...Client.ExportGetExportJobURI.g.verified.cs | 20 ++ ...nt.ExportIsExportJobComplete.g.verified.cs | 20 ++ ...nt.ExportStartExcerptsExport.g.verified.cs | 52 ++++ ...ortStartExportBubbleChartJob.g.verified.cs | 34 +++ ...rtExportHierarchicalChartJob.g.verified.cs | 24 ++ ...rtExportSingleSeriesChartJob.g.verified.cs | 22 ++ ...xportStartGridChartExportJob.g.verified.cs | 34 +++ .../_#G.IExportClient.g.verified.cs | 25 ++ ...#G.IFileClient.FileEmailFile.g.verified.cs | 26 ++ ....FileGetConvertPDF2SwfResult.g.verified.cs | 20 ++ ...ient.FileGetExportJobFileURI.g.verified.cs | 20 ++ ...ient.FileGetFXMLDocJobResult.g.verified.cs | 20 ++ ...Client.FileGetFXMLDocXPolled.g.verified.cs | 22 ++ ...eFileFromTempToPermJobResult.g.verified.cs | 20 ++ ....IFileClient.FileGetWriteKey.g.verified.cs | 18 ++ ....FileIsJobManagerJobComplete.g.verified.cs | 20 ++ ...ient.FileStartConvertPDF2Swf.g.verified.cs | 22 ++ ...t.FileStoreProjectFileString.g.verified.cs | 26 ++ .../_#G.IFileClient.g.verified.cs | 25 ++ ...ient.GetBytesFromFileStorage.g.verified.cs | 20 ++ ...ent.GetStringFromFileStorage.g.verified.cs | 20 ++ ...geClient.UploadToFileStorage.g.verified.cs | 26 ++ .../_#G.IFileStorageClient.g.verified.cs | 25 ++ ..._#G.ILoginClient.CreateLogin.g.verified.cs | 30 +++ ...oginClient.GetClientVersions.g.verified.cs | 16 ++ .../_#G.ILoginClient.GetRsa.g.verified.cs | 16 ++ ...GetServiceMessagesController.g.verified.cs | 16 ++ ...ILoginClient.GetTopBlogPosts.g.verified.cs | 16 ++ ..._#G.ILoginClient.UnsafeLogin.g.verified.cs | 30 +++ ...ILoginClient.Validate2Factor.g.verified.cs | 22 ++ .../_#G.ILoginClient.g.verified.cs | 25 ++ ...#G.IMemoClient.MemoAddFolder.g.verified.cs | 24 ++ .../_#G.IMemoClient.MemoAddMemo.g.verified.cs | 34 +++ ...lient.MemoAddMemoFolderLinks.g.verified.cs | 24 ++ ...IMemoClient.MemoDeleteFolder.g.verified.cs | 26 ++ ...G.IMemoClient.MemoDeleteMemo.g.verified.cs | 38 +++ ...opyMemosToDocumentsJobResult.g.verified.cs | 20 ++ ...emoGetImportMemosXMLResponse.g.verified.cs | 20 ++ ...MemoGetSearchMemosJobResults.g.verified.cs | 20 ++ ...yMemosToDocumentsJobComplete.g.verified.cs | 20 ++ ...lient.MemoLinkFoldersToMemos.g.verified.cs | 24 ++ ...G.IMemoClient.MemoLinkObject.g.verified.cs | 38 +++ ...dProjectMemosFoldersAndLinks.g.verified.cs | 20 ++ ...StartCopyMemosToDocumentsJob.g.verified.cs | 24 ++ ...oClient.MemoStartExportMemos.g.verified.cs | 36 +++ ...ient.MemoStartExportMemosXML.g.verified.cs | 32 +++ ...ient.MemoStartImportMemosXML.g.verified.cs | 22 ++ ...ient.MemoStartSearchMemosJob.g.verified.cs | 22 ++ ...IMemoClient.MemoUnlinkObject.g.verified.cs | 30 +++ ...Client.MemoUpdateFolderTitle.g.verified.cs | 24 ++ ...G.IMemoClient.MemoUpdateMemo.g.verified.cs | 48 ++++ .../_#G.IMemoClient.g.verified.cs | 25 ++ ...ient.ProjectAddProjectByUser.g.verified.cs | 24 ++ ...ectAddProjectEncryptedByUser.g.verified.cs | 26 ++ ...nt.ProjectCheckEncryptedData.g.verified.cs | 22 ++ ...GetAllProjectsForCurrentUser.g.verified.cs | 18 ++ ....ProjectGetCopyProjectStatus.g.verified.cs | 20 ++ ...etExportAccountProjectsJobId.g.verified.cs | 20 ++ ...Client.ProjectGetProjectById.g.verified.cs | 20 ++ ...jectGetProjectCopyJobProject.g.verified.cs | 20 ++ ...etProjectImportJobExceptions.g.verified.cs | 20 ++ ...rojectGetProjectImportStatus.g.verified.cs | 20 ++ ...tIsDeletedProjectJobComplete.g.verified.cs | 20 ++ ...tClient.ProjectRenameProject.g.verified.cs | 22 ++ ...t.ProjectStartCopyProjectJob.g.verified.cs | 26 ++ ...nt.ProjectStartDeleteProject.g.verified.cs | 22 ++ ...ProjectStartProjectExportJob.g.verified.cs | 28 ++ ...ProjectStartProjectImportJob.g.verified.cs | 24 ++ ...tClient.ProjectUpdateProject.g.verified.cs | 24 ++ .../_#G.IProjectClient.g.verified.cs | 25 ++ ...ent.ResourceAddAudioResource.g.verified.cs | 28 ++ ...ceClient.ResourceAddResource.g.verified.cs | 32 +++ ...Client.ResourceAddTranscript.g.verified.cs | 26 ++ ...ent.ResourceAddVideoResource.g.verified.cs | 28 ++ ...Client.ResourceCloneDocument.g.verified.cs | 26 ++ ...lient.ResourceDeleteResource.g.verified.cs | 46 ++++ ...ent.ResourceDeleteTranscript.g.verified.cs | 32 +++ ...tAddImageResourceJobResponse.g.verified.cs | 20 ++ ...dPDFImageResourceJobResponse.g.verified.cs | 20 ++ ...AddPDFSwfResourceJobResponse.g.verified.cs | 20 ++ ...ourceGetAudioResourceByJobId.g.verified.cs | 22 ++ ...lient.ResourceGetAudioSample.g.verified.cs | 22 ++ ...ceGetDocumentSearchJobResult.g.verified.cs | 20 ++ ...ient.ResourceGetExportJobURL.g.verified.cs | 20 ++ ...urceGetExportPDFSwfJobResult.g.verified.cs | 20 ++ ...ResourceGetResourceSyncItems.g.verified.cs | 22 ++ ...esourceGetResourcesByProject.g.verified.cs | 20 ++ ...ient.ResourceGetTranscripsts.g.verified.cs | 20 ++ ...urceGetTranscriptExportJobId.g.verified.cs | 22 ++ ...ourceGetVideoResourceByJobId.g.verified.cs | 22 ++ ...Client.ResourceIsJobComplete.g.verified.cs | 20 ++ ...ourceAudioConversionComplete.g.verified.cs | 20 ++ ...ourceVideoConversionComplete.g.verified.cs | 20 ++ ...eClient.ResourceLockResource.g.verified.cs | 22 ++ ...esourceStartAddImageResource.g.verified.cs | 26 ++ ...eStartAddPDFImageResourceJob.g.verified.cs | 26 ++ ...rceStartAddPDFSwfResourceJob.g.verified.cs | 24 ++ ...ourceStartDeleteResourcesJob.g.verified.cs | 22 ++ ...sourceStartDocumentSearchJob.g.verified.cs | 22 ++ ...tartExportDocumentJobWithRTL.g.verified.cs | 30 +++ ...ResourceStartExportPDFSwfJob.g.verified.cs | 22 ++ ...ourceStartExportResourcesJob.g.verified.cs | 26 ++ ...lient.ResourceUnlockResource.g.verified.cs | 22 ++ ...pdateDocumentDataAndExcerpts.g.verified.cs | 30 +++ ...lient.ResourceUpdateResource.g.verified.cs | 26 ++ ...esourceUpdateResourceAndData.g.verified.cs | 32 +++ ...ResourceUpdateTranscriptData.g.verified.cs | 36 +++ .../_#G.IResourceClient.g.verified.cs | 25 ++ ...urityClient.SecurityAddGroup.g.verified.cs | 24 ++ ...tyClient.SecurityDeleteGroup.g.verified.cs | 30 +++ ...nt.SecurityGetAllAccessLists.g.verified.cs | 18 ++ ...SecurityGetProjectGroupLinks.g.verified.cs | 20 ++ ...ent.SecurityGetProjectGroups.g.verified.cs | 20 ++ ...ient.SecurityGetSuperUserIds.g.verified.cs | 18 ++ ...ityClient.SecurityGetVersion.g.verified.cs | 18 ++ ...ient.SecurityImpersonateUser.g.verified.cs | 22 ++ ...urityClient.SecurityLinkUser.g.verified.cs | 24 ++ ...curityLinkUserWithInvitation.g.verified.cs | 26 ++ ...rityResetUserPasswordByEmail.g.verified.cs | 18 ++ ...yResetUserPasswordByUsername.g.verified.cs | 18 ++ ...nt.SecurityStopImpersonation.g.verified.cs | 18 ++ ...ecurityUnlinkUserFromProject.g.verified.cs | 22 ++ ...tyClient.SecurityUpdateGroup.g.verified.cs | 30 +++ .../_#G.ISecurityClient.g.verified.cs | 25 ++ ...yImportGetSurveyImportStatus.g.verified.cs | 20 ++ ...eyImportStartSurveyImportJob.g.verified.cs | 24 ++ .../_#G.ISurveyImportClient.g.verified.cs | 25 ++ ....TagAddExcerptTagApplication.g.verified.cs | 30 +++ ...TagAddExcerptTagApplications.g.verified.cs | 28 ++ .../_#G.ITagClient.TagAddTag.g.verified.cs | 36 +++ ..._#G.ITagClient.TagAddTagLink.g.verified.cs | 26 ++ ...agClient.TagAddTagWithParent.g.verified.cs | 38 +++ ...ITagClient.TagDeleteTagByJob.g.verified.cs | 46 ++++ ....ITagClient.TagDeleteTagLink.g.verified.cs | 34 +++ ...TagGetDeleteTagByJobResponse.g.verified.cs | 20 ++ ...rojectTagsExportFileURLJobId.g.verified.cs | 26 ++ ...tProjectTagsExportJobFileURL.g.verified.cs | 20 ++ ...etroUpcodeJobTagApplications.g.verified.cs | 20 ++ ...gGetTagApplicationsByProject.g.verified.cs | 24 ++ ...ient.TagGetTagLinksByProject.g.verified.cs | 20 ++ ...agClient.TagGetTagsByProject.g.verified.cs | 20 ++ ...TagsFromSpreadsheetJobResult.g.verified.cs | 20 ++ ....ITagClient.TagIsJobComplete.g.verified.cs | 20 ++ ....TagIsRetroUpcodeJobComplete.g.verified.cs | 20 ++ .../_#G.ITagClient.TagMergeTags.g.verified.cs | 24 ++ ...ient.TagRemoveTagApplication.g.verified.cs | 22 ++ ...TagStartGetTagsFromImportJob.g.verified.cs | 20 ++ ...Client.TagStartImportTagsJob.g.verified.cs | 22 ++ ...lient.TagStartRetroUpcodeJob.g.verified.cs | 22 ++ .../_#G.ITagClient.TagUpdateTag.g.verified.cs | 44 ++++ ...Client.TagUpdateTagAppWeight.g.verified.cs | 24 ++ ....ITagClient.TagUpdateTagLink.g.verified.cs | 32 +++ ...TagClient.TagUpdateTagOrders.g.verified.cs | 22 ++ .../_#G.ITagClient.g.verified.cs | 25 ++ ...ainingClient.TrainingAddTest.g.verified.cs | 32 +++ ...ingClient.TrainingDeleteTest.g.verified.cs | 38 +++ ...ent.TrainingGetAddTestResult.g.verified.cs | 20 ++ ...ient.TrainingGetTestExcerpts.g.verified.cs | 22 ++ ...GetTestMasterTagApplications.g.verified.cs | 22 ++ ...TrainingGetTestResultTagApps.g.verified.cs | 24 ++ ...iningGetTestResultsByProject.g.verified.cs | 20 ++ ...ngClient.TrainingGetTestTags.g.verified.cs | 22 ++ ...nt.TrainingGetTestsByProject.g.verified.cs | 20 ++ ...nt.TrainingIsTestAddComplete.g.verified.cs | 20 ++ ...lient.TrainingSaveTestResult.g.verified.cs | 30 +++ ...ningStartExportTestResultJob.g.verified.cs | 26 ++ ...ent.TrainingUpdateTestResult.g.verified.cs | 32 +++ .../_#G.ITrainingClient.g.verified.cs | 25 ++ ...cceptInvitationByCurrentUser.g.verified.cs | 20 ++ ...ient.UserAddNewUserToAccount.g.verified.cs | 34 +++ ...lient.UserDoesUserEmailExist.g.verified.cs | 18 ++ ...UserClient.UserDoesUserExist.g.verified.cs | 18 ++ ....UserGetCurrentAccountStatus.g.verified.cs | 18 ++ ...urrentUserPendingInvitations.g.verified.cs | 18 ++ ...erationResponseForConnection.g.verified.cs | 20 ++ ...rClient.UserGetFilteredUsers.g.verified.cs | 24 ++ ...erClient.UserGetProjectUsers.g.verified.cs | 20 ++ ...ient.UserInviteUserToProject.g.verified.cs | 24 ++ ...Client.UserLinkUsertoAccount.g.verified.cs | 22 ++ ...lient.UserRegisterConnection.g.verified.cs | 22 ++ ...ejectInvitationByCurrentUser.g.verified.cs | 20 ++ ....UserSendContactRequestEmail.g.verified.cs | 30 +++ ...rSubmitCurrentAccountPayment.g.verified.cs | 48 ++++ ...G.IUserClient.UserSubmitEula.g.verified.cs | 20 ++ ...rClient.UserUpdateConnection.g.verified.cs | 24 ++ ...serUpdateCurrentUserPassword.g.verified.cs | 22 ++ ...G.IUserClient.UserUpdateUser.g.verified.cs | 30 +++ ...serClient.UserUpdateUserInfo.g.verified.cs | 38 +++ ...erClient.UserValidate2Factor.g.verified.cs | 24 ++ ...IUserClient.UserValidateUser.g.verified.cs | 24 ++ ...UserClient.UserValidateUser2.g.verified.cs | 24 ++ .../_#G.IUserClient.g.verified.cs | 25 ++ ...UsersClient.GetConnectionKey.g.verified.cs | 18 ++ .../_#G.IUsersClient.GetMe.g.verified.cs | 18 ++ .../_#G.IUsersClient.g.verified.cs | 25 ++ .../_#G.LoginClient.g.verified.cs | 2 +- .../_#G.MemoClient.g.verified.cs | 2 +- .../_#G.ProjectClient.g.verified.cs | 2 +- .../_#G.ResourceClient.g.verified.cs | 2 +- .../_#G.SecurityClient.g.verified.cs | 2 +- .../_#G.SurveyImportClient.g.verified.cs | 2 +- .../_#G.TagClient.g.verified.cs | 2 +- .../_#G.TrainingClient.g.verified.cs | 2 +- .../_#G.UserClient.g.verified.cs | 2 +- .../_#G.UsersClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.IApi.g.verified.cs | 31 +++ ...lient.MigrationsCancelImport.g.verified.cs | 23 ++ ...eArchiveForAuthenticatedUser.g.verified.cs | 19 ++ ...igrationsDeleteArchiveForOrg.g.verified.cs | 21 ++ ...rationsDownloadArchiveForOrg.g.verified.cs | 21 ++ ...tArchiveForAuthenticatedUser.g.verified.cs | 37 +++ ...t.MigrationsGetCommitAuthors.g.verified.cs | 26 ++ ...nt.MigrationsGetImportStatus.g.verified.cs | 45 ++++ ...ient.MigrationsGetLargeFiles.g.verified.cs | 23 ++ ...etStatusForAuthenticatedUser.g.verified.cs | 26 ++ ...nt.MigrationsGetStatusForOrg.g.verified.cs | 28 ++ ...ionsListForAuthenticatedUser.g.verified.cs | 25 ++ ...sClient.MigrationsListForOrg.g.verified.cs | 30 +++ ...istReposForAuthenticatedUser.g.verified.cs | 27 ++ ...nt.MigrationsListReposForOrg.g.verified.cs | 29 +++ ...nt.MigrationsMapCommitAuthor.g.verified.cs | 54 ++++ ...t.MigrationsSetLfsPreference.g.verified.cs | 50 ++++ ...onsStartForAuthenticatedUser.g.verified.cs | 71 +++++ ...Client.MigrationsStartForOrg.g.verified.cs | 80 ++++++ ...Client.MigrationsStartImport.g.verified.cs | 64 +++++ ...lockRepoForAuthenticatedUser.g.verified.cs | 21 ++ ...t.MigrationsUnlockRepoForOrg.g.verified.cs | 23 ++ ...lient.MigrationsUpdateImport.g.verified.cs | 66 +++++ .../_#G.IMigrationsClient.g.verified.cs | 26 ++ .../_#G.MigrationsClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../SystemTextJson/_#G.IApi.g.verified.cs | 31 +++ ...lient.MigrationsCancelImport.g.verified.cs | 23 ++ ...eArchiveForAuthenticatedUser.g.verified.cs | 19 ++ ...igrationsDeleteArchiveForOrg.g.verified.cs | 21 ++ ...rationsDownloadArchiveForOrg.g.verified.cs | 21 ++ ...tArchiveForAuthenticatedUser.g.verified.cs | 37 +++ ...t.MigrationsGetCommitAuthors.g.verified.cs | 26 ++ ...nt.MigrationsGetImportStatus.g.verified.cs | 45 ++++ ...ient.MigrationsGetLargeFiles.g.verified.cs | 23 ++ ...etStatusForAuthenticatedUser.g.verified.cs | 26 ++ ...nt.MigrationsGetStatusForOrg.g.verified.cs | 28 ++ ...ionsListForAuthenticatedUser.g.verified.cs | 25 ++ ...sClient.MigrationsListForOrg.g.verified.cs | 30 +++ ...istReposForAuthenticatedUser.g.verified.cs | 27 ++ ...nt.MigrationsListReposForOrg.g.verified.cs | 29 +++ ...nt.MigrationsMapCommitAuthor.g.verified.cs | 54 ++++ ...t.MigrationsSetLfsPreference.g.verified.cs | 50 ++++ ...onsStartForAuthenticatedUser.g.verified.cs | 71 +++++ ...Client.MigrationsStartForOrg.g.verified.cs | 80 ++++++ ...Client.MigrationsStartImport.g.verified.cs | 64 +++++ ...lockRepoForAuthenticatedUser.g.verified.cs | 21 ++ ...t.MigrationsUnlockRepoForOrg.g.verified.cs | 23 ++ ...lient.MigrationsUpdateImport.g.verified.cs | 66 +++++ .../_#G.IMigrationsClient.g.verified.cs | 26 ++ .../_#G.MigrationsClient.g.verified.cs | 2 +- .../_#G.ActionsClient.g.verified.cs | 2 +- .../_#G.ActivityClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.AppsClient.g.verified.cs | 2 +- .../_#G.BillingClient.g.verified.cs | 2 +- .../_#G.ChecksClient.g.verified.cs | 2 +- .../_#G.ClassroomClient.g.verified.cs | 2 +- .../_#G.CodeScanningClient.g.verified.cs | 2 +- .../_#G.CodesOfConductClient.g.verified.cs | 2 +- .../_#G.CodespacesClient.g.verified.cs | 2 +- .../_#G.CopilotClient.g.verified.cs | 2 +- .../_#G.DependabotClient.g.verified.cs | 2 +- .../_#G.DependencyGraphClient.g.verified.cs | 2 +- .../_#G.DesktopClient.g.verified.cs | 2 +- .../_#G.EmojisClient.g.verified.cs | 2 +- .../_#G.EnterpriseTeamsClient.g.verified.cs | 2 +- .../_#G.GistsClient.g.verified.cs | 2 +- .../_#G.GitClient.g.verified.cs | 2 +- .../_#G.GitignoreClient.g.verified.cs | 2 +- ...belsToSelfHostedRunnerForOrg.g.verified.cs | 44 ++++ ...elsToSelfHostedRunnerForRepo.g.verified.cs | 48 ++++ ...nsAddSelectedRepoToOrgSecret.g.verified.cs | 27 ++ ...AddSelectedRepoToOrgVariable.g.verified.cs | 26 ++ ...nt.ActionsApproveWorkflowRun.g.verified.cs | 24 ++ ...ent.ActionsCancelWorkflowRun.g.verified.cs | 24 ++ ...onsCreateEnvironmentVariable.g.verified.cs | 52 ++++ ...ateOrUpdateEnvironmentSecret.g.verified.cs | 58 +++++ ...tionsCreateOrUpdateOrgSecret.g.verified.cs | 58 +++++ ...ionsCreateOrUpdateRepoSecret.g.verified.cs | 54 ++++ ...ent.ActionsCreateOrgVariable.g.verified.cs | 52 ++++ ...reateRegistrationTokenForOrg.g.verified.cs | 25 ++ ...eateRegistrationTokenForRepo.g.verified.cs | 27 ++ ...tionsCreateRemoveTokenForOrg.g.verified.cs | 25 ++ ...ionsCreateRemoveTokenForRepo.g.verified.cs | 27 ++ ...nt.ActionsCreateRepoVariable.g.verified.cs | 48 ++++ ...ctionsCreateWorkflowDispatch.g.verified.cs | 52 ++++ ...ctionsDeleteActionsCacheById.g.verified.cs | 24 ++ ...tionsDeleteActionsCacheByKey.g.verified.cs | 26 ++ ...Client.ActionsDeleteArtifact.g.verified.cs | 24 ++ ...tionsDeleteEnvironmentSecret.g.verified.cs | 27 ++ ...onsDeleteEnvironmentVariable.g.verified.cs | 27 ++ ...lient.ActionsDeleteOrgSecret.g.verified.cs | 23 ++ ...ent.ActionsDeleteOrgVariable.g.verified.cs | 23 ++ ...ient.ActionsDeleteRepoSecret.g.verified.cs | 25 ++ ...nt.ActionsDeleteRepoVariable.g.verified.cs | 25 ++ ...eleteSelfHostedRunnerFromOrg.g.verified.cs | 23 ++ ...leteSelfHostedRunnerFromRepo.g.verified.cs | 25 ++ ...ent.ActionsDeleteWorkflowRun.g.verified.cs | 25 ++ ...ActionsDeleteWorkflowRunLogs.g.verified.cs | 24 ++ ...oryGithubActionsOrganization.g.verified.cs | 22 ++ ...lient.ActionsDisableWorkflow.g.verified.cs | 24 ++ ...ient.ActionsDownloadArtifact.g.verified.cs | 27 ++ ...ownloadJobLogsForWorkflowRun.g.verified.cs | 26 ++ ...wnloadWorkflowRunAttemptLogs.g.verified.cs | 28 ++ ...tionsDownloadWorkflowRunLogs.g.verified.cs | 26 ++ ...oryGithubActionsOrganization.g.verified.cs | 22 ++ ...Client.ActionsEnableWorkflow.g.verified.cs | 24 ++ ...ctionsForceCancelWorkflowRun.g.verified.cs | 25 ++ ...enerateRunnerJitconfigForOrg.g.verified.cs | 53 ++++ ...nerateRunnerJitconfigForRepo.g.verified.cs | 57 ++++ ...t.ActionsGetActionsCacheList.g.verified.cs | 42 +++ ....ActionsGetActionsCacheUsage.g.verified.cs | 24 ++ ...ctionsCacheUsageByRepoForOrg.g.verified.cs | 29 +++ ...nsGetActionsCacheUsageForOrg.g.verified.cs | 21 ++ ...etAllowedActionsOrganization.g.verified.cs | 20 ++ ...sGetAllowedActionsRepository.g.verified.cs | 22 ++ ...onsClient.ActionsGetArtifact.g.verified.cs | 25 ++ ...GetCustomOidcSubClaimForRepo.g.verified.cs | 22 ++ ...tionsGetEnvironmentPublicKey.g.verified.cs | 26 ++ ....ActionsGetEnvironmentSecret.g.verified.cs | 27 ++ ...ctionsGetEnvironmentVariable.g.verified.cs | 27 ++ ...kflowPermissionsOrganization.g.verified.cs | 22 ++ ...orkflowPermissionsRepository.g.verified.cs | 24 ++ ...tionsPermissionsOrganization.g.verified.cs | 20 ++ ...ActionsPermissionsRepository.g.verified.cs | 22 ++ ....ActionsGetJobForWorkflowRun.g.verified.cs | 25 ++ ...lient.ActionsGetOrgPublicKey.g.verified.cs | 22 ++ ...nsClient.ActionsGetOrgSecret.g.verified.cs | 23 ++ ...Client.ActionsGetOrgVariable.g.verified.cs | 23 ++ ...sGetPendingDeploymentsForRun.g.verified.cs | 25 ++ ...ient.ActionsGetRepoPublicKey.g.verified.cs | 24 ++ ...sClient.ActionsGetRepoSecret.g.verified.cs | 25 ++ ...lient.ActionsGetRepoVariable.g.verified.cs | 25 ++ ...ient.ActionsGetReviewsForRun.g.verified.cs | 24 ++ ...onsGetSelfHostedRunnerForOrg.g.verified.cs | 23 ++ ...nsGetSelfHostedRunnerForRepo.g.verified.cs | 25 ++ ...onsClient.ActionsGetWorkflow.g.verified.cs | 26 ++ ...etWorkflowAccessToRepository.g.verified.cs | 24 ++ ...Client.ActionsGetWorkflowRun.g.verified.cs | 29 +++ ...ActionsGetWorkflowRunAttempt.g.verified.cs | 31 +++ ...t.ActionsGetWorkflowRunUsage.g.verified.cs | 25 ++ ...ient.ActionsGetWorkflowUsage.g.verified.cs | 26 ++ ....ActionsListArtifactsForRepo.g.verified.cs | 33 +++ ...ctionsListEnvironmentSecrets.g.verified.cs | 34 +++ ...ionsListEnvironmentVariables.g.verified.cs | 33 +++ ...ctionsListJobsForWorkflowRun.g.verified.cs | 38 +++ ...istJobsForWorkflowRunAttempt.g.verified.cs | 36 +++ ...elsForSelfHostedRunnerForOrg.g.verified.cs | 23 ++ ...lsForSelfHostedRunnerForRepo.g.verified.cs | 25 ++ ...Client.ActionsListOrgSecrets.g.verified.cs | 30 +++ ...ient.ActionsListOrgVariables.g.verified.cs | 29 +++ ...sListRepoOrganizationSecrets.g.verified.cs | 32 +++ ...istRepoOrganizationVariables.g.verified.cs | 31 +++ ...lient.ActionsListRepoSecrets.g.verified.cs | 32 +++ ...ent.ActionsListRepoVariables.g.verified.cs | 31 +++ ...ent.ActionsListRepoWorkflows.g.verified.cs | 31 +++ ...ListRunnerApplicationsForOrg.g.verified.cs | 21 ++ ...istRunnerApplicationsForRepo.g.verified.cs | 23 ++ ...istSelectedReposForOrgSecret.g.verified.cs | 32 +++ ...tSelectedReposForOrgVariable.g.verified.cs | 32 +++ ...ledGithubActionsOrganization.g.verified.cs | 28 ++ ...sListSelfHostedRunnersForOrg.g.verified.cs | 31 +++ ...ListSelfHostedRunnersForRepo.g.verified.cs | 33 +++ ...ionsListWorkflowRunArtifacts.g.verified.cs | 35 +++ ...ient.ActionsListWorkflowRuns.g.verified.cs | 51 ++++ ...tionsListWorkflowRunsForRepo.g.verified.cs | 50 ++++ ...ctionsReRunJobForWorkflowRun.g.verified.cs | 47 ++++ ...sClient.ActionsReRunWorkflow.g.verified.cs | 47 ++++ ...tionsReRunWorkflowFailedJobs.g.verified.cs | 47 ++++ ...lsFromSelfHostedRunnerForOrg.g.verified.cs | 24 ++ ...sFromSelfHostedRunnerForRepo.g.verified.cs | 26 ++ ...elFromSelfHostedRunnerForOrg.g.verified.cs | 28 ++ ...lFromSelfHostedRunnerForRepo.g.verified.cs | 30 +++ ...oveSelectedRepoFromOrgSecret.g.verified.cs | 27 ++ ...eSelectedRepoFromOrgVariable.g.verified.cs | 27 ++ ...tionsReviewCustomGatesForRun.g.verified.cs | 46 ++++ ...viewPendingDeploymentsForRun.g.verified.cs | 59 +++++ ...etAllowedActionsOrganization.g.verified.cs | 47 ++++ ...sSetAllowedActionsRepository.g.verified.cs | 51 ++++ ...elsForSelfHostedRunnerForOrg.g.verified.cs | 46 ++++ ...lsForSelfHostedRunnerForRepo.g.verified.cs | 50 ++++ ...SetCustomOidcSubClaimForRepo.g.verified.cs | 46 ++++ ...kflowPermissionsOrganization.g.verified.cs | 46 ++++ ...orkflowPermissionsRepository.g.verified.cs | 50 ++++ ...tionsPermissionsOrganization.g.verified.cs | 42 +++ ...ActionsPermissionsRepository.g.verified.cs | 46 ++++ ...SetSelectedReposForOrgSecret.g.verified.cs | 48 ++++ ...tSelectedReposForOrgVariable.g.verified.cs | 48 ++++ ...ledGithubActionsOrganization.g.verified.cs | 38 +++ ...etWorkflowAccessToRepository.g.verified.cs | 48 ++++ ...onsUpdateEnvironmentVariable.g.verified.cs | 56 ++++ ...ent.ActionsUpdateOrgVariable.g.verified.cs | 56 ++++ ...nt.ActionsUpdateRepoVariable.g.verified.cs | 52 ++++ .../_#G.IActionsClient.g.verified.cs | 26 ++ ...IsStarredByAuthenticatedUser.g.verified.cs | 21 ++ ...tivityDeleteRepoSubscription.g.verified.cs | 21 ++ ...vityDeleteThreadSubscription.g.verified.cs | 19 ++ ...ivityClient.ActivityGetFeeds.g.verified.cs | 26 ++ ....ActivityGetRepoSubscription.g.verified.cs | 21 ++ ...vityClient.ActivityGetThread.g.verified.cs | 19 ++ ...criptionForAuthenticatedUser.g.verified.cs | 20 ++ ...stEventsForAuthenticatedUser.g.verified.cs | 27 ++ ...icationsForAuthenticatedUser.g.verified.cs | 37 +++ ...rgEventsForAuthenticatedUser.g.verified.cs | 29 +++ ...ent.ActivityListPublicEvents.g.verified.cs | 25 ++ ...stPublicEventsForRepoNetwork.g.verified.cs | 28 ++ ...ivityListPublicEventsForUser.g.verified.cs | 26 ++ ....ActivityListPublicOrgEvents.g.verified.cs | 26 ++ ...ityListReceivedEventsForUser.g.verified.cs | 27 ++ ...tReceivedPublicEventsForUser.g.verified.cs | 26 ++ ...lient.ActivityListRepoEvents.g.verified.cs | 29 +++ ...icationsForAuthenticatedUser.g.verified.cs | 41 +++ ...osStarredByAuthenticatedUser.g.verified.cs | 35 +++ ...tivityListReposStarredByUser.g.verified.cs | 37 +++ ...tivityListReposWatchedByUser.g.verified.cs | 27 ++ ...ctivityListStargazersForRepo.g.verified.cs | 31 +++ ...hedReposForAuthenticatedUser.g.verified.cs | 25 ++ ....ActivityListWatchersForRepo.g.verified.cs | 29 +++ ...ivityMarkNotificationsAsRead.g.verified.cs | 36 +++ ...yMarkRepoNotificationsAsRead.g.verified.cs | 40 +++ ...ent.ActivityMarkThreadAsDone.g.verified.cs | 19 ++ ...ent.ActivityMarkThreadAsRead.g.verified.cs | 19 ++ ....ActivitySetRepoSubscription.g.verified.cs | 44 ++++ ...ctivitySetThreadSubscription.g.verified.cs | 41 +++ ...StarRepoForAuthenticatedUser.g.verified.cs | 21 ++ ...starRepoForAuthenticatedUser.g.verified.cs | 21 ++ .../_#G.IActivityClient.g.verified.cs | 26 ++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 216 +++++++++++++++ ...allationForAuthenticatedUser.g.verified.cs | 21 ++ ...G.IAppsClient.AppsCheckToken.g.verified.cs | 36 +++ ...lient.AppsCreateFromManifest.g.verified.cs | 19 ++ ...reateInstallationAccessToken.g.verified.cs | 53 ++++ ...ient.AppsDeleteAuthorization.g.verified.cs | 38 +++ ...lient.AppsDeleteInstallation.g.verified.cs | 20 ++ ....IAppsClient.AppsDeleteToken.g.verified.cs | 36 +++ ...sClient.AppsGetAuthenticated.g.verified.cs | 18 ++ ...#G.IAppsClient.AppsGetBySlug.g.verified.cs | 19 ++ ...psClient.AppsGetInstallation.g.verified.cs | 20 ++ ...lient.AppsGetOrgInstallation.g.verified.cs | 20 ++ ...ient.AppsGetRepoInstallation.g.verified.cs | 22 ++ ...etSubscriptionPlanForAccount.g.verified.cs | 20 ++ ...riptionPlanForAccountStubbed.g.verified.cs | 20 ++ ...ient.AppsGetUserInstallation.g.verified.cs | 20 ++ ...t.AppsGetWebhookConfigForApp.g.verified.cs | 18 ++ ...lient.AppsGetWebhookDelivery.g.verified.cs | 20 ++ ...ient.AppsListAccountsForPlan.g.verified.cs | 34 +++ ...psListAccountsForPlanStubbed.g.verified.cs | 34 +++ ...ionReposForAuthenticatedUser.g.verified.cs | 29 +++ ...nRequestsForAuthenticatedApp.g.verified.cs | 25 ++ ...Client.AppsListInstallations.g.verified.cs | 30 +++ ...llationsForAuthenticatedUser.g.verified.cs | 27 ++ ...#G.IAppsClient.AppsListPlans.g.verified.cs | 26 ++ ...sClient.AppsListPlansStubbed.g.verified.cs | 26 ++ ...eposAccessibleToInstallation.g.verified.cs | 25 ++ ...riptionsForAuthenticatedUser.g.verified.cs | 25 ++ ...sForAuthenticatedUserStubbed.g.verified.cs | 25 ++ ...nt.AppsListWebhookDeliveries.g.verified.cs | 26 ++ ...AppsRedeliverWebhookDelivery.g.verified.cs | 20 ++ ...allationForAuthenticatedUser.g.verified.cs | 21 ++ ...G.IAppsClient.AppsResetToken.g.verified.cs | 36 +++ ...evokeInstallationAccessToken.g.verified.cs | 18 ++ ...G.IAppsClient.AppsScopeToken.g.verified.cs | 72 +++++ ...ient.AppsSuspendInstallation.g.verified.cs | 20 ++ ...nt.AppsUnsuspendInstallation.g.verified.cs | 20 ++ ...ppsUpdateWebhookConfigForApp.g.verified.cs | 47 ++++ .../_#G.IAppsClient.g.verified.cs | 26 ++ ...ngGetGithubActionsBillingOrg.g.verified.cs | 21 ++ ...gGetGithubActionsBillingUser.g.verified.cs | 21 ++ ...gGetGithubPackagesBillingOrg.g.verified.cs | 21 ++ ...GetGithubPackagesBillingUser.g.verified.cs | 21 ++ ...ngGetSharedStorageBillingOrg.g.verified.cs | 21 ++ ...gGetSharedStorageBillingUser.g.verified.cs | 21 ++ .../_#G.IBillingClient.g.verified.cs | 26 ++ ...G.IChecksClient.ChecksCreate.g.verified.cs | 84 ++++++ ...ecksClient.ChecksCreateSuite.g.verified.cs | 44 ++++ .../_#G.IChecksClient.ChecksGet.g.verified.cs | 25 ++ ...IChecksClient.ChecksGetSuite.g.verified.cs | 25 ++ ...Client.ChecksListAnnotations.g.verified.cs | 32 +++ ...hecksClient.ChecksListForRef.g.verified.cs | 44 ++++ ...cksClient.ChecksListForSuite.g.verified.cs | 41 +++ ...lient.ChecksListSuitesForRef.g.verified.cs | 37 +++ ...cksClient.ChecksRerequestRun.g.verified.cs | 25 ++ ...sClient.ChecksRerequestSuite.g.verified.cs | 24 ++ ...t.ChecksSetSuitesPreferences.g.verified.cs | 42 +++ ...G.IChecksClient.ChecksUpdate.g.verified.cs | 81 ++++++ .../_#G.IChecksClient.g.verified.cs | 26 ++ ...lient.ClassroomGetAClassroom.g.verified.cs | 19 ++ ...ent.ClassroomGetAnAssignment.g.verified.cs | 19 ++ ...ClassroomGetAssignmentGrades.g.verified.cs | 19 ++ ...tedAssigmentsForAnAssignment.g.verified.cs | 27 ++ ...ListAssignmentsForAClassroom.g.verified.cs | 27 ++ ...ient.ClassroomListClassrooms.g.verified.cs | 25 ++ .../_#G.IClassroomClient.g.verified.cs | 26 ++ ...canningCreateVariantAnalysis.g.verified.cs | 64 +++++ ...t.CodeScanningDeleteAnalysis.g.verified.cs | 75 ++++++ ...gClient.CodeScanningGetAlert.g.verified.cs | 26 ++ ...ient.CodeScanningGetAnalysis.g.verified.cs | 34 +++ ...odeScanningGetCodeqlDatabase.g.verified.cs | 29 +++ ....CodeScanningGetDefaultSetup.g.verified.cs | 22 ++ ...gClient.CodeScanningGetSarif.g.verified.cs | 24 ++ ...deScanningGetVariantAnalysis.g.verified.cs | 24 ++ ...ngGetVariantAnalysisRepoTask.g.verified.cs | 28 ++ ...deScanningListAlertInstances.g.verified.cs | 39 +++ ...CodeScanningListAlertsForOrg.g.verified.cs | 57 ++++ ...odeScanningListAlertsForRepo.g.verified.cs | 62 +++++ ...eScanningListCodeqlDatabases.g.verified.cs | 22 ++ ...deScanningListRecentAnalyses.g.verified.cs | 66 +++++ ...ient.CodeScanningUpdateAlert.g.verified.cs | 58 +++++ ...deScanningUpdateDefaultSetup.g.verified.cs | 50 ++++ ...ient.CodeScanningUploadSarif.g.verified.cs | 115 ++++++++ .../_#G.ICodeScanningClient.g.verified.cs | 26 ++ ...fConductGetAllCodesOfConduct.g.verified.cs | 17 ++ ...CodesOfConductGetConductCode.g.verified.cs | 19 ++ .../_#G.ICodesOfConductClient.g.verified.cs | 26 ++ ...orSecretForAuthenticatedUser.g.verified.cs | 23 ++ ...esAddSelectedRepoToOrgSecret.g.verified.cs | 24 ++ ...ckPermissionsForDevcontainer.g.verified.cs | 30 +++ ...MachinesForAuthenticatedUser.g.verified.cs | 20 ++ ...esCreateForAuthenticatedUser.g.verified.cs | 32 +++ ...pacesCreateOrUpdateOrgSecret.g.verified.cs | 56 ++++ ...acesCreateOrUpdateRepoSecret.g.verified.cs | 52 ++++ ...teSecretForAuthenticatedUser.g.verified.cs | 50 ++++ ...teWithPrForAuthenticatedUser.g.verified.cs | 82 ++++++ ...WithRepoForAuthenticatedUser.g.verified.cs | 82 ++++++ ...sDeleteCodespacesAccessUsers.g.verified.cs | 44 ++++ ...esDeleteForAuthenticatedUser.g.verified.cs | 20 ++ ...spacesDeleteFromOrganization.g.verified.cs | 24 ++ ...nt.CodespacesDeleteOrgSecret.g.verified.cs | 22 ++ ...t.CodespacesDeleteRepoSecret.g.verified.cs | 24 ++ ...teSecretForAuthenticatedUser.g.verified.cs | 21 ++ ...esExportForAuthenticatedUser.g.verified.cs | 21 ++ ...cesGetCodespacesForUserInOrg.g.verified.cs | 30 +++ ...tDetailsForAuthenticatedUser.g.verified.cs | 22 ++ ...pacesGetForAuthenticatedUser.g.verified.cs | 20 ++ ...nt.CodespacesGetOrgPublicKey.g.verified.cs | 20 ++ ...lient.CodespacesGetOrgSecret.g.verified.cs | 22 ++ ...ublicKeyForAuthenticatedUser.g.verified.cs | 19 ++ ...t.CodespacesGetRepoPublicKey.g.verified.cs | 24 ++ ...ient.CodespacesGetRepoSecret.g.verified.cs | 24 ++ ...etSecretForAuthenticatedUser.g.verified.cs | 21 ++ ...positoryForAuthenticatedUser.g.verified.cs | 31 +++ ...acesListForAuthenticatedUser.g.verified.cs | 28 ++ ...CodespacesListInOrganization.g.verified.cs | 28 ++ ...positoryForAuthenticatedUser.g.verified.cs | 30 +++ ...ent.CodespacesListOrgSecrets.g.verified.cs | 29 +++ ...nt.CodespacesListRepoSecrets.g.verified.cs | 31 +++ ...orSecretForAuthenticatedUser.g.verified.cs | 21 ++ ...tSecretsForAuthenticatedUser.g.verified.cs | 28 ++ ...istSelectedReposForOrgSecret.g.verified.cs | 31 +++ ...WithRepoForAuthenticatedUser.g.verified.cs | 30 +++ ...sPublishForAuthenticatedUser.g.verified.cs | 47 ++++ ...orSecretForAuthenticatedUser.g.verified.cs | 23 ++ ...oveSelectedRepoFromOrgSecret.g.verified.cs | 26 ++ ...MachinesForAuthenticatedUser.g.verified.cs | 32 +++ ...odespacesSetCodespacesAccess.g.verified.cs | 44 ++++ ...acesSetCodespacesAccessUsers.g.verified.cs | 44 ++++ ...orSecretForAuthenticatedUser.g.verified.cs | 40 +++ ...SetSelectedReposForOrgSecret.g.verified.cs | 46 ++++ ...cesStartForAuthenticatedUser.g.verified.cs | 20 ++ ...acesStopForAuthenticatedUser.g.verified.cs | 20 ++ ...CodespacesStopInOrganization.g.verified.cs | 24 ++ ...esUpdateForAuthenticatedUser.g.verified.cs | 48 ++++ .../_#G.ICodespacesClient.g.verified.cs | 26 ++ ...pilotAddCopilotSeatsForTeams.g.verified.cs | 50 ++++ ...pilotAddCopilotSeatsForUsers.g.verified.cs | 50 ++++ ...opilotSeatAssignmentForTeams.g.verified.cs | 48 ++++ ...opilotSeatAssignmentForUsers.g.verified.cs | 48 ++++ ...etCopilotOrganizationDetails.g.verified.cs | 24 ++ ...GetCopilotSeatDetailsForUser.g.verified.cs | 24 ++ ...ient.CopilotListCopilotSeats.g.verified.cs | 30 +++ ...lotUsageMetricsForEnterprise.g.verified.cs | 40 +++ ...nt.CopilotUsageMetricsForOrg.g.verified.cs | 40 +++ .../_#G.ICopilotClient.g.verified.cs | 26 ++ ...otAddSelectedRepoToOrgSecret.g.verified.cs | 26 ++ ...dabotCreateOrUpdateOrgSecret.g.verified.cs | 56 ++++ ...abotCreateOrUpdateRepoSecret.g.verified.cs | 52 ++++ ...nt.DependabotDeleteOrgSecret.g.verified.cs | 22 ++ ...t.DependabotDeleteRepoSecret.g.verified.cs | 24 ++ ...botClient.DependabotGetAlert.g.verified.cs | 25 ++ ...nt.DependabotGetOrgPublicKey.g.verified.cs | 21 ++ ...lient.DependabotGetOrgSecret.g.verified.cs | 22 ++ ...t.DependabotGetRepoPublicKey.g.verified.cs | 24 ++ ...ient.DependabotGetRepoSecret.g.verified.cs | 24 ++ ...dabotListAlertsForEnterprise.g.verified.cs | 54 ++++ ...t.DependabotListAlertsForOrg.g.verified.cs | 53 ++++ ....DependabotListAlertsForRepo.g.verified.cs | 59 +++++ ...ent.DependabotListOrgSecrets.g.verified.cs | 29 +++ ...nt.DependabotListRepoSecrets.g.verified.cs | 31 +++ ...istSelectedReposForOrgSecret.g.verified.cs | 31 +++ ...oveSelectedRepoFromOrgSecret.g.verified.cs | 26 ++ ...SetSelectedReposForOrgSecret.g.verified.cs | 46 ++++ ...Client.DependabotUpdateAlert.g.verified.cs | 59 +++++ .../_#G.IDependabotClient.g.verified.cs | 26 ++ ...raphCreateRepositorySnapshot.g.verified.cs | 72 +++++ ...ent.DependencyGraphDiffRange.g.verified.cs | 25 ++ ...nt.DependencyGraphExportSbom.g.verified.cs | 21 ++ .../_#G.IDependencyGraphClient.g.verified.cs | 26 ++ .../_#G.IDesktopClient.g.verified.cs | 26 ++ .../_#G.IEmojisClient.EmojisGet.g.verified.cs | 17 ++ .../_#G.IEmojisClient.g.verified.cs | 26 ++ .../_#G.IEnterpriseTeamsClient.g.verified.cs | 26 ++ ...tsClient.GistsCheckIsStarred.g.verified.cs | 18 ++ ..._#G.IGistsClient.GistsCreate.g.verified.cs | 41 +++ ...stsClient.GistsCreateComment.g.verified.cs | 43 +++ ..._#G.IGistsClient.GistsDelete.g.verified.cs | 18 ++ ...stsClient.GistsDeleteComment.g.verified.cs | 20 ++ .../_#G.IGistsClient.GistsFork.g.verified.cs | 18 ++ .../_#G.IGistsClient.GistsGet.g.verified.cs | 22 ++ ...IGistsClient.GistsGetComment.g.verified.cs | 24 ++ ...GistsClient.GistsGetRevision.g.verified.cs | 24 ++ .../_#G.IGistsClient.GistsList.g.verified.cs | 27 ++ ...istsClient.GistsListComments.g.verified.cs | 30 +++ ...GistsClient.GistsListCommits.g.verified.cs | 26 ++ ...GistsClient.GistsListForUser.g.verified.cs | 29 +++ ....IGistsClient.GistsListForks.g.verified.cs | 26 ++ ...IGistsClient.GistsListPublic.g.verified.cs | 28 ++ ...GistsClient.GistsListStarred.g.verified.cs | 27 ++ .../_#G.IGistsClient.GistsStar.g.verified.cs | 19 ++ ..._#G.IGistsClient.GistsUnstar.g.verified.cs | 18 ++ ..._#G.IGistsClient.GistsUpdate.g.verified.cs | 56 ++++ ...stsClient.GistsUpdateComment.g.verified.cs | 47 ++++ .../_#G.IGistsClient.g.verified.cs | 26 ++ ..._#G.IGitClient.GitCreateBlob.g.verified.cs | 43 +++ ...G.IGitClient.GitCreateCommit.g.verified.cs | 108 ++++++++ .../_#G.IGitClient.GitCreateRef.g.verified.cs | 44 ++++ .../_#G.IGitClient.GitCreateTag.g.verified.cs | 104 ++++++++ ..._#G.IGitClient.GitCreateTree.g.verified.cs | 49 ++++ .../_#G.IGitClient.GitDeleteRef.g.verified.cs | 23 ++ .../_#G.IGitClient.GitGetBlob.g.verified.cs | 27 ++ .../_#G.IGitClient.GitGetCommit.g.verified.cs | 48 ++++ .../_#G.IGitClient.GitGetRef.g.verified.cs | 24 ++ .../_#G.IGitClient.GitGetTag.g.verified.cs | 46 ++++ .../_#G.IGitClient.GitGetTree.g.verified.cs | 27 ++ ...itClient.GitListMatchingRefs.g.verified.cs | 26 ++ .../_#G.IGitClient.GitUpdateRef.g.verified.cs | 49 ++++ .../_#G.IGitClient.g.verified.cs | 26 ++ ...ent.GitignoreGetAllTemplates.g.verified.cs | 17 ++ ...eClient.GitignoreGetTemplate.g.verified.cs | 21 ++ .../_#G.IGitignoreClient.g.verified.cs | 26 ++ ...rictionsForAuthenticatedUser.g.verified.cs | 17 ++ ...actionsGetRestrictionsForOrg.g.verified.cs | 19 ++ ...ctionsGetRestrictionsForRepo.g.verified.cs | 21 ++ ...rictionsForAuthenticatedUser.g.verified.cs | 17 ++ ...ionsRemoveRestrictionsForOrg.g.verified.cs | 19 ++ ...onsRemoveRestrictionsForRepo.g.verified.cs | 21 ++ ...rictionsForAuthenticatedUser.g.verified.cs | 38 +++ ...actionsSetRestrictionsForOrg.g.verified.cs | 42 +++ ...ctionsSetRestrictionsForRepo.g.verified.cs | 46 ++++ .../_#G.IInteractionsClient.g.verified.cs | 26 ++ ...uesClient.IssuesAddAssignees.g.verified.cs | 44 ++++ ...IssuesClient.IssuesAddLabels.g.verified.cs | 40 +++ ...IssuesCheckUserCanBeAssigned.g.verified.cs | 25 ++ ...heckUserCanBeAssignedToIssue.g.verified.cs | 27 ++ ...G.IIssuesClient.IssuesCreate.g.verified.cs | 72 +++++ ...esClient.IssuesCreateComment.g.verified.cs | 62 +++++ ...suesClient.IssuesCreateLabel.g.verified.cs | 48 ++++ ...Client.IssuesCreateMilestone.g.verified.cs | 53 ++++ ...esClient.IssuesDeleteComment.g.verified.cs | 23 ++ ...suesClient.IssuesDeleteLabel.g.verified.cs | 23 ++ ...Client.IssuesDeleteMilestone.g.verified.cs | 23 ++ .../_#G.IIssuesClient.IssuesGet.g.verified.cs | 37 +++ ...ssuesClient.IssuesGetComment.g.verified.cs | 28 ++ ...IIssuesClient.IssuesGetEvent.g.verified.cs | 23 ++ ...IIssuesClient.IssuesGetLabel.g.verified.cs | 23 ++ ...uesClient.IssuesGetMilestone.g.verified.cs | 23 ++ ..._#G.IIssuesClient.IssuesList.g.verified.cs | 64 +++++ ...esClient.IssuesListAssignees.g.verified.cs | 29 +++ ...uesClient.IssuesListComments.g.verified.cs | 39 +++ ...nt.IssuesListCommentsForRepo.g.verified.cs | 43 +++ ...ssuesClient.IssuesListEvents.g.verified.cs | 31 +++ ...ient.IssuesListEventsForRepo.g.verified.cs | 29 +++ ....IssuesListEventsForTimeline.g.verified.cs | 31 +++ ...suesListForAuthenticatedUser.g.verified.cs | 54 ++++ ...ssuesClient.IssuesListForOrg.g.verified.cs | 56 ++++ ...suesClient.IssuesListForRepo.g.verified.cs | 62 +++++ ...IssuesListLabelsForMilestone.g.verified.cs | 31 +++ ...ient.IssuesListLabelsForRepo.g.verified.cs | 29 +++ ...ient.IssuesListLabelsOnIssue.g.verified.cs | 31 +++ ...sClient.IssuesListMilestones.g.verified.cs | 41 +++ ..._#G.IIssuesClient.IssuesLock.g.verified.cs | 50 ++++ ...Client.IssuesRemoveAllLabels.g.verified.cs | 23 ++ ...Client.IssuesRemoveAssignees.g.verified.cs | 44 ++++ ...suesClient.IssuesRemoveLabel.g.verified.cs | 25 ++ ...IssuesClient.IssuesSetLabels.g.verified.cs | 40 +++ ...G.IIssuesClient.IssuesUnlock.g.verified.cs | 23 ++ ...G.IIssuesClient.IssuesUpdate.g.verified.cs | 81 ++++++ ...esClient.IssuesUpdateComment.g.verified.cs | 54 ++++ ...suesClient.IssuesUpdateLabel.g.verified.cs | 52 ++++ ...Client.IssuesUpdateMilestone.g.verified.cs | 55 ++++ .../_#G.IIssuesClient.g.verified.cs | 26 ++ ....ILicensesClient.LicensesGet.g.verified.cs | 19 ++ ...t.LicensesGetAllCommonlyUsed.g.verified.cs | 27 ++ ...sesClient.LicensesGetForRepo.g.verified.cs | 29 +++ .../_#G.ILicensesClient.g.verified.cs | 26 ++ ...arkdownClient.MarkdownRender.g.verified.cs | 40 +++ ...downClient.MarkdownRenderRaw.g.verified.cs | 19 ++ .../_#G.IMarkdownClient.g.verified.cs | 26 ++ .../_#G.IMergeQueueClient.g.verified.cs | 26 ++ .../_#G.IMetaClient.MetaGet.g.verified.cs | 20 ++ ...etaClient.MetaGetAllVersions.g.verified.cs | 17 ++ ...G.IMetaClient.MetaGetOctocat.g.verified.cs | 19 ++ .../_#G.IMetaClient.MetaGetZen.g.verified.cs | 17 ++ .../_#G.IMetaClient.MetaRoot.g.verified.cs | 17 ++ .../_#G.IMetaClient.g.verified.cs | 26 ++ ...lient.MigrationsCancelImport.g.verified.cs | 23 ++ ...eArchiveForAuthenticatedUser.g.verified.cs | 19 ++ ...igrationsDeleteArchiveForOrg.g.verified.cs | 21 ++ ...rationsDownloadArchiveForOrg.g.verified.cs | 21 ++ ...tArchiveForAuthenticatedUser.g.verified.cs | 37 +++ ...t.MigrationsGetCommitAuthors.g.verified.cs | 26 ++ ...nt.MigrationsGetImportStatus.g.verified.cs | 45 ++++ ...ient.MigrationsGetLargeFiles.g.verified.cs | 23 ++ ...etStatusForAuthenticatedUser.g.verified.cs | 26 ++ ...nt.MigrationsGetStatusForOrg.g.verified.cs | 28 ++ ...ionsListForAuthenticatedUser.g.verified.cs | 25 ++ ...sClient.MigrationsListForOrg.g.verified.cs | 30 +++ ...istReposForAuthenticatedUser.g.verified.cs | 27 ++ ...nt.MigrationsListReposForOrg.g.verified.cs | 29 +++ ...nt.MigrationsMapCommitAuthor.g.verified.cs | 54 ++++ ...t.MigrationsSetLfsPreference.g.verified.cs | 50 ++++ ...onsStartForAuthenticatedUser.g.verified.cs | 71 +++++ ...Client.MigrationsStartForOrg.g.verified.cs | 80 ++++++ ...Client.MigrationsStartImport.g.verified.cs | 64 +++++ ...lockRepoForAuthenticatedUser.g.verified.cs | 21 ++ ...t.MigrationsUnlockRepoForOrg.g.verified.cs | 23 ++ ...lient.MigrationsUpdateImport.g.verified.cs | 66 +++++ .../_#G.IMigrationsClient.g.verified.cs | 26 ++ ...tOidcCustomSubTemplateForOrg.g.verified.cs | 20 ++ ...eOidcCustomSubTemplateForOrg.g.verified.cs | 38 +++ .../_#G.IOidcClient.g.verified.cs | 26 ++ ...t.OrgsAddSecurityManagerTeam.g.verified.cs | 23 ++ ...ient.OrgsAssignTeamToOrgRole.g.verified.cs | 25 ++ ...ient.OrgsAssignUserToOrgRole.g.verified.cs | 25 ++ ...#G.IOrgsClient.OrgsBlockUser.g.verified.cs | 21 ++ ...sClient.OrgsCancelInvitation.g.verified.cs | 22 ++ ...sClient.OrgsCheckBlockedUser.g.verified.cs | 21 ++ ...t.OrgsCheckMembershipForUser.g.verified.cs | 21 ++ ...CheckPublicMembershipForUser.g.verified.cs | 21 ++ ...tMemberToOutsideCollaborator.g.verified.cs | 41 +++ ...CreateCustomOrganizationRole.g.verified.cs | 52 ++++ ...sClient.OrgsCreateInvitation.g.verified.cs | 57 ++++ ...eateOrUpdateCustomProperties.g.verified.cs | 42 +++ ...stomPropertiesValuesForRepos.g.verified.cs | 52 ++++ ...CreateOrUpdateCustomProperty.g.verified.cs | 64 +++++ ...OrgsClient.OrgsCreateWebhook.g.verified.cs | 56 ++++ .../_#G.IOrgsClient.OrgsDelete.g.verified.cs | 22 ++ ...DeleteCustomOrganizationRole.g.verified.cs | 25 ++ ...OrgsClient.OrgsDeleteWebhook.g.verified.cs | 23 ++ ...SecurityProductOnAllOrgRepos.g.verified.cs | 49 ++++ .../_#G.IOrgsClient.OrgsGet.g.verified.cs | 31 +++ ...t.OrgsGetAllCustomProperties.g.verified.cs | 20 ++ ...Client.OrgsGetCustomProperty.g.verified.cs | 22 ++ ...mbershipForAuthenticatedUser.g.verified.cs | 19 ++ ...ent.OrgsGetMembershipForUser.g.verified.cs | 21 ++ ...G.IOrgsClient.OrgsGetOrgRole.g.verified.cs | 25 ++ ...G.IOrgsClient.OrgsGetWebhook.g.verified.cs | 25 ++ ...t.OrgsGetWebhookConfigForOrg.g.verified.cs | 24 ++ ...lient.OrgsGetWebhookDelivery.g.verified.cs | 26 ++ .../_#G.IOrgsClient.OrgsList.g.verified.cs | 24 ++ ...ent.OrgsListAppInstallations.g.verified.cs | 30 +++ ...sClient.OrgsListBlockedUsers.g.verified.cs | 27 ++ ...stomPropertiesValuesForRepos.g.verified.cs | 30 +++ ...nt.OrgsListFailedInvitations.g.verified.cs | 27 ++ ...OrgsListForAuthenticatedUser.g.verified.cs | 26 ++ ....IOrgsClient.OrgsListForUser.g.verified.cs | 28 ++ ...ient.OrgsListInvitationTeams.g.verified.cs | 29 +++ ....IOrgsClient.OrgsListMembers.g.verified.cs | 35 +++ ...bershipsForAuthenticatedUser.g.verified.cs | 27 ++ ...sClient.OrgsListOrgRoleTeams.g.verified.cs | 31 +++ ...sClient.OrgsListOrgRoleUsers.g.verified.cs | 31 +++ ...IOrgsClient.OrgsListOrgRoles.g.verified.cs | 23 ++ ...zationFineGrainedPermissions.g.verified.cs | 24 ++ ...OrgsListOutsideCollaborators.g.verified.cs | 31 +++ ...OrgsListPatGrantRepositories.g.verified.cs | 30 +++ ...tPatGrantRequestRepositories.g.verified.cs | 30 +++ ...ent.OrgsListPatGrantRequests.g.verified.cs | 52 ++++ ...OrgsClient.OrgsListPatGrants.g.verified.cs | 52 ++++ ...t.OrgsListPendingInvitations.g.verified.cs | 35 +++ ...Client.OrgsListPublicMembers.g.verified.cs | 27 ++ ...OrgsListSecurityManagerTeams.g.verified.cs | 21 ++ ...nt.OrgsListWebhookDeliveries.g.verified.cs | 32 +++ ...IOrgsClient.OrgsListWebhooks.g.verified.cs | 29 +++ ...sPatchCustomOrganizationRole.g.verified.cs | 56 ++++ ....IOrgsClient.OrgsPingWebhook.g.verified.cs | 25 ++ ...OrgsRedeliverWebhookDelivery.g.verified.cs | 26 ++ ...ent.OrgsRemoveCustomProperty.g.verified.cs | 24 ++ ...IOrgsClient.OrgsRemoveMember.g.verified.cs | 21 ++ ....OrgsRemoveMembershipForUser.g.verified.cs | 22 ++ ...rgsRemoveOutsideCollaborator.g.verified.cs | 21 ++ ...mbershipForAuthenticatedUser.g.verified.cs | 21 ++ ...rgsRemoveSecurityManagerTeam.g.verified.cs | 23 ++ ...nt.OrgsReviewPatGrantRequest.g.verified.cs | 46 ++++ ...ReviewPatGrantRequestsInBulk.g.verified.cs | 46 ++++ ...nt.OrgsRevokeAllOrgRolesTeam.g.verified.cs | 23 ++ ...nt.OrgsRevokeAllOrgRolesUser.g.verified.cs | 23 ++ ...Client.OrgsRevokeOrgRoleTeam.g.verified.cs | 25 ++ ...Client.OrgsRevokeOrgRoleUser.g.verified.cs | 25 ++ ...ent.OrgsSetMembershipForUser.g.verified.cs | 53 ++++ ...mbershipForAuthenticatedUser.g.verified.cs | 22 ++ ....IOrgsClient.OrgsUnblockUser.g.verified.cs | 21 ++ .../_#G.IOrgsClient.OrgsUpdate.g.verified.cs | 190 ++++++++++++++ ...mbershipForAuthenticatedUser.g.verified.cs | 36 +++ ...gsClient.OrgsUpdatePatAccess.g.verified.cs | 42 +++ ...Client.OrgsUpdatePatAccesses.g.verified.cs | 42 +++ ...OrgsClient.OrgsUpdateWebhook.g.verified.cs | 68 +++++ ...rgsUpdateWebhookConfigForOrg.g.verified.cs | 59 +++++ .../_#G.IOrgsClient.g.verified.cs | 26 ++ ...ePackageForAuthenticatedUser.g.verified.cs | 22 ++ ....PackagesDeletePackageForOrg.g.verified.cs | 25 ++ ...PackagesDeletePackageForUser.g.verified.cs | 25 ++ ...eVersionForAuthenticatedUser.g.verified.cs | 25 ++ ...esDeletePackageVersionForOrg.g.verified.cs | 27 ++ ...sDeletePackageVersionForUser.g.verified.cs | 27 ++ ...kageOwnedByAuthenticatedUser.g.verified.cs | 34 +++ ...VersionsForPackageOwnedByOrg.g.verified.cs | 36 +++ ...ersionsForPackageOwnedByUser.g.verified.cs | 24 ++ ...tPackageForAuthenticatedUser.g.verified.cs | 22 ++ ...gesGetPackageForOrganization.g.verified.cs | 24 ++ ...nt.PackagesGetPackageForUser.g.verified.cs | 24 ++ ...eVersionForAuthenticatedUser.g.verified.cs | 24 ++ ...ackageVersionForOrganization.g.verified.cs | 26 ++ ...agesGetPackageVersionForUser.g.verified.cs | 26 ++ ...PackagesForAuthenticatedUser.g.verified.cs | 18 ++ ...ctingPackagesForOrganization.g.verified.cs | 20 ++ ...onConflictingPackagesForUser.g.verified.cs | 20 ++ ...PackagesForAuthenticatedUser.g.verified.cs | 30 +++ ...sListPackagesForOrganization.g.verified.cs | 32 +++ ....PackagesListPackagesForUser.g.verified.cs | 32 +++ ...ePackageForAuthenticatedUser.g.verified.cs | 27 ++ ...PackagesRestorePackageForOrg.g.verified.cs | 30 +++ ...ackagesRestorePackageForUser.g.verified.cs | 30 +++ ...eVersionForAuthenticatedUser.g.verified.cs | 27 ++ ...sRestorePackageVersionForOrg.g.verified.cs | 30 +++ ...RestorePackageVersionForUser.g.verified.cs | 30 +++ .../_#G.IPackagesClient.g.verified.cs | 26 ++ ...ient.ProjectsAddCollaborator.g.verified.cs | 42 +++ ...ctsClient.ProjectsCreateCard.g.verified.cs | 30 +++ ...sClient.ProjectsCreateColumn.g.verified.cs | 37 +++ ...tsCreateForAuthenticatedUser.g.verified.cs | 38 +++ ...sClient.ProjectsCreateForOrg.g.verified.cs | 40 +++ ...Client.ProjectsCreateForRepo.g.verified.cs | 44 ++++ ...rojectsClient.ProjectsDelete.g.verified.cs | 19 ++ ...ctsClient.ProjectsDeleteCard.g.verified.cs | 19 ++ ...sClient.ProjectsDeleteColumn.g.verified.cs | 19 ++ ....IProjectsClient.ProjectsGet.g.verified.cs | 19 ++ ...ojectsClient.ProjectsGetCard.g.verified.cs | 19 ++ ...ectsClient.ProjectsGetColumn.g.verified.cs | 19 ++ ...ProjectsGetPermissionForUser.g.verified.cs | 21 ++ ...ectsClient.ProjectsListCards.g.verified.cs | 31 +++ ...nt.ProjectsListCollaborators.g.verified.cs | 31 +++ ...tsClient.ProjectsListColumns.g.verified.cs | 27 ++ ...ctsClient.ProjectsListForOrg.g.verified.cs | 31 +++ ...tsClient.ProjectsListForRepo.g.verified.cs | 33 +++ ...tsClient.ProjectsListForUser.g.verified.cs | 31 +++ ...jectsClient.ProjectsMoveCard.g.verified.cs | 40 +++ ...ctsClient.ProjectsMoveColumn.g.verified.cs | 35 +++ ...t.ProjectsRemoveCollaborator.g.verified.cs | 21 ++ ...rojectsClient.ProjectsUpdate.g.verified.cs | 55 ++++ ...ctsClient.ProjectsUpdateCard.g.verified.cs | 40 +++ ...sClient.ProjectsUpdateColumn.g.verified.cs | 35 +++ .../_#G.IProjectsClient.g.verified.cs | 26 ++ ...llsClient.PullsCheckIfMerged.g.verified.cs | 23 ++ ..._#G.IPullsClient.PullsCreate.g.verified.cs | 84 ++++++ ...sCreateReplyForReviewComment.g.verified.cs | 62 +++++ ...ullsClient.PullsCreateReview.g.verified.cs | 74 ++++++ ...ent.PullsCreateReviewComment.g.verified.cs | 95 +++++++ ...ent.PullsDeletePendingReview.g.verified.cs | 30 +++ ...ent.PullsDeleteReviewComment.g.verified.cs | 23 ++ ...llsClient.PullsDismissReview.g.verified.cs | 68 +++++ .../_#G.IPullsClient.PullsGet.g.verified.cs | 37 +++ ....IPullsClient.PullsGetReview.g.verified.cs | 30 +++ ...Client.PullsGetReviewComment.g.verified.cs | 28 ++ .../_#G.IPullsClient.PullsList.g.verified.cs | 53 ++++ ...t.PullsListCommentsForReview.g.verified.cs | 38 +++ ...PullsClient.PullsListCommits.g.verified.cs | 38 +++ ....IPullsClient.PullsListFiles.g.verified.cs | 38 +++ ....PullsListRequestedReviewers.g.verified.cs | 23 ++ ...ient.PullsListReviewComments.g.verified.cs | 45 ++++ ...llsListReviewCommentsForRepo.g.verified.cs | 41 +++ ...PullsClient.PullsListReviews.g.verified.cs | 36 +++ .../_#G.IPullsClient.PullsMerge.g.verified.cs | 58 +++++ ...ullsRemoveRequestedReviewers.g.verified.cs | 48 ++++ ...Client.PullsRequestReviewers.g.verified.cs | 50 ++++ ...ullsClient.PullsSubmitReview.g.verified.cs | 62 +++++ ..._#G.IPullsClient.PullsUpdate.g.verified.cs | 72 +++++ ...ullsClient.PullsUpdateBranch.g.verified.cs | 44 ++++ ...ullsClient.PullsUpdateReview.g.verified.cs | 58 +++++ ...ent.PullsUpdateReviewComment.g.verified.cs | 54 ++++ .../_#G.IPullsClient.g.verified.cs | 26 ++ ...RateLimitClient.RateLimitGet.g.verified.cs | 28 ++ .../_#G.IRateLimitClient.g.verified.cs | 26 ++ ...ctionsCreateForCommitComment.g.verified.cs | 44 ++++ ...ient.ReactionsCreateForIssue.g.verified.cs | 44 ++++ ...actionsCreateForIssueComment.g.verified.cs | 44 ++++ ...eForPullRequestReviewComment.g.verified.cs | 44 ++++ ...nt.ReactionsCreateForRelease.g.verified.cs | 44 ++++ ...orTeamDiscussionCommentInOrg.g.verified.cs | 54 ++++ ...rTeamDiscussionCommentLegacy.g.verified.cs | 52 ++++ ...CreateForTeamDiscussionInOrg.g.verified.cs | 50 ++++ ...reateForTeamDiscussionLegacy.g.verified.cs | 48 ++++ ...ctionsDeleteForCommitComment.g.verified.cs | 26 ++ ...ient.ReactionsDeleteForIssue.g.verified.cs | 26 ++ ...actionsDeleteForIssueComment.g.verified.cs | 26 ++ ...sDeleteForPullRequestComment.g.verified.cs | 26 ++ ...nt.ReactionsDeleteForRelease.g.verified.cs | 26 ++ ...tionsDeleteForTeamDiscussion.g.verified.cs | 27 ++ ...leteForTeamDiscussionComment.g.verified.cs | 29 +++ ...eactionsListForCommitComment.g.verified.cs | 33 +++ ...Client.ReactionsListForIssue.g.verified.cs | 33 +++ ...ReactionsListForIssueComment.g.verified.cs | 33 +++ ...tForPullRequestReviewComment.g.verified.cs | 33 +++ ...ient.ReactionsListForRelease.g.verified.cs | 33 +++ ...orTeamDiscussionCommentInOrg.g.verified.cs | 37 +++ ...rTeamDiscussionCommentLegacy.g.verified.cs | 36 +++ ...nsListForTeamDiscussionInOrg.g.verified.cs | 35 +++ ...sListForTeamDiscussionLegacy.g.verified.cs | 34 +++ .../_#G.IReactionsClient.g.verified.cs | 26 ++ ...vitationForAuthenticatedUser.g.verified.cs | 18 ++ ...eposAddAppAccessRestrictions.g.verified.cs | 42 +++ ...sClient.ReposAddCollaborator.g.verified.cs | 67 +++++ ....ReposAddStatusCheckContexts.g.verified.cs | 40 +++ ...posAddTeamAccessRestrictions.g.verified.cs | 42 +++ ...posAddUserAccessRestrictions.g.verified.cs | 48 ++++ ...t.ReposCancelPagesDeployment.g.verified.cs | 24 ++ ...sCheckAutomatedSecurityFixes.g.verified.cs | 21 ++ ...lient.ReposCheckCollaborator.g.verified.cs | 26 ++ ...rivateVulnerabilityReporting.g.verified.cs | 21 ++ ...eposCheckVulnerabilityAlerts.g.verified.cs | 21 ++ ...Client.ReposCodeownersErrors.g.verified.cs | 26 ++ ...osClient.ReposCompareCommits.g.verified.cs | 66 +++++ ...osClient.ReposCreateAutolink.g.verified.cs | 49 ++++ ...ent.ReposCreateCommitComment.g.verified.cs | 68 +++++ ...ateCommitSignatureProtection.g.verified.cs | 24 ++ ...ient.ReposCreateCommitStatus.g.verified.cs | 61 +++++ ...sClient.ReposCreateDeployKey.g.verified.cs | 50 ++++ ...Client.ReposCreateDeployment.g.verified.cs | 140 ++++++++++ ...CreateDeploymentBranchPolicy.g.verified.cs | 54 ++++ ...eateDeploymentProtectionRule.g.verified.cs | 50 ++++ ....ReposCreateDeploymentStatus.g.verified.cs | 70 +++++ ...ent.ReposCreateDispatchEvent.g.verified.cs | 50 ++++ ...osCreateForAuthenticatedUser.g.verified.cs | 159 ++++++++++++ ...IReposClient.ReposCreateFork.g.verified.cs | 52 ++++ ...ReposClient.ReposCreateInOrg.g.verified.cs | 153 +++++++++++ ...UpdateCustomPropertiesValues.g.verified.cs | 44 ++++ ...posCreateOrUpdateEnvironment.g.verified.cs | 64 +++++ ...osCreateOrUpdateFileContents.g.verified.cs | 68 +++++ ...Client.ReposCreateOrgRuleset.g.verified.cs | 57 ++++ ...t.ReposCreatePagesDeployment.g.verified.cs | 60 +++++ ...sClient.ReposCreatePagesSite.g.verified.cs | 48 ++++ ...posClient.ReposCreateRelease.g.verified.cs | 78 ++++++ ...lient.ReposCreateRepoRuleset.g.verified.cs | 61 +++++ ...ent.ReposCreateTagProtection.g.verified.cs | 42 +++ ...ent.ReposCreateUsingTemplate.g.verified.cs | 60 +++++ ...posClient.ReposCreateWebhook.g.verified.cs | 56 ++++ ...vitationForAuthenticatedUser.g.verified.cs | 18 ++ ..._#G.IReposClient.ReposDelete.g.verified.cs | 24 ++ ...eposDeleteAccessRestrictions.g.verified.cs | 24 ++ ...sDeleteAdminBranchProtection.g.verified.cs | 24 ++ ...ent.ReposDeleteAnEnvironment.g.verified.cs | 23 ++ ...osClient.ReposDeleteAutolink.g.verified.cs | 24 ++ ....ReposDeleteBranchProtection.g.verified.cs | 23 ++ ...ent.ReposDeleteCommitComment.g.verified.cs | 22 ++ ...eteCommitSignatureProtection.g.verified.cs | 24 ++ ...sClient.ReposDeleteDeployKey.g.verified.cs | 23 ++ ...Client.ReposDeleteDeployment.g.verified.cs | 28 ++ ...DeleteDeploymentBranchPolicy.g.verified.cs | 26 ++ ...IReposClient.ReposDeleteFile.g.verified.cs | 68 +++++ ...Client.ReposDeleteInvitation.g.verified.cs | 22 ++ ...Client.ReposDeleteOrgRuleset.g.verified.cs | 21 ++ ...sClient.ReposDeletePagesSite.g.verified.cs | 23 ++ ...ePullRequestReviewProtection.g.verified.cs | 23 ++ ...posClient.ReposDeleteRelease.g.verified.cs | 23 ++ ...ient.ReposDeleteReleaseAsset.g.verified.cs | 22 ++ ...lient.ReposDeleteRepoRuleset.g.verified.cs | 23 ++ ...ent.ReposDeleteTagProtection.g.verified.cs | 24 ++ ...posClient.ReposDeleteWebhook.g.verified.cs | 22 ++ ...isableAutomatedSecurityFixes.g.verified.cs | 21 ++ ...ableDeploymentProtectionRule.g.verified.cs | 27 ++ ...rivateVulnerabilityReporting.g.verified.cs | 21 ++ ...osDisableVulnerabilityAlerts.g.verified.cs | 23 ++ ....ReposDownloadTarballArchive.g.verified.cs | 26 ++ ....ReposDownloadZipballArchive.g.verified.cs | 26 ++ ...EnableAutomatedSecurityFixes.g.verified.cs | 21 ++ ...rivateVulnerabilityReporting.g.verified.cs | 21 ++ ...posEnableVulnerabilityAlerts.g.verified.cs | 21 ++ ...nt.ReposGenerateReleaseNotes.g.verified.cs | 52 ++++ .../_#G.IReposClient.ReposGet.g.verified.cs | 22 ++ ...t.ReposGetAccessRestrictions.g.verified.cs | 25 ++ ...eposGetAdminBranchProtection.g.verified.cs | 23 ++ ...AllDeploymentProtectionRules.g.verified.cs | 25 ++ ...ient.ReposGetAllEnvironments.g.verified.cs | 31 +++ ...posGetAllStatusCheckContexts.g.verified.cs | 23 ++ ...eposClient.ReposGetAllTopics.g.verified.cs | 28 ++ ...sWithAccessToProtectedBranch.g.verified.cs | 24 ++ ...ReposClient.ReposGetAutolink.g.verified.cs | 24 ++ ....IReposClient.ReposGetBranch.g.verified.cs | 22 ++ ...ent.ReposGetBranchProtection.g.verified.cs | 23 ++ ...osClient.ReposGetBranchRules.g.verified.cs | 34 +++ ....IReposClient.ReposGetClones.g.verified.cs | 25 ++ ...t.ReposGetCodeFrequencyStats.g.verified.cs | 23 ++ ...tCollaboratorPermissionLevel.g.verified.cs | 28 ++ ...ReposGetCombinedStatusForRef.g.verified.cs | 35 +++ ....IReposClient.ReposGetCommit.g.verified.cs | 60 +++++ ....ReposGetCommitActivityStats.g.verified.cs | 21 ++ ...Client.ReposGetCommitComment.g.verified.cs | 28 ++ ...GetCommitSignatureProtection.g.verified.cs | 25 ++ ...osGetCommunityProfileMetrics.g.verified.cs | 28 ++ ...IReposClient.ReposGetContent.g.verified.cs | 42 +++ ...nt.ReposGetContributorsStats.g.verified.cs | 26 ++ ...stomDeploymentProtectionRule.g.verified.cs | 27 ++ ...posGetCustomPropertiesValues.g.verified.cs | 22 ++ ...eposClient.ReposGetDeployKey.g.verified.cs | 22 ++ ...posClient.ReposGetDeployment.g.verified.cs | 22 ++ ...posGetDeploymentBranchPolicy.g.verified.cs | 27 ++ ...ent.ReposGetDeploymentStatus.g.verified.cs | 25 ++ ...osClient.ReposGetEnvironment.g.verified.cs | 25 ++ ...ent.ReposGetLatestPagesBuild.g.verified.cs | 22 ++ ...Client.ReposGetLatestRelease.g.verified.cs | 22 ++ ...sClient.ReposGetOrgRuleSuite.g.verified.cs | 22 ++ ...Client.ReposGetOrgRuleSuites.g.verified.cs | 40 +++ ...posClient.ReposGetOrgRuleset.g.verified.cs | 21 ++ ...osClient.ReposGetOrgRulesets.g.verified.cs | 27 ++ ...G.IReposClient.ReposGetPages.g.verified.cs | 22 ++ ...posClient.ReposGetPagesBuild.g.verified.cs | 24 ++ ...ient.ReposGetPagesDeployment.g.verified.cs | 24 ++ ...ent.ReposGetPagesHealthCheck.g.verified.cs | 24 ++ ...t.ReposGetParticipationStats.g.verified.cs | 23 ++ ...tPullRequestReviewProtection.g.verified.cs | 23 ++ ...lient.ReposGetPunchCardStats.g.verified.cs | 25 ++ ....IReposClient.ReposGetReadme.g.verified.cs | 26 ++ ...nt.ReposGetReadmeInDirectory.g.verified.cs | 28 ++ ...IReposClient.ReposGetRelease.g.verified.cs | 26 ++ ...sClient.ReposGetReleaseAsset.g.verified.cs | 23 ++ ...sClient.ReposGetReleaseByTag.g.verified.cs | 23 ++ ...Client.ReposGetRepoRuleSuite.g.verified.cs | 24 ++ ...lient.ReposGetRepoRuleSuites.g.verified.cs | 42 +++ ...osClient.ReposGetRepoRuleset.g.verified.cs | 27 ++ ...sClient.ReposGetRepoRulesets.g.verified.cs | 33 +++ ...posGetStatusChecksProtection.g.verified.cs | 23 ++ ...sWithAccessToProtectedBranch.g.verified.cs | 24 ++ ...ReposClient.ReposGetTopPaths.g.verified.cs | 21 ++ ...sClient.ReposGetTopReferrers.g.verified.cs | 21 ++ ...sWithAccessToProtectedBranch.g.verified.cs | 24 ++ ...G.IReposClient.ReposGetViews.g.verified.cs | 25 ++ ...IReposClient.ReposGetWebhook.g.verified.cs | 23 ++ ...ReposGetWebhookConfigForRepo.g.verified.cs | 24 ++ ...ient.ReposGetWebhookDelivery.g.verified.cs | 25 ++ ...osClient.ReposListActivities.g.verified.cs | 43 +++ ...posClient.ReposListAutolinks.g.verified.cs | 22 ++ ...eposClient.ReposListBranches.g.verified.cs | 30 +++ ...posListBranchesForHeadCommit.g.verified.cs | 24 ++ ...lient.ReposListCollaborators.g.verified.cs | 39 +++ ...t.ReposListCommentsForCommit.g.verified.cs | 36 +++ ...posListCommitCommentsForRepo.g.verified.cs | 34 +++ ...eposListCommitStatusesForRef.g.verified.cs | 32 +++ ...ReposClient.ReposListCommits.g.verified.cs | 64 +++++ ...Client.ReposListContributors.g.verified.cs | 32 +++ ...omDeploymentRuleIntegrations.g.verified.cs | 34 +++ ...osClient.ReposListDeployKeys.g.verified.cs | 28 ++ ...ListDeploymentBranchPolicies.g.verified.cs | 33 +++ ....ReposListDeploymentStatuses.g.verified.cs | 31 +++ ...sClient.ReposListDeployments.g.verified.cs | 45 ++++ ...eposListForAuthenticatedUser.g.verified.cs | 48 ++++ ...IReposClient.ReposListForOrg.g.verified.cs | 38 +++ ...ReposClient.ReposListForUser.g.verified.cs | 37 +++ ....IReposClient.ReposListForks.g.verified.cs | 32 +++ ...sClient.ReposListInvitations.g.verified.cs | 29 +++ ...itationsForAuthenticatedUser.g.verified.cs | 25 ++ ...posClient.ReposListLanguages.g.verified.cs | 21 ++ ...sClient.ReposListPagesBuilds.g.verified.cs | 30 +++ ...IReposClient.ReposListPublic.g.verified.cs | 22 ++ ...RequestsAssociatedWithCommit.g.verified.cs | 32 +++ ...lient.ReposListReleaseAssets.g.verified.cs | 30 +++ ...eposClient.ReposListReleases.g.verified.cs | 30 +++ ...lient.ReposListTagProtection.g.verified.cs | 22 ++ ...G.IReposClient.ReposListTags.g.verified.cs | 28 ++ ....IReposClient.ReposListTeams.g.verified.cs | 31 +++ ...t.ReposListWebhookDeliveries.g.verified.cs | 31 +++ ...eposClient.ReposListWebhooks.g.verified.cs | 29 +++ .../_#G.IReposClient.ReposMerge.g.verified.cs | 46 ++++ ...posClient.ReposMergeUpstream.g.verified.cs | 40 +++ ...ReposClient.ReposPingWebhook.g.verified.cs | 23 ++ ...eposRedeliverWebhookDelivery.g.verified.cs | 25 ++ ...sRemoveAppAccessRestrictions.g.verified.cs | 42 +++ ...ient.ReposRemoveCollaborator.g.verified.cs | 37 +++ ...posRemoveStatusCheckContexts.g.verified.cs | 40 +++ ...sRemoveStatusCheckProtection.g.verified.cs | 23 ++ ...RemoveTeamAccessRestrictions.g.verified.cs | 42 +++ ...RemoveUserAccessRestrictions.g.verified.cs | 48 ++++ ...eposClient.ReposRenameBranch.g.verified.cs | 50 ++++ ...Client.ReposReplaceAllTopics.g.verified.cs | 38 +++ ...lient.ReposRequestPagesBuild.g.verified.cs | 22 ++ ...eposSetAdminBranchProtection.g.verified.cs | 24 ++ ...eposSetAppAccessRestrictions.g.verified.cs | 42 +++ ....ReposSetStatusCheckContexts.g.verified.cs | 40 +++ ...posSetTeamAccessRestrictions.g.verified.cs | 42 +++ ...posSetUserAccessRestrictions.g.verified.cs | 48 ++++ ...sClient.ReposTestPushWebhook.g.verified.cs | 24 ++ ...G.IReposClient.ReposTransfer.g.verified.cs | 48 ++++ ..._#G.IReposClient.ReposUpdate.g.verified.cs | 161 ++++++++++++ ....ReposUpdateBranchProtection.g.verified.cs | 92 +++++++ ...ent.ReposUpdateCommitComment.g.verified.cs | 54 ++++ ...UpdateDeploymentBranchPolicy.g.verified.cs | 53 ++++ ...ateInformationAboutPagesSite.g.verified.cs | 54 ++++ ...Client.ReposUpdateInvitation.g.verified.cs | 42 +++ ...Client.ReposUpdateOrgRuleset.g.verified.cs | 61 +++++ ...ePullRequestReviewProtection.g.verified.cs | 69 +++++ ...posClient.ReposUpdateRelease.g.verified.cs | 73 ++++++ ...ient.ReposUpdateReleaseAsset.g.verified.cs | 52 ++++ ...lient.ReposUpdateRepoRuleset.g.verified.cs | 65 +++++ ...sUpdateStatusCheckProtection.g.verified.cs | 50 ++++ ...posClient.ReposUpdateWebhook.g.verified.cs | 62 +++++ ...osUpdateWebhookConfigForRepo.g.verified.cs | 59 +++++ ...ient.ReposUploadReleaseAsset.g.verified.cs | 72 +++++ .../_#G.IReposClient.g.verified.cs | 26 ++ ..._#G.ISearchClient.SearchCode.g.verified.cs | 44 ++++ ....ISearchClient.SearchCommits.g.verified.cs | 37 +++ ....SearchIssuesAndPullRequests.g.verified.cs | 39 +++ ...G.ISearchClient.SearchLabels.g.verified.cs | 39 +++ ...#G.ISearchClient.SearchRepos.g.verified.cs | 37 +++ ...G.ISearchClient.SearchTopics.g.verified.cs | 31 +++ ...#G.ISearchClient.SearchUsers.g.verified.cs | 38 +++ .../_#G.ISearchClient.g.verified.cs | 26 ++ ...lient.SecretScanningGetAlert.g.verified.cs | 27 ++ ...nningListAlertsForEnterprise.g.verified.cs | 46 ++++ ...cretScanningListAlertsForOrg.g.verified.cs | 49 ++++ ...retScanningListAlertsForRepo.g.verified.cs | 51 ++++ ...canningListLocationsForAlert.g.verified.cs | 35 +++ ...nt.SecretScanningUpdateAlert.g.verified.cs | 60 +++++ .../_#G.ISecretScanningClient.g.verified.cs | 26 ++ ...SecurityAdvisoriesCreateFork.g.verified.cs | 24 ++ ...tePrivateVulnerabilityReport.g.verified.cs | 67 +++++ ...riesCreateRepositoryAdvisory.g.verified.cs | 77 ++++++ ...RepositoryAdvisoryCveRequest.g.verified.cs | 26 ++ ...yAdvisoriesGetGlobalAdvisory.g.verified.cs | 19 ++ ...isoriesGetRepositoryAdvisory.g.verified.cs | 27 ++ ...visoriesListGlobalAdvisories.g.verified.cs | 60 +++++ ...sListOrgRepositoryAdvisories.g.verified.cs | 39 +++ ...riesListRepositoryAdvisories.g.verified.cs | 41 +++ ...riesUpdateRepositoryAdvisory.g.verified.cs | 90 +++++++ ...#G.ISecurityAdvisoriesClient.g.verified.cs | 26 ++ ...sClient.TeamsAddMemberLegacy.g.verified.cs | 27 ++ ...UpdateMembershipForUserInOrg.g.verified.cs | 55 ++++ ...pdateMembershipForUserLegacy.g.verified.cs | 53 ++++ ...pdateProjectPermissionsInOrg.g.verified.cs | 46 ++++ ...dateProjectPermissionsLegacy.g.verified.cs | 44 ++++ ...OrUpdateRepoPermissionsInOrg.g.verified.cs | 53 ++++ ...rUpdateRepoPermissionsLegacy.g.verified.cs | 50 ++++ ...ckPermissionsForProjectInOrg.g.verified.cs | 24 ++ ...kPermissionsForProjectLegacy.g.verified.cs | 23 ++ ...CheckPermissionsForRepoInOrg.g.verified.cs | 29 +++ ...heckPermissionsForRepoLegacy.g.verified.cs | 26 ++ ..._#G.ITeamsClient.TeamsCreate.g.verified.cs | 77 ++++++ ...CreateDiscussionCommentInOrg.g.verified.cs | 50 ++++ ...reateDiscussionCommentLegacy.g.verified.cs | 48 ++++ ...t.TeamsCreateDiscussionInOrg.g.verified.cs | 55 ++++ ....TeamsCreateDiscussionLegacy.g.verified.cs | 53 ++++ ...DeleteDiscussionCommentInOrg.g.verified.cs | 27 ++ ...eleteDiscussionCommentLegacy.g.verified.cs | 26 ++ ...t.TeamsDeleteDiscussionInOrg.g.verified.cs | 25 ++ ....TeamsDeleteDiscussionLegacy.g.verified.cs | 24 ++ ...TeamsClient.TeamsDeleteInOrg.g.verified.cs | 23 ++ ...eamsClient.TeamsDeleteLegacy.g.verified.cs | 22 ++ ....ITeamsClient.TeamsGetByName.g.verified.cs | 22 ++ ...amsGetDiscussionCommentInOrg.g.verified.cs | 27 ++ ...msGetDiscussionCommentLegacy.g.verified.cs | 26 ++ ...ient.TeamsGetDiscussionInOrg.g.verified.cs | 25 ++ ...ent.TeamsGetDiscussionLegacy.g.verified.cs | 24 ++ ....ITeamsClient.TeamsGetLegacy.g.verified.cs | 20 ++ ...sClient.TeamsGetMemberLegacy.g.verified.cs | 24 ++ ...amsGetMembershipForUserInOrg.g.verified.cs | 28 ++ ...msGetMembershipForUserLegacy.g.verified.cs | 27 ++ .../_#G.ITeamsClient.TeamsList.g.verified.cs | 27 ++ ...msClient.TeamsListChildInOrg.g.verified.cs | 30 +++ ...sClient.TeamsListChildLegacy.g.verified.cs | 28 ++ ...sListDiscussionCommentsInOrg.g.verified.cs | 37 +++ ...ListDiscussionCommentsLegacy.g.verified.cs | 36 +++ ...nt.TeamsListDiscussionsInOrg.g.verified.cs | 37 +++ ...t.TeamsListDiscussionsLegacy.g.verified.cs | 34 +++ ...eamsListForAuthenticatedUser.g.verified.cs | 28 ++ ...Client.TeamsListMembersInOrg.g.verified.cs | 34 +++ ...lient.TeamsListMembersLegacy.g.verified.cs | 33 +++ ...sListPendingInvitationsInOrg.g.verified.cs | 30 +++ ...ListPendingInvitationsLegacy.g.verified.cs | 29 +++ ...lient.TeamsListProjectsInOrg.g.verified.cs | 30 +++ ...ient.TeamsListProjectsLegacy.g.verified.cs | 29 +++ ...msClient.TeamsListReposInOrg.g.verified.cs | 30 +++ ...sClient.TeamsListReposLegacy.g.verified.cs | 28 ++ ...ient.TeamsRemoveMemberLegacy.g.verified.cs | 26 ++ ...RemoveMembershipForUserInOrg.g.verified.cs | 26 ++ ...emoveMembershipForUserLegacy.g.verified.cs | 25 ++ ...ient.TeamsRemoveProjectInOrg.g.verified.cs | 24 ++ ...ent.TeamsRemoveProjectLegacy.g.verified.cs | 23 ++ ...sClient.TeamsRemoveRepoInOrg.g.verified.cs | 26 ++ ...Client.TeamsRemoveRepoLegacy.g.verified.cs | 25 ++ ...UpdateDiscussionCommentInOrg.g.verified.cs | 52 ++++ ...pdateDiscussionCommentLegacy.g.verified.cs | 50 ++++ ...t.TeamsUpdateDiscussionInOrg.g.verified.cs | 52 ++++ ....TeamsUpdateDiscussionLegacy.g.verified.cs | 50 ++++ ...TeamsClient.TeamsUpdateInOrg.g.verified.cs | 70 +++++ ...eamsClient.TeamsUpdateLegacy.g.verified.cs | 70 +++++ .../_#G.ITeamsClient.g.verified.cs | 26 ++ ...AddEmailForAuthenticatedUser.g.verified.cs | 28 ++ ...lAccountForAuthenticatedUser.g.verified.cs | 35 +++ .../_#G.IUsersClient.UsersBlock.g.verified.cs | 19 ++ ...sersClient.UsersCheckBlocked.g.verified.cs | 19 ++ ...t.UsersCheckFollowingForUser.g.verified.cs | 20 ++ ...sonIsFollowedByAuthenticated.g.verified.cs | 18 ++ ...teGpgKeyForAuthenticatedUser.g.verified.cs | 38 +++ ...icSshKeyForAuthenticatedUser.g.verified.cs | 39 +++ ...gningKeyForAuthenticatedUser.g.verified.cs | 39 +++ ...eteEmailForAuthenticatedUser.g.verified.cs | 28 ++ ...teGpgKeyForAuthenticatedUser.g.verified.cs | 20 ++ ...icSshKeyForAuthenticatedUser.g.verified.cs | 20 ++ ...lAccountForAuthenticatedUser.g.verified.cs | 35 +++ ...gningKeyForAuthenticatedUser.g.verified.cs | 20 ++ ..._#G.IUsersClient.UsersFollow.g.verified.cs | 20 ++ ...Client.UsersGetAuthenticated.g.verified.cs | 17 ++ ...ersClient.UsersGetByUsername.g.verified.cs | 21 ++ ...lient.UsersGetContextForUser.g.verified.cs | 25 ++ ...etGpgKeyForAuthenticatedUser.g.verified.cs | 20 ++ ...icSshKeyForAuthenticatedUser.g.verified.cs | 20 ++ ...gningKeyForAuthenticatedUser.g.verified.cs | 20 ++ .../_#G.IUsersClient.UsersList.g.verified.cs | 24 ++ ...stBlockedByAuthenticatedUser.g.verified.cs | 25 ++ ...stEmailsForAuthenticatedUser.g.verified.cs | 27 ++ ...tFollowedByAuthenticatedUser.g.verified.cs | 25 ++ ...ollowersForAuthenticatedUser.g.verified.cs | 25 ++ ...nt.UsersListFollowersForUser.g.verified.cs | 27 ++ ...nt.UsersListFollowingForUser.g.verified.cs | 27 ++ ...tGpgKeysForAuthenticatedUser.g.verified.cs | 26 ++ ...ient.UsersListGpgKeysForUser.g.verified.cs | 27 ++ ...icEmailsForAuthenticatedUser.g.verified.cs | 28 ++ ...t.UsersListPublicKeysForUser.g.verified.cs | 27 ++ ...cSshKeysForAuthenticatedUser.g.verified.cs | 26 ++ ...AccountsForAuthenticatedUser.g.verified.cs | 25 ++ ...ersListSocialAccountsForUser.g.verified.cs | 27 ++ ...ningKeysForAuthenticatedUser.g.verified.cs | 26 ++ ...ersListSshSigningKeysForUser.g.verified.cs | 27 ++ ...sibilityForAuthenticatedUser.g.verified.cs | 32 +++ ...#G.IUsersClient.UsersUnblock.g.verified.cs | 19 ++ ...G.IUsersClient.UsersUnfollow.g.verified.cs | 19 ++ ...ent.UsersUpdateAuthenticated.g.verified.cs | 66 +++++ .../_#G.IUsersClient.g.verified.cs | 26 ++ .../_#G.InteractionsClient.g.verified.cs | 2 +- .../_#G.IssuesClient.g.verified.cs | 2 +- .../_#G.LicensesClient.g.verified.cs | 2 +- .../_#G.MarkdownClient.g.verified.cs | 2 +- .../_#G.MergeQueueClient.g.verified.cs | 2 +- .../_#G.MetaClient.g.verified.cs | 2 +- .../_#G.MigrationsClient.g.verified.cs | 2 +- .../_#G.OidcClient.g.verified.cs | 2 +- .../_#G.OrgsClient.g.verified.cs | 2 +- .../_#G.PackagesClient.g.verified.cs | 2 +- .../_#G.ProjectsClient.g.verified.cs | 2 +- .../_#G.PullsClient.g.verified.cs | 2 +- .../_#G.RateLimitClient.g.verified.cs | 2 +- .../_#G.ReactionsClient.g.verified.cs | 2 +- .../_#G.ReposClient.g.verified.cs | 2 +- .../_#G.SearchClient.g.verified.cs | 2 +- .../_#G.SecretScanningClient.g.verified.cs | 2 +- ..._#G.SecurityAdvisoriesClient.g.verified.cs | 2 +- .../_#G.TeamsClient.g.verified.cs | 2 +- .../_#G.UsersClient.g.verified.cs | 2 +- .../_#G.ActionsClient.g.verified.cs | 2 +- .../_#G.ActivityClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.AppsClient.g.verified.cs | 2 +- .../_#G.BillingClient.g.verified.cs | 2 +- .../_#G.ChecksClient.g.verified.cs | 2 +- .../_#G.ClassroomClient.g.verified.cs | 2 +- .../_#G.CodeScanningClient.g.verified.cs | 2 +- .../_#G.CodesOfConductClient.g.verified.cs | 2 +- .../_#G.CodespacesClient.g.verified.cs | 2 +- .../_#G.CopilotClient.g.verified.cs | 2 +- .../_#G.DependabotClient.g.verified.cs | 2 +- .../_#G.DependencyGraphClient.g.verified.cs | 2 +- .../_#G.DesktopClient.g.verified.cs | 2 +- .../_#G.EmojisClient.g.verified.cs | 2 +- .../_#G.EnterpriseTeamsClient.g.verified.cs | 2 +- .../_#G.GistsClient.g.verified.cs | 2 +- .../_#G.GitClient.g.verified.cs | 2 +- .../_#G.GitignoreClient.g.verified.cs | 2 +- ...belsToSelfHostedRunnerForOrg.g.verified.cs | 44 ++++ ...elsToSelfHostedRunnerForRepo.g.verified.cs | 48 ++++ ...nsAddSelectedRepoToOrgSecret.g.verified.cs | 27 ++ ...AddSelectedRepoToOrgVariable.g.verified.cs | 26 ++ ...nt.ActionsApproveWorkflowRun.g.verified.cs | 24 ++ ...ent.ActionsCancelWorkflowRun.g.verified.cs | 24 ++ ...onsCreateEnvironmentVariable.g.verified.cs | 52 ++++ ...ateOrUpdateEnvironmentSecret.g.verified.cs | 58 +++++ ...tionsCreateOrUpdateOrgSecret.g.verified.cs | 58 +++++ ...ionsCreateOrUpdateRepoSecret.g.verified.cs | 54 ++++ ...ent.ActionsCreateOrgVariable.g.verified.cs | 52 ++++ ...reateRegistrationTokenForOrg.g.verified.cs | 25 ++ ...eateRegistrationTokenForRepo.g.verified.cs | 27 ++ ...tionsCreateRemoveTokenForOrg.g.verified.cs | 25 ++ ...ionsCreateRemoveTokenForRepo.g.verified.cs | 27 ++ ...nt.ActionsCreateRepoVariable.g.verified.cs | 48 ++++ ...ctionsCreateWorkflowDispatch.g.verified.cs | 52 ++++ ...ctionsDeleteActionsCacheById.g.verified.cs | 24 ++ ...tionsDeleteActionsCacheByKey.g.verified.cs | 26 ++ ...Client.ActionsDeleteArtifact.g.verified.cs | 24 ++ ...tionsDeleteEnvironmentSecret.g.verified.cs | 27 ++ ...onsDeleteEnvironmentVariable.g.verified.cs | 27 ++ ...lient.ActionsDeleteOrgSecret.g.verified.cs | 23 ++ ...ent.ActionsDeleteOrgVariable.g.verified.cs | 23 ++ ...ient.ActionsDeleteRepoSecret.g.verified.cs | 25 ++ ...nt.ActionsDeleteRepoVariable.g.verified.cs | 25 ++ ...eleteSelfHostedRunnerFromOrg.g.verified.cs | 23 ++ ...leteSelfHostedRunnerFromRepo.g.verified.cs | 25 ++ ...ent.ActionsDeleteWorkflowRun.g.verified.cs | 25 ++ ...ActionsDeleteWorkflowRunLogs.g.verified.cs | 24 ++ ...oryGithubActionsOrganization.g.verified.cs | 22 ++ ...lient.ActionsDisableWorkflow.g.verified.cs | 24 ++ ...ient.ActionsDownloadArtifact.g.verified.cs | 27 ++ ...ownloadJobLogsForWorkflowRun.g.verified.cs | 26 ++ ...wnloadWorkflowRunAttemptLogs.g.verified.cs | 28 ++ ...tionsDownloadWorkflowRunLogs.g.verified.cs | 26 ++ ...oryGithubActionsOrganization.g.verified.cs | 22 ++ ...Client.ActionsEnableWorkflow.g.verified.cs | 24 ++ ...ctionsForceCancelWorkflowRun.g.verified.cs | 25 ++ ...enerateRunnerJitconfigForOrg.g.verified.cs | 53 ++++ ...nerateRunnerJitconfigForRepo.g.verified.cs | 57 ++++ ...t.ActionsGetActionsCacheList.g.verified.cs | 42 +++ ....ActionsGetActionsCacheUsage.g.verified.cs | 24 ++ ...ctionsCacheUsageByRepoForOrg.g.verified.cs | 29 +++ ...nsGetActionsCacheUsageForOrg.g.verified.cs | 21 ++ ...etAllowedActionsOrganization.g.verified.cs | 20 ++ ...sGetAllowedActionsRepository.g.verified.cs | 22 ++ ...onsClient.ActionsGetArtifact.g.verified.cs | 25 ++ ...GetCustomOidcSubClaimForRepo.g.verified.cs | 22 ++ ...tionsGetEnvironmentPublicKey.g.verified.cs | 26 ++ ....ActionsGetEnvironmentSecret.g.verified.cs | 27 ++ ...ctionsGetEnvironmentVariable.g.verified.cs | 27 ++ ...kflowPermissionsOrganization.g.verified.cs | 22 ++ ...orkflowPermissionsRepository.g.verified.cs | 24 ++ ...tionsPermissionsOrganization.g.verified.cs | 20 ++ ...ActionsPermissionsRepository.g.verified.cs | 22 ++ ....ActionsGetJobForWorkflowRun.g.verified.cs | 25 ++ ...lient.ActionsGetOrgPublicKey.g.verified.cs | 22 ++ ...nsClient.ActionsGetOrgSecret.g.verified.cs | 23 ++ ...Client.ActionsGetOrgVariable.g.verified.cs | 23 ++ ...sGetPendingDeploymentsForRun.g.verified.cs | 25 ++ ...ient.ActionsGetRepoPublicKey.g.verified.cs | 24 ++ ...sClient.ActionsGetRepoSecret.g.verified.cs | 25 ++ ...lient.ActionsGetRepoVariable.g.verified.cs | 25 ++ ...ient.ActionsGetReviewsForRun.g.verified.cs | 24 ++ ...onsGetSelfHostedRunnerForOrg.g.verified.cs | 23 ++ ...nsGetSelfHostedRunnerForRepo.g.verified.cs | 25 ++ ...onsClient.ActionsGetWorkflow.g.verified.cs | 26 ++ ...etWorkflowAccessToRepository.g.verified.cs | 24 ++ ...Client.ActionsGetWorkflowRun.g.verified.cs | 29 +++ ...ActionsGetWorkflowRunAttempt.g.verified.cs | 31 +++ ...t.ActionsGetWorkflowRunUsage.g.verified.cs | 25 ++ ...ient.ActionsGetWorkflowUsage.g.verified.cs | 26 ++ ....ActionsListArtifactsForRepo.g.verified.cs | 33 +++ ...ctionsListEnvironmentSecrets.g.verified.cs | 34 +++ ...ionsListEnvironmentVariables.g.verified.cs | 33 +++ ...ctionsListJobsForWorkflowRun.g.verified.cs | 38 +++ ...istJobsForWorkflowRunAttempt.g.verified.cs | 36 +++ ...elsForSelfHostedRunnerForOrg.g.verified.cs | 23 ++ ...lsForSelfHostedRunnerForRepo.g.verified.cs | 25 ++ ...Client.ActionsListOrgSecrets.g.verified.cs | 30 +++ ...ient.ActionsListOrgVariables.g.verified.cs | 29 +++ ...sListRepoOrganizationSecrets.g.verified.cs | 32 +++ ...istRepoOrganizationVariables.g.verified.cs | 31 +++ ...lient.ActionsListRepoSecrets.g.verified.cs | 32 +++ ...ent.ActionsListRepoVariables.g.verified.cs | 31 +++ ...ent.ActionsListRepoWorkflows.g.verified.cs | 31 +++ ...ListRunnerApplicationsForOrg.g.verified.cs | 21 ++ ...istRunnerApplicationsForRepo.g.verified.cs | 23 ++ ...istSelectedReposForOrgSecret.g.verified.cs | 32 +++ ...tSelectedReposForOrgVariable.g.verified.cs | 32 +++ ...ledGithubActionsOrganization.g.verified.cs | 28 ++ ...sListSelfHostedRunnersForOrg.g.verified.cs | 31 +++ ...ListSelfHostedRunnersForRepo.g.verified.cs | 33 +++ ...ionsListWorkflowRunArtifacts.g.verified.cs | 35 +++ ...ient.ActionsListWorkflowRuns.g.verified.cs | 51 ++++ ...tionsListWorkflowRunsForRepo.g.verified.cs | 50 ++++ ...ctionsReRunJobForWorkflowRun.g.verified.cs | 47 ++++ ...sClient.ActionsReRunWorkflow.g.verified.cs | 47 ++++ ...tionsReRunWorkflowFailedJobs.g.verified.cs | 47 ++++ ...lsFromSelfHostedRunnerForOrg.g.verified.cs | 24 ++ ...sFromSelfHostedRunnerForRepo.g.verified.cs | 26 ++ ...elFromSelfHostedRunnerForOrg.g.verified.cs | 28 ++ ...lFromSelfHostedRunnerForRepo.g.verified.cs | 30 +++ ...oveSelectedRepoFromOrgSecret.g.verified.cs | 27 ++ ...eSelectedRepoFromOrgVariable.g.verified.cs | 27 ++ ...tionsReviewCustomGatesForRun.g.verified.cs | 46 ++++ ...viewPendingDeploymentsForRun.g.verified.cs | 59 +++++ ...etAllowedActionsOrganization.g.verified.cs | 47 ++++ ...sSetAllowedActionsRepository.g.verified.cs | 51 ++++ ...elsForSelfHostedRunnerForOrg.g.verified.cs | 46 ++++ ...lsForSelfHostedRunnerForRepo.g.verified.cs | 50 ++++ ...SetCustomOidcSubClaimForRepo.g.verified.cs | 46 ++++ ...kflowPermissionsOrganization.g.verified.cs | 46 ++++ ...orkflowPermissionsRepository.g.verified.cs | 50 ++++ ...tionsPermissionsOrganization.g.verified.cs | 42 +++ ...ActionsPermissionsRepository.g.verified.cs | 46 ++++ ...SetSelectedReposForOrgSecret.g.verified.cs | 48 ++++ ...tSelectedReposForOrgVariable.g.verified.cs | 48 ++++ ...ledGithubActionsOrganization.g.verified.cs | 38 +++ ...etWorkflowAccessToRepository.g.verified.cs | 48 ++++ ...onsUpdateEnvironmentVariable.g.verified.cs | 56 ++++ ...ent.ActionsUpdateOrgVariable.g.verified.cs | 56 ++++ ...nt.ActionsUpdateRepoVariable.g.verified.cs | 52 ++++ .../_#G.IActionsClient.g.verified.cs | 26 ++ ...IsStarredByAuthenticatedUser.g.verified.cs | 21 ++ ...tivityDeleteRepoSubscription.g.verified.cs | 21 ++ ...vityDeleteThreadSubscription.g.verified.cs | 19 ++ ...ivityClient.ActivityGetFeeds.g.verified.cs | 26 ++ ....ActivityGetRepoSubscription.g.verified.cs | 21 ++ ...vityClient.ActivityGetThread.g.verified.cs | 19 ++ ...criptionForAuthenticatedUser.g.verified.cs | 20 ++ ...stEventsForAuthenticatedUser.g.verified.cs | 27 ++ ...icationsForAuthenticatedUser.g.verified.cs | 37 +++ ...rgEventsForAuthenticatedUser.g.verified.cs | 29 +++ ...ent.ActivityListPublicEvents.g.verified.cs | 25 ++ ...stPublicEventsForRepoNetwork.g.verified.cs | 28 ++ ...ivityListPublicEventsForUser.g.verified.cs | 26 ++ ....ActivityListPublicOrgEvents.g.verified.cs | 26 ++ ...ityListReceivedEventsForUser.g.verified.cs | 27 ++ ...tReceivedPublicEventsForUser.g.verified.cs | 26 ++ ...lient.ActivityListRepoEvents.g.verified.cs | 29 +++ ...icationsForAuthenticatedUser.g.verified.cs | 41 +++ ...osStarredByAuthenticatedUser.g.verified.cs | 35 +++ ...tivityListReposStarredByUser.g.verified.cs | 37 +++ ...tivityListReposWatchedByUser.g.verified.cs | 27 ++ ...ctivityListStargazersForRepo.g.verified.cs | 31 +++ ...hedReposForAuthenticatedUser.g.verified.cs | 25 ++ ....ActivityListWatchersForRepo.g.verified.cs | 29 +++ ...ivityMarkNotificationsAsRead.g.verified.cs | 36 +++ ...yMarkRepoNotificationsAsRead.g.verified.cs | 40 +++ ...ent.ActivityMarkThreadAsDone.g.verified.cs | 19 ++ ...ent.ActivityMarkThreadAsRead.g.verified.cs | 19 ++ ....ActivitySetRepoSubscription.g.verified.cs | 44 ++++ ...ctivitySetThreadSubscription.g.verified.cs | 41 +++ ...StarRepoForAuthenticatedUser.g.verified.cs | 21 ++ ...starRepoForAuthenticatedUser.g.verified.cs | 21 ++ .../_#G.IActivityClient.g.verified.cs | 26 ++ .../SystemTextJson/_#G.IApi.g.verified.cs | 216 +++++++++++++++ ...allationForAuthenticatedUser.g.verified.cs | 21 ++ ...G.IAppsClient.AppsCheckToken.g.verified.cs | 36 +++ ...lient.AppsCreateFromManifest.g.verified.cs | 19 ++ ...reateInstallationAccessToken.g.verified.cs | 53 ++++ ...ient.AppsDeleteAuthorization.g.verified.cs | 38 +++ ...lient.AppsDeleteInstallation.g.verified.cs | 20 ++ ....IAppsClient.AppsDeleteToken.g.verified.cs | 36 +++ ...sClient.AppsGetAuthenticated.g.verified.cs | 18 ++ ...#G.IAppsClient.AppsGetBySlug.g.verified.cs | 19 ++ ...psClient.AppsGetInstallation.g.verified.cs | 20 ++ ...lient.AppsGetOrgInstallation.g.verified.cs | 20 ++ ...ient.AppsGetRepoInstallation.g.verified.cs | 22 ++ ...etSubscriptionPlanForAccount.g.verified.cs | 20 ++ ...riptionPlanForAccountStubbed.g.verified.cs | 20 ++ ...ient.AppsGetUserInstallation.g.verified.cs | 20 ++ ...t.AppsGetWebhookConfigForApp.g.verified.cs | 18 ++ ...lient.AppsGetWebhookDelivery.g.verified.cs | 20 ++ ...ient.AppsListAccountsForPlan.g.verified.cs | 34 +++ ...psListAccountsForPlanStubbed.g.verified.cs | 34 +++ ...ionReposForAuthenticatedUser.g.verified.cs | 29 +++ ...nRequestsForAuthenticatedApp.g.verified.cs | 25 ++ ...Client.AppsListInstallations.g.verified.cs | 30 +++ ...llationsForAuthenticatedUser.g.verified.cs | 27 ++ ...#G.IAppsClient.AppsListPlans.g.verified.cs | 26 ++ ...sClient.AppsListPlansStubbed.g.verified.cs | 26 ++ ...eposAccessibleToInstallation.g.verified.cs | 25 ++ ...riptionsForAuthenticatedUser.g.verified.cs | 25 ++ ...sForAuthenticatedUserStubbed.g.verified.cs | 25 ++ ...nt.AppsListWebhookDeliveries.g.verified.cs | 26 ++ ...AppsRedeliverWebhookDelivery.g.verified.cs | 20 ++ ...allationForAuthenticatedUser.g.verified.cs | 21 ++ ...G.IAppsClient.AppsResetToken.g.verified.cs | 36 +++ ...evokeInstallationAccessToken.g.verified.cs | 18 ++ ...G.IAppsClient.AppsScopeToken.g.verified.cs | 72 +++++ ...ient.AppsSuspendInstallation.g.verified.cs | 20 ++ ...nt.AppsUnsuspendInstallation.g.verified.cs | 20 ++ ...ppsUpdateWebhookConfigForApp.g.verified.cs | 47 ++++ .../_#G.IAppsClient.g.verified.cs | 26 ++ ...ngGetGithubActionsBillingOrg.g.verified.cs | 21 ++ ...gGetGithubActionsBillingUser.g.verified.cs | 21 ++ ...gGetGithubPackagesBillingOrg.g.verified.cs | 21 ++ ...GetGithubPackagesBillingUser.g.verified.cs | 21 ++ ...ngGetSharedStorageBillingOrg.g.verified.cs | 21 ++ ...gGetSharedStorageBillingUser.g.verified.cs | 21 ++ .../_#G.IBillingClient.g.verified.cs | 26 ++ ...G.IChecksClient.ChecksCreate.g.verified.cs | 84 ++++++ ...ecksClient.ChecksCreateSuite.g.verified.cs | 44 ++++ .../_#G.IChecksClient.ChecksGet.g.verified.cs | 25 ++ ...IChecksClient.ChecksGetSuite.g.verified.cs | 25 ++ ...Client.ChecksListAnnotations.g.verified.cs | 32 +++ ...hecksClient.ChecksListForRef.g.verified.cs | 44 ++++ ...cksClient.ChecksListForSuite.g.verified.cs | 41 +++ ...lient.ChecksListSuitesForRef.g.verified.cs | 37 +++ ...cksClient.ChecksRerequestRun.g.verified.cs | 25 ++ ...sClient.ChecksRerequestSuite.g.verified.cs | 24 ++ ...t.ChecksSetSuitesPreferences.g.verified.cs | 42 +++ ...G.IChecksClient.ChecksUpdate.g.verified.cs | 81 ++++++ .../_#G.IChecksClient.g.verified.cs | 26 ++ ...lient.ClassroomGetAClassroom.g.verified.cs | 19 ++ ...ent.ClassroomGetAnAssignment.g.verified.cs | 19 ++ ...ClassroomGetAssignmentGrades.g.verified.cs | 19 ++ ...tedAssigmentsForAnAssignment.g.verified.cs | 27 ++ ...ListAssignmentsForAClassroom.g.verified.cs | 27 ++ ...ient.ClassroomListClassrooms.g.verified.cs | 25 ++ .../_#G.IClassroomClient.g.verified.cs | 26 ++ ...canningCreateVariantAnalysis.g.verified.cs | 64 +++++ ...t.CodeScanningDeleteAnalysis.g.verified.cs | 75 ++++++ ...gClient.CodeScanningGetAlert.g.verified.cs | 26 ++ ...ient.CodeScanningGetAnalysis.g.verified.cs | 34 +++ ...odeScanningGetCodeqlDatabase.g.verified.cs | 29 +++ ....CodeScanningGetDefaultSetup.g.verified.cs | 22 ++ ...gClient.CodeScanningGetSarif.g.verified.cs | 24 ++ ...deScanningGetVariantAnalysis.g.verified.cs | 24 ++ ...ngGetVariantAnalysisRepoTask.g.verified.cs | 28 ++ ...deScanningListAlertInstances.g.verified.cs | 39 +++ ...CodeScanningListAlertsForOrg.g.verified.cs | 57 ++++ ...odeScanningListAlertsForRepo.g.verified.cs | 62 +++++ ...eScanningListCodeqlDatabases.g.verified.cs | 22 ++ ...deScanningListRecentAnalyses.g.verified.cs | 66 +++++ ...ient.CodeScanningUpdateAlert.g.verified.cs | 58 +++++ ...deScanningUpdateDefaultSetup.g.verified.cs | 50 ++++ ...ient.CodeScanningUploadSarif.g.verified.cs | 115 ++++++++ .../_#G.ICodeScanningClient.g.verified.cs | 26 ++ ...fConductGetAllCodesOfConduct.g.verified.cs | 17 ++ ...CodesOfConductGetConductCode.g.verified.cs | 19 ++ .../_#G.ICodesOfConductClient.g.verified.cs | 26 ++ ...orSecretForAuthenticatedUser.g.verified.cs | 23 ++ ...esAddSelectedRepoToOrgSecret.g.verified.cs | 24 ++ ...ckPermissionsForDevcontainer.g.verified.cs | 30 +++ ...MachinesForAuthenticatedUser.g.verified.cs | 20 ++ ...esCreateForAuthenticatedUser.g.verified.cs | 32 +++ ...pacesCreateOrUpdateOrgSecret.g.verified.cs | 56 ++++ ...acesCreateOrUpdateRepoSecret.g.verified.cs | 52 ++++ ...teSecretForAuthenticatedUser.g.verified.cs | 50 ++++ ...teWithPrForAuthenticatedUser.g.verified.cs | 82 ++++++ ...WithRepoForAuthenticatedUser.g.verified.cs | 82 ++++++ ...sDeleteCodespacesAccessUsers.g.verified.cs | 44 ++++ ...esDeleteForAuthenticatedUser.g.verified.cs | 20 ++ ...spacesDeleteFromOrganization.g.verified.cs | 24 ++ ...nt.CodespacesDeleteOrgSecret.g.verified.cs | 22 ++ ...t.CodespacesDeleteRepoSecret.g.verified.cs | 24 ++ ...teSecretForAuthenticatedUser.g.verified.cs | 21 ++ ...esExportForAuthenticatedUser.g.verified.cs | 21 ++ ...cesGetCodespacesForUserInOrg.g.verified.cs | 30 +++ ...tDetailsForAuthenticatedUser.g.verified.cs | 22 ++ ...pacesGetForAuthenticatedUser.g.verified.cs | 20 ++ ...nt.CodespacesGetOrgPublicKey.g.verified.cs | 20 ++ ...lient.CodespacesGetOrgSecret.g.verified.cs | 22 ++ ...ublicKeyForAuthenticatedUser.g.verified.cs | 19 ++ ...t.CodespacesGetRepoPublicKey.g.verified.cs | 24 ++ ...ient.CodespacesGetRepoSecret.g.verified.cs | 24 ++ ...etSecretForAuthenticatedUser.g.verified.cs | 21 ++ ...positoryForAuthenticatedUser.g.verified.cs | 31 +++ ...acesListForAuthenticatedUser.g.verified.cs | 28 ++ ...CodespacesListInOrganization.g.verified.cs | 28 ++ ...positoryForAuthenticatedUser.g.verified.cs | 30 +++ ...ent.CodespacesListOrgSecrets.g.verified.cs | 29 +++ ...nt.CodespacesListRepoSecrets.g.verified.cs | 31 +++ ...orSecretForAuthenticatedUser.g.verified.cs | 21 ++ ...tSecretsForAuthenticatedUser.g.verified.cs | 28 ++ ...istSelectedReposForOrgSecret.g.verified.cs | 31 +++ ...WithRepoForAuthenticatedUser.g.verified.cs | 30 +++ ...sPublishForAuthenticatedUser.g.verified.cs | 47 ++++ ...orSecretForAuthenticatedUser.g.verified.cs | 23 ++ ...oveSelectedRepoFromOrgSecret.g.verified.cs | 26 ++ ...MachinesForAuthenticatedUser.g.verified.cs | 32 +++ ...odespacesSetCodespacesAccess.g.verified.cs | 44 ++++ ...acesSetCodespacesAccessUsers.g.verified.cs | 44 ++++ ...orSecretForAuthenticatedUser.g.verified.cs | 40 +++ ...SetSelectedReposForOrgSecret.g.verified.cs | 46 ++++ ...cesStartForAuthenticatedUser.g.verified.cs | 20 ++ ...acesStopForAuthenticatedUser.g.verified.cs | 20 ++ ...CodespacesStopInOrganization.g.verified.cs | 24 ++ ...esUpdateForAuthenticatedUser.g.verified.cs | 48 ++++ .../_#G.ICodespacesClient.g.verified.cs | 26 ++ ...pilotAddCopilotSeatsForTeams.g.verified.cs | 50 ++++ ...pilotAddCopilotSeatsForUsers.g.verified.cs | 50 ++++ ...opilotSeatAssignmentForTeams.g.verified.cs | 48 ++++ ...opilotSeatAssignmentForUsers.g.verified.cs | 48 ++++ ...etCopilotOrganizationDetails.g.verified.cs | 24 ++ ...GetCopilotSeatDetailsForUser.g.verified.cs | 24 ++ ...ient.CopilotListCopilotSeats.g.verified.cs | 30 +++ ...lotUsageMetricsForEnterprise.g.verified.cs | 40 +++ ...nt.CopilotUsageMetricsForOrg.g.verified.cs | 40 +++ .../_#G.ICopilotClient.g.verified.cs | 26 ++ ...otAddSelectedRepoToOrgSecret.g.verified.cs | 26 ++ ...dabotCreateOrUpdateOrgSecret.g.verified.cs | 56 ++++ ...abotCreateOrUpdateRepoSecret.g.verified.cs | 52 ++++ ...nt.DependabotDeleteOrgSecret.g.verified.cs | 22 ++ ...t.DependabotDeleteRepoSecret.g.verified.cs | 24 ++ ...botClient.DependabotGetAlert.g.verified.cs | 25 ++ ...nt.DependabotGetOrgPublicKey.g.verified.cs | 21 ++ ...lient.DependabotGetOrgSecret.g.verified.cs | 22 ++ ...t.DependabotGetRepoPublicKey.g.verified.cs | 24 ++ ...ient.DependabotGetRepoSecret.g.verified.cs | 24 ++ ...dabotListAlertsForEnterprise.g.verified.cs | 54 ++++ ...t.DependabotListAlertsForOrg.g.verified.cs | 53 ++++ ....DependabotListAlertsForRepo.g.verified.cs | 59 +++++ ...ent.DependabotListOrgSecrets.g.verified.cs | 29 +++ ...nt.DependabotListRepoSecrets.g.verified.cs | 31 +++ ...istSelectedReposForOrgSecret.g.verified.cs | 31 +++ ...oveSelectedRepoFromOrgSecret.g.verified.cs | 26 ++ ...SetSelectedReposForOrgSecret.g.verified.cs | 46 ++++ ...Client.DependabotUpdateAlert.g.verified.cs | 59 +++++ .../_#G.IDependabotClient.g.verified.cs | 26 ++ ...raphCreateRepositorySnapshot.g.verified.cs | 72 +++++ ...ent.DependencyGraphDiffRange.g.verified.cs | 25 ++ ...nt.DependencyGraphExportSbom.g.verified.cs | 21 ++ .../_#G.IDependencyGraphClient.g.verified.cs | 26 ++ .../_#G.IDesktopClient.g.verified.cs | 26 ++ .../_#G.IEmojisClient.EmojisGet.g.verified.cs | 17 ++ .../_#G.IEmojisClient.g.verified.cs | 26 ++ .../_#G.IEnterpriseTeamsClient.g.verified.cs | 26 ++ ...tsClient.GistsCheckIsStarred.g.verified.cs | 18 ++ ..._#G.IGistsClient.GistsCreate.g.verified.cs | 41 +++ ...stsClient.GistsCreateComment.g.verified.cs | 43 +++ ..._#G.IGistsClient.GistsDelete.g.verified.cs | 18 ++ ...stsClient.GistsDeleteComment.g.verified.cs | 20 ++ .../_#G.IGistsClient.GistsFork.g.verified.cs | 18 ++ .../_#G.IGistsClient.GistsGet.g.verified.cs | 22 ++ ...IGistsClient.GistsGetComment.g.verified.cs | 24 ++ ...GistsClient.GistsGetRevision.g.verified.cs | 24 ++ .../_#G.IGistsClient.GistsList.g.verified.cs | 27 ++ ...istsClient.GistsListComments.g.verified.cs | 30 +++ ...GistsClient.GistsListCommits.g.verified.cs | 26 ++ ...GistsClient.GistsListForUser.g.verified.cs | 29 +++ ....IGistsClient.GistsListForks.g.verified.cs | 26 ++ ...IGistsClient.GistsListPublic.g.verified.cs | 28 ++ ...GistsClient.GistsListStarred.g.verified.cs | 27 ++ .../_#G.IGistsClient.GistsStar.g.verified.cs | 19 ++ ..._#G.IGistsClient.GistsUnstar.g.verified.cs | 18 ++ ..._#G.IGistsClient.GistsUpdate.g.verified.cs | 56 ++++ ...stsClient.GistsUpdateComment.g.verified.cs | 47 ++++ .../_#G.IGistsClient.g.verified.cs | 26 ++ ..._#G.IGitClient.GitCreateBlob.g.verified.cs | 43 +++ ...G.IGitClient.GitCreateCommit.g.verified.cs | 108 ++++++++ .../_#G.IGitClient.GitCreateRef.g.verified.cs | 44 ++++ .../_#G.IGitClient.GitCreateTag.g.verified.cs | 104 ++++++++ ..._#G.IGitClient.GitCreateTree.g.verified.cs | 49 ++++ .../_#G.IGitClient.GitDeleteRef.g.verified.cs | 23 ++ .../_#G.IGitClient.GitGetBlob.g.verified.cs | 27 ++ .../_#G.IGitClient.GitGetCommit.g.verified.cs | 48 ++++ .../_#G.IGitClient.GitGetRef.g.verified.cs | 24 ++ .../_#G.IGitClient.GitGetTag.g.verified.cs | 46 ++++ .../_#G.IGitClient.GitGetTree.g.verified.cs | 27 ++ ...itClient.GitListMatchingRefs.g.verified.cs | 26 ++ .../_#G.IGitClient.GitUpdateRef.g.verified.cs | 49 ++++ .../_#G.IGitClient.g.verified.cs | 26 ++ ...ent.GitignoreGetAllTemplates.g.verified.cs | 17 ++ ...eClient.GitignoreGetTemplate.g.verified.cs | 21 ++ .../_#G.IGitignoreClient.g.verified.cs | 26 ++ ...rictionsForAuthenticatedUser.g.verified.cs | 17 ++ ...actionsGetRestrictionsForOrg.g.verified.cs | 19 ++ ...ctionsGetRestrictionsForRepo.g.verified.cs | 21 ++ ...rictionsForAuthenticatedUser.g.verified.cs | 17 ++ ...ionsRemoveRestrictionsForOrg.g.verified.cs | 19 ++ ...onsRemoveRestrictionsForRepo.g.verified.cs | 21 ++ ...rictionsForAuthenticatedUser.g.verified.cs | 38 +++ ...actionsSetRestrictionsForOrg.g.verified.cs | 42 +++ ...ctionsSetRestrictionsForRepo.g.verified.cs | 46 ++++ .../_#G.IInteractionsClient.g.verified.cs | 26 ++ ...uesClient.IssuesAddAssignees.g.verified.cs | 44 ++++ ...IssuesClient.IssuesAddLabels.g.verified.cs | 40 +++ ...IssuesCheckUserCanBeAssigned.g.verified.cs | 25 ++ ...heckUserCanBeAssignedToIssue.g.verified.cs | 27 ++ ...G.IIssuesClient.IssuesCreate.g.verified.cs | 72 +++++ ...esClient.IssuesCreateComment.g.verified.cs | 62 +++++ ...suesClient.IssuesCreateLabel.g.verified.cs | 48 ++++ ...Client.IssuesCreateMilestone.g.verified.cs | 53 ++++ ...esClient.IssuesDeleteComment.g.verified.cs | 23 ++ ...suesClient.IssuesDeleteLabel.g.verified.cs | 23 ++ ...Client.IssuesDeleteMilestone.g.verified.cs | 23 ++ .../_#G.IIssuesClient.IssuesGet.g.verified.cs | 37 +++ ...ssuesClient.IssuesGetComment.g.verified.cs | 28 ++ ...IIssuesClient.IssuesGetEvent.g.verified.cs | 23 ++ ...IIssuesClient.IssuesGetLabel.g.verified.cs | 23 ++ ...uesClient.IssuesGetMilestone.g.verified.cs | 23 ++ ..._#G.IIssuesClient.IssuesList.g.verified.cs | 64 +++++ ...esClient.IssuesListAssignees.g.verified.cs | 29 +++ ...uesClient.IssuesListComments.g.verified.cs | 39 +++ ...nt.IssuesListCommentsForRepo.g.verified.cs | 43 +++ ...ssuesClient.IssuesListEvents.g.verified.cs | 31 +++ ...ient.IssuesListEventsForRepo.g.verified.cs | 29 +++ ....IssuesListEventsForTimeline.g.verified.cs | 31 +++ ...suesListForAuthenticatedUser.g.verified.cs | 54 ++++ ...ssuesClient.IssuesListForOrg.g.verified.cs | 56 ++++ ...suesClient.IssuesListForRepo.g.verified.cs | 62 +++++ ...IssuesListLabelsForMilestone.g.verified.cs | 31 +++ ...ient.IssuesListLabelsForRepo.g.verified.cs | 29 +++ ...ient.IssuesListLabelsOnIssue.g.verified.cs | 31 +++ ...sClient.IssuesListMilestones.g.verified.cs | 41 +++ ..._#G.IIssuesClient.IssuesLock.g.verified.cs | 50 ++++ ...Client.IssuesRemoveAllLabels.g.verified.cs | 23 ++ ...Client.IssuesRemoveAssignees.g.verified.cs | 44 ++++ ...suesClient.IssuesRemoveLabel.g.verified.cs | 25 ++ ...IssuesClient.IssuesSetLabels.g.verified.cs | 40 +++ ...G.IIssuesClient.IssuesUnlock.g.verified.cs | 23 ++ ...G.IIssuesClient.IssuesUpdate.g.verified.cs | 81 ++++++ ...esClient.IssuesUpdateComment.g.verified.cs | 54 ++++ ...suesClient.IssuesUpdateLabel.g.verified.cs | 52 ++++ ...Client.IssuesUpdateMilestone.g.verified.cs | 55 ++++ .../_#G.IIssuesClient.g.verified.cs | 26 ++ ....ILicensesClient.LicensesGet.g.verified.cs | 19 ++ ...t.LicensesGetAllCommonlyUsed.g.verified.cs | 27 ++ ...sesClient.LicensesGetForRepo.g.verified.cs | 29 +++ .../_#G.ILicensesClient.g.verified.cs | 26 ++ ...arkdownClient.MarkdownRender.g.verified.cs | 40 +++ ...downClient.MarkdownRenderRaw.g.verified.cs | 19 ++ .../_#G.IMarkdownClient.g.verified.cs | 26 ++ .../_#G.IMergeQueueClient.g.verified.cs | 26 ++ .../_#G.IMetaClient.MetaGet.g.verified.cs | 20 ++ ...etaClient.MetaGetAllVersions.g.verified.cs | 17 ++ ...G.IMetaClient.MetaGetOctocat.g.verified.cs | 19 ++ .../_#G.IMetaClient.MetaGetZen.g.verified.cs | 17 ++ .../_#G.IMetaClient.MetaRoot.g.verified.cs | 17 ++ .../_#G.IMetaClient.g.verified.cs | 26 ++ ...lient.MigrationsCancelImport.g.verified.cs | 23 ++ ...eArchiveForAuthenticatedUser.g.verified.cs | 19 ++ ...igrationsDeleteArchiveForOrg.g.verified.cs | 21 ++ ...rationsDownloadArchiveForOrg.g.verified.cs | 21 ++ ...tArchiveForAuthenticatedUser.g.verified.cs | 37 +++ ...t.MigrationsGetCommitAuthors.g.verified.cs | 26 ++ ...nt.MigrationsGetImportStatus.g.verified.cs | 45 ++++ ...ient.MigrationsGetLargeFiles.g.verified.cs | 23 ++ ...etStatusForAuthenticatedUser.g.verified.cs | 26 ++ ...nt.MigrationsGetStatusForOrg.g.verified.cs | 28 ++ ...ionsListForAuthenticatedUser.g.verified.cs | 25 ++ ...sClient.MigrationsListForOrg.g.verified.cs | 30 +++ ...istReposForAuthenticatedUser.g.verified.cs | 27 ++ ...nt.MigrationsListReposForOrg.g.verified.cs | 29 +++ ...nt.MigrationsMapCommitAuthor.g.verified.cs | 54 ++++ ...t.MigrationsSetLfsPreference.g.verified.cs | 50 ++++ ...onsStartForAuthenticatedUser.g.verified.cs | 71 +++++ ...Client.MigrationsStartForOrg.g.verified.cs | 80 ++++++ ...Client.MigrationsStartImport.g.verified.cs | 64 +++++ ...lockRepoForAuthenticatedUser.g.verified.cs | 21 ++ ...t.MigrationsUnlockRepoForOrg.g.verified.cs | 23 ++ ...lient.MigrationsUpdateImport.g.verified.cs | 66 +++++ .../_#G.IMigrationsClient.g.verified.cs | 26 ++ ...tOidcCustomSubTemplateForOrg.g.verified.cs | 20 ++ ...eOidcCustomSubTemplateForOrg.g.verified.cs | 38 +++ .../_#G.IOidcClient.g.verified.cs | 26 ++ ...t.OrgsAddSecurityManagerTeam.g.verified.cs | 23 ++ ...ient.OrgsAssignTeamToOrgRole.g.verified.cs | 25 ++ ...ient.OrgsAssignUserToOrgRole.g.verified.cs | 25 ++ ...#G.IOrgsClient.OrgsBlockUser.g.verified.cs | 21 ++ ...sClient.OrgsCancelInvitation.g.verified.cs | 22 ++ ...sClient.OrgsCheckBlockedUser.g.verified.cs | 21 ++ ...t.OrgsCheckMembershipForUser.g.verified.cs | 21 ++ ...CheckPublicMembershipForUser.g.verified.cs | 21 ++ ...tMemberToOutsideCollaborator.g.verified.cs | 41 +++ ...CreateCustomOrganizationRole.g.verified.cs | 52 ++++ ...sClient.OrgsCreateInvitation.g.verified.cs | 57 ++++ ...eateOrUpdateCustomProperties.g.verified.cs | 42 +++ ...stomPropertiesValuesForRepos.g.verified.cs | 52 ++++ ...CreateOrUpdateCustomProperty.g.verified.cs | 64 +++++ ...OrgsClient.OrgsCreateWebhook.g.verified.cs | 56 ++++ .../_#G.IOrgsClient.OrgsDelete.g.verified.cs | 22 ++ ...DeleteCustomOrganizationRole.g.verified.cs | 25 ++ ...OrgsClient.OrgsDeleteWebhook.g.verified.cs | 23 ++ ...SecurityProductOnAllOrgRepos.g.verified.cs | 49 ++++ .../_#G.IOrgsClient.OrgsGet.g.verified.cs | 31 +++ ...t.OrgsGetAllCustomProperties.g.verified.cs | 20 ++ ...Client.OrgsGetCustomProperty.g.verified.cs | 22 ++ ...mbershipForAuthenticatedUser.g.verified.cs | 19 ++ ...ent.OrgsGetMembershipForUser.g.verified.cs | 21 ++ ...G.IOrgsClient.OrgsGetOrgRole.g.verified.cs | 25 ++ ...G.IOrgsClient.OrgsGetWebhook.g.verified.cs | 25 ++ ...t.OrgsGetWebhookConfigForOrg.g.verified.cs | 24 ++ ...lient.OrgsGetWebhookDelivery.g.verified.cs | 26 ++ .../_#G.IOrgsClient.OrgsList.g.verified.cs | 24 ++ ...ent.OrgsListAppInstallations.g.verified.cs | 30 +++ ...sClient.OrgsListBlockedUsers.g.verified.cs | 27 ++ ...stomPropertiesValuesForRepos.g.verified.cs | 30 +++ ...nt.OrgsListFailedInvitations.g.verified.cs | 27 ++ ...OrgsListForAuthenticatedUser.g.verified.cs | 26 ++ ....IOrgsClient.OrgsListForUser.g.verified.cs | 28 ++ ...ient.OrgsListInvitationTeams.g.verified.cs | 29 +++ ....IOrgsClient.OrgsListMembers.g.verified.cs | 35 +++ ...bershipsForAuthenticatedUser.g.verified.cs | 27 ++ ...sClient.OrgsListOrgRoleTeams.g.verified.cs | 31 +++ ...sClient.OrgsListOrgRoleUsers.g.verified.cs | 31 +++ ...IOrgsClient.OrgsListOrgRoles.g.verified.cs | 23 ++ ...zationFineGrainedPermissions.g.verified.cs | 24 ++ ...OrgsListOutsideCollaborators.g.verified.cs | 31 +++ ...OrgsListPatGrantRepositories.g.verified.cs | 30 +++ ...tPatGrantRequestRepositories.g.verified.cs | 30 +++ ...ent.OrgsListPatGrantRequests.g.verified.cs | 52 ++++ ...OrgsClient.OrgsListPatGrants.g.verified.cs | 52 ++++ ...t.OrgsListPendingInvitations.g.verified.cs | 35 +++ ...Client.OrgsListPublicMembers.g.verified.cs | 27 ++ ...OrgsListSecurityManagerTeams.g.verified.cs | 21 ++ ...nt.OrgsListWebhookDeliveries.g.verified.cs | 32 +++ ...IOrgsClient.OrgsListWebhooks.g.verified.cs | 29 +++ ...sPatchCustomOrganizationRole.g.verified.cs | 56 ++++ ....IOrgsClient.OrgsPingWebhook.g.verified.cs | 25 ++ ...OrgsRedeliverWebhookDelivery.g.verified.cs | 26 ++ ...ent.OrgsRemoveCustomProperty.g.verified.cs | 24 ++ ...IOrgsClient.OrgsRemoveMember.g.verified.cs | 21 ++ ....OrgsRemoveMembershipForUser.g.verified.cs | 22 ++ ...rgsRemoveOutsideCollaborator.g.verified.cs | 21 ++ ...mbershipForAuthenticatedUser.g.verified.cs | 21 ++ ...rgsRemoveSecurityManagerTeam.g.verified.cs | 23 ++ ...nt.OrgsReviewPatGrantRequest.g.verified.cs | 46 ++++ ...ReviewPatGrantRequestsInBulk.g.verified.cs | 46 ++++ ...nt.OrgsRevokeAllOrgRolesTeam.g.verified.cs | 23 ++ ...nt.OrgsRevokeAllOrgRolesUser.g.verified.cs | 23 ++ ...Client.OrgsRevokeOrgRoleTeam.g.verified.cs | 25 ++ ...Client.OrgsRevokeOrgRoleUser.g.verified.cs | 25 ++ ...ent.OrgsSetMembershipForUser.g.verified.cs | 53 ++++ ...mbershipForAuthenticatedUser.g.verified.cs | 22 ++ ....IOrgsClient.OrgsUnblockUser.g.verified.cs | 21 ++ .../_#G.IOrgsClient.OrgsUpdate.g.verified.cs | 190 ++++++++++++++ ...mbershipForAuthenticatedUser.g.verified.cs | 36 +++ ...gsClient.OrgsUpdatePatAccess.g.verified.cs | 42 +++ ...Client.OrgsUpdatePatAccesses.g.verified.cs | 42 +++ ...OrgsClient.OrgsUpdateWebhook.g.verified.cs | 68 +++++ ...rgsUpdateWebhookConfigForOrg.g.verified.cs | 59 +++++ .../_#G.IOrgsClient.g.verified.cs | 26 ++ ...ePackageForAuthenticatedUser.g.verified.cs | 22 ++ ....PackagesDeletePackageForOrg.g.verified.cs | 25 ++ ...PackagesDeletePackageForUser.g.verified.cs | 25 ++ ...eVersionForAuthenticatedUser.g.verified.cs | 25 ++ ...esDeletePackageVersionForOrg.g.verified.cs | 27 ++ ...sDeletePackageVersionForUser.g.verified.cs | 27 ++ ...kageOwnedByAuthenticatedUser.g.verified.cs | 34 +++ ...VersionsForPackageOwnedByOrg.g.verified.cs | 36 +++ ...ersionsForPackageOwnedByUser.g.verified.cs | 24 ++ ...tPackageForAuthenticatedUser.g.verified.cs | 22 ++ ...gesGetPackageForOrganization.g.verified.cs | 24 ++ ...nt.PackagesGetPackageForUser.g.verified.cs | 24 ++ ...eVersionForAuthenticatedUser.g.verified.cs | 24 ++ ...ackageVersionForOrganization.g.verified.cs | 26 ++ ...agesGetPackageVersionForUser.g.verified.cs | 26 ++ ...PackagesForAuthenticatedUser.g.verified.cs | 18 ++ ...ctingPackagesForOrganization.g.verified.cs | 20 ++ ...onConflictingPackagesForUser.g.verified.cs | 20 ++ ...PackagesForAuthenticatedUser.g.verified.cs | 30 +++ ...sListPackagesForOrganization.g.verified.cs | 32 +++ ....PackagesListPackagesForUser.g.verified.cs | 32 +++ ...ePackageForAuthenticatedUser.g.verified.cs | 27 ++ ...PackagesRestorePackageForOrg.g.verified.cs | 30 +++ ...ackagesRestorePackageForUser.g.verified.cs | 30 +++ ...eVersionForAuthenticatedUser.g.verified.cs | 27 ++ ...sRestorePackageVersionForOrg.g.verified.cs | 30 +++ ...RestorePackageVersionForUser.g.verified.cs | 30 +++ .../_#G.IPackagesClient.g.verified.cs | 26 ++ ...ient.ProjectsAddCollaborator.g.verified.cs | 42 +++ ...ctsClient.ProjectsCreateCard.g.verified.cs | 30 +++ ...sClient.ProjectsCreateColumn.g.verified.cs | 37 +++ ...tsCreateForAuthenticatedUser.g.verified.cs | 38 +++ ...sClient.ProjectsCreateForOrg.g.verified.cs | 40 +++ ...Client.ProjectsCreateForRepo.g.verified.cs | 44 ++++ ...rojectsClient.ProjectsDelete.g.verified.cs | 19 ++ ...ctsClient.ProjectsDeleteCard.g.verified.cs | 19 ++ ...sClient.ProjectsDeleteColumn.g.verified.cs | 19 ++ ....IProjectsClient.ProjectsGet.g.verified.cs | 19 ++ ...ojectsClient.ProjectsGetCard.g.verified.cs | 19 ++ ...ectsClient.ProjectsGetColumn.g.verified.cs | 19 ++ ...ProjectsGetPermissionForUser.g.verified.cs | 21 ++ ...ectsClient.ProjectsListCards.g.verified.cs | 31 +++ ...nt.ProjectsListCollaborators.g.verified.cs | 31 +++ ...tsClient.ProjectsListColumns.g.verified.cs | 27 ++ ...ctsClient.ProjectsListForOrg.g.verified.cs | 31 +++ ...tsClient.ProjectsListForRepo.g.verified.cs | 33 +++ ...tsClient.ProjectsListForUser.g.verified.cs | 31 +++ ...jectsClient.ProjectsMoveCard.g.verified.cs | 40 +++ ...ctsClient.ProjectsMoveColumn.g.verified.cs | 35 +++ ...t.ProjectsRemoveCollaborator.g.verified.cs | 21 ++ ...rojectsClient.ProjectsUpdate.g.verified.cs | 55 ++++ ...ctsClient.ProjectsUpdateCard.g.verified.cs | 40 +++ ...sClient.ProjectsUpdateColumn.g.verified.cs | 35 +++ .../_#G.IProjectsClient.g.verified.cs | 26 ++ ...llsClient.PullsCheckIfMerged.g.verified.cs | 23 ++ ..._#G.IPullsClient.PullsCreate.g.verified.cs | 84 ++++++ ...sCreateReplyForReviewComment.g.verified.cs | 62 +++++ ...ullsClient.PullsCreateReview.g.verified.cs | 74 ++++++ ...ent.PullsCreateReviewComment.g.verified.cs | 95 +++++++ ...ent.PullsDeletePendingReview.g.verified.cs | 30 +++ ...ent.PullsDeleteReviewComment.g.verified.cs | 23 ++ ...llsClient.PullsDismissReview.g.verified.cs | 68 +++++ .../_#G.IPullsClient.PullsGet.g.verified.cs | 37 +++ ....IPullsClient.PullsGetReview.g.verified.cs | 30 +++ ...Client.PullsGetReviewComment.g.verified.cs | 28 ++ .../_#G.IPullsClient.PullsList.g.verified.cs | 53 ++++ ...t.PullsListCommentsForReview.g.verified.cs | 38 +++ ...PullsClient.PullsListCommits.g.verified.cs | 38 +++ ....IPullsClient.PullsListFiles.g.verified.cs | 38 +++ ....PullsListRequestedReviewers.g.verified.cs | 23 ++ ...ient.PullsListReviewComments.g.verified.cs | 45 ++++ ...llsListReviewCommentsForRepo.g.verified.cs | 41 +++ ...PullsClient.PullsListReviews.g.verified.cs | 36 +++ .../_#G.IPullsClient.PullsMerge.g.verified.cs | 58 +++++ ...ullsRemoveRequestedReviewers.g.verified.cs | 48 ++++ ...Client.PullsRequestReviewers.g.verified.cs | 50 ++++ ...ullsClient.PullsSubmitReview.g.verified.cs | 62 +++++ ..._#G.IPullsClient.PullsUpdate.g.verified.cs | 72 +++++ ...ullsClient.PullsUpdateBranch.g.verified.cs | 44 ++++ ...ullsClient.PullsUpdateReview.g.verified.cs | 58 +++++ ...ent.PullsUpdateReviewComment.g.verified.cs | 54 ++++ .../_#G.IPullsClient.g.verified.cs | 26 ++ ...RateLimitClient.RateLimitGet.g.verified.cs | 28 ++ .../_#G.IRateLimitClient.g.verified.cs | 26 ++ ...ctionsCreateForCommitComment.g.verified.cs | 44 ++++ ...ient.ReactionsCreateForIssue.g.verified.cs | 44 ++++ ...actionsCreateForIssueComment.g.verified.cs | 44 ++++ ...eForPullRequestReviewComment.g.verified.cs | 44 ++++ ...nt.ReactionsCreateForRelease.g.verified.cs | 44 ++++ ...orTeamDiscussionCommentInOrg.g.verified.cs | 54 ++++ ...rTeamDiscussionCommentLegacy.g.verified.cs | 52 ++++ ...CreateForTeamDiscussionInOrg.g.verified.cs | 50 ++++ ...reateForTeamDiscussionLegacy.g.verified.cs | 48 ++++ ...ctionsDeleteForCommitComment.g.verified.cs | 26 ++ ...ient.ReactionsDeleteForIssue.g.verified.cs | 26 ++ ...actionsDeleteForIssueComment.g.verified.cs | 26 ++ ...sDeleteForPullRequestComment.g.verified.cs | 26 ++ ...nt.ReactionsDeleteForRelease.g.verified.cs | 26 ++ ...tionsDeleteForTeamDiscussion.g.verified.cs | 27 ++ ...leteForTeamDiscussionComment.g.verified.cs | 29 +++ ...eactionsListForCommitComment.g.verified.cs | 33 +++ ...Client.ReactionsListForIssue.g.verified.cs | 33 +++ ...ReactionsListForIssueComment.g.verified.cs | 33 +++ ...tForPullRequestReviewComment.g.verified.cs | 33 +++ ...ient.ReactionsListForRelease.g.verified.cs | 33 +++ ...orTeamDiscussionCommentInOrg.g.verified.cs | 37 +++ ...rTeamDiscussionCommentLegacy.g.verified.cs | 36 +++ ...nsListForTeamDiscussionInOrg.g.verified.cs | 35 +++ ...sListForTeamDiscussionLegacy.g.verified.cs | 34 +++ .../_#G.IReactionsClient.g.verified.cs | 26 ++ ...vitationForAuthenticatedUser.g.verified.cs | 18 ++ ...eposAddAppAccessRestrictions.g.verified.cs | 42 +++ ...sClient.ReposAddCollaborator.g.verified.cs | 67 +++++ ....ReposAddStatusCheckContexts.g.verified.cs | 40 +++ ...posAddTeamAccessRestrictions.g.verified.cs | 42 +++ ...posAddUserAccessRestrictions.g.verified.cs | 48 ++++ ...t.ReposCancelPagesDeployment.g.verified.cs | 24 ++ ...sCheckAutomatedSecurityFixes.g.verified.cs | 21 ++ ...lient.ReposCheckCollaborator.g.verified.cs | 26 ++ ...rivateVulnerabilityReporting.g.verified.cs | 21 ++ ...eposCheckVulnerabilityAlerts.g.verified.cs | 21 ++ ...Client.ReposCodeownersErrors.g.verified.cs | 26 ++ ...osClient.ReposCompareCommits.g.verified.cs | 66 +++++ ...osClient.ReposCreateAutolink.g.verified.cs | 49 ++++ ...ent.ReposCreateCommitComment.g.verified.cs | 68 +++++ ...ateCommitSignatureProtection.g.verified.cs | 24 ++ ...ient.ReposCreateCommitStatus.g.verified.cs | 61 +++++ ...sClient.ReposCreateDeployKey.g.verified.cs | 50 ++++ ...Client.ReposCreateDeployment.g.verified.cs | 140 ++++++++++ ...CreateDeploymentBranchPolicy.g.verified.cs | 54 ++++ ...eateDeploymentProtectionRule.g.verified.cs | 50 ++++ ....ReposCreateDeploymentStatus.g.verified.cs | 70 +++++ ...ent.ReposCreateDispatchEvent.g.verified.cs | 50 ++++ ...osCreateForAuthenticatedUser.g.verified.cs | 159 ++++++++++++ ...IReposClient.ReposCreateFork.g.verified.cs | 52 ++++ ...ReposClient.ReposCreateInOrg.g.verified.cs | 153 +++++++++++ ...UpdateCustomPropertiesValues.g.verified.cs | 44 ++++ ...posCreateOrUpdateEnvironment.g.verified.cs | 64 +++++ ...osCreateOrUpdateFileContents.g.verified.cs | 68 +++++ ...Client.ReposCreateOrgRuleset.g.verified.cs | 57 ++++ ...t.ReposCreatePagesDeployment.g.verified.cs | 60 +++++ ...sClient.ReposCreatePagesSite.g.verified.cs | 48 ++++ ...posClient.ReposCreateRelease.g.verified.cs | 78 ++++++ ...lient.ReposCreateRepoRuleset.g.verified.cs | 61 +++++ ...ent.ReposCreateTagProtection.g.verified.cs | 42 +++ ...ent.ReposCreateUsingTemplate.g.verified.cs | 60 +++++ ...posClient.ReposCreateWebhook.g.verified.cs | 56 ++++ ...vitationForAuthenticatedUser.g.verified.cs | 18 ++ ..._#G.IReposClient.ReposDelete.g.verified.cs | 24 ++ ...eposDeleteAccessRestrictions.g.verified.cs | 24 ++ ...sDeleteAdminBranchProtection.g.verified.cs | 24 ++ ...ent.ReposDeleteAnEnvironment.g.verified.cs | 23 ++ ...osClient.ReposDeleteAutolink.g.verified.cs | 24 ++ ....ReposDeleteBranchProtection.g.verified.cs | 23 ++ ...ent.ReposDeleteCommitComment.g.verified.cs | 22 ++ ...eteCommitSignatureProtection.g.verified.cs | 24 ++ ...sClient.ReposDeleteDeployKey.g.verified.cs | 23 ++ ...Client.ReposDeleteDeployment.g.verified.cs | 28 ++ ...DeleteDeploymentBranchPolicy.g.verified.cs | 26 ++ ...IReposClient.ReposDeleteFile.g.verified.cs | 68 +++++ ...Client.ReposDeleteInvitation.g.verified.cs | 22 ++ ...Client.ReposDeleteOrgRuleset.g.verified.cs | 21 ++ ...sClient.ReposDeletePagesSite.g.verified.cs | 23 ++ ...ePullRequestReviewProtection.g.verified.cs | 23 ++ ...posClient.ReposDeleteRelease.g.verified.cs | 23 ++ ...ient.ReposDeleteReleaseAsset.g.verified.cs | 22 ++ ...lient.ReposDeleteRepoRuleset.g.verified.cs | 23 ++ ...ent.ReposDeleteTagProtection.g.verified.cs | 24 ++ ...posClient.ReposDeleteWebhook.g.verified.cs | 22 ++ ...isableAutomatedSecurityFixes.g.verified.cs | 21 ++ ...ableDeploymentProtectionRule.g.verified.cs | 27 ++ ...rivateVulnerabilityReporting.g.verified.cs | 21 ++ ...osDisableVulnerabilityAlerts.g.verified.cs | 23 ++ ....ReposDownloadTarballArchive.g.verified.cs | 26 ++ ....ReposDownloadZipballArchive.g.verified.cs | 26 ++ ...EnableAutomatedSecurityFixes.g.verified.cs | 21 ++ ...rivateVulnerabilityReporting.g.verified.cs | 21 ++ ...posEnableVulnerabilityAlerts.g.verified.cs | 21 ++ ...nt.ReposGenerateReleaseNotes.g.verified.cs | 52 ++++ .../_#G.IReposClient.ReposGet.g.verified.cs | 22 ++ ...t.ReposGetAccessRestrictions.g.verified.cs | 25 ++ ...eposGetAdminBranchProtection.g.verified.cs | 23 ++ ...AllDeploymentProtectionRules.g.verified.cs | 25 ++ ...ient.ReposGetAllEnvironments.g.verified.cs | 31 +++ ...posGetAllStatusCheckContexts.g.verified.cs | 23 ++ ...eposClient.ReposGetAllTopics.g.verified.cs | 28 ++ ...sWithAccessToProtectedBranch.g.verified.cs | 24 ++ ...ReposClient.ReposGetAutolink.g.verified.cs | 24 ++ ....IReposClient.ReposGetBranch.g.verified.cs | 22 ++ ...ent.ReposGetBranchProtection.g.verified.cs | 23 ++ ...osClient.ReposGetBranchRules.g.verified.cs | 34 +++ ....IReposClient.ReposGetClones.g.verified.cs | 25 ++ ...t.ReposGetCodeFrequencyStats.g.verified.cs | 23 ++ ...tCollaboratorPermissionLevel.g.verified.cs | 28 ++ ...ReposGetCombinedStatusForRef.g.verified.cs | 35 +++ ....IReposClient.ReposGetCommit.g.verified.cs | 60 +++++ ....ReposGetCommitActivityStats.g.verified.cs | 21 ++ ...Client.ReposGetCommitComment.g.verified.cs | 28 ++ ...GetCommitSignatureProtection.g.verified.cs | 25 ++ ...osGetCommunityProfileMetrics.g.verified.cs | 28 ++ ...IReposClient.ReposGetContent.g.verified.cs | 42 +++ ...nt.ReposGetContributorsStats.g.verified.cs | 26 ++ ...stomDeploymentProtectionRule.g.verified.cs | 27 ++ ...posGetCustomPropertiesValues.g.verified.cs | 22 ++ ...eposClient.ReposGetDeployKey.g.verified.cs | 22 ++ ...posClient.ReposGetDeployment.g.verified.cs | 22 ++ ...posGetDeploymentBranchPolicy.g.verified.cs | 27 ++ ...ent.ReposGetDeploymentStatus.g.verified.cs | 25 ++ ...osClient.ReposGetEnvironment.g.verified.cs | 25 ++ ...ent.ReposGetLatestPagesBuild.g.verified.cs | 22 ++ ...Client.ReposGetLatestRelease.g.verified.cs | 22 ++ ...sClient.ReposGetOrgRuleSuite.g.verified.cs | 22 ++ ...Client.ReposGetOrgRuleSuites.g.verified.cs | 40 +++ ...posClient.ReposGetOrgRuleset.g.verified.cs | 21 ++ ...osClient.ReposGetOrgRulesets.g.verified.cs | 27 ++ ...G.IReposClient.ReposGetPages.g.verified.cs | 22 ++ ...posClient.ReposGetPagesBuild.g.verified.cs | 24 ++ ...ient.ReposGetPagesDeployment.g.verified.cs | 24 ++ ...ent.ReposGetPagesHealthCheck.g.verified.cs | 24 ++ ...t.ReposGetParticipationStats.g.verified.cs | 23 ++ ...tPullRequestReviewProtection.g.verified.cs | 23 ++ ...lient.ReposGetPunchCardStats.g.verified.cs | 25 ++ ....IReposClient.ReposGetReadme.g.verified.cs | 26 ++ ...nt.ReposGetReadmeInDirectory.g.verified.cs | 28 ++ ...IReposClient.ReposGetRelease.g.verified.cs | 26 ++ ...sClient.ReposGetReleaseAsset.g.verified.cs | 23 ++ ...sClient.ReposGetReleaseByTag.g.verified.cs | 23 ++ ...Client.ReposGetRepoRuleSuite.g.verified.cs | 24 ++ ...lient.ReposGetRepoRuleSuites.g.verified.cs | 42 +++ ...osClient.ReposGetRepoRuleset.g.verified.cs | 27 ++ ...sClient.ReposGetRepoRulesets.g.verified.cs | 33 +++ ...posGetStatusChecksProtection.g.verified.cs | 23 ++ ...sWithAccessToProtectedBranch.g.verified.cs | 24 ++ ...ReposClient.ReposGetTopPaths.g.verified.cs | 21 ++ ...sClient.ReposGetTopReferrers.g.verified.cs | 21 ++ ...sWithAccessToProtectedBranch.g.verified.cs | 24 ++ ...G.IReposClient.ReposGetViews.g.verified.cs | 25 ++ ...IReposClient.ReposGetWebhook.g.verified.cs | 23 ++ ...ReposGetWebhookConfigForRepo.g.verified.cs | 24 ++ ...ient.ReposGetWebhookDelivery.g.verified.cs | 25 ++ ...osClient.ReposListActivities.g.verified.cs | 43 +++ ...posClient.ReposListAutolinks.g.verified.cs | 22 ++ ...eposClient.ReposListBranches.g.verified.cs | 30 +++ ...posListBranchesForHeadCommit.g.verified.cs | 24 ++ ...lient.ReposListCollaborators.g.verified.cs | 39 +++ ...t.ReposListCommentsForCommit.g.verified.cs | 36 +++ ...posListCommitCommentsForRepo.g.verified.cs | 34 +++ ...eposListCommitStatusesForRef.g.verified.cs | 32 +++ ...ReposClient.ReposListCommits.g.verified.cs | 64 +++++ ...Client.ReposListContributors.g.verified.cs | 32 +++ ...omDeploymentRuleIntegrations.g.verified.cs | 34 +++ ...osClient.ReposListDeployKeys.g.verified.cs | 28 ++ ...ListDeploymentBranchPolicies.g.verified.cs | 33 +++ ....ReposListDeploymentStatuses.g.verified.cs | 31 +++ ...sClient.ReposListDeployments.g.verified.cs | 45 ++++ ...eposListForAuthenticatedUser.g.verified.cs | 48 ++++ ...IReposClient.ReposListForOrg.g.verified.cs | 38 +++ ...ReposClient.ReposListForUser.g.verified.cs | 37 +++ ....IReposClient.ReposListForks.g.verified.cs | 32 +++ ...sClient.ReposListInvitations.g.verified.cs | 29 +++ ...itationsForAuthenticatedUser.g.verified.cs | 25 ++ ...posClient.ReposListLanguages.g.verified.cs | 21 ++ ...sClient.ReposListPagesBuilds.g.verified.cs | 30 +++ ...IReposClient.ReposListPublic.g.verified.cs | 22 ++ ...RequestsAssociatedWithCommit.g.verified.cs | 32 +++ ...lient.ReposListReleaseAssets.g.verified.cs | 30 +++ ...eposClient.ReposListReleases.g.verified.cs | 30 +++ ...lient.ReposListTagProtection.g.verified.cs | 22 ++ ...G.IReposClient.ReposListTags.g.verified.cs | 28 ++ ....IReposClient.ReposListTeams.g.verified.cs | 31 +++ ...t.ReposListWebhookDeliveries.g.verified.cs | 31 +++ ...eposClient.ReposListWebhooks.g.verified.cs | 29 +++ .../_#G.IReposClient.ReposMerge.g.verified.cs | 46 ++++ ...posClient.ReposMergeUpstream.g.verified.cs | 40 +++ ...ReposClient.ReposPingWebhook.g.verified.cs | 23 ++ ...eposRedeliverWebhookDelivery.g.verified.cs | 25 ++ ...sRemoveAppAccessRestrictions.g.verified.cs | 42 +++ ...ient.ReposRemoveCollaborator.g.verified.cs | 37 +++ ...posRemoveStatusCheckContexts.g.verified.cs | 40 +++ ...sRemoveStatusCheckProtection.g.verified.cs | 23 ++ ...RemoveTeamAccessRestrictions.g.verified.cs | 42 +++ ...RemoveUserAccessRestrictions.g.verified.cs | 48 ++++ ...eposClient.ReposRenameBranch.g.verified.cs | 50 ++++ ...Client.ReposReplaceAllTopics.g.verified.cs | 38 +++ ...lient.ReposRequestPagesBuild.g.verified.cs | 22 ++ ...eposSetAdminBranchProtection.g.verified.cs | 24 ++ ...eposSetAppAccessRestrictions.g.verified.cs | 42 +++ ....ReposSetStatusCheckContexts.g.verified.cs | 40 +++ ...posSetTeamAccessRestrictions.g.verified.cs | 42 +++ ...posSetUserAccessRestrictions.g.verified.cs | 48 ++++ ...sClient.ReposTestPushWebhook.g.verified.cs | 24 ++ ...G.IReposClient.ReposTransfer.g.verified.cs | 48 ++++ ..._#G.IReposClient.ReposUpdate.g.verified.cs | 161 ++++++++++++ ....ReposUpdateBranchProtection.g.verified.cs | 92 +++++++ ...ent.ReposUpdateCommitComment.g.verified.cs | 54 ++++ ...UpdateDeploymentBranchPolicy.g.verified.cs | 53 ++++ ...ateInformationAboutPagesSite.g.verified.cs | 54 ++++ ...Client.ReposUpdateInvitation.g.verified.cs | 42 +++ ...Client.ReposUpdateOrgRuleset.g.verified.cs | 61 +++++ ...ePullRequestReviewProtection.g.verified.cs | 69 +++++ ...posClient.ReposUpdateRelease.g.verified.cs | 73 ++++++ ...ient.ReposUpdateReleaseAsset.g.verified.cs | 52 ++++ ...lient.ReposUpdateRepoRuleset.g.verified.cs | 65 +++++ ...sUpdateStatusCheckProtection.g.verified.cs | 50 ++++ ...posClient.ReposUpdateWebhook.g.verified.cs | 62 +++++ ...osUpdateWebhookConfigForRepo.g.verified.cs | 59 +++++ ...ient.ReposUploadReleaseAsset.g.verified.cs | 72 +++++ .../_#G.IReposClient.g.verified.cs | 26 ++ ..._#G.ISearchClient.SearchCode.g.verified.cs | 44 ++++ ....ISearchClient.SearchCommits.g.verified.cs | 37 +++ ....SearchIssuesAndPullRequests.g.verified.cs | 39 +++ ...G.ISearchClient.SearchLabels.g.verified.cs | 39 +++ ...#G.ISearchClient.SearchRepos.g.verified.cs | 37 +++ ...G.ISearchClient.SearchTopics.g.verified.cs | 31 +++ ...#G.ISearchClient.SearchUsers.g.verified.cs | 38 +++ .../_#G.ISearchClient.g.verified.cs | 26 ++ ...lient.SecretScanningGetAlert.g.verified.cs | 27 ++ ...nningListAlertsForEnterprise.g.verified.cs | 46 ++++ ...cretScanningListAlertsForOrg.g.verified.cs | 49 ++++ ...retScanningListAlertsForRepo.g.verified.cs | 51 ++++ ...canningListLocationsForAlert.g.verified.cs | 35 +++ ...nt.SecretScanningUpdateAlert.g.verified.cs | 60 +++++ .../_#G.ISecretScanningClient.g.verified.cs | 26 ++ ...SecurityAdvisoriesCreateFork.g.verified.cs | 24 ++ ...tePrivateVulnerabilityReport.g.verified.cs | 67 +++++ ...riesCreateRepositoryAdvisory.g.verified.cs | 77 ++++++ ...RepositoryAdvisoryCveRequest.g.verified.cs | 26 ++ ...yAdvisoriesGetGlobalAdvisory.g.verified.cs | 19 ++ ...isoriesGetRepositoryAdvisory.g.verified.cs | 27 ++ ...visoriesListGlobalAdvisories.g.verified.cs | 60 +++++ ...sListOrgRepositoryAdvisories.g.verified.cs | 39 +++ ...riesListRepositoryAdvisories.g.verified.cs | 41 +++ ...riesUpdateRepositoryAdvisory.g.verified.cs | 90 +++++++ ...#G.ISecurityAdvisoriesClient.g.verified.cs | 26 ++ ...sClient.TeamsAddMemberLegacy.g.verified.cs | 27 ++ ...UpdateMembershipForUserInOrg.g.verified.cs | 55 ++++ ...pdateMembershipForUserLegacy.g.verified.cs | 53 ++++ ...pdateProjectPermissionsInOrg.g.verified.cs | 46 ++++ ...dateProjectPermissionsLegacy.g.verified.cs | 44 ++++ ...OrUpdateRepoPermissionsInOrg.g.verified.cs | 53 ++++ ...rUpdateRepoPermissionsLegacy.g.verified.cs | 50 ++++ ...ckPermissionsForProjectInOrg.g.verified.cs | 24 ++ ...kPermissionsForProjectLegacy.g.verified.cs | 23 ++ ...CheckPermissionsForRepoInOrg.g.verified.cs | 29 +++ ...heckPermissionsForRepoLegacy.g.verified.cs | 26 ++ ..._#G.ITeamsClient.TeamsCreate.g.verified.cs | 77 ++++++ ...CreateDiscussionCommentInOrg.g.verified.cs | 50 ++++ ...reateDiscussionCommentLegacy.g.verified.cs | 48 ++++ ...t.TeamsCreateDiscussionInOrg.g.verified.cs | 55 ++++ ....TeamsCreateDiscussionLegacy.g.verified.cs | 53 ++++ ...DeleteDiscussionCommentInOrg.g.verified.cs | 27 ++ ...eleteDiscussionCommentLegacy.g.verified.cs | 26 ++ ...t.TeamsDeleteDiscussionInOrg.g.verified.cs | 25 ++ ....TeamsDeleteDiscussionLegacy.g.verified.cs | 24 ++ ...TeamsClient.TeamsDeleteInOrg.g.verified.cs | 23 ++ ...eamsClient.TeamsDeleteLegacy.g.verified.cs | 22 ++ ....ITeamsClient.TeamsGetByName.g.verified.cs | 22 ++ ...amsGetDiscussionCommentInOrg.g.verified.cs | 27 ++ ...msGetDiscussionCommentLegacy.g.verified.cs | 26 ++ ...ient.TeamsGetDiscussionInOrg.g.verified.cs | 25 ++ ...ent.TeamsGetDiscussionLegacy.g.verified.cs | 24 ++ ....ITeamsClient.TeamsGetLegacy.g.verified.cs | 20 ++ ...sClient.TeamsGetMemberLegacy.g.verified.cs | 24 ++ ...amsGetMembershipForUserInOrg.g.verified.cs | 28 ++ ...msGetMembershipForUserLegacy.g.verified.cs | 27 ++ .../_#G.ITeamsClient.TeamsList.g.verified.cs | 27 ++ ...msClient.TeamsListChildInOrg.g.verified.cs | 30 +++ ...sClient.TeamsListChildLegacy.g.verified.cs | 28 ++ ...sListDiscussionCommentsInOrg.g.verified.cs | 37 +++ ...ListDiscussionCommentsLegacy.g.verified.cs | 36 +++ ...nt.TeamsListDiscussionsInOrg.g.verified.cs | 37 +++ ...t.TeamsListDiscussionsLegacy.g.verified.cs | 34 +++ ...eamsListForAuthenticatedUser.g.verified.cs | 28 ++ ...Client.TeamsListMembersInOrg.g.verified.cs | 34 +++ ...lient.TeamsListMembersLegacy.g.verified.cs | 33 +++ ...sListPendingInvitationsInOrg.g.verified.cs | 30 +++ ...ListPendingInvitationsLegacy.g.verified.cs | 29 +++ ...lient.TeamsListProjectsInOrg.g.verified.cs | 30 +++ ...ient.TeamsListProjectsLegacy.g.verified.cs | 29 +++ ...msClient.TeamsListReposInOrg.g.verified.cs | 30 +++ ...sClient.TeamsListReposLegacy.g.verified.cs | 28 ++ ...ient.TeamsRemoveMemberLegacy.g.verified.cs | 26 ++ ...RemoveMembershipForUserInOrg.g.verified.cs | 26 ++ ...emoveMembershipForUserLegacy.g.verified.cs | 25 ++ ...ient.TeamsRemoveProjectInOrg.g.verified.cs | 24 ++ ...ent.TeamsRemoveProjectLegacy.g.verified.cs | 23 ++ ...sClient.TeamsRemoveRepoInOrg.g.verified.cs | 26 ++ ...Client.TeamsRemoveRepoLegacy.g.verified.cs | 25 ++ ...UpdateDiscussionCommentInOrg.g.verified.cs | 52 ++++ ...pdateDiscussionCommentLegacy.g.verified.cs | 50 ++++ ...t.TeamsUpdateDiscussionInOrg.g.verified.cs | 52 ++++ ....TeamsUpdateDiscussionLegacy.g.verified.cs | 50 ++++ ...TeamsClient.TeamsUpdateInOrg.g.verified.cs | 70 +++++ ...eamsClient.TeamsUpdateLegacy.g.verified.cs | 70 +++++ .../_#G.ITeamsClient.g.verified.cs | 26 ++ ...AddEmailForAuthenticatedUser.g.verified.cs | 28 ++ ...lAccountForAuthenticatedUser.g.verified.cs | 35 +++ .../_#G.IUsersClient.UsersBlock.g.verified.cs | 19 ++ ...sersClient.UsersCheckBlocked.g.verified.cs | 19 ++ ...t.UsersCheckFollowingForUser.g.verified.cs | 20 ++ ...sonIsFollowedByAuthenticated.g.verified.cs | 18 ++ ...teGpgKeyForAuthenticatedUser.g.verified.cs | 38 +++ ...icSshKeyForAuthenticatedUser.g.verified.cs | 39 +++ ...gningKeyForAuthenticatedUser.g.verified.cs | 39 +++ ...eteEmailForAuthenticatedUser.g.verified.cs | 28 ++ ...teGpgKeyForAuthenticatedUser.g.verified.cs | 20 ++ ...icSshKeyForAuthenticatedUser.g.verified.cs | 20 ++ ...lAccountForAuthenticatedUser.g.verified.cs | 35 +++ ...gningKeyForAuthenticatedUser.g.verified.cs | 20 ++ ..._#G.IUsersClient.UsersFollow.g.verified.cs | 20 ++ ...Client.UsersGetAuthenticated.g.verified.cs | 17 ++ ...ersClient.UsersGetByUsername.g.verified.cs | 21 ++ ...lient.UsersGetContextForUser.g.verified.cs | 25 ++ ...etGpgKeyForAuthenticatedUser.g.verified.cs | 20 ++ ...icSshKeyForAuthenticatedUser.g.verified.cs | 20 ++ ...gningKeyForAuthenticatedUser.g.verified.cs | 20 ++ .../_#G.IUsersClient.UsersList.g.verified.cs | 24 ++ ...stBlockedByAuthenticatedUser.g.verified.cs | 25 ++ ...stEmailsForAuthenticatedUser.g.verified.cs | 27 ++ ...tFollowedByAuthenticatedUser.g.verified.cs | 25 ++ ...ollowersForAuthenticatedUser.g.verified.cs | 25 ++ ...nt.UsersListFollowersForUser.g.verified.cs | 27 ++ ...nt.UsersListFollowingForUser.g.verified.cs | 27 ++ ...tGpgKeysForAuthenticatedUser.g.verified.cs | 26 ++ ...ient.UsersListGpgKeysForUser.g.verified.cs | 27 ++ ...icEmailsForAuthenticatedUser.g.verified.cs | 28 ++ ...t.UsersListPublicKeysForUser.g.verified.cs | 27 ++ ...cSshKeysForAuthenticatedUser.g.verified.cs | 26 ++ ...AccountsForAuthenticatedUser.g.verified.cs | 25 ++ ...ersListSocialAccountsForUser.g.verified.cs | 27 ++ ...ningKeysForAuthenticatedUser.g.verified.cs | 26 ++ ...ersListSshSigningKeysForUser.g.verified.cs | 27 ++ ...sibilityForAuthenticatedUser.g.verified.cs | 32 +++ ...#G.IUsersClient.UsersUnblock.g.verified.cs | 19 ++ ...G.IUsersClient.UsersUnfollow.g.verified.cs | 19 ++ ...ent.UsersUpdateAuthenticated.g.verified.cs | 66 +++++ .../_#G.IUsersClient.g.verified.cs | 26 ++ .../_#G.InteractionsClient.g.verified.cs | 2 +- .../_#G.IssuesClient.g.verified.cs | 2 +- .../_#G.LicensesClient.g.verified.cs | 2 +- .../_#G.MarkdownClient.g.verified.cs | 2 +- .../_#G.MergeQueueClient.g.verified.cs | 2 +- .../_#G.MetaClient.g.verified.cs | 2 +- .../_#G.MigrationsClient.g.verified.cs | 2 +- .../_#G.OidcClient.g.verified.cs | 2 +- .../_#G.OrgsClient.g.verified.cs | 2 +- .../_#G.PackagesClient.g.verified.cs | 2 +- .../_#G.ProjectsClient.g.verified.cs | 2 +- .../_#G.PullsClient.g.verified.cs | 2 +- .../_#G.RateLimitClient.g.verified.cs | 2 +- .../_#G.ReactionsClient.g.verified.cs | 2 +- .../_#G.ReposClient.g.verified.cs | 2 +- .../_#G.SearchClient.g.verified.cs | 2 +- .../_#G.SecretScanningClient.g.verified.cs | 2 +- ..._#G.SecurityAdvisoriesClient.g.verified.cs | 2 +- .../_#G.TeamsClient.g.verified.cs | 2 +- .../_#G.UsersClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.IApi.GenerateText.g.verified.cs | 39 +++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 26 ++ .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.IApi.GenerateText.g.verified.cs | 39 +++ .../SystemTextJson/_#G.IApi.g.verified.cs | 26 ++ .../_#G.AbuseClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.AsnClient.g.verified.cs | 2 +- .../_#G.DomainsClient.g.verified.cs | 2 +- .../_#G.GeneralClient.g.verified.cs | 2 +- .../_#G.IAbuseClient.GetAbuse.g.verified.cs | 19 ++ .../_#G.IAbuseClient.g.verified.cs | 26 ++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 61 +++++ .../_#G.IAsnClient.GetAsn.g.verified.cs | 19 ++ .../_#G.IAsnClient.g.verified.cs | 26 ++ ...#G.IDomainsClient.GetDomains.g.verified.cs | 25 ++ .../_#G.IDomainsClient.g.verified.cs | 26 ++ .../_#G.IGeneralClient.Batch.g.verified.cs | 19 ++ ...Client.GetCurrentInformation.g.verified.cs | 17 ++ ...ralClient.GetInformationByIp.g.verified.cs | 19 ++ .../_#G.IGeneralClient.g.verified.cs | 26 ++ ...nt.GetPrivacyInformationByIp.g.verified.cs | 19 ++ .../_#G.IPrivacyDetectionClient.g.verified.cs | 26 ++ .../_#G.IRangesClient.GetRanges.g.verified.cs | 19 ++ .../_#G.IRangesClient.g.verified.cs | 26 ++ ...#G.ISingleClient.GetCityByIp.g.verified.cs | 19 ++ ...ISingleClient.GetCountryByIp.g.verified.cs | 19 ++ ...ISingleClient.GetCurrentCity.g.verified.cs | 17 ++ ...ngleClient.GetCurrentCountry.g.verified.cs | 17 ++ ...gleClient.GetCurrentHostname.g.verified.cs | 17 ++ ...G.ISingleClient.GetCurrentIp.g.verified.cs | 17 ++ ...gleClient.GetCurrentLocation.g.verified.cs | 17 ++ ...lient.GetCurrentOrganization.g.verified.cs | 17 ++ ...ingleClient.GetCurrentPostal.g.verified.cs | 17 ++ ...ingleClient.GetCurrentRegion.g.verified.cs | 17 ++ ...gleClient.GetCurrentTimezone.g.verified.cs | 17 ++ ...SingleClient.GetHostnameByIp.g.verified.cs | 19 ++ .../_#G.ISingleClient.GetIpByIp.g.verified.cs | 19 ++ ...SingleClient.GetLocationByIp.g.verified.cs | 19 ++ ...leClient.GetOrganizationByIp.g.verified.cs | 19 ++ ....ISingleClient.GetPostalByIp.g.verified.cs | 19 ++ ....ISingleClient.GetRegionByIp.g.verified.cs | 19 ++ ...SingleClient.GetTimezoneByIp.g.verified.cs | 19 ++ .../_#G.ISingleClient.g.verified.cs | 26 ++ .../_#G.PrivacyDetectionClient.g.verified.cs | 2 +- .../_#G.RangesClient.g.verified.cs | 2 +- .../_#G.SingleClient.g.verified.cs | 2 +- .../_#G.AbuseClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.AsnClient.g.verified.cs | 2 +- .../_#G.DomainsClient.g.verified.cs | 2 +- .../_#G.GeneralClient.g.verified.cs | 2 +- .../_#G.IAbuseClient.GetAbuse.g.verified.cs | 19 ++ .../_#G.IAbuseClient.g.verified.cs | 26 ++ .../SystemTextJson/_#G.IApi.g.verified.cs | 61 +++++ .../_#G.IAsnClient.GetAsn.g.verified.cs | 19 ++ .../_#G.IAsnClient.g.verified.cs | 26 ++ ...#G.IDomainsClient.GetDomains.g.verified.cs | 25 ++ .../_#G.IDomainsClient.g.verified.cs | 26 ++ .../_#G.IGeneralClient.Batch.g.verified.cs | 19 ++ ...Client.GetCurrentInformation.g.verified.cs | 17 ++ ...ralClient.GetInformationByIp.g.verified.cs | 19 ++ .../_#G.IGeneralClient.g.verified.cs | 26 ++ ...nt.GetPrivacyInformationByIp.g.verified.cs | 19 ++ .../_#G.IPrivacyDetectionClient.g.verified.cs | 26 ++ .../_#G.IRangesClient.GetRanges.g.verified.cs | 19 ++ .../_#G.IRangesClient.g.verified.cs | 26 ++ ...#G.ISingleClient.GetCityByIp.g.verified.cs | 19 ++ ...ISingleClient.GetCountryByIp.g.verified.cs | 19 ++ ...ISingleClient.GetCurrentCity.g.verified.cs | 17 ++ ...ngleClient.GetCurrentCountry.g.verified.cs | 17 ++ ...gleClient.GetCurrentHostname.g.verified.cs | 17 ++ ...G.ISingleClient.GetCurrentIp.g.verified.cs | 17 ++ ...gleClient.GetCurrentLocation.g.verified.cs | 17 ++ ...lient.GetCurrentOrganization.g.verified.cs | 17 ++ ...ingleClient.GetCurrentPostal.g.verified.cs | 17 ++ ...ingleClient.GetCurrentRegion.g.verified.cs | 17 ++ ...gleClient.GetCurrentTimezone.g.verified.cs | 17 ++ ...SingleClient.GetHostnameByIp.g.verified.cs | 19 ++ .../_#G.ISingleClient.GetIpByIp.g.verified.cs | 19 ++ ...SingleClient.GetLocationByIp.g.verified.cs | 19 ++ ...leClient.GetOrganizationByIp.g.verified.cs | 19 ++ ....ISingleClient.GetPostalByIp.g.verified.cs | 19 ++ ....ISingleClient.GetRegionByIp.g.verified.cs | 19 ++ ...SingleClient.GetTimezoneByIp.g.verified.cs | 19 ++ .../_#G.ISingleClient.g.verified.cs | 26 ++ .../_#G.PrivacyDetectionClient.g.verified.cs | 2 +- .../_#G.RangesClient.g.verified.cs | 2 +- .../_#G.SingleClient.g.verified.cs | 2 +- .../_#G.AnnotationQueuesClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ApiKeyClient.g.verified.cs | 2 +- .../_#G.AuthClient.g.verified.cs | 2 +- .../_#G.ChartsClient.g.verified.cs | 2 +- .../_#G.CommentsClient.g.verified.cs | 2 +- .../_#G.CommitsClient.g.verified.cs | 2 +- .../_#G.DatasetsClient.g.verified.cs | 2 +- .../_#G.EventsClient.g.verified.cs | 2 +- .../_#G.ExamplesClient.g.verified.cs | 2 +- .../_#G.FeedbackClient.g.verified.cs | 2 +- .../_#G.FeedbackConfigsClient.g.verified.cs | 2 +- ...ent.AddRunsToAnnotationQueue.g.verified.cs | 20 ++ ...Client.CreateAnnotationQueue.g.verified.cs | 50 ++++ ...tityAnnotationQueueRunStatus.g.verified.cs | 34 +++ ...Client.DeleteAnnotationQueue.g.verified.cs | 18 ++ ...DeleteRunFromAnnotationQueue.g.verified.cs | 20 ++ ...esClient.GetAnnotationQueues.g.verified.cs | 32 +++ ...nt.GetAnnotationQueuesForRun.g.verified.cs | 18 ++ ...nt.GetRunFromAnnotationQueue.g.verified.cs | 20 ++ ...t.GetSizeFromAnnotationQueue.g.verified.cs | 18 ++ ...TotalSizeFromAnnotationQueue.g.verified.cs | 18 ++ ...Client.UpdateAnnotationQueue.g.verified.cs | 46 ++++ ...t.UpdateRunInAnnotationQueue.g.verified.cs | 38 +++ .../_#G.IAnnotationQueuesClient.g.verified.cs | 25 ++ .../NewtonsoftJson/_#G.IApi.Ok.g.verified.cs | 16 ++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 160 ++++++++++++ ...G.IApiKeyClient.DeleteApiKey.g.verified.cs | 19 ++ ...nt.DeletePersonalAccessToken.g.verified.cs | 19 ++ ...IApiKeyClient.GenerateApiKey.g.verified.cs | 28 ++ ....GeneratePersonalAccessToken.g.verified.cs | 28 ++ ..._#G.IApiKeyClient.GetApiKeys.g.verified.cs | 17 ++ ...ient.GetPersonalAccessTokens.g.verified.cs | 17 ++ .../_#G.IApiKeyClient.g.verified.cs | 25 ++ .../_#G.IAuthClient.Login.g.verified.cs | 16 ++ .../_#G.IAuthClient.g.verified.cs | 25 ++ ...#G.IChartsClient.CreateChart.g.verified.cs | 46 ++++ ....IChartsClient.CreateSection.g.verified.cs | 34 +++ ...#G.IChartsClient.DeleteChart.g.verified.cs | 19 ++ ....IChartsClient.DeleteSection.g.verified.cs | 19 ++ ...hartsClient.ReadChartPreview.g.verified.cs | 32 +++ ..._#G.IChartsClient.ReadCharts.g.verified.cs | 42 +++ ...G.IChartsClient.ReadSections.g.verified.cs | 27 ++ ...ChartsClient.ReadSingleChart.g.verified.cs | 46 ++++ ...#G.IChartsClient.UpdateChart.g.verified.cs | 48 ++++ ....IChartsClient.UpdateSection.g.verified.cs | 38 +++ .../_#G.IChartsClient.g.verified.cs | 25 ++ ...CommentsClient.CreateComment.g.verified.cs | 36 +++ ...mentsClient.CreateSubComment.g.verified.cs | 40 +++ ....ICommentsClient.GetComments.g.verified.cs | 28 ++ ...ommentsClient.GetSubComments.g.verified.cs | 30 +++ ....ICommentsClient.LikeComment.g.verified.cs | 22 ++ ...CommentsClient.UnlikeComment.g.verified.cs | 22 ++ .../_#G.ICommentsClient.g.verified.cs | 25 ++ ....ICommitsClient.CreateCommit.g.verified.cs | 42 +++ ..._#G.ICommitsClient.GetCommit.g.verified.cs | 35 +++ ...G.ICommitsClient.ListCommits.g.verified.cs | 29 +++ .../_#G.ICommitsClient.g.verified.cs | 25 ++ ...IDatasetsClient.CloneDataset.g.verified.cs | 36 +++ ....CreateComparativeExperiment.g.verified.cs | 44 ++++ ...DatasetsClient.CreateDataset.g.verified.cs | 50 ++++ ....DeleteComparativeExperiment.g.verified.cs | 19 ++ ...DatasetsClient.DeleteDataset.g.verified.cs | 19 ++ ...tsClient.DiffDatasetVersions.g.verified.cs | 23 ++ ...etsClient.DownloadDatasetCsv.g.verified.cs | 23 ++ ...Client.DownloadDatasetOpenai.g.verified.cs | 23 ++ ...ient.DownloadDatasetOpenaiFt.g.verified.cs | 23 ++ ..._#G.IDatasetsClient.Generate.g.verified.cs | 36 +++ ...asetsClient.GetDatasetSplits.g.verified.cs | 23 ++ ...setsClient.GetDatasetVersion.g.verified.cs | 23 ++ ...etsClient.GetDatasetVersions.g.verified.cs | 31 +++ ...IDatasetsClient.GetIndexInfo.g.verified.cs | 19 ++ .../_#G.IDatasetsClient.Index.g.verified.cs | 36 +++ ...t.ReadComparativeExperiments.g.verified.cs | 41 +++ ....IDatasetsClient.ReadDataset.g.verified.cs | 19 ++ ...Client.ReadDatasetShareState.g.verified.cs | 19 ++ ...IDatasetsClient.ReadDatasets.g.verified.cs | 45 ++++ ...#G.IDatasetsClient.ReadDelta.g.verified.cs | 50 ++++ ...sClient.ReadExamplesWithRuns.g.verified.cs | 46 ++++ ....IDatasetsClient.RemoveIndex.g.verified.cs | 19 ++ .../_#G.IDatasetsClient.Search.g.verified.cs | 42 +++ ...IDatasetsClient.ShareDataset.g.verified.cs | 23 ++ ...atasetsClient.UnshareDataset.g.verified.cs | 19 ++ ...DatasetsClient.UpdateDataset.g.verified.cs | 42 +++ ...tsClient.UpdateDatasetSplits.g.verified.cs | 38 +++ ...sClient.UpdateDatasetVersion.g.verified.cs | 36 +++ ...asetsClient.UploadCsvDataset.g.verified.cs | 44 ++++ ...asetsClient.UploadExperiment.g.verified.cs | 48 ++++ .../_#G.IDatasetsClient.g.verified.cs | 25 ++ ...#G.IEventsClient.CreateEvent.g.verified.cs | 34 +++ .../_#G.IEventsClient.g.verified.cs | 25 ++ ...ExamplesClient.CreateExample.g.verified.cs | 50 ++++ ...xamplesClient.CreateExamples.g.verified.cs | 19 ++ ...ExamplesClient.DeleteExample.g.verified.cs | 19 ++ ...xamplesClient.DeleteExamples.g.verified.cs | 19 ++ ....IExamplesClient.ReadExample.g.verified.cs | 24 ++ ...IExamplesClient.ReadExamples.g.verified.cs | 52 ++++ ...ExamplesClient.UpdateExample.g.verified.cs | 42 +++ ...xamplesClient.UpdateExamples.g.verified.cs | 19 ++ ...xamplesClient.UploadExamples.g.verified.cs | 40 +++ .../_#G.IExamplesClient.g.verified.cs | 25 ++ ...eedbackClient.CreateFeedback.g.verified.cs | 56 ++++ ...nt.CreateFeedbackIngestToken.g.verified.cs | 28 ++ ...t.CreateFeedbackWithTokenGet.g.verified.cs | 27 ++ ....CreateFeedbackWithTokenPost.g.verified.cs | 42 +++ ...eedbackClient.DeleteFeedback.g.verified.cs | 19 ++ ...Client.EagerlyCreateFeedback.g.verified.cs | 60 +++++ ...ent.ListFeedbackIngestTokens.g.verified.cs | 19 ++ ...IFeedbackClient.ReadFeedback.g.verified.cs | 19 ++ ...FeedbackClient.ReadFeedbacks.g.verified.cs | 45 ++++ ...eedbackClient.UpdateFeedback.g.verified.cs | 42 +++ .../_#G.IFeedbackClient.g.verified.cs | 25 ++ ...CreateFeedbackConfigEndpoint.g.verified.cs | 34 +++ ....ListFeedbackConfigsEndpoint.g.verified.cs | 18 ++ ...UpdateFeedbackConfigEndpoint.g.verified.cs | 32 +++ .../_#G.IFeedbackConfigsClient.g.verified.cs | 25 ++ ...#G.IInfoClient.GetServerInfo.g.verified.cs | 17 ++ .../_#G.IInfoClient.g.verified.cs | 25 ++ .../_#G.ILikesClient.LikeRepo.g.verified.cs | 38 +++ .../_#G.ILikesClient.g.verified.cs | 25 ++ ...apClient.CreateNewModelPrice.g.verified.cs | 42 +++ ...ceMapClient.DeleteModelPrice.g.verified.cs | 18 ++ ...eMapClient.ReadModelPriceMap.g.verified.cs | 16 ++ ...ceMapClient.UpdateModelPrice.g.verified.cs | 46 ++++ .../_#G.IModelPriceMapClient.g.verified.cs | 25 ++ ...BasicAuthMembersToCurrentOrg.g.verified.cs | 19 ++ ...Client.AddMemberToCurrentOrg.g.verified.cs | 42 +++ ....AddMembersToCurrentOrgBatch.g.verified.cs | 19 ++ ...OrgsClient.ChangePaymentPlan.g.verified.cs | 30 +++ ...aimPendingOrganizationInvite.g.verified.cs | 18 ++ ...omersAndGetStripeSetupIntent.g.verified.cs | 16 ++ ...ient.CreateOrganizationRoles.g.verified.cs | 32 +++ ...eleteCurrentOrgPendingMember.g.verified.cs | 19 ++ ...ient.DeleteOrganizationRoles.g.verified.cs | 18 ++ ...etePendingOrganizationInvite.g.verified.cs | 18 ++ ...G.IOrgsClient.GetCompanyInfo.g.verified.cs | 16 ++ ...sClient.GetCurrentOrgMembers.g.verified.cs | 16 ++ ...t.GetCurrentOrganizationInfo.g.verified.cs | 16 ++ ..._#G.IOrgsClient.GetDashboard.g.verified.cs | 22 ++ ...t.GetOrganizationBillingInfo.g.verified.cs | 16 ++ ...gsClient.GetOrganizationInfo.g.verified.cs | 16 ++ ...Client.ListOrganizationRoles.g.verified.cs | 16 ++ ...OrgsClient.ListOrganizations.g.verified.cs | 17 ++ ...stPendingOrganizationInvites.g.verified.cs | 17 ++ ....IOrgsClient.ListPermissions.g.verified.cs | 16 ++ ....IOrgsClient.ListTtlSettings.g.verified.cs | 17 ++ ...lient.OnPaymentMethodCreated.g.verified.cs | 32 +++ ...t.RemoveMemberFromCurrentOrg.g.verified.cs | 19 ++ ...G.IOrgsClient.SetCompanyInfo.g.verified.cs | 36 +++ ...lient.UpdateCurrentOrgMember.g.verified.cs | 38 +++ ...OrgsClient.UpdateCurrentUser.g.verified.cs | 32 +++ ...ient.UpdateOrganizationRoles.g.verified.cs | 36 +++ ...OrgsClient.UpsertTtlSettings.g.verified.cs | 28 ++ .../_#G.IOrgsClient.g.verified.cs | 25 ++ ...ent.CreatePlaygroundSettings.g.verified.cs | 32 +++ ...ent.DeletePlaygroundSettings.g.verified.cs | 19 ++ ...lient.ListPlaygroundSettings.g.verified.cs | 17 ++ ...ent.UpdatePlaygroundSettings.g.verified.cs | 34 +++ ...#G.IPlaygroundSettingsClient.g.verified.cs | 25 ++ ....IPromptsClient.InvokePrompt.g.verified.cs | 32 +++ .../_#G.IPromptsClient.g.verified.cs | 25 ++ ...ateQueryForSharedDatasetRuns.g.verified.cs | 36 +++ ...G.IPublicClient.GetSharedRun.g.verified.cs | 23 ++ ...ublicClient.GetSharedRunById.g.verified.cs | 25 ++ ...lient.QuerySharedDatasetRuns.g.verified.cs | 78 ++++++ ...PublicClient.QuerySharedRuns.g.verified.cs | 34 +++ ...SharedComparativeExperiments.g.verified.cs | 39 +++ ...blicClient.ReadSharedDataset.g.verified.cs | 35 +++ ...haredDatasetExamplesWithRuns.g.verified.cs | 46 ++++ ...nt.ReadSharedDatasetFeedback.g.verified.cs | 43 +++ ...cClient.ReadSharedDatasetRun.g.verified.cs | 25 ++ ...dSharedDatasetTracerSessions.g.verified.cs | 51 ++++ ...PublicClient.ReadSharedDelta.g.verified.cs | 50 ++++ ...licClient.ReadSharedExamples.g.verified.cs | 42 +++ ...icClient.ReadSharedFeedbacks.g.verified.cs | 42 +++ ...lient.StatsSharedDatasetRuns.g.verified.cs | 64 +++++ .../_#G.IPublicClient.g.verified.cs | 25 ++ .../_#G.IReposClient.CreateRepo.g.verified.cs | 38 +++ .../_#G.IReposClient.DeleteRepo.g.verified.cs | 21 ++ .../_#G.IReposClient.ForkRepo.g.verified.cs | 46 ++++ .../_#G.IReposClient.GetRepo.g.verified.cs | 21 ++ ...#G.IReposClient.ListRepoTags.g.verified.cs | 49 ++++ .../_#G.IReposClient.ListRepos.g.verified.cs | 53 ++++ .../_#G.IReposClient.UpdateRepo.g.verified.cs | 46 ++++ .../_#G.IReposClient.g.verified.cs | 25 ++ ...G.IRunClient.BatchIngestRuns.g.verified.cs | 32 +++ .../_#G.IRunClient.CreateRule.g.verified.cs | 72 +++++ .../_#G.IRunClient.CreateRun.g.verified.cs | 68 +++++ .../_#G.IRunClient.DeleteRule.g.verified.cs | 19 ++ ...nClient.GenerateQueryForRuns.g.verified.cs | 32 +++ .../_#G.IRunClient.GroupRuns.g.verified.cs | 50 ++++ .../_#G.IRunClient.ListRuleLogs.g.verified.cs | 31 +++ .../_#G.IRunClient.ListRules.g.verified.cs | 21 ++ ...nClient.MonitorTracerSession.g.verified.cs | 38 +++ .../_#G.IRunClient.QueryRuns.g.verified.cs | 72 +++++ .../_#G.IRunClient.ReadRun.g.verified.cs | 23 ++ ...IRunClient.ReadRunShareState.g.verified.cs | 19 ++ .../_#G.IRunClient.ShareRun.g.verified.cs | 19 ++ ...#G.IRunClient.StatsGroupRuns.g.verified.cs | 46 ++++ .../_#G.IRunClient.StatsRuns.g.verified.cs | 60 +++++ .../_#G.IRunClient.TriggerRule.g.verified.cs | 19 ++ .../_#G.IRunClient.UnshareRun.g.verified.cs | 19 ++ .../_#G.IRunClient.UpdateRule.g.verified.cs | 76 ++++++ .../_#G.IRunClient.UpdateRun.g.verified.cs | 56 ++++ .../_#G.IRunClient.g.verified.cs | 25 ++ ...sClient.CreateServiceAccount.g.verified.cs | 30 +++ ...sClient.DeleteServiceAccount.g.verified.cs | 19 ++ ...ntsClient.GetServiceAccounts.g.verified.cs | 17 ++ .../_#G.IServiceAccountsClient.g.verified.cs | 25 ++ ....ISettingsClient.GetSettings.g.verified.cs | 17 ++ ...ttingsClient.SetTenantHandle.g.verified.cs | 30 +++ .../_#G.ISettingsClient.g.verified.cs | 25 ++ ...G.ITenantClient.CreateTenant.g.verified.cs | 36 +++ ...#G.ITenantClient.ListTenants.g.verified.cs | 17 ++ .../_#G.ITenantClient.g.verified.cs | 25 ++ ...sionsClient.CreateFilterView.g.verified.cs | 38 +++ ...nsClient.CreateTracerSession.g.verified.cs | 54 ++++ ...sionsClient.DeleteFilterView.g.verified.cs | 21 ++ ...nsClient.DeleteTracerSession.g.verified.cs | 19 ++ ...sClient.DeleteTracerSessions.g.verified.cs | 19 ++ ...essionsClient.ReadFilterView.g.verified.cs | 21 ++ ...ssionsClient.ReadFilterViews.g.verified.cs | 19 ++ ...ionsClient.ReadTracerSession.g.verified.cs | 25 ++ ...onsClient.ReadTracerSessions.g.verified.cs | 57 ++++ ...adTracerSessionsRunsMetadata.g.verified.cs | 31 +++ ...sionsClient.UpdateFilterView.g.verified.cs | 42 +++ ...nsClient.UpdateTracerSession.g.verified.cs | 44 ++++ .../_#G.ITracerSessionsClient.g.verified.cs | 25 ++ ...ttingsClient.ListTtlSettings.g.verified.cs | 17 ++ ...ingsClient.UpsertTtlSettings.g.verified.cs | 30 +++ .../_#G.ITtlSettingsClient.g.verified.cs | 25 ++ ...imitsClient.DeleteUsageLimit.g.verified.cs | 19 ++ ...itsClient.ListOrgUsageLimits.g.verified.cs | 17 ++ ...LimitsClient.ListUsageLimits.g.verified.cs | 17 ++ ...imitsClient.UpsertUsageLimit.g.verified.cs | 36 +++ .../_#G.IUsageLimitsClient.g.verified.cs | 25 ++ ....AddMemberToCurrentWorkspace.g.verified.cs | 34 +++ ...mbersToCurrentWorkspaceBatch.g.verified.cs | 19 ++ ...esClient.BulkUnshareEntities.g.verified.cs | 30 +++ ...orkspacesClient.CreateTagKey.g.verified.cs | 30 +++ ...kspacesClient.CreateTagValue.g.verified.cs | 34 +++ ...rkspacesClient.CreateTagging.g.verified.cs | 32 +++ ...spacesClient.CreateWorkspace.g.verified.cs | 34 +++ ...DeleteCurrentWorkspaceMember.g.verified.cs | 18 ++ ...urrentWorkspacePendingMember.g.verified.cs | 18 ++ ...DeletePendingWorkspaceInvite.g.verified.cs | 18 ++ ...orkspacesClient.DeleteTagKey.g.verified.cs | 18 ++ ...kspacesClient.DeleteTagValue.g.verified.cs | 20 ++ ...rkspacesClient.DeleteTagging.g.verified.cs | 18 ++ ...t.GetCurrentWorkspaceMembers.g.verified.cs | 16 ++ ...ent.GetCurrentWorkspaceStats.g.verified.cs | 18 ++ ...rentWorkspaceUsageLimitsInfo.g.verified.cs | 16 ++ ...spacesClient.GetSharedTokens.g.verified.cs | 25 ++ ....IWorkspacesClient.GetTagKey.g.verified.cs | 18 ++ ...WorkspacesClient.GetTagValue.g.verified.cs | 20 ++ ....ListCurrentWorkspaceSecrets.g.verified.cs | 16 ++ ....ListPendingWorkspaceInvites.g.verified.cs | 17 ++ ...WorkspacesClient.ListTagKeys.g.verified.cs | 16 ++ ...rkspacesClient.ListTagValues.g.verified.cs | 18 ++ ...orkspacesClient.ListTaggings.g.verified.cs | 18 ++ ...G.IWorkspacesClient.ListTags.g.verified.cs | 16 ++ ...esClient.ListTagsForResource.g.verified.cs | 20 ++ ...kspacesClient.ListWorkspaces.g.verified.cs | 17 ++ ....PatchCurrentWorkspaceMember.g.verified.cs | 34 +++ ...kspacesClient.PatchWorkspace.g.verified.cs | 32 +++ ...orkspacesClient.UpdateTagKey.g.verified.cs | 34 +++ ...kspacesClient.UpdateTagValue.g.verified.cs | 38 +++ ...psertCurrentWorkspaceSecrets.g.verified.cs | 18 ++ .../_#G.IWorkspacesClient.g.verified.cs | 25 ++ .../_#G.InfoClient.g.verified.cs | 2 +- .../_#G.LikesClient.g.verified.cs | 2 +- .../_#G.ModelPriceMapClient.g.verified.cs | 2 +- .../_#G.OrgsClient.g.verified.cs | 2 +- ..._#G.PlaygroundSettingsClient.g.verified.cs | 2 +- .../_#G.PromptsClient.g.verified.cs | 2 +- .../_#G.PublicClient.g.verified.cs | 2 +- .../_#G.ReposClient.g.verified.cs | 2 +- .../_#G.RunClient.g.verified.cs | 2 +- .../_#G.ServiceAccountsClient.g.verified.cs | 2 +- .../_#G.SettingsClient.g.verified.cs | 2 +- .../_#G.TenantClient.g.verified.cs | 2 +- .../_#G.TracerSessionsClient.g.verified.cs | 2 +- .../_#G.TtlSettingsClient.g.verified.cs | 2 +- .../_#G.UsageLimitsClient.g.verified.cs | 2 +- .../_#G.WorkspacesClient.g.verified.cs | 2 +- .../_#G.AnnotationQueuesClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ApiKeyClient.g.verified.cs | 2 +- .../_#G.AuthClient.g.verified.cs | 2 +- .../_#G.ChartsClient.g.verified.cs | 2 +- .../_#G.CommentsClient.g.verified.cs | 2 +- .../_#G.CommitsClient.g.verified.cs | 2 +- .../_#G.DatasetsClient.g.verified.cs | 2 +- .../_#G.EventsClient.g.verified.cs | 2 +- .../_#G.ExamplesClient.g.verified.cs | 2 +- .../_#G.FeedbackClient.g.verified.cs | 2 +- .../_#G.FeedbackConfigsClient.g.verified.cs | 2 +- ...ent.AddRunsToAnnotationQueue.g.verified.cs | 20 ++ ...Client.CreateAnnotationQueue.g.verified.cs | 50 ++++ ...tityAnnotationQueueRunStatus.g.verified.cs | 34 +++ ...Client.DeleteAnnotationQueue.g.verified.cs | 18 ++ ...DeleteRunFromAnnotationQueue.g.verified.cs | 20 ++ ...esClient.GetAnnotationQueues.g.verified.cs | 32 +++ ...nt.GetAnnotationQueuesForRun.g.verified.cs | 18 ++ ...nt.GetRunFromAnnotationQueue.g.verified.cs | 20 ++ ...t.GetSizeFromAnnotationQueue.g.verified.cs | 18 ++ ...TotalSizeFromAnnotationQueue.g.verified.cs | 18 ++ ...Client.UpdateAnnotationQueue.g.verified.cs | 46 ++++ ...t.UpdateRunInAnnotationQueue.g.verified.cs | 38 +++ .../_#G.IAnnotationQueuesClient.g.verified.cs | 25 ++ .../SystemTextJson/_#G.IApi.Ok.g.verified.cs | 16 ++ .../SystemTextJson/_#G.IApi.g.verified.cs | 160 ++++++++++++ ...G.IApiKeyClient.DeleteApiKey.g.verified.cs | 19 ++ ...nt.DeletePersonalAccessToken.g.verified.cs | 19 ++ ...IApiKeyClient.GenerateApiKey.g.verified.cs | 28 ++ ....GeneratePersonalAccessToken.g.verified.cs | 28 ++ ..._#G.IApiKeyClient.GetApiKeys.g.verified.cs | 17 ++ ...ient.GetPersonalAccessTokens.g.verified.cs | 17 ++ .../_#G.IApiKeyClient.g.verified.cs | 25 ++ .../_#G.IAuthClient.Login.g.verified.cs | 16 ++ .../_#G.IAuthClient.g.verified.cs | 25 ++ ...#G.IChartsClient.CreateChart.g.verified.cs | 46 ++++ ....IChartsClient.CreateSection.g.verified.cs | 34 +++ ...#G.IChartsClient.DeleteChart.g.verified.cs | 19 ++ ....IChartsClient.DeleteSection.g.verified.cs | 19 ++ ...hartsClient.ReadChartPreview.g.verified.cs | 32 +++ ..._#G.IChartsClient.ReadCharts.g.verified.cs | 42 +++ ...G.IChartsClient.ReadSections.g.verified.cs | 27 ++ ...ChartsClient.ReadSingleChart.g.verified.cs | 46 ++++ ...#G.IChartsClient.UpdateChart.g.verified.cs | 48 ++++ ....IChartsClient.UpdateSection.g.verified.cs | 38 +++ .../_#G.IChartsClient.g.verified.cs | 25 ++ ...CommentsClient.CreateComment.g.verified.cs | 36 +++ ...mentsClient.CreateSubComment.g.verified.cs | 40 +++ ....ICommentsClient.GetComments.g.verified.cs | 28 ++ ...ommentsClient.GetSubComments.g.verified.cs | 30 +++ ....ICommentsClient.LikeComment.g.verified.cs | 22 ++ ...CommentsClient.UnlikeComment.g.verified.cs | 22 ++ .../_#G.ICommentsClient.g.verified.cs | 25 ++ ....ICommitsClient.CreateCommit.g.verified.cs | 42 +++ ..._#G.ICommitsClient.GetCommit.g.verified.cs | 35 +++ ...G.ICommitsClient.ListCommits.g.verified.cs | 29 +++ .../_#G.ICommitsClient.g.verified.cs | 25 ++ ...IDatasetsClient.CloneDataset.g.verified.cs | 36 +++ ....CreateComparativeExperiment.g.verified.cs | 44 ++++ ...DatasetsClient.CreateDataset.g.verified.cs | 50 ++++ ....DeleteComparativeExperiment.g.verified.cs | 19 ++ ...DatasetsClient.DeleteDataset.g.verified.cs | 19 ++ ...tsClient.DiffDatasetVersions.g.verified.cs | 23 ++ ...etsClient.DownloadDatasetCsv.g.verified.cs | 23 ++ ...Client.DownloadDatasetOpenai.g.verified.cs | 23 ++ ...ient.DownloadDatasetOpenaiFt.g.verified.cs | 23 ++ ..._#G.IDatasetsClient.Generate.g.verified.cs | 36 +++ ...asetsClient.GetDatasetSplits.g.verified.cs | 23 ++ ...setsClient.GetDatasetVersion.g.verified.cs | 23 ++ ...etsClient.GetDatasetVersions.g.verified.cs | 31 +++ ...IDatasetsClient.GetIndexInfo.g.verified.cs | 19 ++ .../_#G.IDatasetsClient.Index.g.verified.cs | 36 +++ ...t.ReadComparativeExperiments.g.verified.cs | 41 +++ ....IDatasetsClient.ReadDataset.g.verified.cs | 19 ++ ...Client.ReadDatasetShareState.g.verified.cs | 19 ++ ...IDatasetsClient.ReadDatasets.g.verified.cs | 45 ++++ ...#G.IDatasetsClient.ReadDelta.g.verified.cs | 50 ++++ ...sClient.ReadExamplesWithRuns.g.verified.cs | 46 ++++ ....IDatasetsClient.RemoveIndex.g.verified.cs | 19 ++ .../_#G.IDatasetsClient.Search.g.verified.cs | 42 +++ ...IDatasetsClient.ShareDataset.g.verified.cs | 23 ++ ...atasetsClient.UnshareDataset.g.verified.cs | 19 ++ ...DatasetsClient.UpdateDataset.g.verified.cs | 42 +++ ...tsClient.UpdateDatasetSplits.g.verified.cs | 38 +++ ...sClient.UpdateDatasetVersion.g.verified.cs | 36 +++ ...asetsClient.UploadCsvDataset.g.verified.cs | 44 ++++ ...asetsClient.UploadExperiment.g.verified.cs | 48 ++++ .../_#G.IDatasetsClient.g.verified.cs | 25 ++ ...#G.IEventsClient.CreateEvent.g.verified.cs | 34 +++ .../_#G.IEventsClient.g.verified.cs | 25 ++ ...ExamplesClient.CreateExample.g.verified.cs | 50 ++++ ...xamplesClient.CreateExamples.g.verified.cs | 19 ++ ...ExamplesClient.DeleteExample.g.verified.cs | 19 ++ ...xamplesClient.DeleteExamples.g.verified.cs | 19 ++ ....IExamplesClient.ReadExample.g.verified.cs | 24 ++ ...IExamplesClient.ReadExamples.g.verified.cs | 52 ++++ ...ExamplesClient.UpdateExample.g.verified.cs | 42 +++ ...xamplesClient.UpdateExamples.g.verified.cs | 19 ++ ...xamplesClient.UploadExamples.g.verified.cs | 40 +++ .../_#G.IExamplesClient.g.verified.cs | 25 ++ ...eedbackClient.CreateFeedback.g.verified.cs | 56 ++++ ...nt.CreateFeedbackIngestToken.g.verified.cs | 28 ++ ...t.CreateFeedbackWithTokenGet.g.verified.cs | 27 ++ ....CreateFeedbackWithTokenPost.g.verified.cs | 42 +++ ...eedbackClient.DeleteFeedback.g.verified.cs | 19 ++ ...Client.EagerlyCreateFeedback.g.verified.cs | 60 +++++ ...ent.ListFeedbackIngestTokens.g.verified.cs | 19 ++ ...IFeedbackClient.ReadFeedback.g.verified.cs | 19 ++ ...FeedbackClient.ReadFeedbacks.g.verified.cs | 45 ++++ ...eedbackClient.UpdateFeedback.g.verified.cs | 42 +++ .../_#G.IFeedbackClient.g.verified.cs | 25 ++ ...CreateFeedbackConfigEndpoint.g.verified.cs | 34 +++ ....ListFeedbackConfigsEndpoint.g.verified.cs | 18 ++ ...UpdateFeedbackConfigEndpoint.g.verified.cs | 32 +++ .../_#G.IFeedbackConfigsClient.g.verified.cs | 25 ++ ...#G.IInfoClient.GetServerInfo.g.verified.cs | 17 ++ .../_#G.IInfoClient.g.verified.cs | 25 ++ .../_#G.ILikesClient.LikeRepo.g.verified.cs | 38 +++ .../_#G.ILikesClient.g.verified.cs | 25 ++ ...apClient.CreateNewModelPrice.g.verified.cs | 42 +++ ...ceMapClient.DeleteModelPrice.g.verified.cs | 18 ++ ...eMapClient.ReadModelPriceMap.g.verified.cs | 16 ++ ...ceMapClient.UpdateModelPrice.g.verified.cs | 46 ++++ .../_#G.IModelPriceMapClient.g.verified.cs | 25 ++ ...BasicAuthMembersToCurrentOrg.g.verified.cs | 19 ++ ...Client.AddMemberToCurrentOrg.g.verified.cs | 42 +++ ....AddMembersToCurrentOrgBatch.g.verified.cs | 19 ++ ...OrgsClient.ChangePaymentPlan.g.verified.cs | 30 +++ ...aimPendingOrganizationInvite.g.verified.cs | 18 ++ ...omersAndGetStripeSetupIntent.g.verified.cs | 16 ++ ...ient.CreateOrganizationRoles.g.verified.cs | 32 +++ ...eleteCurrentOrgPendingMember.g.verified.cs | 19 ++ ...ient.DeleteOrganizationRoles.g.verified.cs | 18 ++ ...etePendingOrganizationInvite.g.verified.cs | 18 ++ ...G.IOrgsClient.GetCompanyInfo.g.verified.cs | 16 ++ ...sClient.GetCurrentOrgMembers.g.verified.cs | 16 ++ ...t.GetCurrentOrganizationInfo.g.verified.cs | 16 ++ ..._#G.IOrgsClient.GetDashboard.g.verified.cs | 22 ++ ...t.GetOrganizationBillingInfo.g.verified.cs | 16 ++ ...gsClient.GetOrganizationInfo.g.verified.cs | 16 ++ ...Client.ListOrganizationRoles.g.verified.cs | 16 ++ ...OrgsClient.ListOrganizations.g.verified.cs | 17 ++ ...stPendingOrganizationInvites.g.verified.cs | 17 ++ ....IOrgsClient.ListPermissions.g.verified.cs | 16 ++ ....IOrgsClient.ListTtlSettings.g.verified.cs | 17 ++ ...lient.OnPaymentMethodCreated.g.verified.cs | 32 +++ ...t.RemoveMemberFromCurrentOrg.g.verified.cs | 19 ++ ...G.IOrgsClient.SetCompanyInfo.g.verified.cs | 36 +++ ...lient.UpdateCurrentOrgMember.g.verified.cs | 38 +++ ...OrgsClient.UpdateCurrentUser.g.verified.cs | 32 +++ ...ient.UpdateOrganizationRoles.g.verified.cs | 36 +++ ...OrgsClient.UpsertTtlSettings.g.verified.cs | 28 ++ .../_#G.IOrgsClient.g.verified.cs | 25 ++ ...ent.CreatePlaygroundSettings.g.verified.cs | 32 +++ ...ent.DeletePlaygroundSettings.g.verified.cs | 19 ++ ...lient.ListPlaygroundSettings.g.verified.cs | 17 ++ ...ent.UpdatePlaygroundSettings.g.verified.cs | 34 +++ ...#G.IPlaygroundSettingsClient.g.verified.cs | 25 ++ ....IPromptsClient.InvokePrompt.g.verified.cs | 32 +++ .../_#G.IPromptsClient.g.verified.cs | 25 ++ ...ateQueryForSharedDatasetRuns.g.verified.cs | 36 +++ ...G.IPublicClient.GetSharedRun.g.verified.cs | 23 ++ ...ublicClient.GetSharedRunById.g.verified.cs | 25 ++ ...lient.QuerySharedDatasetRuns.g.verified.cs | 78 ++++++ ...PublicClient.QuerySharedRuns.g.verified.cs | 34 +++ ...SharedComparativeExperiments.g.verified.cs | 39 +++ ...blicClient.ReadSharedDataset.g.verified.cs | 35 +++ ...haredDatasetExamplesWithRuns.g.verified.cs | 46 ++++ ...nt.ReadSharedDatasetFeedback.g.verified.cs | 43 +++ ...cClient.ReadSharedDatasetRun.g.verified.cs | 25 ++ ...dSharedDatasetTracerSessions.g.verified.cs | 51 ++++ ...PublicClient.ReadSharedDelta.g.verified.cs | 50 ++++ ...licClient.ReadSharedExamples.g.verified.cs | 42 +++ ...icClient.ReadSharedFeedbacks.g.verified.cs | 42 +++ ...lient.StatsSharedDatasetRuns.g.verified.cs | 64 +++++ .../_#G.IPublicClient.g.verified.cs | 25 ++ .../_#G.IReposClient.CreateRepo.g.verified.cs | 38 +++ .../_#G.IReposClient.DeleteRepo.g.verified.cs | 21 ++ .../_#G.IReposClient.ForkRepo.g.verified.cs | 46 ++++ .../_#G.IReposClient.GetRepo.g.verified.cs | 21 ++ ...#G.IReposClient.ListRepoTags.g.verified.cs | 49 ++++ .../_#G.IReposClient.ListRepos.g.verified.cs | 53 ++++ .../_#G.IReposClient.UpdateRepo.g.verified.cs | 46 ++++ .../_#G.IReposClient.g.verified.cs | 25 ++ ...G.IRunClient.BatchIngestRuns.g.verified.cs | 32 +++ .../_#G.IRunClient.CreateRule.g.verified.cs | 72 +++++ .../_#G.IRunClient.CreateRun.g.verified.cs | 68 +++++ .../_#G.IRunClient.DeleteRule.g.verified.cs | 19 ++ ...nClient.GenerateQueryForRuns.g.verified.cs | 32 +++ .../_#G.IRunClient.GroupRuns.g.verified.cs | 50 ++++ .../_#G.IRunClient.ListRuleLogs.g.verified.cs | 31 +++ .../_#G.IRunClient.ListRules.g.verified.cs | 21 ++ ...nClient.MonitorTracerSession.g.verified.cs | 38 +++ .../_#G.IRunClient.QueryRuns.g.verified.cs | 72 +++++ .../_#G.IRunClient.ReadRun.g.verified.cs | 23 ++ ...IRunClient.ReadRunShareState.g.verified.cs | 19 ++ .../_#G.IRunClient.ShareRun.g.verified.cs | 19 ++ ...#G.IRunClient.StatsGroupRuns.g.verified.cs | 46 ++++ .../_#G.IRunClient.StatsRuns.g.verified.cs | 60 +++++ .../_#G.IRunClient.TriggerRule.g.verified.cs | 19 ++ .../_#G.IRunClient.UnshareRun.g.verified.cs | 19 ++ .../_#G.IRunClient.UpdateRule.g.verified.cs | 76 ++++++ .../_#G.IRunClient.UpdateRun.g.verified.cs | 56 ++++ .../_#G.IRunClient.g.verified.cs | 25 ++ ...sClient.CreateServiceAccount.g.verified.cs | 30 +++ ...sClient.DeleteServiceAccount.g.verified.cs | 19 ++ ...ntsClient.GetServiceAccounts.g.verified.cs | 17 ++ .../_#G.IServiceAccountsClient.g.verified.cs | 25 ++ ....ISettingsClient.GetSettings.g.verified.cs | 17 ++ ...ttingsClient.SetTenantHandle.g.verified.cs | 30 +++ .../_#G.ISettingsClient.g.verified.cs | 25 ++ ...G.ITenantClient.CreateTenant.g.verified.cs | 36 +++ ...#G.ITenantClient.ListTenants.g.verified.cs | 17 ++ .../_#G.ITenantClient.g.verified.cs | 25 ++ ...sionsClient.CreateFilterView.g.verified.cs | 38 +++ ...nsClient.CreateTracerSession.g.verified.cs | 54 ++++ ...sionsClient.DeleteFilterView.g.verified.cs | 21 ++ ...nsClient.DeleteTracerSession.g.verified.cs | 19 ++ ...sClient.DeleteTracerSessions.g.verified.cs | 19 ++ ...essionsClient.ReadFilterView.g.verified.cs | 21 ++ ...ssionsClient.ReadFilterViews.g.verified.cs | 19 ++ ...ionsClient.ReadTracerSession.g.verified.cs | 25 ++ ...onsClient.ReadTracerSessions.g.verified.cs | 57 ++++ ...adTracerSessionsRunsMetadata.g.verified.cs | 31 +++ ...sionsClient.UpdateFilterView.g.verified.cs | 42 +++ ...nsClient.UpdateTracerSession.g.verified.cs | 44 ++++ .../_#G.ITracerSessionsClient.g.verified.cs | 25 ++ ...ttingsClient.ListTtlSettings.g.verified.cs | 17 ++ ...ingsClient.UpsertTtlSettings.g.verified.cs | 30 +++ .../_#G.ITtlSettingsClient.g.verified.cs | 25 ++ ...imitsClient.DeleteUsageLimit.g.verified.cs | 19 ++ ...itsClient.ListOrgUsageLimits.g.verified.cs | 17 ++ ...LimitsClient.ListUsageLimits.g.verified.cs | 17 ++ ...imitsClient.UpsertUsageLimit.g.verified.cs | 36 +++ .../_#G.IUsageLimitsClient.g.verified.cs | 25 ++ ....AddMemberToCurrentWorkspace.g.verified.cs | 34 +++ ...mbersToCurrentWorkspaceBatch.g.verified.cs | 19 ++ ...esClient.BulkUnshareEntities.g.verified.cs | 30 +++ ...orkspacesClient.CreateTagKey.g.verified.cs | 30 +++ ...kspacesClient.CreateTagValue.g.verified.cs | 34 +++ ...rkspacesClient.CreateTagging.g.verified.cs | 32 +++ ...spacesClient.CreateWorkspace.g.verified.cs | 34 +++ ...DeleteCurrentWorkspaceMember.g.verified.cs | 18 ++ ...urrentWorkspacePendingMember.g.verified.cs | 18 ++ ...DeletePendingWorkspaceInvite.g.verified.cs | 18 ++ ...orkspacesClient.DeleteTagKey.g.verified.cs | 18 ++ ...kspacesClient.DeleteTagValue.g.verified.cs | 20 ++ ...rkspacesClient.DeleteTagging.g.verified.cs | 18 ++ ...t.GetCurrentWorkspaceMembers.g.verified.cs | 16 ++ ...ent.GetCurrentWorkspaceStats.g.verified.cs | 18 ++ ...rentWorkspaceUsageLimitsInfo.g.verified.cs | 16 ++ ...spacesClient.GetSharedTokens.g.verified.cs | 25 ++ ....IWorkspacesClient.GetTagKey.g.verified.cs | 18 ++ ...WorkspacesClient.GetTagValue.g.verified.cs | 20 ++ ....ListCurrentWorkspaceSecrets.g.verified.cs | 16 ++ ....ListPendingWorkspaceInvites.g.verified.cs | 17 ++ ...WorkspacesClient.ListTagKeys.g.verified.cs | 16 ++ ...rkspacesClient.ListTagValues.g.verified.cs | 18 ++ ...orkspacesClient.ListTaggings.g.verified.cs | 18 ++ ...G.IWorkspacesClient.ListTags.g.verified.cs | 16 ++ ...esClient.ListTagsForResource.g.verified.cs | 20 ++ ...kspacesClient.ListWorkspaces.g.verified.cs | 17 ++ ....PatchCurrentWorkspaceMember.g.verified.cs | 34 +++ ...kspacesClient.PatchWorkspace.g.verified.cs | 32 +++ ...orkspacesClient.UpdateTagKey.g.verified.cs | 34 +++ ...kspacesClient.UpdateTagValue.g.verified.cs | 38 +++ ...psertCurrentWorkspaceSecrets.g.verified.cs | 18 ++ .../_#G.IWorkspacesClient.g.verified.cs | 25 ++ .../_#G.InfoClient.g.verified.cs | 2 +- .../_#G.LikesClient.g.verified.cs | 2 +- .../_#G.ModelPriceMapClient.g.verified.cs | 2 +- .../_#G.OrgsClient.g.verified.cs | 2 +- ..._#G.PlaygroundSettingsClient.g.verified.cs | 2 +- .../_#G.PromptsClient.g.verified.cs | 2 +- .../_#G.PublicClient.g.verified.cs | 2 +- .../_#G.ReposClient.g.verified.cs | 2 +- .../_#G.RunClient.g.verified.cs | 2 +- .../_#G.ServiceAccountsClient.g.verified.cs | 2 +- .../_#G.SettingsClient.g.verified.cs | 2 +- .../_#G.TenantClient.g.verified.cs | 2 +- .../_#G.TracerSessionsClient.g.verified.cs | 2 +- .../_#G.TtlSettingsClient.g.verified.cs | 2 +- .../_#G.UsageLimitsClient.g.verified.cs | 2 +- .../_#G.WorkspacesClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.DatasetClient.g.verified.cs | 2 +- .../_#G.ElementsClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.IApi.g.verified.cs | 91 +++++++ ...IDatasetClient.CreateDataset.g.verified.cs | 36 +++ ...asetClient.DeleteDatasetById.g.verified.cs | 19 ++ ...DatasetClient.GetDatasetById.g.verified.cs | 19 ++ ...setClient.UploadDatasetImage.g.verified.cs | 36 +++ ...nt.UploadDatasetImageFromGen.g.verified.cs | 36 +++ .../_#G.IDatasetClient.g.verified.cs | 25 ++ ...IElementsClient.ListElements.g.verified.cs | 17 ++ .../_#G.IElementsClient.g.verified.cs | 25 ++ ...ImageClient.CreateGeneration.g.verified.cs | 189 ++++++++++++++ ...eClient.DeleteGenerationById.g.verified.cs | 19 ++ ...mageClient.GetGenerationById.g.verified.cs | 19 ++ ...lient.GetGenerationsByUserId.g.verified.cs | 27 ++ .../_#G.IImageClient.g.verified.cs | 25 ++ ...esClient.DeleteInitImageById.g.verified.cs | 19 ++ ...magesClient.GetInitImageById.g.verified.cs | 19 ++ ...Client.UploadCanvasInitImage.g.verified.cs | 36 +++ ...ImagesClient.UploadInitImage.g.verified.cs | 32 +++ .../_#G.IInitImagesClient.g.verified.cs | 25 ++ ...#G.IModelsClient.CreateModel.g.verified.cs | 68 +++++ ...ModelsClient.DeleteModelById.g.verified.cs | 19 ++ ...G.IModelsClient.GetModelById.g.verified.cs | 19 ++ ...elsClient.ListPlatformModels.g.verified.cs | 17 ++ .../_#G.IModelsClient.g.verified.cs | 25 ++ ...nt.CreateSVDMotionGeneration.g.verified.cs | 48 ++++ .../_#G.IMotionClient.g.verified.cs | 25 ++ ...atorClient.PricingCalculator.g.verified.cs | 36 +++ ..._#G.IPricingCalculatorClient.g.verified.cs | 25 ++ ....IPromptClient.PromptImprove.g.verified.cs | 32 +++ ...G.IPromptClient.PromptRandom.g.verified.cs | 17 ++ .../_#G.IPromptClient.g.verified.cs | 25 ++ ...asClient.CreateLCMGeneration.g.verified.cs | 66 +++++ ...ent.PerformAlchemyUpscaleLCM.g.verified.cs | 74 ++++++ ...sClient.PerformInpaintingLCM.g.verified.cs | 70 +++++ ...sClient.PerformInstantRefine.g.verified.cs | 66 +++++ .../_#G.IRealtimeCanvasClient.g.verified.cs | 25 ++ ...ient.CreateTextureGeneration.g.verified.cs | 44 ++++ ....DeleteTextureGenerationById.g.verified.cs | 34 +++ ...ent.GetTextureGenerationById.g.verified.cs | 50 ++++ ...tTextureGenerationsByModelId.g.verified.cs | 54 ++++ .../_#G.ITextureClient.g.verified.cs | 25 ++ .../_#G.IUserClient.GetUserSelf.g.verified.cs | 17 ++ .../_#G.IUserClient.g.verified.cs | 25 ++ ...t.CreateUniversalUpscalerJob.g.verified.cs | 59 +++++ ...onClient.CreateVariationNoBG.g.verified.cs | 32 +++ ...Client.CreateVariationUnzoom.g.verified.cs | 32 +++ ...lient.CreateVariationUpscale.g.verified.cs | 30 +++ ...ationClient.GetVariationById.g.verified.cs | 19 ++ .../_#G.IVariationClient.g.verified.cs | 25 ++ .../_#G.ImageClient.g.verified.cs | 2 +- .../_#G.InitImagesClient.g.verified.cs | 2 +- ...setsClient.Delete3DModelById.g.verified.cs | 34 +++ ...lAssetsClient.Get3DModelById.g.verified.cs | 50 ++++ ...tsClient.Get3DModelsByUserId.g.verified.cs | 50 ++++ ...ssetsClient.UploadModelAsset.g.verified.cs | 32 +++ .../_#G.Ix3DModelAssetsClient.g.verified.cs | 25 ++ .../_#G.ModelsClient.g.verified.cs | 2 +- .../_#G.MotionClient.g.verified.cs | 2 +- .../_#G.PricingCalculatorClient.g.verified.cs | 2 +- .../_#G.PromptClient.g.verified.cs | 2 +- .../_#G.RealtimeCanvasClient.g.verified.cs | 2 +- .../_#G.TextureClient.g.verified.cs | 2 +- .../_#G.UserClient.g.verified.cs | 2 +- .../_#G.VariationClient.g.verified.cs | 2 +- .../_#G.x3DModelAssetsClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.DatasetClient.g.verified.cs | 2 +- .../_#G.ElementsClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.IApi.g.verified.cs | 91 +++++++ ...IDatasetClient.CreateDataset.g.verified.cs | 36 +++ ...asetClient.DeleteDatasetById.g.verified.cs | 19 ++ ...DatasetClient.GetDatasetById.g.verified.cs | 19 ++ ...setClient.UploadDatasetImage.g.verified.cs | 36 +++ ...nt.UploadDatasetImageFromGen.g.verified.cs | 36 +++ .../_#G.IDatasetClient.g.verified.cs | 25 ++ ...IElementsClient.ListElements.g.verified.cs | 17 ++ .../_#G.IElementsClient.g.verified.cs | 25 ++ ...ImageClient.CreateGeneration.g.verified.cs | 189 ++++++++++++++ ...eClient.DeleteGenerationById.g.verified.cs | 19 ++ ...mageClient.GetGenerationById.g.verified.cs | 19 ++ ...lient.GetGenerationsByUserId.g.verified.cs | 27 ++ .../_#G.IImageClient.g.verified.cs | 25 ++ ...esClient.DeleteInitImageById.g.verified.cs | 19 ++ ...magesClient.GetInitImageById.g.verified.cs | 19 ++ ...Client.UploadCanvasInitImage.g.verified.cs | 36 +++ ...ImagesClient.UploadInitImage.g.verified.cs | 32 +++ .../_#G.IInitImagesClient.g.verified.cs | 25 ++ ...#G.IModelsClient.CreateModel.g.verified.cs | 68 +++++ ...ModelsClient.DeleteModelById.g.verified.cs | 19 ++ ...G.IModelsClient.GetModelById.g.verified.cs | 19 ++ ...elsClient.ListPlatformModels.g.verified.cs | 17 ++ .../_#G.IModelsClient.g.verified.cs | 25 ++ ...nt.CreateSVDMotionGeneration.g.verified.cs | 48 ++++ .../_#G.IMotionClient.g.verified.cs | 25 ++ ...atorClient.PricingCalculator.g.verified.cs | 36 +++ ..._#G.IPricingCalculatorClient.g.verified.cs | 25 ++ ....IPromptClient.PromptImprove.g.verified.cs | 32 +++ ...G.IPromptClient.PromptRandom.g.verified.cs | 17 ++ .../_#G.IPromptClient.g.verified.cs | 25 ++ ...asClient.CreateLCMGeneration.g.verified.cs | 66 +++++ ...ent.PerformAlchemyUpscaleLCM.g.verified.cs | 74 ++++++ ...sClient.PerformInpaintingLCM.g.verified.cs | 70 +++++ ...sClient.PerformInstantRefine.g.verified.cs | 66 +++++ .../_#G.IRealtimeCanvasClient.g.verified.cs | 25 ++ ...ient.CreateTextureGeneration.g.verified.cs | 44 ++++ ....DeleteTextureGenerationById.g.verified.cs | 34 +++ ...ent.GetTextureGenerationById.g.verified.cs | 50 ++++ ...tTextureGenerationsByModelId.g.verified.cs | 54 ++++ .../_#G.ITextureClient.g.verified.cs | 25 ++ .../_#G.IUserClient.GetUserSelf.g.verified.cs | 17 ++ .../_#G.IUserClient.g.verified.cs | 25 ++ ...t.CreateUniversalUpscalerJob.g.verified.cs | 59 +++++ ...onClient.CreateVariationNoBG.g.verified.cs | 32 +++ ...Client.CreateVariationUnzoom.g.verified.cs | 32 +++ ...lient.CreateVariationUpscale.g.verified.cs | 30 +++ ...ationClient.GetVariationById.g.verified.cs | 19 ++ .../_#G.IVariationClient.g.verified.cs | 25 ++ .../_#G.ImageClient.g.verified.cs | 2 +- .../_#G.InitImagesClient.g.verified.cs | 2 +- ...setsClient.Delete3DModelById.g.verified.cs | 34 +++ ...lAssetsClient.Get3DModelById.g.verified.cs | 50 ++++ ...tsClient.Get3DModelsByUserId.g.verified.cs | 50 ++++ ...ssetsClient.UploadModelAsset.g.verified.cs | 32 +++ .../_#G.Ix3DModelAssetsClient.g.verified.cs | 25 ++ .../_#G.ModelsClient.g.verified.cs | 2 +- .../_#G.MotionClient.g.verified.cs | 2 +- .../_#G.PricingCalculatorClient.g.verified.cs | 2 +- .../_#G.PromptClient.g.verified.cs | 2 +- .../_#G.RealtimeCanvasClient.g.verified.cs | 2 +- .../_#G.TextureClient.g.verified.cs | 2 +- .../_#G.UserClient.g.verified.cs | 2 +- .../_#G.VariationClient.g.verified.cs | 2 +- .../_#G.x3DModelAssetsClient.g.verified.cs | 2 +- .../_#G.AWSClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.AzureClient.g.verified.cs | 2 +- .../_#G.BillingClient.g.verified.cs | 2 +- .../_#G.CloudClient.g.verified.cs | 2 +- .../_#G.ClusterClient.g.verified.cs | 2 +- .../_#G.CredentialsClient.g.verified.cs | 2 +- .../_#G.FilesClient.g.verified.cs | 2 +- .../_#G.GCPClient.g.verified.cs | 2 +- .../_#G.IAWSClient.g.verified.cs | 25 ++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 115 ++++++++ .../_#G.IAzureClient.g.verified.cs | 25 ++ ...illingClient.UpcomingInvoice.g.verified.cs | 16 ++ .../_#G.IBillingClient.g.verified.cs | 25 ++ .../_#G.ICloudClient.AuthAws.g.verified.cs | 28 ++ .../_#G.ICloudClient.AuthAzure.g.verified.cs | 34 +++ .../_#G.ICloudClient.AuthGcp.g.verified.cs | 18 ++ ..._#G.ICloudClient.CallbackGcp.g.verified.cs | 16 ++ ...ient.CreateGcpServiceAccount.g.verified.cs | 32 +++ ...Client.DeleteCloudCredential.g.verified.cs | 18 ++ ...t.GetAcceleratorAvailability.g.verified.cs | 16 ++ ....GetAcceleratorAvailability2.g.verified.cs | 16 ++ ....GetAcceleratorAvailability3.g.verified.cs | 16 ++ ...ICloudClient.ListCredentials.g.verified.cs | 17 ++ ...#G.ICloudClient.ListProjects.g.verified.cs | 17 ++ ..._#G.ICloudClient.ListRegions.g.verified.cs | 19 ++ .../_#G.ICloudClient.g.verified.cs | 25 ++ ...IClusterClient.CreateCluster.g.verified.cs | 16 ++ ...ClusterClient.CreateNodePool.g.verified.cs | 36 +++ ...IClusterClient.DeleteCluster.g.verified.cs | 18 ++ ...ClusterClient.DeleteNodePool.g.verified.cs | 20 ++ ....IClusterClient.ListClusters.g.verified.cs | 17 ++ ...IClusterClient.ListNodePools.g.verified.cs | 19 ++ ...IClusterClient.ListPipelines.g.verified.cs | 27 ++ ...lusterClient.RetrieveCluster.g.verified.cs | 19 ++ .../_#G.IClusterClient.g.verified.cs | 25 ++ .../_#G.ICredentialsClient.g.verified.cs | 25 ++ .../_#G.IFilesClient.Create.g.verified.cs | 32 +++ .../_#G.IFilesClient.Index.g.verified.cs | 25 ++ .../_#G.IFilesClient.Retrieve.g.verified.cs | 19 ++ .../_#G.IFilesClient.g.verified.cs | 25 ++ .../_#G.IGCPClient.g.verified.cs | 25 ++ ...lient.GetPipelineStartupLogs.g.verified.cs | 23 ++ .../_#G.ILogsClient.GetRunLogs.g.verified.cs | 19 ++ .../_#G.ILogsClient.g.verified.cs | 25 ++ ...csClient.OverallUsageSummary.g.verified.cs | 22 ++ ...ricsClient.TopPipelinesUsage.g.verified.cs | 34 +++ ...IMetricsClient.UsedPipelines.g.verified.cs | 30 +++ .../_#G.IMetricsClient.g.verified.cs | 25 ++ ...PipelineFamiliesClient.Index.g.verified.cs | 42 +++ ...elineFamiliesClient.Retrieve.g.verified.cs | 21 ++ .../_#G.IPipelineFamiliesClient.g.verified.cs | 25 ++ .../_#G.IPipelinesClient.Clone.g.verified.cs | 42 +++ .../_#G.IPipelinesClient.Create.g.verified.cs | 48 ++++ .../_#G.IPipelinesClient.Delete.g.verified.cs | 23 ++ ...nt.HistoricalPipelineScaling.g.verified.cs | 32 +++ .../_#G.IPipelinesClient.Index.g.verified.cs | 25 ++ ...Client.ListPipelinesByFamily.g.verified.cs | 50 ++++ ...IPipelinesClient.OwnedOrUsed.g.verified.cs | 17 ++ .../_#G.IPipelinesClient.Patch.g.verified.cs | 66 +++++ ....IPipelinesClient.PatchImage.g.verified.cs | 46 ++++ ...linesClient.PipelineCooldown.g.verified.cs | 42 +++ ...pelinesClient.PipelineWarmup.g.verified.cs | 44 ++++ ...#G.IPipelinesClient.Retrieve.g.verified.cs | 35 +++ ...elinesClient.RetrieveAvgCost.g.verified.cs | 23 ++ ...inesClient.RetrieveByPointer.g.verified.cs | 35 +++ ...pelinesClient.RetrieveReadme.g.verified.cs | 23 ++ ...esClient.RetrieveScalingInfo.g.verified.cs | 23 ++ .../_#G.IPipelinesClient.g.verified.cs | 25 ++ .../_#G.IPointersClient.Create.g.verified.cs | 34 +++ .../_#G.IPointersClient.Delete.g.verified.cs | 18 ++ .../_#G.IPointersClient.Index.g.verified.cs | 32 +++ ...PointersClient.PointersPatch.g.verified.cs | 36 +++ .../_#G.IPointersClient.g.verified.cs | 25 ++ ....IResourcesClient.SetPodInfo.g.verified.cs | 38 +++ .../_#G.IResourcesClient.g.verified.cs | 25 ++ .../_#G.IRunsClient.Index.g.verified.cs | 42 +++ .../_#G.IRunsClient.Retrieve.g.verified.cs | 19 ++ ...IRunsClient.RetrieveDetailed.g.verified.cs | 19 ++ .../_#G.IRunsClient.StreamRun.g.verified.cs | 44 ++++ .../_#G.IRunsClient.SubmitRun.g.verified.cs | 40 +++ .../_#G.IRunsClient.g.verified.cs | 25 ++ ...gConfigurationsClient.Create.g.verified.cs | 44 ++++ ...gConfigurationsClient.Delete.g.verified.cs | 19 ++ ...nfigurationsClient.GetByName.g.verified.cs | 19 ++ ...ationsClient.GetPipelineList.g.verified.cs | 29 +++ ...ngConfigurationsClient.Index.g.verified.cs | 31 +++ ...ngConfigurationsClient.Patch.g.verified.cs | 42 +++ ...IScalingConfigurationsClient.g.verified.cs | 25 ++ .../_#G.ITokensClient.Create.g.verified.cs | 34 +++ .../_#G.ITokensClient.Delete.g.verified.cs | 19 ++ .../_#G.ITokensClient.Index.g.verified.cs | 29 +++ .../_#G.ITokensClient.Patch.g.verified.cs | 36 +++ .../_#G.ITokensClient.Retrieve.g.verified.cs | 19 ++ .../_#G.ITokensClient.Validate.g.verified.cs | 17 ++ .../_#G.ITokensClient.g.verified.cs | 25 ++ ...IUsersClient.GetLoggedInUser.g.verified.cs | 17 ++ ...sClient.GetUserPublicProfile.g.verified.cs | 19 ++ .../_#G.IUsersClient.Index.g.verified.cs | 27 ++ .../_#G.IUsersClient.g.verified.cs | 25 ++ .../_#G.LogsClient.g.verified.cs | 2 +- .../_#G.MetricsClient.g.verified.cs | 2 +- .../_#G.PipelineFamiliesClient.g.verified.cs | 2 +- .../_#G.PipelinesClient.g.verified.cs | 2 +- .../_#G.PointersClient.g.verified.cs | 2 +- .../_#G.ResourcesClient.g.verified.cs | 2 +- .../_#G.RunsClient.g.verified.cs | 2 +- ....ScalingConfigurationsClient.g.verified.cs | 2 +- .../_#G.TokensClient.g.verified.cs | 2 +- .../_#G.UsersClient.g.verified.cs | 2 +- .../_#G.AWSClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.AzureClient.g.verified.cs | 2 +- .../_#G.BillingClient.g.verified.cs | 2 +- .../_#G.CloudClient.g.verified.cs | 2 +- .../_#G.ClusterClient.g.verified.cs | 2 +- .../_#G.CredentialsClient.g.verified.cs | 2 +- .../_#G.FilesClient.g.verified.cs | 2 +- .../_#G.GCPClient.g.verified.cs | 2 +- .../_#G.IAWSClient.g.verified.cs | 25 ++ .../SystemTextJson/_#G.IApi.g.verified.cs | 115 ++++++++ .../_#G.IAzureClient.g.verified.cs | 25 ++ ...illingClient.UpcomingInvoice.g.verified.cs | 16 ++ .../_#G.IBillingClient.g.verified.cs | 25 ++ .../_#G.ICloudClient.AuthAws.g.verified.cs | 28 ++ .../_#G.ICloudClient.AuthAzure.g.verified.cs | 34 +++ .../_#G.ICloudClient.AuthGcp.g.verified.cs | 18 ++ ..._#G.ICloudClient.CallbackGcp.g.verified.cs | 16 ++ ...ient.CreateGcpServiceAccount.g.verified.cs | 32 +++ ...Client.DeleteCloudCredential.g.verified.cs | 18 ++ ...t.GetAcceleratorAvailability.g.verified.cs | 16 ++ ....GetAcceleratorAvailability2.g.verified.cs | 16 ++ ....GetAcceleratorAvailability3.g.verified.cs | 16 ++ ...ICloudClient.ListCredentials.g.verified.cs | 17 ++ ...#G.ICloudClient.ListProjects.g.verified.cs | 17 ++ ..._#G.ICloudClient.ListRegions.g.verified.cs | 19 ++ .../_#G.ICloudClient.g.verified.cs | 25 ++ ...IClusterClient.CreateCluster.g.verified.cs | 16 ++ ...ClusterClient.CreateNodePool.g.verified.cs | 36 +++ ...IClusterClient.DeleteCluster.g.verified.cs | 18 ++ ...ClusterClient.DeleteNodePool.g.verified.cs | 20 ++ ....IClusterClient.ListClusters.g.verified.cs | 17 ++ ...IClusterClient.ListNodePools.g.verified.cs | 19 ++ ...IClusterClient.ListPipelines.g.verified.cs | 27 ++ ...lusterClient.RetrieveCluster.g.verified.cs | 19 ++ .../_#G.IClusterClient.g.verified.cs | 25 ++ .../_#G.ICredentialsClient.g.verified.cs | 25 ++ .../_#G.IFilesClient.Create.g.verified.cs | 32 +++ .../_#G.IFilesClient.Index.g.verified.cs | 25 ++ .../_#G.IFilesClient.Retrieve.g.verified.cs | 19 ++ .../_#G.IFilesClient.g.verified.cs | 25 ++ .../_#G.IGCPClient.g.verified.cs | 25 ++ ...lient.GetPipelineStartupLogs.g.verified.cs | 23 ++ .../_#G.ILogsClient.GetRunLogs.g.verified.cs | 19 ++ .../_#G.ILogsClient.g.verified.cs | 25 ++ ...csClient.OverallUsageSummary.g.verified.cs | 22 ++ ...ricsClient.TopPipelinesUsage.g.verified.cs | 34 +++ ...IMetricsClient.UsedPipelines.g.verified.cs | 30 +++ .../_#G.IMetricsClient.g.verified.cs | 25 ++ ...PipelineFamiliesClient.Index.g.verified.cs | 42 +++ ...elineFamiliesClient.Retrieve.g.verified.cs | 21 ++ .../_#G.IPipelineFamiliesClient.g.verified.cs | 25 ++ .../_#G.IPipelinesClient.Clone.g.verified.cs | 42 +++ .../_#G.IPipelinesClient.Create.g.verified.cs | 48 ++++ .../_#G.IPipelinesClient.Delete.g.verified.cs | 23 ++ ...nt.HistoricalPipelineScaling.g.verified.cs | 32 +++ .../_#G.IPipelinesClient.Index.g.verified.cs | 25 ++ ...Client.ListPipelinesByFamily.g.verified.cs | 50 ++++ ...IPipelinesClient.OwnedOrUsed.g.verified.cs | 17 ++ .../_#G.IPipelinesClient.Patch.g.verified.cs | 66 +++++ ....IPipelinesClient.PatchImage.g.verified.cs | 46 ++++ ...linesClient.PipelineCooldown.g.verified.cs | 42 +++ ...pelinesClient.PipelineWarmup.g.verified.cs | 44 ++++ ...#G.IPipelinesClient.Retrieve.g.verified.cs | 35 +++ ...elinesClient.RetrieveAvgCost.g.verified.cs | 23 ++ ...inesClient.RetrieveByPointer.g.verified.cs | 35 +++ ...pelinesClient.RetrieveReadme.g.verified.cs | 23 ++ ...esClient.RetrieveScalingInfo.g.verified.cs | 23 ++ .../_#G.IPipelinesClient.g.verified.cs | 25 ++ .../_#G.IPointersClient.Create.g.verified.cs | 34 +++ .../_#G.IPointersClient.Delete.g.verified.cs | 18 ++ .../_#G.IPointersClient.Index.g.verified.cs | 32 +++ ...PointersClient.PointersPatch.g.verified.cs | 36 +++ .../_#G.IPointersClient.g.verified.cs | 25 ++ ....IResourcesClient.SetPodInfo.g.verified.cs | 38 +++ .../_#G.IResourcesClient.g.verified.cs | 25 ++ .../_#G.IRunsClient.Index.g.verified.cs | 42 +++ .../_#G.IRunsClient.Retrieve.g.verified.cs | 19 ++ ...IRunsClient.RetrieveDetailed.g.verified.cs | 19 ++ .../_#G.IRunsClient.StreamRun.g.verified.cs | 44 ++++ .../_#G.IRunsClient.SubmitRun.g.verified.cs | 40 +++ .../_#G.IRunsClient.g.verified.cs | 25 ++ ...gConfigurationsClient.Create.g.verified.cs | 44 ++++ ...gConfigurationsClient.Delete.g.verified.cs | 19 ++ ...nfigurationsClient.GetByName.g.verified.cs | 19 ++ ...ationsClient.GetPipelineList.g.verified.cs | 29 +++ ...ngConfigurationsClient.Index.g.verified.cs | 31 +++ ...ngConfigurationsClient.Patch.g.verified.cs | 42 +++ ...IScalingConfigurationsClient.g.verified.cs | 25 ++ .../_#G.ITokensClient.Create.g.verified.cs | 34 +++ .../_#G.ITokensClient.Delete.g.verified.cs | 19 ++ .../_#G.ITokensClient.Index.g.verified.cs | 29 +++ .../_#G.ITokensClient.Patch.g.verified.cs | 36 +++ .../_#G.ITokensClient.Retrieve.g.verified.cs | 19 ++ .../_#G.ITokensClient.Validate.g.verified.cs | 17 ++ .../_#G.ITokensClient.g.verified.cs | 25 ++ ...IUsersClient.GetLoggedInUser.g.verified.cs | 17 ++ ...sClient.GetUserPublicProfile.g.verified.cs | 19 ++ .../_#G.IUsersClient.Index.g.verified.cs | 27 ++ .../_#G.IUsersClient.g.verified.cs | 25 ++ .../_#G.LogsClient.g.verified.cs | 2 +- .../_#G.MetricsClient.g.verified.cs | 2 +- .../_#G.PipelineFamiliesClient.g.verified.cs | 2 +- .../_#G.PipelinesClient.g.verified.cs | 2 +- .../_#G.PointersClient.g.verified.cs | 2 +- .../_#G.ResourcesClient.g.verified.cs | 2 +- .../_#G.RunsClient.g.verified.cs | 2 +- ....ScalingConfigurationsClient.g.verified.cs | 2 +- .../_#G.TokensClient.g.verified.cs | 2 +- .../_#G.UsersClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.CompletionsClient.g.verified.cs | 2 +- .../_#G.EmbeddingsClient.g.verified.cs | 2 +- .../_#G.IApi.GetVersion.g.verified.cs | 17 ++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 46 ++++ ...lient.GenerateChatCompletion.g.verified.cs | 61 +++++ .../_#G.IChatClient.g.verified.cs | 26 ++ ...onsClient.GenerateCompletion.g.verified.cs | 83 ++++++ .../_#G.ICompletionsClient.g.verified.cs | 26 ++ ...ingsClient.GenerateEmbedding.g.verified.cs | 49 ++++ .../_#G.IEmbeddingsClient.g.verified.cs | 26 ++ .../_#G.IModelsClient.CheckBlob.g.verified.cs | 19 ++ .../_#G.IModelsClient.CopyModel.g.verified.cs | 36 +++ ..._#G.IModelsClient.CreateBlob.g.verified.cs | 30 +++ ...#G.IModelsClient.CreateModel.g.verified.cs | 52 ++++ ...#G.IModelsClient.DeleteModel.g.verified.cs | 32 +++ ..._#G.IModelsClient.ListModels.g.verified.cs | 16 ++ ...delsClient.ListRunningModels.g.verified.cs | 16 ++ .../_#G.IModelsClient.PullModel.g.verified.cs | 53 ++++ .../_#G.IModelsClient.PushModel.g.verified.cs | 52 ++++ ....IModelsClient.ShowModelInfo.g.verified.cs | 32 +++ .../_#G.IModelsClient.g.verified.cs | 26 ++ .../_#G.ModelsClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.CompletionsClient.g.verified.cs | 2 +- .../_#G.EmbeddingsClient.g.verified.cs | 2 +- .../_#G.IApi.GetVersion.g.verified.cs | 17 ++ .../SystemTextJson/_#G.IApi.g.verified.cs | 46 ++++ ...lient.GenerateChatCompletion.g.verified.cs | 61 +++++ .../_#G.IChatClient.g.verified.cs | 26 ++ ...onsClient.GenerateCompletion.g.verified.cs | 83 ++++++ .../_#G.ICompletionsClient.g.verified.cs | 26 ++ ...ingsClient.GenerateEmbedding.g.verified.cs | 49 ++++ .../_#G.IEmbeddingsClient.g.verified.cs | 26 ++ .../_#G.IModelsClient.CheckBlob.g.verified.cs | 19 ++ .../_#G.IModelsClient.CopyModel.g.verified.cs | 36 +++ ..._#G.IModelsClient.CreateBlob.g.verified.cs | 30 +++ ...#G.IModelsClient.CreateModel.g.verified.cs | 52 ++++ ...#G.IModelsClient.DeleteModel.g.verified.cs | 32 +++ ..._#G.IModelsClient.ListModels.g.verified.cs | 16 ++ ...delsClient.ListRunningModels.g.verified.cs | 16 ++ .../_#G.IModelsClient.PullModel.g.verified.cs | 53 ++++ .../_#G.IModelsClient.PushModel.g.verified.cs | 52 ++++ ....IModelsClient.ShowModelInfo.g.verified.cs | 32 +++ .../_#G.IModelsClient.g.verified.cs | 26 ++ .../_#G.ModelsClient.g.verified.cs | 2 +- .../_#G.AssistantsClient.g.verified.cs | 2 +- .../_#G.AudioClient.g.verified.cs | 2 +- .../_#G.AuditLogsClient.g.verified.cs | 2 +- .../_#G.BatchClient.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.CompletionsClient.g.verified.cs | 2 +- .../_#G.EmbeddingsClient.g.verified.cs | 2 +- .../_#G.FilesClient.g.verified.cs | 2 +- .../_#G.FineTuningClient.g.verified.cs | 2 +- ....IAssistantsClient.CancelRun.g.verified.cs | 20 ++ ...stantsClient.CreateAssistant.g.verified.cs | 74 ++++++ ...sistantsClient.CreateMessage.g.verified.cs | 46 ++++ ....IAssistantsClient.CreateRun.g.verified.cs | 106 ++++++++ ...ssistantsClient.CreateThread.g.verified.cs | 38 +++ ...ntsClient.CreateThreadAndRun.g.verified.cs | 100 +++++++ ...stantsClient.DeleteAssistant.g.verified.cs | 18 ++ ...sistantsClient.DeleteMessage.g.verified.cs | 20 ++ ...ssistantsClient.DeleteThread.g.verified.cs | 18 ++ ...ssistantsClient.GetAssistant.g.verified.cs | 18 ++ ...IAssistantsClient.GetMessage.g.verified.cs | 20 ++ ..._#G.IAssistantsClient.GetRun.g.verified.cs | 20 ++ ...IAssistantsClient.GetRunStep.g.verified.cs | 22 ++ ....IAssistantsClient.GetThread.g.verified.cs | 18 ++ ...istantsClient.ListAssistants.g.verified.cs | 28 ++ ...ssistantsClient.ListMessages.g.verified.cs | 32 +++ ...ssistantsClient.ListRunSteps.g.verified.cs | 32 +++ ...G.IAssistantsClient.ListRuns.g.verified.cs | 30 +++ ...stantsClient.ModifyAssistant.g.verified.cs | 77 ++++++ ...sistantsClient.ModifyMessage.g.verified.cs | 38 +++ ....IAssistantsClient.ModifyRun.g.verified.cs | 38 +++ ...ssistantsClient.ModifyThread.g.verified.cs | 38 +++ ...Client.SubmitToolOuputsToRun.g.verified.cs | 42 +++ .../_#G.IAssistantsClient.g.verified.cs | 26 ++ ...#G.IAudioClient.CreateSpeech.g.verified.cs | 48 ++++ ...ioClient.CreateTranscription.g.verified.cs | 62 +++++ ...udioClient.CreateTranslation.g.verified.cs | 53 ++++ .../_#G.IAudioClient.g.verified.cs | 26 ++ ...uditLogsClient.ListAuditLogs.g.verified.cs | 36 +++ .../_#G.IAuditLogsClient.g.verified.cs | 26 ++ ..._#G.IBatchClient.CancelBatch.g.verified.cs | 18 ++ ..._#G.IBatchClient.CreateBatch.g.verified.cs | 44 ++++ ..._#G.IBatchClient.ListBatches.g.verified.cs | 22 ++ ...G.IBatchClient.RetrieveBatch.g.verified.cs | 18 ++ .../_#G.IBatchClient.g.verified.cs | 26 ++ ...tClient.CreateChatCompletion.g.verified.cs | 142 ++++++++++ .../_#G.IChatClient.g.verified.cs | 26 ++ ...tionsClient.CreateCompletion.g.verified.cs | 128 +++++++++ .../_#G.ICompletionsClient.g.verified.cs | 26 ++ ...ddingsClient.CreateEmbedding.g.verified.cs | 51 ++++ .../_#G.IEmbeddingsClient.g.verified.cs | 26 ++ .../_#G.IFilesClient.CreateFile.g.verified.cs | 47 ++++ .../_#G.IFilesClient.DeleteFile.g.verified.cs | 18 ++ ...#G.IFilesClient.DownloadFile.g.verified.cs | 18 ++ .../_#G.IFilesClient.ListFiles.g.verified.cs | 18 ++ ...#G.IFilesClient.RetrieveFile.g.verified.cs | 18 ++ .../_#G.IFilesClient.g.verified.cs | 26 ++ ...ngClient.CancelFineTuningJob.g.verified.cs | 20 ++ ...ngClient.CreateFineTuningJob.g.verified.cs | 75 ++++++ ...gClient.ListFineTuningEvents.g.verified.cs | 26 ++ ...ListFineTuningJobCheckpoints.g.verified.cs | 26 ++ ....ListPaginatedFineTuningJobs.g.verified.cs | 22 ++ ...Client.RetrieveFineTuningJob.g.verified.cs | 21 ++ .../_#G.IFineTuningClient.g.verified.cs | 26 ++ ...#G.IImagesClient.CreateImage.g.verified.cs | 72 +++++ ...ImagesClient.CreateImageEdit.g.verified.cs | 76 ++++++ ...sClient.CreateImageVariation.g.verified.cs | 63 +++++ .../_#G.IImagesClient.g.verified.cs | 26 ++ ....IInvitesClient.DeleteInvite.g.verified.cs | 18 ++ ...#G.IInvitesClient.InviteUser.g.verified.cs | 34 +++ ...G.IInvitesClient.ListInvites.g.verified.cs | 22 ++ ...InvitesClient.RetrieveInvite.g.verified.cs | 18 ++ .../_#G.IInvitesClient.g.verified.cs | 25 ++ ...#G.IModelsClient.DeleteModel.g.verified.cs | 20 ++ ..._#G.IModelsClient.ListModels.g.verified.cs | 16 ++ ....IModelsClient.RetrieveModel.g.verified.cs | 20 ++ .../_#G.IModelsClient.g.verified.cs | 26 ++ ...tionsClient.CreateModeration.g.verified.cs | 37 +++ .../_#G.IModerationsClient.g.verified.cs | 26 ++ .../_#G.IOpenAiClient.g.verified.cs | 111 ++++++++ ...rojectsClient.ArchiveProject.g.verified.cs | 18 ++ ...ProjectsClient.CreateProject.g.verified.cs | 30 +++ ....CreateProjectServiceAccount.g.verified.cs | 34 +++ ...ectsClient.CreateProjectUser.g.verified.cs | 38 +++ ...tsClient.DeleteProjectApiKey.g.verified.cs | 20 ++ ....DeleteProjectServiceAccount.g.verified.cs | 20 ++ ...ectsClient.DeleteProjectUser.g.verified.cs | 20 ++ ...ctsClient.ListProjectApiKeys.g.verified.cs | 24 ++ ...t.ListProjectServiceAccounts.g.verified.cs | 24 ++ ...jectsClient.ListProjectUsers.g.verified.cs | 24 ++ ...IProjectsClient.ListProjects.g.verified.cs | 26 ++ ...ProjectsClient.ModifyProject.g.verified.cs | 30 +++ ...ectsClient.ModifyProjectUser.g.verified.cs | 30 +++ ...ojectsClient.RetrieveProject.g.verified.cs | 18 ++ ...Client.RetrieveProjectApiKey.g.verified.cs | 20 ++ ...etrieveProjectServiceAccount.g.verified.cs | 20 ++ ...tsClient.RetrieveProjectUser.g.verified.cs | 20 ++ .../_#G.IProjectsClient.g.verified.cs | 25 ++ ...IUploadsClient.AddUploadPart.g.verified.cs | 46 ++++ ....IUploadsClient.CancelUpload.g.verified.cs | 20 ++ ...UploadsClient.CompleteUpload.g.verified.cs | 48 ++++ ....IUploadsClient.CreateUpload.g.verified.cs | 52 ++++ .../_#G.IUploadsClient.g.verified.cs | 26 ++ .../_#G.IUsersClient.DeleteUser.g.verified.cs | 18 ++ .../_#G.IUsersClient.ListUsers.g.verified.cs | 22 ++ .../_#G.IUsersClient.ModifyUser.g.verified.cs | 30 +++ ...#G.IUsersClient.RetrieveUser.g.verified.cs | 18 ++ .../_#G.IUsersClient.g.verified.cs | 25 ++ ...t.CancelVectorStoreFileBatch.g.verified.cs | 20 ++ ...oresClient.CreateVectorStore.g.verified.cs | 46 ++++ ...Client.CreateVectorStoreFile.g.verified.cs | 42 +++ ...t.CreateVectorStoreFileBatch.g.verified.cs | 42 +++ ...oresClient.DeleteVectorStore.g.verified.cs | 18 ++ ...Client.DeleteVectorStoreFile.g.verified.cs | 20 ++ ...rStoresClient.GetVectorStore.g.verified.cs | 18 ++ ...resClient.GetVectorStoreFile.g.verified.cs | 24 ++ ...ient.GetVectorStoreFileBatch.g.verified.cs | 24 ++ ....ListFilesInVectorStoreBatch.g.verified.cs | 34 +++ ...sClient.ListVectorStoreFiles.g.verified.cs | 32 +++ ...toresClient.ListVectorStores.g.verified.cs | 28 ++ ...oresClient.ModifyVectorStore.g.verified.cs | 42 +++ .../_#G.IVectorStoresClient.g.verified.cs | 25 ++ .../_#G.ImagesClient.g.verified.cs | 2 +- .../_#G.InvitesClient.g.verified.cs | 2 +- .../_#G.ModelsClient.g.verified.cs | 2 +- .../_#G.ModerationsClient.g.verified.cs | 2 +- .../_#G.OpenAiClient.g.verified.cs | 2 +- .../_#G.ProjectsClient.g.verified.cs | 2 +- .../_#G.UploadsClient.g.verified.cs | 2 +- .../_#G.UsersClient.g.verified.cs | 2 +- .../_#G.VectorStoresClient.g.verified.cs | 2 +- .../_#G.AssistantsClient.g.verified.cs | 2 +- .../_#G.AudioClient.g.verified.cs | 2 +- .../_#G.AuditLogsClient.g.verified.cs | 2 +- .../_#G.BatchClient.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.CompletionsClient.g.verified.cs | 2 +- .../_#G.EmbeddingsClient.g.verified.cs | 2 +- .../_#G.FilesClient.g.verified.cs | 2 +- .../_#G.FineTuningClient.g.verified.cs | 2 +- ....IAssistantsClient.CancelRun.g.verified.cs | 20 ++ ...stantsClient.CreateAssistant.g.verified.cs | 74 ++++++ ...sistantsClient.CreateMessage.g.verified.cs | 46 ++++ ....IAssistantsClient.CreateRun.g.verified.cs | 106 ++++++++ ...ssistantsClient.CreateThread.g.verified.cs | 38 +++ ...ntsClient.CreateThreadAndRun.g.verified.cs | 100 +++++++ ...stantsClient.DeleteAssistant.g.verified.cs | 18 ++ ...sistantsClient.DeleteMessage.g.verified.cs | 20 ++ ...ssistantsClient.DeleteThread.g.verified.cs | 18 ++ ...ssistantsClient.GetAssistant.g.verified.cs | 18 ++ ...IAssistantsClient.GetMessage.g.verified.cs | 20 ++ ..._#G.IAssistantsClient.GetRun.g.verified.cs | 20 ++ ...IAssistantsClient.GetRunStep.g.verified.cs | 22 ++ ....IAssistantsClient.GetThread.g.verified.cs | 18 ++ ...istantsClient.ListAssistants.g.verified.cs | 28 ++ ...ssistantsClient.ListMessages.g.verified.cs | 32 +++ ...ssistantsClient.ListRunSteps.g.verified.cs | 32 +++ ...G.IAssistantsClient.ListRuns.g.verified.cs | 30 +++ ...stantsClient.ModifyAssistant.g.verified.cs | 77 ++++++ ...sistantsClient.ModifyMessage.g.verified.cs | 38 +++ ....IAssistantsClient.ModifyRun.g.verified.cs | 38 +++ ...ssistantsClient.ModifyThread.g.verified.cs | 38 +++ ...Client.SubmitToolOuputsToRun.g.verified.cs | 42 +++ .../_#G.IAssistantsClient.g.verified.cs | 26 ++ ...#G.IAudioClient.CreateSpeech.g.verified.cs | 48 ++++ ...ioClient.CreateTranscription.g.verified.cs | 62 +++++ ...udioClient.CreateTranslation.g.verified.cs | 53 ++++ .../_#G.IAudioClient.g.verified.cs | 26 ++ ...uditLogsClient.ListAuditLogs.g.verified.cs | 36 +++ .../_#G.IAuditLogsClient.g.verified.cs | 26 ++ ..._#G.IBatchClient.CancelBatch.g.verified.cs | 18 ++ ..._#G.IBatchClient.CreateBatch.g.verified.cs | 44 ++++ ..._#G.IBatchClient.ListBatches.g.verified.cs | 22 ++ ...G.IBatchClient.RetrieveBatch.g.verified.cs | 18 ++ .../_#G.IBatchClient.g.verified.cs | 26 ++ ...tClient.CreateChatCompletion.g.verified.cs | 142 ++++++++++ .../_#G.IChatClient.g.verified.cs | 26 ++ ...tionsClient.CreateCompletion.g.verified.cs | 128 +++++++++ .../_#G.ICompletionsClient.g.verified.cs | 26 ++ ...ddingsClient.CreateEmbedding.g.verified.cs | 51 ++++ .../_#G.IEmbeddingsClient.g.verified.cs | 26 ++ .../_#G.IFilesClient.CreateFile.g.verified.cs | 47 ++++ .../_#G.IFilesClient.DeleteFile.g.verified.cs | 18 ++ ...#G.IFilesClient.DownloadFile.g.verified.cs | 18 ++ .../_#G.IFilesClient.ListFiles.g.verified.cs | 18 ++ ...#G.IFilesClient.RetrieveFile.g.verified.cs | 18 ++ .../_#G.IFilesClient.g.verified.cs | 26 ++ ...ngClient.CancelFineTuningJob.g.verified.cs | 20 ++ ...ngClient.CreateFineTuningJob.g.verified.cs | 75 ++++++ ...gClient.ListFineTuningEvents.g.verified.cs | 26 ++ ...ListFineTuningJobCheckpoints.g.verified.cs | 26 ++ ....ListPaginatedFineTuningJobs.g.verified.cs | 22 ++ ...Client.RetrieveFineTuningJob.g.verified.cs | 21 ++ .../_#G.IFineTuningClient.g.verified.cs | 26 ++ ...#G.IImagesClient.CreateImage.g.verified.cs | 72 +++++ ...ImagesClient.CreateImageEdit.g.verified.cs | 76 ++++++ ...sClient.CreateImageVariation.g.verified.cs | 63 +++++ .../_#G.IImagesClient.g.verified.cs | 26 ++ ....IInvitesClient.DeleteInvite.g.verified.cs | 18 ++ ...#G.IInvitesClient.InviteUser.g.verified.cs | 34 +++ ...G.IInvitesClient.ListInvites.g.verified.cs | 22 ++ ...InvitesClient.RetrieveInvite.g.verified.cs | 18 ++ .../_#G.IInvitesClient.g.verified.cs | 25 ++ ...#G.IModelsClient.DeleteModel.g.verified.cs | 20 ++ ..._#G.IModelsClient.ListModels.g.verified.cs | 16 ++ ....IModelsClient.RetrieveModel.g.verified.cs | 20 ++ .../_#G.IModelsClient.g.verified.cs | 26 ++ ...tionsClient.CreateModeration.g.verified.cs | 37 +++ .../_#G.IModerationsClient.g.verified.cs | 26 ++ .../_#G.IOpenAiClient.g.verified.cs | 111 ++++++++ ...rojectsClient.ArchiveProject.g.verified.cs | 18 ++ ...ProjectsClient.CreateProject.g.verified.cs | 30 +++ ....CreateProjectServiceAccount.g.verified.cs | 34 +++ ...ectsClient.CreateProjectUser.g.verified.cs | 38 +++ ...tsClient.DeleteProjectApiKey.g.verified.cs | 20 ++ ....DeleteProjectServiceAccount.g.verified.cs | 20 ++ ...ectsClient.DeleteProjectUser.g.verified.cs | 20 ++ ...ctsClient.ListProjectApiKeys.g.verified.cs | 24 ++ ...t.ListProjectServiceAccounts.g.verified.cs | 24 ++ ...jectsClient.ListProjectUsers.g.verified.cs | 24 ++ ...IProjectsClient.ListProjects.g.verified.cs | 26 ++ ...ProjectsClient.ModifyProject.g.verified.cs | 30 +++ ...ectsClient.ModifyProjectUser.g.verified.cs | 30 +++ ...ojectsClient.RetrieveProject.g.verified.cs | 18 ++ ...Client.RetrieveProjectApiKey.g.verified.cs | 20 ++ ...etrieveProjectServiceAccount.g.verified.cs | 20 ++ ...tsClient.RetrieveProjectUser.g.verified.cs | 20 ++ .../_#G.IProjectsClient.g.verified.cs | 25 ++ ...IUploadsClient.AddUploadPart.g.verified.cs | 46 ++++ ....IUploadsClient.CancelUpload.g.verified.cs | 20 ++ ...UploadsClient.CompleteUpload.g.verified.cs | 48 ++++ ....IUploadsClient.CreateUpload.g.verified.cs | 52 ++++ .../_#G.IUploadsClient.g.verified.cs | 26 ++ .../_#G.IUsersClient.DeleteUser.g.verified.cs | 18 ++ .../_#G.IUsersClient.ListUsers.g.verified.cs | 22 ++ .../_#G.IUsersClient.ModifyUser.g.verified.cs | 30 +++ ...#G.IUsersClient.RetrieveUser.g.verified.cs | 18 ++ .../_#G.IUsersClient.g.verified.cs | 25 ++ ...t.CancelVectorStoreFileBatch.g.verified.cs | 20 ++ ...oresClient.CreateVectorStore.g.verified.cs | 46 ++++ ...Client.CreateVectorStoreFile.g.verified.cs | 42 +++ ...t.CreateVectorStoreFileBatch.g.verified.cs | 42 +++ ...oresClient.DeleteVectorStore.g.verified.cs | 18 ++ ...Client.DeleteVectorStoreFile.g.verified.cs | 20 ++ ...rStoresClient.GetVectorStore.g.verified.cs | 18 ++ ...resClient.GetVectorStoreFile.g.verified.cs | 24 ++ ...ient.GetVectorStoreFileBatch.g.verified.cs | 24 ++ ....ListFilesInVectorStoreBatch.g.verified.cs | 34 +++ ...sClient.ListVectorStoreFiles.g.verified.cs | 32 +++ ...toresClient.ListVectorStores.g.verified.cs | 28 ++ ...oresClient.ModifyVectorStore.g.verified.cs | 42 +++ .../_#G.IVectorStoresClient.g.verified.cs | 25 ++ .../_#G.ImagesClient.g.verified.cs | 2 +- .../_#G.InvitesClient.g.verified.cs | 2 +- .../_#G.ModelsClient.g.verified.cs | 2 +- .../_#G.ModerationsClient.g.verified.cs | 2 +- .../_#G.OpenAiClient.g.verified.cs | 2 +- .../_#G.ProjectsClient.g.verified.cs | 2 +- .../_#G.UploadsClient.g.verified.cs | 2 +- .../_#G.UsersClient.g.verified.cs | 2 +- .../_#G.VectorStoresClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.IApi.CreatePets.g.verified.cs | 16 ++ .../_#G.IApi.ListPets.g.verified.cs | 18 ++ .../_#G.IApi.ShowPetById.g.verified.cs | 18 ++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 25 ++ .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.IApi.CreatePets.g.verified.cs | 16 ++ .../_#G.IApi.ListPets.g.verified.cs | 18 ++ .../_#G.IApi.ShowPetById.g.verified.cs | 18 ++ .../SystemTextJson/_#G.IApi.g.verified.cs | 25 ++ .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.IApi.CancelPredictions.g.verified.cs | 18 ++ .../_#G.IApi.CancelTrainings.g.verified.cs | 18 ++ .../_#G.IApi.CreateDeployments.g.verified.cs | 132 ++++++++++ .../_#G.IApi.CreateModels.g.verified.cs | 116 +++++++++ .../_#G.IApi.CreatePredictions.g.verified.cs | 155 +++++++++++ ...CreatePredictionsDeployments.g.verified.cs | 154 +++++++++++ ...IApi.CreatePredictionsModels.g.verified.cs | 154 +++++++++++ .../_#G.IApi.CreateTrainings.g.verified.cs | 152 +++++++++++ .../_#G.IApi.DeleteDeployments.g.verified.cs | 30 +++ .../_#G.IApi.DeleteModels.g.verified.cs | 32 +++ ...#G.IApi.DeleteVersionsModels.g.verified.cs | 37 +++ .../_#G.IApi.GetAccount.g.verified.cs | 32 +++ .../_#G.IApi.GetCollections.g.verified.cs | 33 +++ .../_#G.IApi.GetDeployments.g.verified.cs | 51 ++++ .../_#G.IApi.GetModels.g.verified.cs | 50 ++++ .../_#G.IApi.GetPredictions.g.verified.cs | 63 +++++ ...Api.GetSecretDefaultWebhooks.g.verified.cs | 29 +++ .../_#G.IApi.GetTrainings.g.verified.cs | 62 +++++ .../_#G.IApi.GetVersionsModels.g.verified.cs | 64 +++++ .../_#G.IApi.ListCollections.g.verified.cs | 36 +++ .../_#G.IApi.ListDeployments.g.verified.cs | 53 ++++ .../_#G.IApi.ListHardware.g.verified.cs | 31 +++ .../_#G.IApi.ListModels.g.verified.cs | 51 ++++ .../_#G.IApi.ListPredictions.g.verified.cs | 62 +++++ .../_#G.IApi.ListTrainings.g.verified.cs | 62 +++++ .../_#G.IApi.ListVersionsModels.g.verified.cs | 41 +++ .../_#G.IApi.UpdateDeployments.g.verified.cs | 120 +++++++++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 26 ++ .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.IApi.CancelPredictions.g.verified.cs | 18 ++ .../_#G.IApi.CancelTrainings.g.verified.cs | 18 ++ .../_#G.IApi.CreateDeployments.g.verified.cs | 132 ++++++++++ .../_#G.IApi.CreateModels.g.verified.cs | 116 +++++++++ .../_#G.IApi.CreatePredictions.g.verified.cs | 155 +++++++++++ ...CreatePredictionsDeployments.g.verified.cs | 154 +++++++++++ ...IApi.CreatePredictionsModels.g.verified.cs | 154 +++++++++++ .../_#G.IApi.CreateTrainings.g.verified.cs | 152 +++++++++++ .../_#G.IApi.DeleteDeployments.g.verified.cs | 30 +++ .../_#G.IApi.DeleteModels.g.verified.cs | 32 +++ ...#G.IApi.DeleteVersionsModels.g.verified.cs | 37 +++ .../_#G.IApi.GetAccount.g.verified.cs | 32 +++ .../_#G.IApi.GetCollections.g.verified.cs | 33 +++ .../_#G.IApi.GetDeployments.g.verified.cs | 51 ++++ .../_#G.IApi.GetModels.g.verified.cs | 50 ++++ .../_#G.IApi.GetPredictions.g.verified.cs | 63 +++++ ...Api.GetSecretDefaultWebhooks.g.verified.cs | 29 +++ .../_#G.IApi.GetTrainings.g.verified.cs | 62 +++++ .../_#G.IApi.GetVersionsModels.g.verified.cs | 64 +++++ .../_#G.IApi.ListCollections.g.verified.cs | 36 +++ .../_#G.IApi.ListDeployments.g.verified.cs | 53 ++++ .../_#G.IApi.ListHardware.g.verified.cs | 31 +++ .../_#G.IApi.ListModels.g.verified.cs | 51 ++++ .../_#G.IApi.ListPredictions.g.verified.cs | 62 +++++ .../_#G.IApi.ListTrainings.g.verified.cs | 62 +++++ .../_#G.IApi.ListVersionsModels.g.verified.cs | 41 +++ .../_#G.IApi.UpdateDeployments.g.verified.cs | 120 +++++++++ .../SystemTextJson/_#G.IApi.g.verified.cs | 26 ++ .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.IApi.CreatePets.g.verified.cs | 16 ++ .../_#G.IApi.ListPets.g.verified.cs | 18 ++ .../_#G.IApi.ShowPetById.g.verified.cs | 18 ++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 25 ++ .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.IApi.CreatePets.g.verified.cs | 16 ++ .../_#G.IApi.ListPets.g.verified.cs | 18 ++ .../_#G.IApi.ShowPetById.g.verified.cs | 18 ++ .../SystemTextJson/_#G.IApi.g.verified.cs | 25 ++ .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.CompletionClient.g.verified.cs | 2 +- .../_#G.EmbeddingsClient.g.verified.cs | 2 +- .../_#G.FilesClient.g.verified.cs | 2 +- .../_#G.FineTuningClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.IApi.g.verified.cs | 66 +++++ ....IChatClient.ChatCompletions.g.verified.cs | 112 ++++++++ .../_#G.IChatClient.g.verified.cs | 25 ++ ...CompletionClient.Completions.g.verified.cs | 99 +++++++ .../_#G.ICompletionClient.g.verified.cs | 25 ++ ...IEmbeddingsClient.Embeddings.g.verified.cs | 35 +++ .../_#G.IEmbeddingsClient.g.verified.cs | 25 ++ ...G.IFilesClient.DeleteFilesId.g.verified.cs | 19 ++ .../_#G.IFilesClient.GetFiles.g.verified.cs | 17 ++ .../_#G.IFilesClient.GetFilesId.g.verified.cs | 19 ++ ...ilesClient.GetFilesIdContent.g.verified.cs | 19 ++ .../_#G.IFilesClient.g.verified.cs | 25 ++ ...TuningClient.CreateFineTunes.g.verified.cs | 64 +++++ ...ient.CreateFineTunesIdCancel.g.verified.cs | 19 ++ ...ineTuningClient.GetFineTunes.g.verified.cs | 17 ++ ...eTuningClient.GetFineTunesId.g.verified.cs | 19 ++ ...gClient.GetFineTunesIdEvents.g.verified.cs | 19 ++ ...ngClient.GetFinetuneDownload.g.verified.cs | 23 ++ .../_#G.IFineTuningClient.g.verified.cs | 25 ++ ...ient.CreateImagesGenerations.g.verified.cs | 66 +++++ .../_#G.IImagesClient.g.verified.cs | 25 ++ .../_#G.IModelsClient.Models.g.verified.cs | 17 ++ .../_#G.IModelsClient.g.verified.cs | 25 ++ .../_#G.IRerankClient.Rerank.g.verified.cs | 58 +++++ .../_#G.IRerankClient.g.verified.cs | 25 ++ .../_#G.ImagesClient.g.verified.cs | 2 +- .../_#G.ModelsClient.g.verified.cs | 2 +- .../_#G.RerankClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.CompletionClient.g.verified.cs | 2 +- .../_#G.EmbeddingsClient.g.verified.cs | 2 +- .../_#G.FilesClient.g.verified.cs | 2 +- .../_#G.FineTuningClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.IApi.g.verified.cs | 66 +++++ ....IChatClient.ChatCompletions.g.verified.cs | 112 ++++++++ .../_#G.IChatClient.g.verified.cs | 25 ++ ...CompletionClient.Completions.g.verified.cs | 99 +++++++ .../_#G.ICompletionClient.g.verified.cs | 25 ++ ...IEmbeddingsClient.Embeddings.g.verified.cs | 35 +++ .../_#G.IEmbeddingsClient.g.verified.cs | 25 ++ ...G.IFilesClient.DeleteFilesId.g.verified.cs | 19 ++ .../_#G.IFilesClient.GetFiles.g.verified.cs | 17 ++ .../_#G.IFilesClient.GetFilesId.g.verified.cs | 19 ++ ...ilesClient.GetFilesIdContent.g.verified.cs | 19 ++ .../_#G.IFilesClient.g.verified.cs | 25 ++ ...TuningClient.CreateFineTunes.g.verified.cs | 64 +++++ ...ient.CreateFineTunesIdCancel.g.verified.cs | 19 ++ ...ineTuningClient.GetFineTunes.g.verified.cs | 17 ++ ...eTuningClient.GetFineTunesId.g.verified.cs | 19 ++ ...gClient.GetFineTunesIdEvents.g.verified.cs | 19 ++ ...ngClient.GetFinetuneDownload.g.verified.cs | 23 ++ .../_#G.IFineTuningClient.g.verified.cs | 25 ++ ...ient.CreateImagesGenerations.g.verified.cs | 66 +++++ .../_#G.IImagesClient.g.verified.cs | 25 ++ .../_#G.IModelsClient.Models.g.verified.cs | 17 ++ .../_#G.IModelsClient.g.verified.cs | 25 ++ .../_#G.IRerankClient.Rerank.g.verified.cs | 58 +++++ .../_#G.IRerankClient.g.verified.cs | 25 ++ .../_#G.ImagesClient.g.verified.cs | 2 +- .../_#G.ModelsClient.g.verified.cs | 2 +- .../_#G.RerankClient.g.verified.cs | 2 +- .../_#G.AdsClient.g.verified.cs | 2 +- .../_#G.AnalyticsClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.BitsClient.g.verified.cs | 2 +- .../_#G.CCLsClient.g.verified.cs | 2 +- .../_#G.ChannelPointsClient.g.verified.cs | 2 +- .../_#G.ChannelsClient.g.verified.cs | 2 +- .../_#G.CharityClient.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.ClipsClient.g.verified.cs | 2 +- .../_#G.ConduitsClient.g.verified.cs | 2 +- .../_#G.EntitlementsClient.g.verified.cs | 2 +- .../_#G.EventSubClient.g.verified.cs | 2 +- .../_#G.ExtensionsClient.g.verified.cs | 2 +- .../_#G.GamesClient.g.verified.cs | 2 +- .../_#G.GoalsClient.g.verified.cs | 2 +- .../_#G.GuestStarClient.g.verified.cs | 2 +- .../_#G.HypeTrainClient.g.verified.cs | 2 +- ..._#G.IAdsClient.GetAdSchedule.g.verified.cs | 21 ++ .../_#G.IAdsClient.SnoozeNextAd.g.verified.cs | 21 ++ ...G.IAdsClient.StartCommercial.g.verified.cs | 44 ++++ .../_#G.IAdsClient.g.verified.cs | 25 ++ ...Client.GetExtensionAnalytics.g.verified.cs | 31 +++ ...yticsClient.GetGameAnalytics.g.verified.cs | 31 +++ .../_#G.IAnalyticsClient.g.verified.cs | 25 ++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 184 +++++++++++++ ...itsClient.GetBitsLeaderboard.g.verified.cs | 27 ++ ...#G.IBitsClient.GetCheermotes.g.verified.cs | 21 ++ ...ent.GetExtensionTransactions.g.verified.cs | 27 ++ .../_#G.IBitsClient.g.verified.cs | 25 ++ ...tContentClassificationLabels.g.verified.cs | 21 ++ .../_#G.ICCLsClient.g.verified.cs | 25 ++ ...tsClient.CreateCustomRewards.g.verified.cs | 88 +++++++ ...ntsClient.DeleteCustomReward.g.verified.cs | 24 ++ ...PointsClient.GetCustomReward.g.verified.cs | 26 ++ ...nt.GetCustomRewardRedemption.g.verified.cs | 33 +++ ...ntsClient.UpdateCustomReward.g.verified.cs | 100 +++++++ ...lient.UpdateRedemptionStatus.g.verified.cs | 53 ++++ .../_#G.IChannelPointsClient.g.verified.cs | 25 ++ ...nelsClient.GetChannelEditors.g.verified.cs | 21 ++ ...lsClient.GetChannelFollowers.g.verified.cs | 29 +++ ...Client.GetChannelInformation.g.verified.cs | 21 ++ ...lsClient.GetFollowedChannels.g.verified.cs | 27 ++ ...ent.ModifyChannelInformation.g.verified.cs | 70 +++++ .../_#G.IChannelsClient.g.verified.cs | 25 ++ ...ityClient.GetCharityCampaign.g.verified.cs | 22 ++ ....GetCharityCampaignDonations.g.verified.cs | 26 ++ .../_#G.ICharityClient.g.verified.cs | 25 ++ ...tClient.GetChannelChatBadges.g.verified.cs | 21 ++ ...IChatClient.GetChannelEmotes.g.verified.cs | 23 ++ ....IChatClient.GetChatSettings.g.verified.cs | 24 ++ .../_#G.IChatClient.GetChatters.g.verified.cs | 29 +++ ..._#G.IChatClient.GetEmoteSets.g.verified.cs | 23 ++ ...atClient.GetGlobalChatBadges.g.verified.cs | 21 ++ ....IChatClient.GetGlobalEmotes.g.verified.cs | 22 ++ ...IChatClient.GetUserChatColor.g.verified.cs | 21 ++ ...#G.IChatClient.GetUserEmotes.g.verified.cs | 26 ++ ...#G.IChatClient.SendAShoutout.g.verified.cs | 28 ++ ...tClient.SendChatAnnouncement.g.verified.cs | 56 ++++ ....IChatClient.SendChatMessage.g.verified.cs | 48 ++++ ...hatClient.UpdateChatSettings.g.verified.cs | 108 ++++++++ ...atClient.UpdateUserChatColor.g.verified.cs | 23 ++ .../_#G.IChatClient.g.verified.cs | 25 ++ .../_#G.IClipsClient.CreateClip.g.verified.cs | 26 ++ .../_#G.IClipsClient.GetClips.g.verified.cs | 39 +++ .../_#G.IClipsClient.g.verified.cs | 25 ++ ...onduitsClient.CreateConduits.g.verified.cs | 36 +++ ...ConduitsClient.DeleteConduit.g.verified.cs | 21 ++ ...duitsClient.GetConduitShards.g.verified.cs | 25 ++ ....IConduitsClient.GetConduits.g.verified.cs | 19 ++ ...tsClient.UpdateConduitShards.g.verified.cs | 42 +++ ...onduitsClient.UpdateConduits.g.verified.cs | 40 +++ .../_#G.IConduitsClient.g.verified.cs | 25 ++ ...sClient.GetDropsEntitlements.g.verified.cs | 43 +++ ...ient.UpdateDropsEntitlements.g.verified.cs | 53 ++++ .../_#G.IEntitlementsClient.g.verified.cs | 25 ++ ...t.CreateEventsubSubscription.g.verified.cs | 52 ++++ ...t.DeleteEventsubSubscription.g.verified.cs | 22 ++ ...ent.GetEventsubSubscriptions.g.verified.cs | 30 +++ .../_#G.IEventSubClient.g.verified.cs | 25 ++ ...Client.CreateExtensionSecret.g.verified.cs | 23 ++ ...ent.GetExtensionBitsProducts.g.verified.cs | 21 ++ ...xtensionConfigurationSegment.g.verified.cs | 26 ++ ...ent.GetExtensionLiveChannels.g.verified.cs | 26 ++ ...nsClient.GetExtensionSecrets.g.verified.cs | 19 ++ ...tensionsClient.GetExtensions.g.verified.cs | 23 ++ ...Client.GetReleasedExtensions.g.verified.cs | 23 ++ ...ent.SendExtensionChatMessage.g.verified.cs | 50 ++++ ...t.SendExtensionPubsubMessage.g.verified.cs | 112 ++++++++ ...xtensionConfigurationSegment.g.verified.cs | 58 +++++ ...tensionRequiredConfiguration.g.verified.cs | 48 ++++ ...t.UpdateExtensionBitsProduct.g.verified.cs | 56 ++++ .../_#G.IExtensionsClient.g.verified.cs | 25 ++ .../_#G.IGamesClient.GetGames.g.verified.cs | 26 ++ ..._#G.IGamesClient.GetTopGames.g.verified.cs | 25 ++ .../_#G.IGamesClient.g.verified.cs | 25 ++ ...IGoalsClient.GetCreatorGoals.g.verified.cs | 22 ++ .../_#G.IGoalsClient.g.verified.cs | 25 ++ ...arClient.AssignGuestStarSlot.g.verified.cs | 30 +++ ...lient.CreateGuestStarSession.g.verified.cs | 22 ++ ...Client.DeleteGuestStarInvite.g.verified.cs | 28 ++ ...arClient.DeleteGuestStarSlot.g.verified.cs | 32 +++ ...arClient.EndGuestStarSession.g.verified.cs | 24 ++ ....GetChannelGuestStarSettings.g.verified.cs | 24 ++ ...arClient.GetGuestStarInvites.g.verified.cs | 26 ++ ...arClient.GetGuestStarSession.g.verified.cs | 24 ++ ...arClient.SendGuestStarInvite.g.verified.cs | 28 ++ ...dateChannelGuestStarSettings.g.verified.cs | 63 +++++ ...arClient.UpdateGuestStarSlot.g.verified.cs | 30 +++ ....UpdateGuestStarSlotSettings.g.verified.cs | 36 +++ .../_#G.IGuestStarClient.g.verified.cs | 25 ++ ...ainClient.GetHypeTrainEvents.g.verified.cs | 26 ++ .../_#G.IHypeTrainClient.g.verified.cs | 25 ++ ...erationClient.AddBlockedTerm.g.verified.cs | 48 ++++ ...onClient.AddChannelModerator.g.verified.cs | 24 ++ ...derationClient.AddChannelVip.g.verified.cs | 24 ++ ...#G.IModerationClient.BanUser.g.verified.cs | 50 ++++ ...ionClient.CheckAutomodStatus.g.verified.cs | 56 ++++ ...ionClient.DeleteChatMessages.g.verified.cs | 25 ++ ...ionClient.GetAutomodSettings.g.verified.cs | 23 ++ ...erationClient.GetBannedUsers.g.verified.cs | 29 +++ ...rationClient.GetBlockedTerms.g.verified.cs | 27 ++ ...nClient.GetModeratedChannels.g.verified.cs | 26 ++ ...derationClient.GetModerators.g.verified.cs | 27 ++ ...onClient.GetShieldModeStatus.g.verified.cs | 24 ++ ...ationClient.GetUnbanRequests.g.verified.cs | 32 +++ ...#G.IModerationClient.GetVips.g.verified.cs | 27 ++ ...nt.ManageHeldAutomodMessages.g.verified.cs | 49 ++++ ...tionClient.RemoveBlockedTerm.g.verified.cs | 25 ++ ...lient.RemoveChannelModerator.g.verified.cs | 24 ++ ...ationClient.RemoveChannelVip.g.verified.cs | 25 ++ ...nClient.ResolveUnbanRequests.g.verified.cs | 30 +++ ....IModerationClient.UnbanUser.g.verified.cs | 26 ++ ...Client.UpdateAutomodSettings.g.verified.cs | 90 +++++++ ...lient.UpdateShieldModeStatus.g.verified.cs | 46 ++++ .../_#G.IModerationClient.g.verified.cs | 25 ++ .../_#G.IPollsClient.CreatePoll.g.verified.cs | 58 +++++ .../_#G.IPollsClient.EndPoll.g.verified.cs | 47 ++++ .../_#G.IPollsClient.GetPolls.g.verified.cs | 28 ++ .../_#G.IPollsClient.g.verified.cs | 25 ++ ...tionsClient.CreatePrediction.g.verified.cs | 50 ++++ ...dictionsClient.EndPrediction.g.verified.cs | 56 ++++ ...ictionsClient.GetPredictions.g.verified.cs | 27 ++ .../_#G.IPredictionsClient.g.verified.cs | 25 ++ ..._#G.IRaidsClient.CancelARaid.g.verified.cs | 23 ++ .../_#G.IRaidsClient.StartARaid.g.verified.cs | 27 ++ .../_#G.IRaidsClient.g.verified.cs | 25 ++ ...ChannelStreamScheduleSegment.g.verified.cs | 60 +++++ ...ChannelStreamScheduleSegment.g.verified.cs | 24 ++ ...leClient.GetChannelIcalendar.g.verified.cs | 24 ++ ...ent.GetChannelStreamSchedule.g.verified.cs | 31 +++ ....UpdateChannelStreamSchedule.g.verified.cs | 29 +++ ...ChannelStreamScheduleSegment.g.verified.cs | 70 +++++ .../_#G.IScheduleClient.g.verified.cs | 25 ++ ...earchClient.SearchCategories.g.verified.cs | 26 ++ ...ISearchClient.SearchChannels.g.verified.cs | 30 +++ .../_#G.ISearchClient.g.verified.cs | 25 ++ ...amsClient.CreateStreamMarker.g.verified.cs | 50 ++++ ...amsClient.GetFollowedStreams.g.verified.cs | 25 ++ ....IStreamsClient.GetStreamKey.g.verified.cs | 21 ++ ...reamsClient.GetStreamMarkers.g.verified.cs | 29 +++ ...#G.IStreamsClient.GetStreams.g.verified.cs | 35 +++ .../_#G.IStreamsClient.g.verified.cs | 25 ++ ...Client.CheckUserSubscription.g.verified.cs | 24 ++ ....GetBroadcasterSubscriptions.g.verified.cs | 30 +++ .../_#G.ISubscriptionsClient.g.verified.cs | 25 ++ ...ITagsClient.GetAllStreamTags.g.verified.cs | 27 ++ ...#G.ITagsClient.GetStreamTags.g.verified.cs | 23 ++ .../_#G.ITagsClient.g.verified.cs | 25 ++ ...ITeamsClient.GetChannelTeams.g.verified.cs | 21 ++ .../_#G.ITeamsClient.GetTeams.g.verified.cs | 23 ++ .../_#G.ITeamsClient.g.verified.cs | 25 ++ .../_#G.IUsersClient.BlockUser.g.verified.cs | 26 ++ ...ient.GetUserActiveExtensions.g.verified.cs | 22 ++ ...UsersClient.GetUserBlockList.g.verified.cs | 25 ++ ...sersClient.GetUserExtensions.g.verified.cs | 19 ++ .../_#G.IUsersClient.GetUsers.g.verified.cs | 29 +++ ..._#G.IUsersClient.UnblockUser.g.verified.cs | 21 ++ .../_#G.IUsersClient.UpdateUser.g.verified.cs | 22 ++ ...sClient.UpdateUserExtensions.g.verified.cs | 42 +++ .../_#G.IUsersClient.g.verified.cs | 25 ++ ...G.IVideosClient.DeleteVideos.g.verified.cs | 21 ++ .../_#G.IVideosClient.GetVideos.g.verified.cs | 40 +++ .../_#G.IVideosClient.g.verified.cs | 25 ++ ....IWhispersClient.SendWhisper.g.verified.cs | 57 ++++ .../_#G.IWhispersClient.g.verified.cs | 25 ++ .../_#G.ModerationClient.g.verified.cs | 2 +- .../_#G.PollsClient.g.verified.cs | 2 +- .../_#G.PredictionsClient.g.verified.cs | 2 +- .../_#G.RaidsClient.g.verified.cs | 2 +- .../_#G.ScheduleClient.g.verified.cs | 2 +- .../_#G.SearchClient.g.verified.cs | 2 +- .../_#G.StreamsClient.g.verified.cs | 2 +- .../_#G.SubscriptionsClient.g.verified.cs | 2 +- .../_#G.TagsClient.g.verified.cs | 2 +- .../_#G.TeamsClient.g.verified.cs | 2 +- .../_#G.UsersClient.g.verified.cs | 2 +- .../_#G.VideosClient.g.verified.cs | 2 +- .../_#G.WhispersClient.g.verified.cs | 2 +- .../_#G.AdsClient.g.verified.cs | 2 +- .../_#G.AnalyticsClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.BitsClient.g.verified.cs | 2 +- .../_#G.CCLsClient.g.verified.cs | 2 +- .../_#G.ChannelPointsClient.g.verified.cs | 2 +- .../_#G.ChannelsClient.g.verified.cs | 2 +- .../_#G.CharityClient.g.verified.cs | 2 +- .../_#G.ChatClient.g.verified.cs | 2 +- .../_#G.ClipsClient.g.verified.cs | 2 +- .../_#G.ConduitsClient.g.verified.cs | 2 +- .../_#G.EntitlementsClient.g.verified.cs | 2 +- .../_#G.EventSubClient.g.verified.cs | 2 +- .../_#G.ExtensionsClient.g.verified.cs | 2 +- .../_#G.GamesClient.g.verified.cs | 2 +- .../_#G.GoalsClient.g.verified.cs | 2 +- .../_#G.GuestStarClient.g.verified.cs | 2 +- .../_#G.HypeTrainClient.g.verified.cs | 2 +- ..._#G.IAdsClient.GetAdSchedule.g.verified.cs | 21 ++ .../_#G.IAdsClient.SnoozeNextAd.g.verified.cs | 21 ++ ...G.IAdsClient.StartCommercial.g.verified.cs | 44 ++++ .../_#G.IAdsClient.g.verified.cs | 25 ++ ...Client.GetExtensionAnalytics.g.verified.cs | 31 +++ ...yticsClient.GetGameAnalytics.g.verified.cs | 31 +++ .../_#G.IAnalyticsClient.g.verified.cs | 25 ++ .../SystemTextJson/_#G.IApi.g.verified.cs | 184 +++++++++++++ ...itsClient.GetBitsLeaderboard.g.verified.cs | 27 ++ ...#G.IBitsClient.GetCheermotes.g.verified.cs | 21 ++ ...ent.GetExtensionTransactions.g.verified.cs | 27 ++ .../_#G.IBitsClient.g.verified.cs | 25 ++ ...tContentClassificationLabels.g.verified.cs | 21 ++ .../_#G.ICCLsClient.g.verified.cs | 25 ++ ...tsClient.CreateCustomRewards.g.verified.cs | 88 +++++++ ...ntsClient.DeleteCustomReward.g.verified.cs | 24 ++ ...PointsClient.GetCustomReward.g.verified.cs | 26 ++ ...nt.GetCustomRewardRedemption.g.verified.cs | 33 +++ ...ntsClient.UpdateCustomReward.g.verified.cs | 100 +++++++ ...lient.UpdateRedemptionStatus.g.verified.cs | 53 ++++ .../_#G.IChannelPointsClient.g.verified.cs | 25 ++ ...nelsClient.GetChannelEditors.g.verified.cs | 21 ++ ...lsClient.GetChannelFollowers.g.verified.cs | 29 +++ ...Client.GetChannelInformation.g.verified.cs | 21 ++ ...lsClient.GetFollowedChannels.g.verified.cs | 27 ++ ...ent.ModifyChannelInformation.g.verified.cs | 70 +++++ .../_#G.IChannelsClient.g.verified.cs | 25 ++ ...ityClient.GetCharityCampaign.g.verified.cs | 22 ++ ....GetCharityCampaignDonations.g.verified.cs | 26 ++ .../_#G.ICharityClient.g.verified.cs | 25 ++ ...tClient.GetChannelChatBadges.g.verified.cs | 21 ++ ...IChatClient.GetChannelEmotes.g.verified.cs | 23 ++ ....IChatClient.GetChatSettings.g.verified.cs | 24 ++ .../_#G.IChatClient.GetChatters.g.verified.cs | 29 +++ ..._#G.IChatClient.GetEmoteSets.g.verified.cs | 23 ++ ...atClient.GetGlobalChatBadges.g.verified.cs | 21 ++ ....IChatClient.GetGlobalEmotes.g.verified.cs | 22 ++ ...IChatClient.GetUserChatColor.g.verified.cs | 21 ++ ...#G.IChatClient.GetUserEmotes.g.verified.cs | 26 ++ ...#G.IChatClient.SendAShoutout.g.verified.cs | 28 ++ ...tClient.SendChatAnnouncement.g.verified.cs | 56 ++++ ....IChatClient.SendChatMessage.g.verified.cs | 48 ++++ ...hatClient.UpdateChatSettings.g.verified.cs | 108 ++++++++ ...atClient.UpdateUserChatColor.g.verified.cs | 23 ++ .../_#G.IChatClient.g.verified.cs | 25 ++ .../_#G.IClipsClient.CreateClip.g.verified.cs | 26 ++ .../_#G.IClipsClient.GetClips.g.verified.cs | 39 +++ .../_#G.IClipsClient.g.verified.cs | 25 ++ ...onduitsClient.CreateConduits.g.verified.cs | 36 +++ ...ConduitsClient.DeleteConduit.g.verified.cs | 21 ++ ...duitsClient.GetConduitShards.g.verified.cs | 25 ++ ....IConduitsClient.GetConduits.g.verified.cs | 19 ++ ...tsClient.UpdateConduitShards.g.verified.cs | 42 +++ ...onduitsClient.UpdateConduits.g.verified.cs | 40 +++ .../_#G.IConduitsClient.g.verified.cs | 25 ++ ...sClient.GetDropsEntitlements.g.verified.cs | 43 +++ ...ient.UpdateDropsEntitlements.g.verified.cs | 53 ++++ .../_#G.IEntitlementsClient.g.verified.cs | 25 ++ ...t.CreateEventsubSubscription.g.verified.cs | 52 ++++ ...t.DeleteEventsubSubscription.g.verified.cs | 22 ++ ...ent.GetEventsubSubscriptions.g.verified.cs | 30 +++ .../_#G.IEventSubClient.g.verified.cs | 25 ++ ...Client.CreateExtensionSecret.g.verified.cs | 23 ++ ...ent.GetExtensionBitsProducts.g.verified.cs | 21 ++ ...xtensionConfigurationSegment.g.verified.cs | 26 ++ ...ent.GetExtensionLiveChannels.g.verified.cs | 26 ++ ...nsClient.GetExtensionSecrets.g.verified.cs | 19 ++ ...tensionsClient.GetExtensions.g.verified.cs | 23 ++ ...Client.GetReleasedExtensions.g.verified.cs | 23 ++ ...ent.SendExtensionChatMessage.g.verified.cs | 50 ++++ ...t.SendExtensionPubsubMessage.g.verified.cs | 112 ++++++++ ...xtensionConfigurationSegment.g.verified.cs | 58 +++++ ...tensionRequiredConfiguration.g.verified.cs | 48 ++++ ...t.UpdateExtensionBitsProduct.g.verified.cs | 56 ++++ .../_#G.IExtensionsClient.g.verified.cs | 25 ++ .../_#G.IGamesClient.GetGames.g.verified.cs | 26 ++ ..._#G.IGamesClient.GetTopGames.g.verified.cs | 25 ++ .../_#G.IGamesClient.g.verified.cs | 25 ++ ...IGoalsClient.GetCreatorGoals.g.verified.cs | 22 ++ .../_#G.IGoalsClient.g.verified.cs | 25 ++ ...arClient.AssignGuestStarSlot.g.verified.cs | 30 +++ ...lient.CreateGuestStarSession.g.verified.cs | 22 ++ ...Client.DeleteGuestStarInvite.g.verified.cs | 28 ++ ...arClient.DeleteGuestStarSlot.g.verified.cs | 32 +++ ...arClient.EndGuestStarSession.g.verified.cs | 24 ++ ....GetChannelGuestStarSettings.g.verified.cs | 24 ++ ...arClient.GetGuestStarInvites.g.verified.cs | 26 ++ ...arClient.GetGuestStarSession.g.verified.cs | 24 ++ ...arClient.SendGuestStarInvite.g.verified.cs | 28 ++ ...dateChannelGuestStarSettings.g.verified.cs | 63 +++++ ...arClient.UpdateGuestStarSlot.g.verified.cs | 30 +++ ....UpdateGuestStarSlotSettings.g.verified.cs | 36 +++ .../_#G.IGuestStarClient.g.verified.cs | 25 ++ ...ainClient.GetHypeTrainEvents.g.verified.cs | 26 ++ .../_#G.IHypeTrainClient.g.verified.cs | 25 ++ ...erationClient.AddBlockedTerm.g.verified.cs | 48 ++++ ...onClient.AddChannelModerator.g.verified.cs | 24 ++ ...derationClient.AddChannelVip.g.verified.cs | 24 ++ ...#G.IModerationClient.BanUser.g.verified.cs | 50 ++++ ...ionClient.CheckAutomodStatus.g.verified.cs | 56 ++++ ...ionClient.DeleteChatMessages.g.verified.cs | 25 ++ ...ionClient.GetAutomodSettings.g.verified.cs | 23 ++ ...erationClient.GetBannedUsers.g.verified.cs | 29 +++ ...rationClient.GetBlockedTerms.g.verified.cs | 27 ++ ...nClient.GetModeratedChannels.g.verified.cs | 26 ++ ...derationClient.GetModerators.g.verified.cs | 27 ++ ...onClient.GetShieldModeStatus.g.verified.cs | 24 ++ ...ationClient.GetUnbanRequests.g.verified.cs | 32 +++ ...#G.IModerationClient.GetVips.g.verified.cs | 27 ++ ...nt.ManageHeldAutomodMessages.g.verified.cs | 49 ++++ ...tionClient.RemoveBlockedTerm.g.verified.cs | 25 ++ ...lient.RemoveChannelModerator.g.verified.cs | 24 ++ ...ationClient.RemoveChannelVip.g.verified.cs | 25 ++ ...nClient.ResolveUnbanRequests.g.verified.cs | 30 +++ ....IModerationClient.UnbanUser.g.verified.cs | 26 ++ ...Client.UpdateAutomodSettings.g.verified.cs | 90 +++++++ ...lient.UpdateShieldModeStatus.g.verified.cs | 46 ++++ .../_#G.IModerationClient.g.verified.cs | 25 ++ .../_#G.IPollsClient.CreatePoll.g.verified.cs | 58 +++++ .../_#G.IPollsClient.EndPoll.g.verified.cs | 47 ++++ .../_#G.IPollsClient.GetPolls.g.verified.cs | 28 ++ .../_#G.IPollsClient.g.verified.cs | 25 ++ ...tionsClient.CreatePrediction.g.verified.cs | 50 ++++ ...dictionsClient.EndPrediction.g.verified.cs | 56 ++++ ...ictionsClient.GetPredictions.g.verified.cs | 27 ++ .../_#G.IPredictionsClient.g.verified.cs | 25 ++ ..._#G.IRaidsClient.CancelARaid.g.verified.cs | 23 ++ .../_#G.IRaidsClient.StartARaid.g.verified.cs | 27 ++ .../_#G.IRaidsClient.g.verified.cs | 25 ++ ...ChannelStreamScheduleSegment.g.verified.cs | 60 +++++ ...ChannelStreamScheduleSegment.g.verified.cs | 24 ++ ...leClient.GetChannelIcalendar.g.verified.cs | 24 ++ ...ent.GetChannelStreamSchedule.g.verified.cs | 31 +++ ....UpdateChannelStreamSchedule.g.verified.cs | 29 +++ ...ChannelStreamScheduleSegment.g.verified.cs | 70 +++++ .../_#G.IScheduleClient.g.verified.cs | 25 ++ ...earchClient.SearchCategories.g.verified.cs | 26 ++ ...ISearchClient.SearchChannels.g.verified.cs | 30 +++ .../_#G.ISearchClient.g.verified.cs | 25 ++ ...amsClient.CreateStreamMarker.g.verified.cs | 50 ++++ ...amsClient.GetFollowedStreams.g.verified.cs | 25 ++ ....IStreamsClient.GetStreamKey.g.verified.cs | 21 ++ ...reamsClient.GetStreamMarkers.g.verified.cs | 29 +++ ...#G.IStreamsClient.GetStreams.g.verified.cs | 35 +++ .../_#G.IStreamsClient.g.verified.cs | 25 ++ ...Client.CheckUserSubscription.g.verified.cs | 24 ++ ....GetBroadcasterSubscriptions.g.verified.cs | 30 +++ .../_#G.ISubscriptionsClient.g.verified.cs | 25 ++ ...ITagsClient.GetAllStreamTags.g.verified.cs | 27 ++ ...#G.ITagsClient.GetStreamTags.g.verified.cs | 23 ++ .../_#G.ITagsClient.g.verified.cs | 25 ++ ...ITeamsClient.GetChannelTeams.g.verified.cs | 21 ++ .../_#G.ITeamsClient.GetTeams.g.verified.cs | 23 ++ .../_#G.ITeamsClient.g.verified.cs | 25 ++ .../_#G.IUsersClient.BlockUser.g.verified.cs | 26 ++ ...ient.GetUserActiveExtensions.g.verified.cs | 22 ++ ...UsersClient.GetUserBlockList.g.verified.cs | 25 ++ ...sersClient.GetUserExtensions.g.verified.cs | 19 ++ .../_#G.IUsersClient.GetUsers.g.verified.cs | 29 +++ ..._#G.IUsersClient.UnblockUser.g.verified.cs | 21 ++ .../_#G.IUsersClient.UpdateUser.g.verified.cs | 22 ++ ...sClient.UpdateUserExtensions.g.verified.cs | 42 +++ .../_#G.IUsersClient.g.verified.cs | 25 ++ ...G.IVideosClient.DeleteVideos.g.verified.cs | 21 ++ .../_#G.IVideosClient.GetVideos.g.verified.cs | 40 +++ .../_#G.IVideosClient.g.verified.cs | 25 ++ ....IWhispersClient.SendWhisper.g.verified.cs | 57 ++++ .../_#G.IWhispersClient.g.verified.cs | 25 ++ .../_#G.ModerationClient.g.verified.cs | 2 +- .../_#G.PollsClient.g.verified.cs | 2 +- .../_#G.PredictionsClient.g.verified.cs | 2 +- .../_#G.RaidsClient.g.verified.cs | 2 +- .../_#G.ScheduleClient.g.verified.cs | 2 +- .../_#G.SearchClient.g.verified.cs | 2 +- .../_#G.StreamsClient.g.verified.cs | 2 +- .../_#G.SubscriptionsClient.g.verified.cs | 2 +- .../_#G.TagsClient.g.verified.cs | 2 +- .../_#G.TeamsClient.g.verified.cs | 2 +- .../_#G.UsersClient.g.verified.cs | 2 +- .../_#G.VideosClient.g.verified.cs | 2 +- .../_#G.WhispersClient.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.Api.g.verified.cs | 2 +- .../_#G.AssetsClient.g.verified.cs | 2 +- .../_#G.CreateVideoAPIClient.g.verified.cs | 2 +- .../_#G.IApi.V1VideoStatusGet.g.verified.cs | 21 ++ .../NewtonsoftJson/_#G.IApi.g.verified.cs | 113 ++++++++ ....IAssetsClient.V1AssetUpload.g.verified.cs | 17 ++ .../_#G.IAssetsClient.g.verified.cs | 27 ++ ...VideoAPIClient.V1VideoDelete.g.verified.cs | 21 ++ ...deoAPIClient.V2VideoGenerate.g.verified.cs | 48 ++++ .../_#G.ICreateVideoAPIClient.g.verified.cs | 27 ++ ...#G.IListsClient.V1AvatarList.g.verified.cs | 17 ++ ..._#G.IListsClient.V1VideoList.g.verified.cs | 17 ++ ..._#G.IListsClient.V1VoiceList.g.verified.cs | 17 ++ .../_#G.IListsClient.V2Avatars.g.verified.cs | 17 ++ .../_#G.IListsClient.V2Voices.g.verified.cs | 17 ++ .../_#G.IListsClient.g.verified.cs | 25 ++ ....PersonalizedVideoAddContact.g.verified.cs | 36 +++ ...sonalizedVideoAudienceDetail.g.verified.cs | 21 ++ ...rsonalizedVideoProjectDetail.g.verified.cs | 21 ++ ..._#G.IPersonalizedVideoClient.g.verified.cs | 28 ++ ...PIClient.StreamingAvatarList.g.verified.cs | 17 ++ ...IClient.StreamingCreateToken.g.verified.cs | 28 ++ ...eamingAPIClient.StreamingIce.g.verified.cs | 34 +++ ...APIClient.StreamingInterrupt.g.verified.cs | 32 +++ ...amingAPIClient.StreamingList.g.verified.cs | 17 ++ ...eamingAPIClient.StreamingNew.g.verified.cs | 32 +++ ...mingAPIClient.StreamingStart.g.verified.cs | 34 +++ ...amingAPIClient.StreamingStop.g.verified.cs | 32 +++ ...amingAPIClient.StreamingTask.g.verified.cs | 36 +++ .../_#G.IStreamingAPIClient.g.verified.cs | 27 ++ ...otoClient.V1TalkingPhotoList.g.verified.cs | 17 ++ ...oClient.V1TalkingPhotoUpload.g.verified.cs | 17 ++ ...lient.V2TalkingPhotoIdDelete.g.verified.cs | 17 ++ .../_#G.ITalkingPhotoClient.g.verified.cs | 27 ++ ...APIClient.V2TemplateGenerate.g.verified.cs | 46 ++++ ...mplateAPIClient.V2TemplateId.g.verified.cs | 17 ++ ...emplateAPIClient.V2Templates.g.verified.cs | 17 ++ .../_#G.ITemplateAPIClient.g.verified.cs | 33 +++ ...rClient.V2UserRemainingQuota.g.verified.cs | 17 ++ .../_#G.IUserClient.g.verified.cs | 27 ++ ...teAPIClient.V2VideoTranslate.g.verified.cs | 48 ++++ ...ent.V2VideoTranslateIdStatus.g.verified.cs | 17 ++ ...ideoTranslateTargetLanguages.g.verified.cs | 17 ++ ..._#G.IVideoTranslateAPIClient.g.verified.cs | 27 ++ ...sClient.V1WebhookEndpointAdd.g.verified.cs | 36 +++ ...ient.V1WebhookEndpointDelete.g.verified.cs | 21 ++ ...Client.V1WebhookEndpointList.g.verified.cs | 17 ++ ...sClient.V1WebhookWebhookList.g.verified.cs | 17 ++ .../_#G.IWebhooksClient.g.verified.cs | 27 ++ .../_#G.ListsClient.g.verified.cs | 2 +- .../_#G.PersonalizedVideoClient.g.verified.cs | 2 +- .../_#G.StreamingAPIClient.g.verified.cs | 2 +- .../_#G.TalkingPhotoClient.g.verified.cs | 2 +- .../_#G.TemplateAPIClient.g.verified.cs | 2 +- .../_#G.UserClient.g.verified.cs | 2 +- .../_#G.VideoTranslateAPIClient.g.verified.cs | 2 +- .../_#G.WebhooksClient.g.verified.cs | 2 +- .../SystemTextJson/_#G.Api.g.verified.cs | 2 +- .../_#G.AssetsClient.g.verified.cs | 2 +- .../_#G.CreateVideoAPIClient.g.verified.cs | 2 +- .../_#G.IApi.V1VideoStatusGet.g.verified.cs | 21 ++ .../SystemTextJson/_#G.IApi.g.verified.cs | 113 ++++++++ ....IAssetsClient.V1AssetUpload.g.verified.cs | 17 ++ .../_#G.IAssetsClient.g.verified.cs | 27 ++ ...VideoAPIClient.V1VideoDelete.g.verified.cs | 21 ++ ...deoAPIClient.V2VideoGenerate.g.verified.cs | 48 ++++ .../_#G.ICreateVideoAPIClient.g.verified.cs | 27 ++ ...#G.IListsClient.V1AvatarList.g.verified.cs | 17 ++ ..._#G.IListsClient.V1VideoList.g.verified.cs | 17 ++ ..._#G.IListsClient.V1VoiceList.g.verified.cs | 17 ++ .../_#G.IListsClient.V2Avatars.g.verified.cs | 17 ++ .../_#G.IListsClient.V2Voices.g.verified.cs | 17 ++ .../_#G.IListsClient.g.verified.cs | 25 ++ ....PersonalizedVideoAddContact.g.verified.cs | 36 +++ ...sonalizedVideoAudienceDetail.g.verified.cs | 21 ++ ...rsonalizedVideoProjectDetail.g.verified.cs | 21 ++ ..._#G.IPersonalizedVideoClient.g.verified.cs | 28 ++ ...PIClient.StreamingAvatarList.g.verified.cs | 17 ++ ...IClient.StreamingCreateToken.g.verified.cs | 28 ++ ...eamingAPIClient.StreamingIce.g.verified.cs | 34 +++ ...APIClient.StreamingInterrupt.g.verified.cs | 32 +++ ...amingAPIClient.StreamingList.g.verified.cs | 17 ++ ...eamingAPIClient.StreamingNew.g.verified.cs | 32 +++ ...mingAPIClient.StreamingStart.g.verified.cs | 34 +++ ...amingAPIClient.StreamingStop.g.verified.cs | 32 +++ ...amingAPIClient.StreamingTask.g.verified.cs | 36 +++ .../_#G.IStreamingAPIClient.g.verified.cs | 27 ++ ...otoClient.V1TalkingPhotoList.g.verified.cs | 17 ++ ...oClient.V1TalkingPhotoUpload.g.verified.cs | 17 ++ ...lient.V2TalkingPhotoIdDelete.g.verified.cs | 17 ++ .../_#G.ITalkingPhotoClient.g.verified.cs | 27 ++ ...APIClient.V2TemplateGenerate.g.verified.cs | 46 ++++ ...mplateAPIClient.V2TemplateId.g.verified.cs | 17 ++ ...emplateAPIClient.V2Templates.g.verified.cs | 17 ++ .../_#G.ITemplateAPIClient.g.verified.cs | 33 +++ ...rClient.V2UserRemainingQuota.g.verified.cs | 17 ++ .../_#G.IUserClient.g.verified.cs | 27 ++ ...teAPIClient.V2VideoTranslate.g.verified.cs | 48 ++++ ...ent.V2VideoTranslateIdStatus.g.verified.cs | 17 ++ ...ideoTranslateTargetLanguages.g.verified.cs | 17 ++ ..._#G.IVideoTranslateAPIClient.g.verified.cs | 27 ++ ...sClient.V1WebhookEndpointAdd.g.verified.cs | 36 +++ ...ient.V1WebhookEndpointDelete.g.verified.cs | 21 ++ ...Client.V1WebhookEndpointList.g.verified.cs | 17 ++ ...sClient.V1WebhookWebhookList.g.verified.cs | 17 ++ .../_#G.IWebhooksClient.g.verified.cs | 27 ++ .../_#G.ListsClient.g.verified.cs | 2 +- .../_#G.PersonalizedVideoClient.g.verified.cs | 2 +- .../_#G.StreamingAPIClient.g.verified.cs | 2 +- .../_#G.TalkingPhotoClient.g.verified.cs | 2 +- .../_#G.TemplateAPIClient.g.verified.cs | 2 +- .../_#G.UserClient.g.verified.cs | 2 +- .../_#G.VideoTranslateAPIClient.g.verified.cs | 2 +- .../_#G.WebhooksClient.g.verified.cs | 2 +- 5026 files changed, 149924 insertions(+), 505 deletions(-) create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1Answer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1ConversationalRag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1Embed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IChatClient.V1J2UltraChat.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeCustomModelComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeInstructComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboComplete2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboInstructComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeCustomModelComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeInstructComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LightComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LightCustomModelComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2MidComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2MidCustomModelComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2UltraComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2UltraComplete2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1CreateCustomModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1GetCustomModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1GetCustomModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1UpdateCustomModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1DeleteDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDatasetDownloadUrl.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDatasets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1UploadDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IGrammaticalErrorCorrectionsClient.V1Corrections.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IGrammaticalErrorCorrectionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IJambaCompleteClient.V1ChatComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IJambaCompleteClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement3.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IParaphraseClient.V1Paraphraze.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IParaphraseClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibraryAnswer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibraryManagement.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibrarySearch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISegmentationClient.V1Segmentation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISegmentationClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.V1Summarize.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.V1SummarizeBySegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ITokenizeClient.V1Tokenize.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ITokenizeClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1Answer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1ConversationalRag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1Embed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IChatClient.V1J2UltraChat.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeCustomModelComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeInstructComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboComplete2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboInstructComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeCustomModelComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeInstructComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LightComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LightCustomModelComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2MidComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2MidCustomModelComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2UltraComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2UltraComplete2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1CreateCustomModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1GetCustomModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1GetCustomModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1UpdateCustomModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1DeleteDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDatasetDownloadUrl.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDatasets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1UploadDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IGrammaticalErrorCorrectionsClient.V1Corrections.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IGrammaticalErrorCorrectionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IJambaCompleteClient.V1ChatComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IJambaCompleteClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement3.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IParaphraseClient.V1Paraphraze.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IParaphraseClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibraryAnswer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibraryManagement.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibrarySearch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISegmentationClient.V1Segmentation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISegmentationClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.V1Summarize.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.V1SummarizeBySegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ITokenizeClient.V1Tokenize.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ITokenizeClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.IApi.CreateMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.IApi.CreateMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.GetLemurResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurActionItems.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurQuestionAnswer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurSummary.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurTask.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.PurgeLemurRequestData.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IStreamingClient.CreateTemporaryToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IStreamingClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.CreateTranscript.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.DeleteTranscript.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetRedactedAudio.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetSubtitles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscript.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscriptParagraphs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscriptSentences.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.ListTranscripts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.UploadFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.WordSearch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.GetLemurResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurActionItems.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurQuestionAnswer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurSummary.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurTask.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.PurgeLemurRequestData.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IStreamingClient.CreateTemporaryToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IStreamingClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.CreateTranscript.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.DeleteTranscript.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetRedactedAudio.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetSubtitles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscript.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscriptParagraphs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscriptSentences.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.ListTranscripts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.UploadFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.WordSearch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Chat.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Chatv2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.CheckAPIKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Classify.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Detokenize.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Embed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Generate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Rerank.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Summarize.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Tokenize.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.CreateConnector.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.DeleteConnector.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.GetConnector.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.ListConnectors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.OAuthAuthorizeConnector.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.UpdateConnector.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.GetDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetUsage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.ListDatasets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.CancelEmbedJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.CreateEmbedJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.GetEmbedJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.ListEmbedJobs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.CreateFinetunedModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.DeleteFinetunedModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.GetFinetunedModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListFinetunedModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListTrainingStepMetrics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.UpdateFinetunedModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.GetModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Chat.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Chatv2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.CheckAPIKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Classify.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Detokenize.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Embed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Generate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Rerank.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Summarize.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Tokenize.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.CreateConnector.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.DeleteConnector.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.GetConnector.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.ListConnectors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.OAuthAuthorizeConnector.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.UpdateConnector.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.GetDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.GetDatasetUsage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.ListDatasets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.CancelEmbedJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.CreateEmbedJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.GetEmbedJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.ListEmbedJobs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.CreateFinetunedModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.DeleteFinetunedModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.GetFinetunedModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListFinetunedModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListTrainingStepMetrics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.UpdateFinetunedModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.GetModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountDisableRecurringPayment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountForCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGrantAdmin.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountRevokeAdmin.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountSendPaymentReceipt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountChargesJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountUpdateAccountPWPolicy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountUpdateAccountUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddCreditsToAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddGroupToProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddNewUserToAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddUserToAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddUserToGroup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminCreateAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetAccountTransactions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetActiveUserInfos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetActivityMetrics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredProjects.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetMergeStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetProjectSecurityInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetRevenueSegments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetSignupSegments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetUserFullDetailsByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminMergeProjects.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminMigrateUserToAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminOverrideVerify.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminProcessPayment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSendAllClientsMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountCPUPMOverride.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountGroupDiscount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountStudentDiscount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountUserAdminStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetUserPassword.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartAddDemoProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartExportAccountsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartExportUsersJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSubmitPayment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUnlinkUserFromProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateUserGroup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateUserInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatGetChatMessages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatGetProjectChatUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatSubmitProjectChatMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetAddDataSet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetDeleteDataSet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetGetDataSetsByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetUpdateDataSet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorField.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorLink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorSet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDynamicValue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteLink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetResourceLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorImportFields.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IErrorClient.ErrorProcessUIError.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IErrorClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddImageExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptDeleteExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateExcerptText.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExcerptsExportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExcerptsExportURL.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExportJobURI.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportIsExportJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExcerptsExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportBubbleChartJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartGridChartExportJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileEmailFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetConvertPDF2SwfResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetExportJobFileURI.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetFXMLDocJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetFXMLDocXPolled.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetWriteKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileIsJobManagerJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileStartConvertPDF2Swf.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileStoreProjectFileString.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.GetBytesFromFileStorage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.GetStringFromFileStorage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.UploadToFileStorage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.CreateLogin.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetClientVersions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetRsa.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetServiceMessagesController.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetTopBlogPosts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.UnsafeLogin.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.Validate2Factor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddFolder.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddMemo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddMemoFolderLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoDeleteFolder.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoDeleteMemo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetImportMemosXMLResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetSearchMemosJobResults.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLinkFoldersToMemos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLinkObject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartExportMemos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartExportMemosXML.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartImportMemosXML.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartSearchMemosJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUnlinkObject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUpdateFolderTitle.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUpdateMemo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectAddProjectByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectCheckEncryptedData.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetCopyProjectStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectImportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectRenameProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartCopyProjectJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartDeleteProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartProjectExportJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartProjectImportJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectUpdateProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddAudioResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddTranscript.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddVideoResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceCloneDocument.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceDeleteResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceDeleteTranscript.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAudioSample.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetExportJobURL.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetResourceSyncItems.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetResourcesByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetTranscripsts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceLockResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddImageResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartDocumentSearchJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportResourcesJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUnlockResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateResourceAndData.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateTranscriptData.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityAddGroup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityDeleteGroup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetAllAccessLists.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetProjectGroupLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetProjectGroups.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetSuperUserIds.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetVersion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityImpersonateUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityLinkUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityLinkUserWithInvitation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityStopImpersonation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityUnlinkUserFromProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityUpdateGroup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddExcerptTagApplication.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddExcerptTagApplications.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTagLink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTagWithParent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagDeleteTagByJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagDeleteTagLink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetDeleteTagByJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagApplicationsByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagLinksByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagsByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagIsJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagIsRetroUpcodeJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagMergeTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagRemoveTagApplication.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartGetTagsFromImportJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartImportTagsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartRetroUpcodeJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagAppWeight.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagLink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagOrders.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingAddTest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingDeleteTest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetAddTestResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestExcerpts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestResultTagApps.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestResultsByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestsByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingIsTestAddComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingSaveTestResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingStartExportTestResultJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingUpdateTestResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserAcceptInvitationByCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserAddNewUserToAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserDoesUserEmailExist.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserDoesUserExist.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetCurrentAccountStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetCurrentUserPendingInvitations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetFederationResponseForConnection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetFilteredUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetProjectUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserInviteUserToProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserLinkUsertoAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserRegisterConnection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserRejectInvitationByCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSendContactRequestEmail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSubmitCurrentAccountPayment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSubmitEula.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateConnection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateCurrentUserPassword.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateUserInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidate2Factor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidateUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidateUser2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.GetConnectionKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.GetMe.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountDisableRecurringPayment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountForCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGrantAdmin.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountRevokeAdmin.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountSendPaymentReceipt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountChargesJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountUpdateAccountPWPolicy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountUpdateAccountUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddCreditsToAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddGroupToProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddNewUserToAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddUserToAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddUserToGroup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminCreateAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetAccountTransactions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetActiveUserInfos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetActivityMetrics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredProjects.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetMergeStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetProjectSecurityInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetRevenueSegments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetSignupSegments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetUserFullDetailsByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminMergeProjects.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminMigrateUserToAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminOverrideVerify.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminProcessPayment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSendAllClientsMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountCPUPMOverride.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountGroupDiscount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountStudentDiscount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountUserAdminStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetUserPassword.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartAddDemoProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartExportAccountsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartExportUsersJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSubmitPayment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUnlinkUserFromProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateUserGroup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateUserInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatGetChatMessages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatGetProjectChatUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatSubmitProjectChatMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetAddDataSet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetDeleteDataSet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetGetDataSetsByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetUpdateDataSet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorField.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorLink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorSet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDynamicValue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteLink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetResourceLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorImportFields.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IErrorClient.ErrorProcessUIError.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IErrorClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddImageExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptDeleteExcerpt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateExcerptText.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExcerptsExportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExcerptsExportURL.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExportJobURI.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportIsExportJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExcerptsExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportBubbleChartJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartGridChartExportJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileEmailFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetConvertPDF2SwfResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetExportJobFileURI.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetFXMLDocJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetFXMLDocXPolled.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetWriteKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileIsJobManagerJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileStartConvertPDF2Swf.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileStoreProjectFileString.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.GetBytesFromFileStorage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.GetStringFromFileStorage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.UploadToFileStorage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.CreateLogin.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetClientVersions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetRsa.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetServiceMessagesController.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetTopBlogPosts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.UnsafeLogin.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.Validate2Factor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddFolder.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddMemo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddMemoFolderLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoDeleteFolder.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoDeleteMemo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetImportMemosXMLResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetSearchMemosJobResults.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLinkFoldersToMemos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLinkObject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartExportMemos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartExportMemosXML.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartImportMemosXML.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartSearchMemosJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUnlinkObject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUpdateFolderTitle.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUpdateMemo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectAddProjectByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectCheckEncryptedData.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetCopyProjectStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectImportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectRenameProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartCopyProjectJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartDeleteProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartProjectExportJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartProjectImportJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectUpdateProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddAudioResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddTranscript.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddVideoResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceCloneDocument.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceDeleteResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceDeleteTranscript.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAudioSample.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetExportJobURL.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetResourceSyncItems.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetResourcesByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetTranscripsts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceLockResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddImageResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartDocumentSearchJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportResourcesJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUnlockResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateResourceAndData.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateTranscriptData.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityAddGroup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityDeleteGroup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetAllAccessLists.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetProjectGroupLinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetProjectGroups.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetSuperUserIds.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetVersion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityImpersonateUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityLinkUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityLinkUserWithInvitation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityStopImpersonation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityUnlinkUserFromProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityUpdateGroup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddExcerptTagApplication.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddExcerptTagApplications.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTagLink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTagWithParent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagDeleteTagByJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagDeleteTagLink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetDeleteTagByJobResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagApplicationsByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagLinksByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagsByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagIsJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagIsRetroUpcodeJobComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagMergeTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagRemoveTagApplication.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartGetTagsFromImportJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartImportTagsJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartRetroUpcodeJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagAppWeight.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagLink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagOrders.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingAddTest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingDeleteTest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetAddTestResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestExcerpts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestResultTagApps.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestResultsByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestsByProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingIsTestAddComplete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingSaveTestResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingStartExportTestResultJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingUpdateTestResult.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserAcceptInvitationByCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserAddNewUserToAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserDoesUserEmailExist.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserDoesUserExist.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetCurrentAccountStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetCurrentUserPendingInvitations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetFederationResponseForConnection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetFilteredUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetProjectUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserInviteUserToProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserLinkUsertoAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserRegisterConnection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserRejectInvitationByCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSendContactRequestEmail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSubmitCurrentAccountPayment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSubmitEula.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateConnection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateCurrentUserPassword.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateUserInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidate2Factor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidateUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidateUser2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.GetConnectionKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.GetMe.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsApproveWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCancelWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateEnvironmentVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateEnvironmentSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRemoveTokenForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRemoveTokenForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRepoVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateWorkflowDispatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteActionsCacheById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteActionsCacheByKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteArtifact.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteEnvironmentSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteEnvironmentVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteRepoVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteWorkflowRunLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDisableSelectedRepositoryGithubActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDisableWorkflow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadArtifact.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadJobLogsForWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadWorkflowRunAttemptLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadWorkflowRunLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsEnableSelectedRepositoryGithubActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsEnableWorkflow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsForceCancelWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsageByRepoForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsageForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetAllowedActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetAllowedActionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetArtifact.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetCustomOidcSubClaimForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetJobForWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetPendingDeploymentsForRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetReviewsForRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowAccessToRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRunAttempt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRunUsage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowUsage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListArtifactsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListEnvironmentSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListEnvironmentVariables.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListJobsForWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListJobsForWorkflowRunAttempt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListOrgSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListOrgVariables.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoOrganizationSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoOrganizationVariables.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoVariables.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoWorkflows.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRunnerApplicationsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRunnerApplicationsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedReposForOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRunArtifacts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRunsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunJobForWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunWorkflow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunWorkflowFailedJobs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewPendingDeploymentsForRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetWorkflowAccessToRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateEnvironmentVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateRepoVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityCheckRepoIsStarredByAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityDeleteRepoSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityDeleteThreadSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetRepoSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetThread.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetThreadSubscriptionForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListNotificationsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoNotificationsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposStarredByAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposStarredByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposWatchedByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListStargazersForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListWatchedReposForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListWatchersForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkNotificationsAsRead.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkRepoNotificationsAsRead.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkThreadAsDone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkThreadAsRead.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivitySetRepoSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivitySetThreadSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityStarRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityUnstarRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCreateFromManifest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCreateInstallationAccessToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetAuthenticated.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetOrgInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetRepoInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetUserInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetWebhookConfigForApp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationReposForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationRequestsForAuthenticatedApp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlans.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListReposAccessibleToInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUserStubbed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListWebhookDeliveries.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRedeliverWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsResetToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRevokeInstallationAccessToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsSuspendInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsUnsuspendInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsUpdateWebhookConfigForApp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubActionsBillingOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubActionsBillingUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubPackagesBillingOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubPackagesBillingUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetSharedStorageBillingOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetSharedStorageBillingUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListAnnotations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksRerequestRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksRerequestSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksSetSuitesPreferences.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAClassroom.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAnAssignment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAssignmentGrades.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAssignmentsForAClassroom.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListClassrooms.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningCreateVariantAnalysis.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningDeleteAnalysis.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetAnalysis.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetDefaultSetup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetSarif.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysis.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysisRepoTask.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListCodeqlDatabases.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUpdateAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUpdateDefaultSetup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUploadSarif.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.CodesOfConductGetAllCodesOfConduct.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.CodesOfConductGetConductCode.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesAddRepositoryForSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesAddSelectedRepoToOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCheckPermissionsForDevcontainer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCodespaceMachinesForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateWithPrForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateWithRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteCodespacesAccessUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteFromOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesExportForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetCodespacesForUserInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetExportDetailsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetOrgPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetPublicKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListDevcontainersInRepositoryForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListInOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListInRepositoryForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListOrgSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListRepoSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListRepositoriesForSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListSecretsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesPublishForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRemoveRepositoryForSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRemoveSelectedRepoFromOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccess.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccessUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetRepositoriesForSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStartForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStopForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStopInOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesUpdateForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotAddSelectedRepoToOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotCreateOrUpdateOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotCreateOrUpdateRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotDeleteOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotDeleteRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetOrgPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetRepoPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForEnterprise.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListOrgSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListRepoSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotRemoveSelectedRepoFromOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotSetSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotUpdateAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphDiffRange.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphExportSbom.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDesktopClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEmojisClient.EmojisGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEmojisClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEnterpriseTeamsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCheckIsStarred.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreateComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsFork.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetRevision.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListComments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListForks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListPublic.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListStarred.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsStar.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUnstar.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateBlob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateTag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateTree.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitDeleteRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetBlob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTree.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitUpdateRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.GitignoreGetAllTemplates.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.GitignoreGetTemplate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesAddAssignees.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesAddLabels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssigned.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssignedToIssue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateLabel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateMilestone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteLabel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteMilestone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetEvent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetLabel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetMilestone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListAssignees.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListComments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListCommentsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEventsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEventsForTimeline.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsForMilestone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsOnIssue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListMilestones.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesLock.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveAllLabels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveAssignees.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveLabel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesSetLabels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUnlock.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateLabel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateMilestone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGetAllCommonlyUsed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGetForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.MarkdownRender.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.MarkdownRenderRaw.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMergeQueueClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetAllVersions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetOctocat.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetZen.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaRoot.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.OidcGetOidcCustomSubTemplateForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.OidcUpdateOidcCustomSubTemplateForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAddSecurityManagerTeam.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsBlockUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCancelInvitation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckBlockedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckMembershipForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckPublicMembershipForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsConvertMemberToOutsideCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDeleteWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetMembershipForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetMembershipForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhookConfigForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListAppInstallations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListBlockedUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListCustomPropertiesValuesForRepos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListFailedInvitations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListInvitationTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListMembers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListMembershipsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOutsideCollaborators.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRepositories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRequestRepositories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRequests.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrants.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPublicMembers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListSecurityManagerTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListWebhookDeliveries.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListWebhooks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsPingWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRedeliverWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveCustomProperty.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveMembershipForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveOutsideCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemovePublicMembershipForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveSecurityManagerTeam.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsReviewPatGrantRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsReviewPatGrantRequestsInBulk.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetPublicMembershipForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUnblockUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdatePatAccess.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdatePatAccesses.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateWebhookConfigForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsAddCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateCard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateColumn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDeleteCard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDeleteColumn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetCard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetColumn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetPermissionForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListCards.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListCollaborators.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListColumns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsMoveCard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsMoveColumn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsRemoveCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdateCard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdateColumn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCheckIfMerged.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeletePendingReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListCommentsForReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListRequestedReviewers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviewComments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviewCommentsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviews.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsMerge.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRemoveRequestedReviewers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsSubmitReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAcceptInvitationForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddStatusCheckContexts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddTeamAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCancelPagesDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckAutomatedSecurityFixes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckPrivateVulnerabilityReporting.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckVulnerabilityAlerts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCodeownersErrors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateAutolink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitSignatureProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeployKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentBranchPolicy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentProtectionRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDispatchEvent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateFork.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreatePagesDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreatePagesSite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateUsingTemplate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeclineInvitationForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAdminBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAnEnvironment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAutolink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitSignatureProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeployKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeploymentBranchPolicy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteInvitation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteOrgRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeletePagesSite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeletePullRequestReviewProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteReleaseAsset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteRepoRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableAutomatedSecurityFixes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableDeploymentProtectionRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisablePrivateVulnerabilityReporting.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableVulnerabilityAlerts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnableAutomatedSecurityFixes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnablePrivateVulnerabilityReporting.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnableVulnerabilityAlerts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGenerateReleaseNotes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAdminBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllDeploymentProtectionRules.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllEnvironments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllStatusCheckContexts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllTopics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAppsWithAccessToProtectedBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAutolink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranchRules.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetClones.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCollaboratorPermissionLevel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCombinedStatusForRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitActivityStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommunityProfileMetrics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCustomDeploymentProtectionRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCustomPropertiesValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeployKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeploymentBranchPolicy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeploymentStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetLatestPagesBuild.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetLatestRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesBuild.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesHealthCheck.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetParticipationStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPullRequestReviewProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPunchCardStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReadme.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReadmeInDirectory.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseByTag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleSuites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetStatusChecksProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTeamsWithAccessToProtectedBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTopPaths.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTopReferrers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetUsersWithAccessToProtectedBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetViews.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhookConfigForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListActivities.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListAutolinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListBranches.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListBranchesForHeadCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCollaborators.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommentsForCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommitCommentsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommitStatusesForRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListContributors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeployKeys.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeploymentBranchPolicies.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeploymentStatuses.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListInvitations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListInvitationsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListLanguages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPagesBuilds.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPublic.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPullRequestsAssociatedWithCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListReleaseAssets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListReleases.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListWebhookDeliveries.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListWebhooks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposMerge.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposMergeUpstream.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposPingWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRedeliverWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveStatusCheckContexts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveStatusCheckProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveTeamAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposReplaceAllTopics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRequestPagesBuild.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAdminBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetStatusCheckContexts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetTeamAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTransfer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateDeploymentBranchPolicy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateInformationAboutPagesSite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateInvitation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateReleaseAsset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateStatusCheckProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateWebhookConfigForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUploadReleaseAsset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchCode.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchLabels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchRepos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchTopics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningGetAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForEnterprise.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListLocationsForAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningUpdateAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetGlobalAdvisory.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetRepositoryAdvisory.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMemberLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersAddEmailForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersAddSocialAccountForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersBlock.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckBlocked.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckFollowingForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckPersonIsFollowedByAuthenticated.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreateGpgKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreatePublicSshKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreateSshSigningKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteEmailForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteGpgKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeletePublicSshKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteSocialAccountForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteSshSigningKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersFollow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetAuthenticated.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetByUsername.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetContextForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetGpgKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetPublicSshKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetSshSigningKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListBlockedByAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListEmailsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowedByAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowersForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowersForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowingForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListGpgKeysForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListGpgKeysForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicEmailsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicKeysForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicSshKeysForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSocialAccountsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSocialAccountsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSshSigningKeysForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSshSigningKeysForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUnblock.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUnfollow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUpdateAuthenticated.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsApproveWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCancelWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateEnvironmentVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateEnvironmentSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRemoveTokenForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRemoveTokenForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRepoVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateWorkflowDispatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteActionsCacheById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteActionsCacheByKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteArtifact.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteEnvironmentSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteEnvironmentVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteRepoVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteWorkflowRunLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDisableSelectedRepositoryGithubActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDisableWorkflow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadArtifact.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadJobLogsForWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadWorkflowRunAttemptLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadWorkflowRunLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsEnableSelectedRepositoryGithubActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsEnableWorkflow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsForceCancelWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsageByRepoForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsageForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetAllowedActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetAllowedActionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetArtifact.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetCustomOidcSubClaimForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetJobForWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetPendingDeploymentsForRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetReviewsForRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowAccessToRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRunAttempt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRunUsage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowUsage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListArtifactsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListEnvironmentSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListEnvironmentVariables.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListJobsForWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListJobsForWorkflowRunAttempt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListOrgSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListOrgVariables.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoOrganizationSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoOrganizationVariables.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoVariables.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoWorkflows.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRunnerApplicationsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRunnerApplicationsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedReposForOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRunArtifacts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRunsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunJobForWorkflowRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunWorkflow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunWorkflowFailedJobs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewPendingDeploymentsForRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetWorkflowAccessToRepository.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateEnvironmentVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateOrgVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateRepoVariable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityCheckRepoIsStarredByAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityDeleteRepoSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityDeleteThreadSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetRepoSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetThread.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetThreadSubscriptionForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListNotificationsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoNotificationsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposStarredByAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposStarredByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposWatchedByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListStargazersForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListWatchedReposForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListWatchersForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkNotificationsAsRead.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkRepoNotificationsAsRead.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkThreadAsDone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkThreadAsRead.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivitySetRepoSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivitySetThreadSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityStarRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityUnstarRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCreateFromManifest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCreateInstallationAccessToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetAuthenticated.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetOrgInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetRepoInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetUserInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetWebhookConfigForApp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationReposForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationRequestsForAuthenticatedApp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlans.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListReposAccessibleToInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUserStubbed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListWebhookDeliveries.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRedeliverWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsResetToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRevokeInstallationAccessToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsSuspendInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsUnsuspendInstallation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsUpdateWebhookConfigForApp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubActionsBillingOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubActionsBillingUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubPackagesBillingOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubPackagesBillingUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetSharedStorageBillingOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetSharedStorageBillingUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListAnnotations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksRerequestRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksRerequestSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksSetSuitesPreferences.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAClassroom.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAnAssignment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAssignmentGrades.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAssignmentsForAClassroom.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListClassrooms.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningCreateVariantAnalysis.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningDeleteAnalysis.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetAnalysis.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetDefaultSetup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetSarif.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysis.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysisRepoTask.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListCodeqlDatabases.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUpdateAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUpdateDefaultSetup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUploadSarif.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.CodesOfConductGetAllCodesOfConduct.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.CodesOfConductGetConductCode.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesAddRepositoryForSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesAddSelectedRepoToOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCheckPermissionsForDevcontainer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCodespaceMachinesForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateWithPrForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateWithRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteCodespacesAccessUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteFromOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesExportForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetCodespacesForUserInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetExportDetailsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetOrgPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetPublicKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListDevcontainersInRepositoryForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListInOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListInRepositoryForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListOrgSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListRepoSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListRepositoriesForSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListSecretsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesPublishForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRemoveRepositoryForSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRemoveSelectedRepoFromOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccess.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccessUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetRepositoriesForSecretForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStartForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStopForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStopInOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesUpdateForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotAddSelectedRepoToOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotCreateOrUpdateOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotCreateOrUpdateRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotDeleteOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotDeleteRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetOrgPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetRepoPublicKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetRepoSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForEnterprise.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListOrgSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListRepoSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotRemoveSelectedRepoFromOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotSetSelectedReposForOrgSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotUpdateAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphDiffRange.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphExportSbom.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDesktopClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEmojisClient.EmojisGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEmojisClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEnterpriseTeamsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCheckIsStarred.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreateComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsFork.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetRevision.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListComments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListForks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListPublic.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListStarred.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsStar.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUnstar.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateBlob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateTag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateTree.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitDeleteRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetBlob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTree.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitUpdateRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.GitignoreGetAllTemplates.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.GitignoreGetTemplate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesAddAssignees.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesAddLabels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssigned.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssignedToIssue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateLabel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateMilestone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteLabel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteMilestone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetEvent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetLabel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetMilestone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListAssignees.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListComments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListCommentsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEventsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEventsForTimeline.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsForMilestone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsOnIssue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListMilestones.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesLock.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveAllLabels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveAssignees.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveLabel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesSetLabels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUnlock.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateLabel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateMilestone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGetAllCommonlyUsed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGetForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.MarkdownRender.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.MarkdownRenderRaw.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMergeQueueClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetAllVersions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetOctocat.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetZen.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaRoot.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.OidcGetOidcCustomSubTemplateForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.OidcUpdateOidcCustomSubTemplateForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAddSecurityManagerTeam.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsBlockUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCancelInvitation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckBlockedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckMembershipForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckPublicMembershipForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsConvertMemberToOutsideCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDeleteWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetMembershipForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetMembershipForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhookConfigForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListAppInstallations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListBlockedUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListCustomPropertiesValuesForRepos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListFailedInvitations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListInvitationTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListMembers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListMembershipsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOutsideCollaborators.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRepositories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRequestRepositories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRequests.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrants.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPublicMembers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListSecurityManagerTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListWebhookDeliveries.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListWebhooks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsPingWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRedeliverWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveCustomProperty.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveMembershipForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveOutsideCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemovePublicMembershipForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveSecurityManagerTeam.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsReviewPatGrantRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsReviewPatGrantRequestsInBulk.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetPublicMembershipForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUnblockUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdatePatAccess.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdatePatAccesses.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateWebhookConfigForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsAddCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateCard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateColumn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDeleteCard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDeleteColumn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetCard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetColumn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetPermissionForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListCards.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListCollaborators.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListColumns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsMoveCard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsMoveColumn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsRemoveCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdateCard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdateColumn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCheckIfMerged.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeletePendingReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListCommentsForReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListRequestedReviewers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviewComments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviewCommentsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviews.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsMerge.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRemoveRequestedReviewers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsSubmitReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAcceptInvitationForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddStatusCheckContexts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddTeamAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCancelPagesDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckAutomatedSecurityFixes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckPrivateVulnerabilityReporting.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckVulnerabilityAlerts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCodeownersErrors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateAutolink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitSignatureProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeployKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentBranchPolicy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentProtectionRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDispatchEvent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateFork.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreatePagesDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreatePagesSite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateUsingTemplate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeclineInvitationForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAdminBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAnEnvironment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAutolink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitSignatureProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeployKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeploymentBranchPolicy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteInvitation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteOrgRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeletePagesSite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeletePullRequestReviewProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteReleaseAsset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteRepoRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableAutomatedSecurityFixes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableDeploymentProtectionRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisablePrivateVulnerabilityReporting.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableVulnerabilityAlerts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnableAutomatedSecurityFixes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnablePrivateVulnerabilityReporting.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnableVulnerabilityAlerts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGenerateReleaseNotes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAdminBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllDeploymentProtectionRules.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllEnvironments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllStatusCheckContexts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllTopics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAppsWithAccessToProtectedBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAutolink.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranchRules.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetClones.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCollaboratorPermissionLevel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCombinedStatusForRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitActivityStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommunityProfileMetrics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCustomDeploymentProtectionRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCustomPropertiesValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeployKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeploymentBranchPolicy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeploymentStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetLatestPagesBuild.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetLatestRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesBuild.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesDeployment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesHealthCheck.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetParticipationStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPullRequestReviewProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPunchCardStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReadme.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReadmeInDirectory.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseByTag.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleSuite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleSuites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetStatusChecksProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTeamsWithAccessToProtectedBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTopPaths.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTopReferrers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetUsersWithAccessToProtectedBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetViews.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhookConfigForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListActivities.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListAutolinks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListBranches.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListBranchesForHeadCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCollaborators.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommentsForCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommitCommentsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommitStatusesForRef.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListContributors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeployKeys.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeploymentBranchPolicies.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeploymentStatuses.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListInvitations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListInvitationsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListLanguages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPagesBuilds.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPublic.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPullRequestsAssociatedWithCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListReleaseAssets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListReleases.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListWebhookDeliveries.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListWebhooks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposMerge.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposMergeUpstream.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposPingWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRedeliverWebhookDelivery.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveStatusCheckContexts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveStatusCheckProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveTeamAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposReplaceAllTopics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRequestPagesBuild.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAdminBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetStatusCheckContexts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetTeamAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTransfer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateDeploymentBranchPolicy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateInformationAboutPagesSite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateInvitation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRelease.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateReleaseAsset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateStatusCheckProtection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateWebhook.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateWebhookConfigForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUploadReleaseAsset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchCode.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchLabels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchRepos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchTopics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningGetAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForEnterprise.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListLocationsForAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningUpdateAlert.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetGlobalAdvisory.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetRepositoryAdvisory.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMemberLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersAddEmailForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersAddSocialAccountForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersBlock.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckBlocked.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckFollowingForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckPersonIsFollowedByAuthenticated.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreateGpgKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreatePublicSshKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreateSshSigningKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteEmailForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteGpgKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeletePublicSshKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteSocialAccountForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteSshSigningKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersFollow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetAuthenticated.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetByUsername.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetContextForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetGpgKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetPublicSshKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetSshSigningKeyForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListBlockedByAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListEmailsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowedByAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowersForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowersForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowingForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListGpgKeysForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListGpgKeysForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicEmailsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicKeysForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicSshKeysForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSocialAccountsForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSocialAccountsForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSshSigningKeysForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSshSigningKeysForUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUnblock.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUnfollow.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUpdateAuthenticated.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.IApi.GenerateText.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.IApi.GenerateText.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAbuseClient.GetAbuse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAbuseClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAsnClient.GetAsn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAsnClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IDomainsClient.GetDomains.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IDomainsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.Batch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.GetCurrentInformation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.GetInformationByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IPrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IPrivacyDetectionClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IRangesClient.GetRanges.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IRangesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCityByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCountryByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentCity.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentCountry.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentHostname.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentLocation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentPostal.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentRegion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentTimezone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetHostnameByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetIpByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetLocationByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetOrganizationByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetPostalByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetRegionByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetTimezoneByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAbuseClient.GetAbuse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAbuseClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAsnClient.GetAsn.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAsnClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IDomainsClient.GetDomains.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IDomainsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.Batch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.GetCurrentInformation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.GetInformationByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IPrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IPrivacyDetectionClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IRangesClient.GetRanges.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IRangesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCityByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCountryByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentCity.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentCountry.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentHostname.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentLocation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentPostal.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentRegion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentTimezone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetHostnameByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetIpByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetLocationByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetOrganizationByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetPostalByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetRegionByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetTimezoneByIp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.AddRunsToAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.CreateAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.CreateIdentityAnnotationQueueRunStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.DeleteAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.DeleteRunFromAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetAnnotationQueues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetAnnotationQueuesForRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetRunFromAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetSizeFromAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetTotalSizeFromAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.UpdateAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.UpdateRunInAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.Ok.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.DeleteApiKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.DeletePersonalAccessToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GetApiKeys.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GetPersonalAccessTokens.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.Login.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.CreateChart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.CreateSection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.DeleteChart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.DeleteSection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadChartPreview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadCharts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSections.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.UpdateChart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.UpdateSection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.CreateComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.CreateSubComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.GetComments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.GetSubComments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.LikeComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.UnlikeComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.CreateCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.GetCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.ListCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateComparativeExperiment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DeleteComparativeExperiment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DiffDatasetVersions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetCsv.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetOpenai.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetOpenaiFt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Generate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetSplits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetVersion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetVersions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetIndexInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasetShareState.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDelta.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadExamplesWithRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.RemoveIndex.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Search.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ShareDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UnshareDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetSplits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadExperiment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IEventsClient.CreateEvent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IEventsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CreateExample.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CreateExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.DeleteExample.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.DeleteExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExample.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UpdateExample.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UpdateExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UploadExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackIngestToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.DeleteFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.EagerlyCreateFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ListFeedbackIngestTokens.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ReadFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ReadFeedbacks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.UpdateFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.CreateFeedbackConfigEndpoint.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.ListFeedbackConfigsEndpoint.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.UpdateFeedbackConfigEndpoint.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IInfoClient.GetServerInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IInfoClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ILikesClient.LikeRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ILikesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.CreateNewModelPrice.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.DeleteModelPrice.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.ReadModelPriceMap.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.UpdateModelPrice.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddBasicAuthMembersToCurrentOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddMemberToCurrentOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddMembersToCurrentOrgBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ChangePaymentPlan.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ClaimPendingOrganizationInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateCustomersAndGetStripeSetupIntent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateOrganizationRoles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteCurrentOrgPendingMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteOrganizationRoles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeletePendingOrganizationInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCompanyInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentOrgMembers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentOrganizationInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetDashboard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetOrganizationBillingInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetOrganizationInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizationRoles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListPendingOrganizationInvites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListPermissions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListTtlSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.OnPaymentMethodCreated.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.RemoveMemberFromCurrentOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.SetCompanyInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentOrgMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateOrganizationRoles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.DeletePlaygroundSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.ListPlaygroundSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPromptsClient.InvokePrompt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPromptsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GetSharedRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GetSharedRunById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDelta.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedFeedbacks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.StatsSharedDatasetRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.CreateRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.DeleteRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ForkRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.GetRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepoTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.UpdateRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.BatchIngestRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.DeleteRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.GenerateQueryForRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.GroupRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRuleLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRules.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.QueryRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ReadRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ReadRunShareState.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ShareRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.StatsGroupRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.StatsRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.TriggerRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UnshareRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.CreateServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.DeleteServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.GetServiceAccounts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.GetSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.SetTenantHandle.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.CreateTenant.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.ListTenants.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateTracerSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteFilterView.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteTracerSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteTracerSessions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadFilterView.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadFilterViews.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessionsRunsMetadata.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateTracerSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.ListTtlSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.DeleteUsageLimit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.ListOrgUsageLimits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.ListUsageLimits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.UpsertUsageLimit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.AddMemberToCurrentWorkspace.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.AddMembersToCurrentWorkspaceBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.BulkUnshareEntities.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagValue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagging.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateWorkspace.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteCurrentWorkspaceMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteCurrentWorkspacePendingMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeletePendingWorkspaceInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagValue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagging.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceMembers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceUsageLimitsInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetSharedTokens.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetTagKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetTagValue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListCurrentWorkspaceSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListPendingWorkspaceInvites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagKeys.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTaggings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagsForResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListWorkspaces.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.PatchCurrentWorkspaceMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.PatchWorkspace.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpdateTagKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpdateTagValue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpsertCurrentWorkspaceSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.AddRunsToAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.CreateAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.CreateIdentityAnnotationQueueRunStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.DeleteAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.DeleteRunFromAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetAnnotationQueues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetAnnotationQueuesForRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetRunFromAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetSizeFromAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetTotalSizeFromAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.UpdateAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.UpdateRunInAnnotationQueue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.Ok.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.DeleteApiKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.DeletePersonalAccessToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GetApiKeys.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GetPersonalAccessTokens.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.Login.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.CreateChart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.CreateSection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.DeleteChart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.DeleteSection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadChartPreview.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadCharts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSections.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.UpdateChart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.UpdateSection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.CreateComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.CreateSubComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.GetComments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.GetSubComments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.LikeComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.UnlikeComment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.CreateCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.GetCommit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.ListCommits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateComparativeExperiment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DeleteComparativeExperiment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DiffDatasetVersions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetCsv.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetOpenai.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetOpenaiFt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Generate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetSplits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetVersion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetVersions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetIndexInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasetShareState.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDelta.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadExamplesWithRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.RemoveIndex.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Search.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ShareDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UnshareDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetSplits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadExperiment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IEventsClient.CreateEvent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IEventsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CreateExample.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CreateExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.DeleteExample.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.DeleteExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExample.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UpdateExample.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UpdateExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UploadExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackIngestToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.DeleteFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.EagerlyCreateFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ListFeedbackIngestTokens.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ReadFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ReadFeedbacks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.UpdateFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.CreateFeedbackConfigEndpoint.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.ListFeedbackConfigsEndpoint.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.UpdateFeedbackConfigEndpoint.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IInfoClient.GetServerInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IInfoClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ILikesClient.LikeRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ILikesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.CreateNewModelPrice.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.DeleteModelPrice.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.ReadModelPriceMap.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.UpdateModelPrice.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddBasicAuthMembersToCurrentOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddMemberToCurrentOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddMembersToCurrentOrgBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ChangePaymentPlan.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ClaimPendingOrganizationInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateCustomersAndGetStripeSetupIntent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateOrganizationRoles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteCurrentOrgPendingMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteOrganizationRoles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeletePendingOrganizationInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCompanyInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentOrgMembers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentOrganizationInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetDashboard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetOrganizationBillingInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetOrganizationInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizationRoles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListPendingOrganizationInvites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListPermissions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListTtlSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.OnPaymentMethodCreated.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.RemoveMemberFromCurrentOrg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.SetCompanyInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentOrgMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateOrganizationRoles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.DeletePlaygroundSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.ListPlaygroundSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPromptsClient.InvokePrompt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPromptsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GetSharedRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GetSharedRunById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDelta.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedFeedbacks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.StatsSharedDatasetRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.CreateRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.DeleteRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ForkRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.GetRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepoTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.UpdateRepo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.BatchIngestRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.DeleteRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.GenerateQueryForRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.GroupRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRuleLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRules.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.QueryRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ReadRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ReadRunShareState.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ShareRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.StatsGroupRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.StatsRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.TriggerRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UnshareRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.CreateServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.DeleteServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.GetServiceAccounts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.GetSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.SetTenantHandle.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.CreateTenant.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.ListTenants.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateTracerSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteFilterView.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteTracerSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteTracerSessions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadFilterView.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadFilterViews.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessionsRunsMetadata.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateTracerSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.ListTtlSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.DeleteUsageLimit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.ListOrgUsageLimits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.ListUsageLimits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.UpsertUsageLimit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.AddMemberToCurrentWorkspace.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.AddMembersToCurrentWorkspaceBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.BulkUnshareEntities.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagValue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagging.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateWorkspace.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteCurrentWorkspaceMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteCurrentWorkspacePendingMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeletePendingWorkspaceInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagValue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagging.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceMembers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceStats.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceUsageLimitsInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetSharedTokens.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetTagKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetTagValue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListCurrentWorkspaceSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListPendingWorkspaceInvites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagKeys.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagValues.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTaggings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagsForResource.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListWorkspaces.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.PatchCurrentWorkspaceMember.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.PatchWorkspace.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpdateTagKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpdateTagValue.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpsertCurrentWorkspaceSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.CreateDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.DeleteDatasetById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.GetDatasetById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.UploadDatasetImage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.UploadDatasetImageFromGen.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IElementsClient.ListElements.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IElementsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.CreateGeneration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.DeleteGenerationById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.GetGenerationById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.GetGenerationsByUserId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.DeleteInitImageById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.GetInitImageById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.UploadCanvasInitImage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.UploadInitImage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.CreateModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.DeleteModelById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.GetModelById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.ListPlatformModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IMotionClient.CreateSVDMotionGeneration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IMotionClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPricingCalculatorClient.PricingCalculator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPricingCalculatorClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.PromptImprove.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.PromptRandom.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.CreateLCMGeneration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformAlchemyUpscaleLCM.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformInpaintingLCM.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformInstantRefine.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.CreateTextureGeneration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.DeleteTextureGenerationById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.GetTextureGenerationById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.GetTextureGenerationsByModelId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IUserClient.GetUserSelf.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IUserClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateUniversalUpscalerJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationNoBG.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationUnzoom.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationUpscale.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.GetVariationById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Delete3DModelById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Get3DModelById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Get3DModelsByUserId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.UploadModelAsset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.CreateDataset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.DeleteDatasetById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.GetDatasetById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.UploadDatasetImage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.UploadDatasetImageFromGen.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IElementsClient.ListElements.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IElementsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.CreateGeneration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.DeleteGenerationById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.GetGenerationById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.GetGenerationsByUserId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.DeleteInitImageById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.GetInitImageById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.UploadCanvasInitImage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.UploadInitImage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.CreateModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.DeleteModelById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.GetModelById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.ListPlatformModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IMotionClient.CreateSVDMotionGeneration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IMotionClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPricingCalculatorClient.PricingCalculator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPricingCalculatorClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.PromptImprove.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.PromptRandom.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.CreateLCMGeneration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformAlchemyUpscaleLCM.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformInpaintingLCM.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformInstantRefine.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.CreateTextureGeneration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.DeleteTextureGenerationById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.GetTextureGenerationById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.GetTextureGenerationsByModelId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IUserClient.GetUserSelf.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IUserClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateUniversalUpscalerJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationNoBG.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationUnzoom.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationUpscale.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.GetVariationById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Delete3DModelById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Get3DModelById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Get3DModelsByUserId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.UploadModelAsset.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IAWSClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IAzureClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IBillingClient.UpcomingInvoice.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IBillingClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthAws.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthAzure.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthGcp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.CallbackGcp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.CreateGcpServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.DeleteCloudCredential.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability3.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListCredentials.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListProjects.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListRegions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.CreateCluster.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.CreateNodePool.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.DeleteCluster.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.DeleteNodePool.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListClusters.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListNodePools.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListPipelines.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.RetrieveCluster.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICredentialsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Create.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Retrieve.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IGCPClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.GetPipelineStartupLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.GetRunLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.OverallUsageSummary.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.TopPipelinesUsage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.UsedPipelines.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.Retrieve.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Clone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Create.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Delete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.HistoricalPipelineScaling.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.ListPipelinesByFamily.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.OwnedOrUsed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Patch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PatchImage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PipelineCooldown.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PipelineWarmup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Retrieve.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveAvgCost.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveByPointer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveReadme.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveScalingInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Create.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Delete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.PointersPatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IResourcesClient.SetPodInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IResourcesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.Retrieve.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.RetrieveDetailed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.StreamRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.SubmitRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Create.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Delete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.GetByName.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.GetPipelineList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Patch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Create.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Delete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Patch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Retrieve.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Validate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.GetLoggedInUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.GetUserPublicProfile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IAWSClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IAzureClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IBillingClient.UpcomingInvoice.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IBillingClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthAws.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthAzure.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthGcp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.CallbackGcp.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.CreateGcpServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.DeleteCloudCredential.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability3.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListCredentials.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListProjects.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListRegions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.CreateCluster.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.CreateNodePool.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.DeleteCluster.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.DeleteNodePool.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListClusters.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListNodePools.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListPipelines.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.RetrieveCluster.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICredentialsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Create.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Retrieve.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IGCPClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.GetPipelineStartupLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.GetRunLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.OverallUsageSummary.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.TopPipelinesUsage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.UsedPipelines.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.Retrieve.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Clone.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Create.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Delete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.HistoricalPipelineScaling.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.ListPipelinesByFamily.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.OwnedOrUsed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Patch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PatchImage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PipelineCooldown.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PipelineWarmup.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Retrieve.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveAvgCost.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveByPointer.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveReadme.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveScalingInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Create.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Delete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.PointersPatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IResourcesClient.SetPodInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IResourcesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.Retrieve.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.RetrieveDetailed.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.StreamRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.SubmitRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Create.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Delete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.GetByName.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.GetPipelineList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Patch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Create.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Delete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Patch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Retrieve.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Validate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.GetLoggedInUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.GetUserPublicProfile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.Index.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IApi.GetVersion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IChatClient.GenerateChatCompletion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ICompletionsClient.GenerateCompletion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ICompletionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IEmbeddingsClient.GenerateEmbedding.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CheckBlob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CopyModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CreateBlob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CreateModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.DeleteModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ListRunningModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.PullModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.PushModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ShowModelInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IApi.GetVersion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IChatClient.GenerateChatCompletion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ICompletionsClient.GenerateCompletion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ICompletionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IEmbeddingsClient.GenerateEmbedding.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CheckBlob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CopyModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CreateBlob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CreateModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.DeleteModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ListRunningModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.PullModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.PushModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ShowModelInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CancelRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateAssistant.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateThread.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateThreadAndRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteAssistant.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteThread.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetAssistant.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetRunStep.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetThread.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListAssistants.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListMessages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListRunSteps.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyAssistant.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyThread.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.SubmitToolOuputsToRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateSpeech.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateTranscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateTranslation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAuditLogsClient.ListAuditLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAuditLogsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.CancelBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.CreateBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.ListBatches.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.RetrieveBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IChatClient.CreateChatCompletion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ICompletionsClient.CreateCompletion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ICompletionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IEmbeddingsClient.CreateEmbedding.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.CreateFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.DeleteFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.DownloadFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.ListFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.RetrieveFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.CancelFineTuningJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTuningJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListFineTuningEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.RetrieveFineTuningJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImageEdit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImageVariation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.DeleteInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.InviteUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.ListInvites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.RetrieveInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.DeleteModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.RetrieveModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModerationsClient.CreateModeration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModerationsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IOpenAiClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ArchiveProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProjectServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProjectUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectApiKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectApiKeys.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectServiceAccounts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjects.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ModifyProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ModifyProjectUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectApiKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.AddUploadPart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CancelUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CompleteUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CreateUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.DeleteUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.ListUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.ModifyUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.RetrieveUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStore.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStoreFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.DeleteVectorStore.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.DeleteVectorStoreFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStore.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStoreFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStoreFileBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListVectorStoreFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListVectorStores.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ModifyVectorStore.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CancelRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateAssistant.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateThread.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateThreadAndRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteAssistant.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteThread.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetAssistant.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetRunStep.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetThread.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListAssistants.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListMessages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListRunSteps.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyAssistant.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyThread.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.SubmitToolOuputsToRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateSpeech.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateTranscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateTranslation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAuditLogsClient.ListAuditLogs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAuditLogsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.CancelBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.CreateBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.ListBatches.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.RetrieveBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IChatClient.CreateChatCompletion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ICompletionsClient.CreateCompletion.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ICompletionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IEmbeddingsClient.CreateEmbedding.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.CreateFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.DeleteFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.DownloadFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.ListFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.RetrieveFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.CancelFineTuningJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.CreateFineTuningJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListFineTuningEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.RetrieveFineTuningJob.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImageEdit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImageVariation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.DeleteInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.InviteUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.ListInvites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.RetrieveInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.DeleteModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.RetrieveModel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModerationsClient.CreateModeration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModerationsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IOpenAiClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ArchiveProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProjectServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProjectUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectApiKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectApiKeys.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectServiceAccounts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjects.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ModifyProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ModifyProjectUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProject.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectApiKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectServiceAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.AddUploadPart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CancelUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CompleteUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CreateUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.DeleteUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.ListUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.ModifyUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.RetrieveUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStore.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStoreFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.DeleteVectorStore.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.DeleteVectorStoreFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStore.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStoreFile.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStoreFileBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListVectorStoreFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListVectorStores.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ModifyVectorStore.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.CreatePets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.ListPets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.ShowPetById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.CreatePets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.ListPets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.ShowPetById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CancelPredictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CancelTrainings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictionsDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictionsModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateTrainings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteVersionsModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetCollections.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetPredictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetSecretDefaultWebhooks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetTrainings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetVersionsModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListCollections.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListHardware.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListPredictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListTrainings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListVersionsModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.UpdateDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CancelPredictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CancelTrainings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictionsDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictionsModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateTrainings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteVersionsModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetAccount.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetCollections.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetPredictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetSecretDefaultWebhooks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetTrainings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetVersionsModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListCollections.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListHardware.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListPredictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListTrainings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListVersionsModels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.UpdateDeployments.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.CreatePets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.ListPets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.ShowPetById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.CreatePets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.ListPets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.ShowPetById.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IChatClient.ChatCompletions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ICompletionClient.Completions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ICompletionClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IEmbeddingsClient.Embeddings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.DeleteFilesId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFilesId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFilesIdContent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTunes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTunesIdCancel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunesId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunesIdEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFinetuneDownload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IImagesClient.CreateImagesGenerations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IImagesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IModelsClient.Models.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IRerankClient.Rerank.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IRerankClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IChatClient.ChatCompletions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ICompletionClient.Completions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ICompletionClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IEmbeddingsClient.Embeddings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.DeleteFilesId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFiles.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFilesId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFilesIdContent.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.CreateFineTunes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.CreateFineTunesIdCancel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunesId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunesIdEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFinetuneDownload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IImagesClient.CreateImagesGenerations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IImagesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IModelsClient.Models.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IModelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IRerankClient.Rerank.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IRerankClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.GetAdSchedule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.SnoozeNextAd.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.StartCommercial.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.GetExtensionAnalytics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.GetGameAnalytics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetBitsLeaderboard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetCheermotes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetExtensionTransactions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICCLsClient.GetContentClassificationLabels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICCLsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.CreateCustomRewards.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.DeleteCustomReward.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.GetCustomReward.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.GetCustomRewardRedemption.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.UpdateCustomReward.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.UpdateRedemptionStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelEditors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelFollowers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelInformation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetFollowedChannels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.ModifyChannelInformation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.GetCharityCampaign.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.GetCharityCampaignDonations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChannelChatBadges.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChannelEmotes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChatSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChatters.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetEmoteSets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetGlobalChatBadges.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetGlobalEmotes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetUserChatColor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetUserEmotes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendAShoutout.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendChatAnnouncement.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendChatMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.UpdateChatSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.UpdateUserChatColor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.CreateClip.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.GetClips.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.CreateConduits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.DeleteConduit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.GetConduitShards.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.GetConduits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.UpdateConduitShards.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.UpdateConduits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.GetDropsEntitlements.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.UpdateDropsEntitlements.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.CreateEventsubSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.DeleteEventsubSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.GetEventsubSubscriptions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.CreateExtensionSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionBitsProducts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionLiveChannels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetReleasedExtensions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SendExtensionChatMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SendExtensionPubsubMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.GetGames.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.GetTopGames.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGoalsClient.GetCreatorGoals.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGoalsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.AssignGuestStarSlot.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.CreateGuestStarSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.DeleteGuestStarInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.DeleteGuestStarSlot.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.EndGuestStarSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetChannelGuestStarSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetGuestStarInvites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetGuestStarSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.SendGuestStarInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateGuestStarSlot.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IHypeTrainClient.GetHypeTrainEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IHypeTrainClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddBlockedTerm.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddChannelModerator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddChannelVip.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.BanUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.CheckAutomodStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.DeleteChatMessages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetAutomodSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetBannedUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetBlockedTerms.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetModeratedChannels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetModerators.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetShieldModeStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetUnbanRequests.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetVips.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.ManageHeldAutomodMessages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveBlockedTerm.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveChannelModerator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveChannelVip.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.ResolveUnbanRequests.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UnbanUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UpdateAutomodSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UpdateShieldModeStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.CreatePoll.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.EndPoll.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.GetPolls.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.CreatePrediction.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.EndPrediction.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.GetPredictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.CancelARaid.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.StartARaid.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.GetChannelIcalendar.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.GetChannelStreamSchedule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.UpdateChannelStreamSchedule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.SearchCategories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.SearchChannels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.CreateStreamMarker.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetFollowedStreams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreamKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreamMarkers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.CheckUserSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.GetAllStreamTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.GetStreamTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.GetChannelTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.GetTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.BlockUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserActiveExtensions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserBlockList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserExtensions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UnblockUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UpdateUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UpdateUserExtensions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.DeleteVideos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.GetVideos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IWhispersClient.SendWhisper.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IWhispersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.GetAdSchedule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.SnoozeNextAd.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.StartCommercial.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.GetExtensionAnalytics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.GetGameAnalytics.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetBitsLeaderboard.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetCheermotes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetExtensionTransactions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICCLsClient.GetContentClassificationLabels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICCLsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.CreateCustomRewards.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.DeleteCustomReward.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.GetCustomReward.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.GetCustomRewardRedemption.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.UpdateCustomReward.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.UpdateRedemptionStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelEditors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelFollowers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelInformation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetFollowedChannels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.ModifyChannelInformation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.GetCharityCampaign.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.GetCharityCampaignDonations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChannelChatBadges.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChannelEmotes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChatSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChatters.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetEmoteSets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetGlobalChatBadges.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetGlobalEmotes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetUserChatColor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetUserEmotes.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendAShoutout.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendChatAnnouncement.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendChatMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.UpdateChatSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.UpdateUserChatColor.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.CreateClip.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.GetClips.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.CreateConduits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.DeleteConduit.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.GetConduitShards.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.GetConduits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.UpdateConduitShards.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.UpdateConduits.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.GetDropsEntitlements.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.UpdateDropsEntitlements.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.CreateEventsubSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.DeleteEventsubSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.GetEventsubSubscriptions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.CreateExtensionSecret.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionBitsProducts.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionLiveChannels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetReleasedExtensions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SendExtensionChatMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SendExtensionPubsubMessage.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.GetGames.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.GetTopGames.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGoalsClient.GetCreatorGoals.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGoalsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.AssignGuestStarSlot.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.CreateGuestStarSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.DeleteGuestStarInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.DeleteGuestStarSlot.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.EndGuestStarSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetChannelGuestStarSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetGuestStarInvites.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetGuestStarSession.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.SendGuestStarInvite.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateGuestStarSlot.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IHypeTrainClient.GetHypeTrainEvents.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IHypeTrainClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddBlockedTerm.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddChannelModerator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddChannelVip.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.BanUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.CheckAutomodStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.DeleteChatMessages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetAutomodSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetBannedUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetBlockedTerms.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetModeratedChannels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetModerators.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetShieldModeStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetUnbanRequests.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetVips.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.ManageHeldAutomodMessages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveBlockedTerm.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveChannelModerator.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveChannelVip.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.ResolveUnbanRequests.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UnbanUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UpdateAutomodSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UpdateShieldModeStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.CreatePoll.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.EndPoll.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.GetPolls.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.CreatePrediction.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.EndPrediction.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.GetPredictions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.CancelARaid.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.StartARaid.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.GetChannelIcalendar.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.GetChannelStreamSchedule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.UpdateChannelStreamSchedule.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.SearchCategories.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.SearchChannels.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.CreateStreamMarker.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetFollowedStreams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreamKey.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreamMarkers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.CheckUserSubscription.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.GetAllStreamTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.GetStreamTags.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.GetChannelTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.GetTeams.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.BlockUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserActiveExtensions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserBlockList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserExtensions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUsers.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UnblockUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UpdateUser.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UpdateUserExtensions.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.DeleteVideos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.GetVideos.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IWhispersClient.SendWhisper.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IWhispersClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IApi.V1VideoStatusGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IAssetsClient.V1AssetUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IAssetsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.V1VideoDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.V2VideoGenerate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1AvatarList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1VideoList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1VoiceList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V2Avatars.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V2Voices.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAddContact.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAudienceDetail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoProjectDetail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingAvatarList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingCreateToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingIce.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingInterrupt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingNew.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingStart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingStop.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingTask.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V1TalkingPhotoList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V1TalkingPhotoUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V2TalkingPhotoIdDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2TemplateGenerate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2TemplateId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2Templates.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IUserClient.V2UserRemainingQuota.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IUserClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateIdStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateTargetLanguages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointAdd.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookWebhookList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IApi.V1VideoStatusGet.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IApi.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IAssetsClient.V1AssetUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IAssetsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.V1VideoDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.V2VideoGenerate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1AvatarList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1VideoList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1VoiceList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V2Avatars.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V2Voices.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAddContact.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAudienceDetail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoProjectDetail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingAvatarList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingCreateToken.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingIce.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingInterrupt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingNew.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingStart.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingStop.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingTask.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V1TalkingPhotoList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V1TalkingPhotoUpload.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V2TalkingPhotoIdDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2TemplateGenerate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2TemplateId.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2Templates.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IUserClient.V2UserRemainingQuota.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IUserClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateIdStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateTargetLanguages.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointAdd.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointDelete.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookWebhookList.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.g.verified.cs diff --git a/src/libs/AutoSDK.CLI/Commands/GenerateCommand.cs b/src/libs/AutoSDK.CLI/Commands/GenerateCommand.cs index 9d03db389b..2fce9446aa 100644 --- a/src/libs/AutoSDK.CLI/Commands/GenerateCommand.cs +++ b/src/libs/AutoSDK.CLI/Commands/GenerateCommand.cs @@ -111,6 +111,8 @@ private static async Task HandleAsync( .Select(x => Sources.Class(x))) .Concat(data.Methods .Select(x => Sources.Method(x))) + .Concat(data.Methods + .Select(x => Sources.MethodInterface(x))) .Concat(data.Authorizations .Select(x => Sources.Authorization(x))) .Concat([Sources.MainAuthorizationConstructor(data.Authorizations)]) diff --git a/src/libs/AutoSDK.SourceGenerators/SdkGenerator.cs b/src/libs/AutoSDK.SourceGenerators/SdkGenerator.cs index 9a4fe66060..9b10285ef4 100644 --- a/src/libs/AutoSDK.SourceGenerators/SdkGenerator.cs +++ b/src/libs/AutoSDK.SourceGenerators/SdkGenerator.cs @@ -39,6 +39,11 @@ public void Initialize(IncrementalGeneratorInitializationContext context) .SelectAndReportExceptions((x, c) => Sources.Method(x, c) .AsFileWithName(), context, Id) .AddSource(context); + data + .SelectMany(static (x, _) => x.Methods) + .SelectAndReportExceptions((x, c) => Sources.MethodInterface(x, c) + .AsFileWithName(), context, Id) + .AddSource(context); data .SelectMany(static (x, _) => x.Authorizations) .SelectAndReportExceptions((x, c) => Sources.Authorization(x, c) diff --git a/src/libs/AutoSDK/Models/EndPoint.cs b/src/libs/AutoSDK/Models/EndPoint.cs index 1d876cd91a..9ce1c0ba46 100644 --- a/src/libs/AutoSDK/Models/EndPoint.cs +++ b/src/libs/AutoSDK/Models/EndPoint.cs @@ -33,6 +33,10 @@ ImmutableArray Converters ? $"{Namespace}.{ClassName}" : $"{Namespace}.{ClassName}.{Id.ToPropertyName()}"; + public string InterfaceFileNameWithoutExtension => string.IsNullOrWhiteSpace(Path) + ? $"{Namespace}.I{ClassName}" + : $"{Namespace}.I{ClassName}.{Id.ToPropertyName()}"; + public static EndPoint FromSchema(OperationContext operation) { operation = operation ?? throw new ArgumentNullException(nameof(operation)); diff --git a/src/libs/AutoSDK/Sources/Sources.Clients.cs b/src/libs/AutoSDK/Sources/Sources.Clients.cs index e3ed6ac182..dadf46b5cc 100644 --- a/src/libs/AutoSDK/Sources/Sources.Clients.cs +++ b/src/libs/AutoSDK/Sources/Sources.Clients.cs @@ -18,7 +18,7 @@ public static string GenerateConstructors( namespace {endPoint.Namespace} {{ {(endPoint.Summary + "\nIf no httpClient is provided, a new one will be created.\nIf no baseUri is provided, the default baseUri from OpenAPI spec will be used.").ToXmlDocumentationSummary()} - public sealed partial class {endPoint.ClassName} : global::System.IDisposable + public sealed partial class {endPoint.ClassName} : global::{endPoint.Namespace}.I{endPoint.ClassName}, global::System.IDisposable {{ {endPoint.BaseUrlSummary.ToXmlDocumentationSummary(level: 8)} public const string BaseUrl = ""{endPoint.BaseUrl}""; @@ -84,4 +84,36 @@ partial void ProcessResponseContent( }} }}".RemoveBlankLinesWhereOnlyWhitespaces(); } + + + public static string GenerateInterfaces( + EndPoint endPoint) + { + var serializer = endPoint.Settings.JsonSerializerType.GetSerializer(); + var hasOptions = string.IsNullOrWhiteSpace(endPoint.Settings.JsonSerializerContext); + + return $@" +#nullable enable + +namespace {endPoint.Namespace} +{{ + {(endPoint.Summary + "\nIf no httpClient is provided, a new one will be created.\nIf no baseUri is provided, the default baseUri from OpenAPI spec will be used.").ToXmlDocumentationSummary()} + public partial interface I{endPoint.ClassName} : global::System.IDisposable + {{ + {endPoint.BaseUrlSummary.ToXmlDocumentationSummary(level: 8)} + public const string BaseUrl = ""{endPoint.BaseUrl}""; + + {string.Empty.ToXmlDocumentationSummary(level: 8)} +{(hasOptions ? $@" + {serializer.GetOptionsType()} JsonSerializerOptions {{ get; set; }}" : $@" + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext {{ get; set; }}")} + +{(endPoint.Properties.Length != 0 ? "\n" + endPoint.Properties.Select(x => $@" + {x.Summary.ToXmlDocumentationSummary(level: 8)} + public {x.Type.CSharpType} {x.Name} {{ get; }} +").Inject() : " ")} + + }} +}}".RemoveBlankLinesWhereOnlyWhitespaces(); + } } \ No newline at end of file diff --git a/src/libs/AutoSDK/Sources/Sources.Methods.cs b/src/libs/AutoSDK/Sources/Sources.Methods.cs index 9de6ee89b6..644f42e364 100644 --- a/src/libs/AutoSDK/Sources/Sources.Methods.cs +++ b/src/libs/AutoSDK/Sources/Sources.Methods.cs @@ -65,6 +65,27 @@ public partial class {endPoint.ClassName} }}".RemoveBlankLinesWhereOnlyWhitespaces(); } + public static string GenerateEndPointInterface( + EndPoint endPoint, + CancellationToken cancellationToken = default) + { + if (string.IsNullOrWhiteSpace(endPoint.Path)) + { + return GenerateInterfaces(endPoint); + } + + return $@"#nullable enable + +namespace {endPoint.Namespace} +{{ + public partial interface I{endPoint.ClassName} + {{ +{GenerateMethod(endPoint, isInterface: true)} +{GenerateExtensionMethod(endPoint, isInterface: true)} + }} +}}".RemoveBlankLinesWhereOnlyWhitespaces(); + } + public static string GetHttpMethod(string targetFramework, OperationType operationType) { targetFramework = targetFramework ?? throw new ArgumentNullException(nameof(targetFramework)); @@ -81,7 +102,7 @@ public static string GetHttpMethod(string targetFramework, OperationType operati } public static string GenerateMethod( - EndPoint endPoint) + EndPoint endPoint, bool isInterface = false) { var jsonSerializer = endPoint.Settings.JsonSerializerType.GetSerializer(); var taskType = endPoint.Stream @@ -94,7 +115,7 @@ public static string GenerateMethod( var httpCompletionOption = endPoint.Stream ? nameof(HttpCompletionOption.ResponseHeadersRead) : nameof(HttpCompletionOption.ResponseContentRead); - var cancellationTokenAttribute = endPoint.Stream + var cancellationTokenAttribute = endPoint.Stream && !isInterface ? "[global::System.Runtime.CompilerServices.EnumeratorCancellation] " : string.Empty; var cancellationTokenInsideReadAsync = endPoint.Settings.TargetFramework.StartsWith("net8", StringComparison.OrdinalIgnoreCase) @@ -106,24 +127,9 @@ public static string GenerateMethod( ContentType.Stream => "Stream", _ => "ByteArray", }; - - return $@" - {endPoint.Summary.ToXmlDocumentationSummary(level: 8)} -{endPoint.Properties.Where(x => x.ParameterLocation != null).Select(x => $@" - {x.Summary.ToXmlDocumentationForParam(x.ParameterName, level: 8)}").Inject()} -{(string.IsNullOrWhiteSpace(endPoint.RequestType.CSharpType) ? " " : @" - /// ")} - /// The token to cancel the operation with - /// - {(endPoint.IsDeprecated ? "[global::System.Obsolete(\"This method marked as deprecated.\")]" : " ")} - public async {taskType} {endPoint.MethodName}( -{endPoint.Properties.Where(x => x is { ParameterLocation: not null, IsRequired: true }).Select(x => $@" - {x.Type.CSharpType} {x.ParameterName},").Inject()} -{(string.IsNullOrWhiteSpace(endPoint.RequestType.CSharpType) ? " " : @$" - {endPoint.RequestType.CSharpTypeWithoutNullability} request,")} -{endPoint.Properties.Where(x => x is { ParameterLocation: not null, IsRequired: false }).Select(x => $@" - {x.Type.CSharpType} {x.ParameterName} = {x.ParameterDefaultValue},").Inject()} - {cancellationTokenAttribute}global::System.Threading.CancellationToken cancellationToken = default) + var body = isInterface + ? ";" + : @$" {{ {(string.IsNullOrWhiteSpace(endPoint.RequestType.CSharpType) || endPoint.RequestType.IsAnyOf ? " " : @" request = request ?? throw new global::System.ArgumentNullException(nameof(request)); @@ -219,7 +225,25 @@ public static string GenerateMethod( yield return streamedResponse; }}" : " ")} - }} + }}"; + + return $@" + {endPoint.Summary.ToXmlDocumentationSummary(level: 8)} +{endPoint.Properties.Where(x => x.ParameterLocation != null).Select(x => $@" + {x.Summary.ToXmlDocumentationForParam(x.ParameterName, level: 8)}").Inject()} +{(string.IsNullOrWhiteSpace(endPoint.RequestType.CSharpType) ? " " : @" + /// ")} + /// The token to cancel the operation with + /// + {(endPoint.IsDeprecated ? "[global::System.Obsolete(\"This method marked as deprecated.\")]" : " ")} + {(isInterface ? "" : "public async ")}{taskType} {endPoint.MethodName}( +{endPoint.Properties.Where(x => x is { ParameterLocation: not null, IsRequired: true }).Select(x => $@" + {x.Type.CSharpType} {x.ParameterName},").Inject()} +{(string.IsNullOrWhiteSpace(endPoint.RequestType.CSharpType) ? " " : @$" + {endPoint.RequestType.CSharpTypeWithoutNullability} request,")} +{endPoint.Properties.Where(x => x is { ParameterLocation: not null, IsRequired: false }).Select(x => $@" + {x.Type.CSharpType} {x.ParameterName} = {x.ParameterDefaultValue},").Inject()} + {cancellationTokenAttribute}global::System.Threading.CancellationToken cancellationToken = default){body} ".RemoveBlankLinesWhereOnlyWhitespaces(); } @@ -311,7 +335,7 @@ public static string GenerateRequestData( } public static string GenerateExtensionMethod( - EndPoint endPoint) + EndPoint endPoint, bool isInterface = false) { if (string.IsNullOrWhiteSpace(endPoint.RequestType.CSharpType) || endPoint.RequestType.IsArray || @@ -329,7 +353,7 @@ public static string GenerateExtensionMethod( : string.IsNullOrWhiteSpace(endPoint.ResponseType.CSharpType) ? "global::System.Threading.Tasks.Task" : $"global::System.Threading.Tasks.Task<{endPoint.ResponseType.CSharpTypeWithoutNullability}>"; - var cancellationTokenAttribute = endPoint.Stream + var cancellationTokenAttribute = endPoint.Stream && !isInterface ? "[global::System.Runtime.CompilerServices.EnumeratorCancellation] " : string.Empty; var response = endPoint.Stream @@ -340,20 +364,9 @@ public static string GenerateExtensionMethod( var configureAwaitResponse = !endPoint.Stream ? ".ConfigureAwait(false)" : string.Empty; - - return $@" - {endPoint.Summary.ToXmlDocumentationSummary(level: 8)} -{endPoint.Properties.Where(static x => x is { IsDeprecated: false } or { IsRequired:true }).Select(x => $@" - {x.Summary.ToXmlDocumentationForParam(x.ParameterName, level: 8)}").Inject()} - /// The token to cancel the operation with - /// - {(endPoint.IsDeprecated ? "[global::System.Obsolete(\"This method marked as deprecated.\")]" : " ")} - public async {taskType} {endPoint.MethodName}( -{endPoint.Properties.Where(static x => x.IsRequired).Select(x => $@" - {x.Type.CSharpType} {x.ParameterName},").Inject()} -{endPoint.Properties.Where(static x => x is { IsRequired: false, IsDeprecated: false }).Select(x => $@" - {x.Type.CSharpType} {x.ParameterName} = {x.ParameterDefaultValue},").Inject()} - {cancellationTokenAttribute}global::System.Threading.CancellationToken cancellationToken = default) + var body = isInterface + ? ";" + : @$" {{ var request = new {endPoint.RequestType.CSharpTypeWithoutNullability} {{ @@ -372,7 +385,21 @@ public static string GenerateExtensionMethod( { yield return response; }" : " ")} - }} + }}"; + + return $@" + {endPoint.Summary.ToXmlDocumentationSummary(level: 8)} +{endPoint.Properties.Where(static x => x is { IsDeprecated: false } or { IsRequired:true }).Select(x => $@" + {x.Summary.ToXmlDocumentationForParam(x.ParameterName, level: 8)}").Inject()} + /// The token to cancel the operation with + /// + {(endPoint.IsDeprecated ? "[global::System.Obsolete(\"This method marked as deprecated.\")]" : " ")} + {(isInterface ? "" : "public async ")}{taskType} {endPoint.MethodName}( +{endPoint.Properties.Where(static x => x.IsRequired).Select(x => $@" + {x.Type.CSharpType} {x.ParameterName},").Inject()} +{endPoint.Properties.Where(static x => x is { IsRequired: false, IsDeprecated: false }).Select(x => $@" + {x.Type.CSharpType} {x.ParameterName} = {x.ParameterDefaultValue},").Inject()} + {cancellationTokenAttribute}global::System.Threading.CancellationToken cancellationToken = default){body} ".RemoveBlankLinesWhereOnlyWhitespaces(); } } \ No newline at end of file diff --git a/src/libs/AutoSDK/Sources/Sources.cs b/src/libs/AutoSDK/Sources/Sources.cs index 6a4af2776e..e7cc7e12a2 100644 --- a/src/libs/AutoSDK/Sources/Sources.cs +++ b/src/libs/AutoSDK/Sources/Sources.cs @@ -166,6 +166,15 @@ public static FileWithName Method( Text: GenerateEndPoint(endPoint, cancellationToken: cancellationToken)); } + public static FileWithName MethodInterface( + EndPoint endPoint, + CancellationToken cancellationToken = default) + { + return new FileWithName( + Name: $"{endPoint.InterfaceFileNameWithoutExtension}.g.cs", + Text: GenerateEndPointInterface(endPoint, cancellationToken: cancellationToken)); + } + public static FileWithName Authorization( Authorization authorization, CancellationToken cancellationToken = default) diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.Api.g.verified.cs index db42405a59..94234ec9cc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. /// - public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ChatClient.g.verified.cs index 138691ea9d..b4ee56eba4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ChatClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.CompletionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.CompletionClient.g.verified.cs index f69b349a2e..0e2da3339a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.CompletionClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.CompletionClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CompletionClient : global::System.IDisposable + public sealed partial class CompletionClient : global::G.ICompletionClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.CustomModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.CustomModelsClient.g.verified.cs index 2408d8be02..d1f8bdd896 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.CustomModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.CustomModelsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CustomModelsClient : global::System.IDisposable + public sealed partial class CustomModelsClient : global::G.ICustomModelsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs index b88fb175e6..8d8f3a8a95 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DatasetsClient : global::System.IDisposable + public sealed partial class DatasetsClient : global::G.IDatasetsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.GrammaticalErrorCorrectionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.GrammaticalErrorCorrectionsClient.g.verified.cs index cb9124de3a..2bafc012c6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.GrammaticalErrorCorrectionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.GrammaticalErrorCorrectionsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GrammaticalErrorCorrectionsClient : global::System.IDisposable + public sealed partial class GrammaticalErrorCorrectionsClient : global::G.IGrammaticalErrorCorrectionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.verified.cs new file mode 100644 index 0000000000..88b05fb364 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IApi.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Convert Document File + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ConvertDocumentFileStudioV1ChatFilesConvertPostAsync( + global::G.BodyConvertDocumentFileStudioV1ChatFilesConvertPost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Convert Document File + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ConvertDocumentFileStudioV1ChatFilesConvertPostAsync( + global::System.Collections.Generic.IList files, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1Answer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1Answer.g.verified.cs new file mode 100644 index 0000000000..d8c14780e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1Answer.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IApi.V1Answer.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Answer + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1AnswerAsync( + global::G.AnswerBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Answer + /// + /// + /// + /// + /// An enumeration. + /// + /// + /// An enumeration. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1AnswerAsync( + string context, + string question, + global::G.AnswerLength? answerLength = default, + global::G.Mode? mode = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1ConversationalRag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1ConversationalRag.g.verified.cs new file mode 100644 index 0000000000..b8d045e131 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1ConversationalRag.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IApi.V1ConversationalRag.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Conversational Rag + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1ConversationalRagAsync( + global::G.ConversationalRagFlowPublicFields request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Conversational Rag + /// + /// + /// messages + /// + /// + /// + /// + /// + /// Default Value: 15 + /// + /// + /// Default Value: default + /// + /// + /// Default Value: 0.8 + /// + /// + /// + /// Default Value: 0.98 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1ConversationalRagAsync( + global::System.Collections.Generic.IList messages, + string? path = default, + global::System.Collections.Generic.IList? labels = default, + global::System.Collections.Generic.IList? fileIds = default, + int maxSegments = 15, + global::G.ConversationalRagFlowPublicFieldsRetrievalStrategy? retrievalStrategy = global::G.ConversationalRagFlowPublicFieldsRetrievalStrategy.Default, + double retrievalSimilarityThreshold = 0.8, + int maxNeighbors = default, + double hybridSearchAlpha = 0.98, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1Embed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1Embed.g.verified.cs new file mode 100644 index 0000000000..017b218618 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.V1Embed.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IApi.V1Embed.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Embed + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1EmbedAsync( + global::G.EmbeddingsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Embed + /// + /// + /// + /// Default Value: segment + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1EmbedAsync( + global::System.Collections.Generic.IList texts, + global::G.AllOf? type = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..2e1061b876 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,86 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// Access our powerful language models using an API that makes you smile
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// + /// + public JambaCompleteClient JambaComplete { get; } + + /// + /// + /// + public CompletionClient Completion { get; } + + /// + /// + /// + public CustomModelsClient CustomModels { get; } + + /// + /// + /// + public DatasetsClient Datasets { get; } + + /// + /// + /// + public ParaphraseClient Paraphrase { get; } + + /// + /// + /// + public SummarizeClient Summarize { get; } + + /// + /// + /// + public SegmentationClient Segmentation { get; } + + /// + /// + /// + public GrammaticalErrorCorrectionsClient GrammaticalErrorCorrections { get; } + + /// + /// + /// + public LibraryManagementClient LibraryManagement { get; } + + /// + /// + /// + public RAGEngineClient RAGEngine { get; } + + /// + /// + /// + public ChatClient Chat { get; } + + /// + /// + /// + public TokenizeClient Tokenize { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IChatClient.V1J2UltraChat.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IChatClient.V1J2UltraChat.g.verified.cs new file mode 100644 index 0000000000..c84bbf0b5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IChatClient.V1J2UltraChat.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IChatClient.V1J2UltraChat.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// j2-ultra chat + /// + /// + /// Default Value: j2-ultra + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraChatAsync( + global::G.LanguageStudioApiServerDataTypesJ2ChatChatRequest request, + string? model = "j2-ultra", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-ultra chat + /// + /// + /// Default Value: j2-ultra + /// + /// + /// messages + /// + /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0.7 + /// + /// + /// Default Value: 300 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraChatAsync( + global::System.Collections.Generic.IList messages, + string system, + string? model = "j2-ultra", + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int numResults = 1, + double temperature = 0.7, + int maxTokens = 300, + int minTokens = 0, + double topP = 1, + int topKReturn = 0, + global::System.Collections.Generic.IList? stopSequences = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..9fc2259c3f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeComplete.g.verified.cs new file mode 100644 index 0000000000..c2b7d2fa03 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2GrandeComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-grande complete + /// + /// + /// Default Value: j2-grande + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-grande", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-grande complete + /// + /// + /// Default Value: j2-grande + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeCompleteAsync( + string prompt, + string? model = "j2-grande", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeCustomModelComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeCustomModelComplete.g.verified.cs new file mode 100644 index 0000000000..3163668c13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeCustomModelComplete.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2GrandeCustomModelComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-grande complete + /// + /// + /// + /// Default Value: j2-grande + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeCustomModelCompleteAsync( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-grande", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-grande complete + /// + /// + /// + /// Default Value: j2-grande + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeCustomModelCompleteAsync( + string customModelName, + string prompt, + string? customModelType = "j2-grande", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeInstructComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeInstructComplete.g.verified.cs new file mode 100644 index 0000000000..e31025f3db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2GrandeInstructComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2GrandeInstructComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-grande-instruct complete + /// + /// + /// Default Value: j2-grande-instruct + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeInstructCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-grande-instruct", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-grande-instruct complete + /// + /// + /// Default Value: j2-grande-instruct + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeInstructCompleteAsync( + string prompt, + string? model = "j2-grande-instruct", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboComplete.g.verified.cs new file mode 100644 index 0000000000..892934b132 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2JumboComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-jumbo complete + /// + /// + /// Default Value: j2-jumbo + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-jumbo", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-jumbo complete + /// + /// + /// Default Value: j2-jumbo + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboCompleteAsync( + string prompt, + string? model = "j2-jumbo", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboComplete2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboComplete2.g.verified.cs new file mode 100644 index 0000000000..fea1184d48 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboComplete2.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2JumboComplete2.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-jumbo complete + /// + /// + /// + /// Default Value: j2-jumbo + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboComplete2Async( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-jumbo", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-jumbo complete + /// + /// + /// + /// Default Value: j2-jumbo + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboComplete2Async( + string customModelName, + string prompt, + string? customModelType = "j2-jumbo", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboInstructComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboInstructComplete.g.verified.cs new file mode 100644 index 0000000000..fec2424097 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2JumboInstructComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2JumboInstructComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-jumbo-instruct complete + /// + /// + /// Default Value: j2-jumbo-instruct + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboInstructCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-jumbo-instruct", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-jumbo-instruct complete + /// + /// + /// Default Value: j2-jumbo-instruct + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboInstructCompleteAsync( + string prompt, + string? model = "j2-jumbo-instruct", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeComplete.g.verified.cs new file mode 100644 index 0000000000..8c51238086 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2LargeComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-large complete + /// + /// + /// Default Value: j2-large + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-large", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-large complete + /// + /// + /// Default Value: j2-large + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeCompleteAsync( + string prompt, + string? model = "j2-large", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeCustomModelComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeCustomModelComplete.g.verified.cs new file mode 100644 index 0000000000..4dd929ccb7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeCustomModelComplete.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2LargeCustomModelComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-large complete + /// + /// + /// + /// Default Value: j2-large + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeCustomModelCompleteAsync( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-large", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-large complete + /// + /// + /// + /// Default Value: j2-large + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeCustomModelCompleteAsync( + string customModelName, + string prompt, + string? customModelType = "j2-large", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeInstructComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeInstructComplete.g.verified.cs new file mode 100644 index 0000000000..a2bca57e8c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LargeInstructComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2LargeInstructComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-large-instruct complete + /// + /// + /// Default Value: j2-large-instruct + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeInstructCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-large-instruct", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-large-instruct complete + /// + /// + /// Default Value: j2-large-instruct + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeInstructCompleteAsync( + string prompt, + string? model = "j2-large-instruct", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LightComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LightComplete.g.verified.cs new file mode 100644 index 0000000000..85bc090c27 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LightComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2LightComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-light complete + /// + /// + /// Default Value: j2-light + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LightCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-light", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-light complete + /// + /// + /// Default Value: j2-light + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LightCompleteAsync( + string prompt, + string? model = "j2-light", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LightCustomModelComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LightCustomModelComplete.g.verified.cs new file mode 100644 index 0000000000..c28186c505 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2LightCustomModelComplete.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2LightCustomModelComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-light complete + /// + /// + /// + /// Default Value: j2-light + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LightCustomModelCompleteAsync( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-light", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-light complete + /// + /// + /// + /// Default Value: j2-light + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LightCustomModelCompleteAsync( + string customModelName, + string prompt, + string? customModelType = "j2-light", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2MidComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2MidComplete.g.verified.cs new file mode 100644 index 0000000000..1314939ee8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2MidComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2MidComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-mid complete + /// + /// + /// Default Value: j2-mid + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2MidCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-mid", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-mid complete + /// + /// + /// Default Value: j2-mid + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2MidCompleteAsync( + string prompt, + string? model = "j2-mid", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2MidCustomModelComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2MidCustomModelComplete.g.verified.cs new file mode 100644 index 0000000000..133d929857 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2MidCustomModelComplete.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2MidCustomModelComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-mid complete + /// + /// + /// + /// Default Value: j2-mid + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2MidCustomModelCompleteAsync( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-mid", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-mid complete + /// + /// + /// + /// Default Value: j2-mid + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2MidCustomModelCompleteAsync( + string customModelName, + string prompt, + string? customModelType = "j2-mid", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2UltraComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2UltraComplete.g.verified.cs new file mode 100644 index 0000000000..5c5c2e1535 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2UltraComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2UltraComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-ultra complete + /// + /// + /// Default Value: j2-ultra + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-ultra", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-ultra complete + /// + /// + /// Default Value: j2-ultra + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraCompleteAsync( + string prompt, + string? model = "j2-ultra", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2UltraComplete2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2UltraComplete2.g.verified.cs new file mode 100644 index 0000000000..2cf1ec43a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.V1J2UltraComplete2.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2UltraComplete2.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-ultra complete + /// + /// + /// + /// Default Value: j2-ultra + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraComplete2Async( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-ultra", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-ultra complete + /// + /// + /// + /// Default Value: j2-ultra + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraComplete2Async( + string customModelName, + string prompt, + string? customModelType = "j2-ultra", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.g.verified.cs new file mode 100644 index 0000000000..1af142b2bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICompletionClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICompletionClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICompletionClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1CreateCustomModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1CreateCustomModel.g.verified.cs new file mode 100644 index 0000000000..5684dbf3ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1CreateCustomModel.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ICustomModelsClient.V1CreateCustomModel.g.cs +#nullable enable + +namespace G +{ + public partial interface ICustomModelsClient + { + /// + /// Create Custom Model + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1CreateCustomModelAsync( + global::G.CustomModelInput request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Custom Model + /// + /// + /// An enumeration. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1CreateCustomModelAsync( + global::G.CustomModelType modelType, + string datasetId, + string modelName, + double learningRate = default, + int numEpochs = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1GetCustomModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1GetCustomModel.g.verified.cs new file mode 100644 index 0000000000..6f2b9be372 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1GetCustomModel.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ICustomModelsClient.V1GetCustomModel.g.cs +#nullable enable + +namespace G +{ + public partial interface ICustomModelsClient + { + /// + /// Get Custom Model + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1GetCustomModelAsync( + string customModelPid, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1GetCustomModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1GetCustomModels.g.verified.cs new file mode 100644 index 0000000000..27fcaac62e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1GetCustomModels.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICustomModelsClient.V1GetCustomModels.g.cs +#nullable enable + +namespace G +{ + public partial interface ICustomModelsClient + { + /// + /// Get Custom Models List + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1GetCustomModelsAsync( + bool includeMetadata = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1UpdateCustomModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1UpdateCustomModel.g.verified.cs new file mode 100644 index 0000000000..f3ee24711e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.V1UpdateCustomModel.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ICustomModelsClient.V1UpdateCustomModel.g.cs +#nullable enable + +namespace G +{ + public partial interface ICustomModelsClient + { + /// + /// Update Model + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1UpdateCustomModelAsync( + string customModelPid, + global::G.CustomModelUpdateBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Model + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1UpdateCustomModelAsync( + string customModelPid, + int defaultEpoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.g.verified.cs new file mode 100644 index 0000000000..a8231a378f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ICustomModelsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICustomModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICustomModelsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1DeleteDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1DeleteDataset.g.verified.cs new file mode 100644 index 0000000000..71c45e4320 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1DeleteDataset.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IDatasetsClient.V1DeleteDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Delete Dataset + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1DeleteDatasetAsync( + string datasetPid, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDataset.g.verified.cs new file mode 100644 index 0000000000..37f6a8c645 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDataset.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IDatasetsClient.V1GetDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Dataset Get + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1GetDatasetAsync( + string datasetPid, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDatasetDownloadUrl.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDatasetDownloadUrl.g.verified.cs new file mode 100644 index 0000000000..0313efc50f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDatasetDownloadUrl.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDatasetsClient.V1GetDatasetDownloadUrl.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Dataset Download Url + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1GetDatasetDownloadUrlAsync( + string datasetPid, + string datasetName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDatasets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDatasets.g.verified.cs new file mode 100644 index 0000000000..ec89765e66 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1GetDatasets.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IDatasetsClient.V1GetDatasets.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Dataset List + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1GetDatasetsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1UploadDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1UploadDataset.g.verified.cs new file mode 100644 index 0000000000..373bb2d0dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.V1UploadDataset.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IDatasetsClient.V1UploadDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Add Dataset + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1UploadDatasetAsync( + global::G.BodyV1UploadDataset request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add Dataset + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 0.1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1UploadDatasetAsync( + byte[] datasetFile, + string datasetFilename, + string datasetName, + string? selectedColumns = default, + bool approveWhitespaceCorrection = default, + bool deleteLongRows = default, + double splitRatio = 0.1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs new file mode 100644 index 0000000000..f30c7a32a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDatasetsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDatasetsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IGrammaticalErrorCorrectionsClient.V1Corrections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IGrammaticalErrorCorrectionsClient.V1Corrections.g.verified.cs new file mode 100644 index 0000000000..eed05ceb06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IGrammaticalErrorCorrectionsClient.V1Corrections.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IGrammaticalErrorCorrectionsClient.V1Corrections.g.cs +#nullable enable + +namespace G +{ + public partial interface IGrammaticalErrorCorrectionsClient + { + /// + /// Grammatical Error Corrections + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1CorrectionsAsync( + global::G.CorrectionsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Grammatical Error Corrections + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1CorrectionsAsync( + string text, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IGrammaticalErrorCorrectionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IGrammaticalErrorCorrectionsClient.g.verified.cs new file mode 100644 index 0000000000..90a1f8446c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IGrammaticalErrorCorrectionsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGrammaticalErrorCorrectionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGrammaticalErrorCorrectionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IJambaCompleteClient.V1ChatComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IJambaCompleteClient.V1ChatComplete.g.verified.cs new file mode 100644 index 0000000000..5f2fb5c4b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IJambaCompleteClient.V1ChatComplete.g.verified.cs @@ -0,0 +1,81 @@ +//HintName: G.IJambaCompleteClient.V1ChatComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IJambaCompleteClient + { + /// + /// Chat Complete
+ /// This is the endpoint for the [Jamba Instruct model](https://docs.ai21.com/docs/jamba-models).
+ /// This is a foundation model that supports both single-turn (question answering,
+ /// text completion) and multi-turn (chat style) interactions.
+ /// You can optionally stream results if you want to get the response as each
+ /// token is generated, rather than waiting for the entire response. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> V1ChatCompleteAsync( + string authorization, + global::G.LanguageStudioApiServerDataTypesChatChatRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Chat Complete
+ /// This is the endpoint for the [Jamba Instruct model](https://docs.ai21.com/docs/jamba-models).
+ /// This is a foundation model that supports both single-turn (question answering,
+ /// text completion) and multi-turn (chat style) interactions.
+ /// You can optionally stream results if you want to get the response as each
+ /// token is generated, rather than waiting for the entire response. + ///
+ /// + /// + /// An enumeration. + /// + /// + /// messages + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 4096 + /// + /// + /// + /// Default Value: 1 + /// + /// + /// + /// Whether or not to stream the result one token at a time using
+ /// [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).
+ /// This can be useful when waiting for long results where a long wait time for an
+ /// answer can be problematic, such as a chatbot. If set to `True`, then `n` must
+ /// be 1. A streaming response is different than the non-streaming response.
+ /// Default Value: false + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> V1ChatCompleteAsync( + string authorization, + global::G.ModelName model, + global::System.Collections.Generic.IList> messages, + global::System.Collections.Generic.IList? tools = default, + int n = 1, + int maxTokens = 4096, + double temperature = default, + double topP = 1, + global::G.AnyOf>? stop = default, + bool stream = false, + global::G.MockResponseConfig? mockResponse = default, + global::System.Collections.Generic.IList? documents = default, + global::G.AllOf? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IJambaCompleteClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IJambaCompleteClient.g.verified.cs new file mode 100644 index 0000000000..0ae9acb513 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IJambaCompleteClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IJambaCompleteClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IJambaCompleteClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryDelete.g.verified.cs new file mode 100644 index 0000000000..ac06da74bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryDelete.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ILibraryManagementClient.V1LibraryDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface ILibraryManagementClient + { + /// + /// Delete File
+ /// Delete the specified file from the library.
+ /// **Restrictions**:
+ /// Files in `PROCESSING` status cannot be deleted. Attempts to delete such files will result in a <span style="color:red">422</span> error. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryDeleteAsync( + global::System.Guid fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement.g.verified.cs new file mode 100644 index 0000000000..5b4b7d81e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ILibraryManagementClient.V1LibraryManagement.g.cs +#nullable enable + +namespace G +{ + public partial interface ILibraryManagementClient + { + /// + /// Get Organization Files
+ /// Get metadata about a specific file by file ID. The file ID is generated by
+ /// AI21 when you upload the file. + ///
+ /// + /// + /// + /// An enumeration. + /// + /// + /// + /// Default Value: 1000 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> V1LibraryManagementAsync( + string? name = default, + string? path = default, + global::G.FileStatus? status = default, + global::System.Collections.Generic.IList? label = default, + int limit = 1000, + int offset = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement2.g.verified.cs new file mode 100644 index 0000000000..3ae18572c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement2.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ILibraryManagementClient.V1LibraryManagement2.g.cs +#nullable enable + +namespace G +{ + public partial interface ILibraryManagementClient + { + /// + /// Get File By Id
+ /// Retrieve a list of documents in the user's library. Optionally specify a
+ /// filter to find only files with matching labels or paths. This method
+ /// returns only metadata about files; to download a file, call
+ /// `GET .../files/{file_id}/download`
+ /// When specifying qualifiers with your request, only files that match
+ /// _all_ qualifiers will be returns. So, for example, if you specify
+ /// `label='financial'` and `status='UPLOADED'`, only files with the label
+ /// "financial" AND status UPLOADED will be returned. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryManagement2Async( + global::System.Guid fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement3.g.verified.cs new file mode 100644 index 0000000000..a27c400393 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryManagement3.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.ILibraryManagementClient.V1LibraryManagement3.g.cs +#nullable enable + +namespace G +{ + public partial interface ILibraryManagementClient + { + /// + /// Update File
+ /// Update the specified parameters of a specific document in the user's library.
+ /// This operation currently supports updating the publicUrl and labels parameters.
+ /// > **This operation overwrites the specified items with the new data you provide.**
+ /// > If you wish to add new labels to the labels list without removing the existing ones,
+ /// > you must submit a labels list that includes both the current and new labels.**
+ /// >
+ /// > For instance, if the current labels are "Label A" and "Label B", and you wish to
+ /// > add "New Label C" and "New Label D" to the list, you must specify `"labels": ["Label A", "Label B", "New Label C", "New Label D"]`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryManagement3Async( + global::System.Guid fileId, + global::G.FilesUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update File
+ /// Update the specified parameters of a specific document in the user's library.
+ /// This operation currently supports updating the publicUrl and labels parameters.
+ /// > **This operation overwrites the specified items with the new data you provide.**
+ /// > If you wish to add new labels to the labels list without removing the existing ones,
+ /// > you must submit a labels list that includes both the current and new labels.**
+ /// >
+ /// > For instance, if the current labels are "Label A" and "Label B", and you wish to
+ /// > add "New Label C" and "New Label D" to the list, you must specify `"labels": ["Label A", "Label B", "New Label C", "New Label D"]`. + ///
+ /// + /// + /// The public URL of the file, if any. This URL is not validated by
+ /// AI21 or used in any way. It is strictly a piece of metadata that you can
+ /// optionally attach to a file. + /// + /// + /// Any labels to associate with this file. Separate multiple labels with commas. If
+ /// provided, will overwrite all existing labels. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryManagement3Async( + global::System.Guid fileId, + string? publicUrl = default, + global::System.Collections.Generic.IList? labels = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryUpload.g.verified.cs new file mode 100644 index 0000000000..087445e051 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.V1LibraryUpload.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ILibraryManagementClient.V1LibraryUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface ILibraryManagementClient + { + /// + /// Upload Organization File
+ /// Upload files to use for [RAG Engine document searches](https://docs.ai21.com/docs/rag-engine-overview).
+ /// You can assign metadata to your files to limit searches to specific files by file metadata.
+ /// There is no bulk upload method; files must be loaded one at a time.
+ /// - **Max number of files:** No limit. The playground limits bulk uploads to 50 files per request.
+ /// - **Max library size:** 1 GB total size. No limit to individual file size.
+ /// - **Supported file types:** PDF, DocX, HTML, TXT + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryUploadAsync( + global::G.BodyV1LibraryUpload request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload Organization File
+ /// Upload files to use for [RAG Engine document searches](https://docs.ai21.com/docs/rag-engine-overview).
+ /// You can assign metadata to your files to limit searches to specific files by file metadata.
+ /// There is no bulk upload method; files must be loaded one at a time.
+ /// - **Max number of files:** No limit. The playground limits bulk uploads to 50 files per request.
+ /// - **Max library size:** 1 GB total size. No limit to individual file size.
+ /// - **Supported file types:** PDF, DocX, HTML, TXT + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryUploadAsync( + byte[] file, + string filename, + string? path = default, + global::System.Collections.Generic.IList? labels = default, + string? publicUrl = default, + string? customConfigs = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.g.verified.cs new file mode 100644 index 0000000000..4651733997 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ILibraryManagementClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ILibraryManagementClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILibraryManagementClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IParaphraseClient.V1Paraphraze.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IParaphraseClient.V1Paraphraze.g.verified.cs new file mode 100644 index 0000000000..193829ed49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IParaphraseClient.V1Paraphraze.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IParaphraseClient.V1Paraphraze.g.cs +#nullable enable + +namespace G +{ + public partial interface IParaphraseClient + { + /// + /// Paraphrase + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1ParaphrazeAsync( + global::G.ParaphraseBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Paraphrase + /// + /// + /// + /// Default Value: general + /// + /// + /// Default Value: 0 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1ParaphrazeAsync( + string text, + global::G.AllOf? style = default, + int startIndex = 0, + int endIndex = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IParaphraseClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IParaphraseClient.g.verified.cs new file mode 100644 index 0000000000..c00ecbd5a9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IParaphraseClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IParaphraseClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IParaphraseClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibraryAnswer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibraryAnswer.g.verified.cs new file mode 100644 index 0000000000..d527195792 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibraryAnswer.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IRAGEngineClient.V1LibraryAnswer.g.cs +#nullable enable + +namespace G +{ + public partial interface IRAGEngineClient + { + /// + /// Answer + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryAnswerAsync( + global::G.LibraryAnswerRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Answer + /// + /// + /// + /// + /// + /// + /// + /// An enumeration. + /// + /// + /// An enumeration. + /// + /// + /// Default Value: default + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryAnswerAsync( + string question, + int maxSegments = default, + string? path = default, + global::System.Collections.Generic.IList? labels = default, + global::System.Collections.Generic.IList? fileIds = default, + global::G.AnswerLength? answerLength = default, + global::G.Mode? mode = default, + global::G.AllOf? retrievalStrategy = default, + double retrievalSimilarityThreshold = default, + double hybridSearchAlpha = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibraryManagement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibraryManagement.g.verified.cs new file mode 100644 index 0000000000..a7bc228ea1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibraryManagement.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IRAGEngineClient.V1LibraryManagement.g.cs +#nullable enable + +namespace G +{ + public partial interface IRAGEngineClient + { + /// + /// Generate Documents Signed Url + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryManagementAsync( + global::System.Guid fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibrarySearch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibrarySearch.g.verified.cs new file mode 100644 index 0000000000..89d21eb233 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.V1LibrarySearch.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IRAGEngineClient.V1LibrarySearch.g.cs +#nullable enable + +namespace G +{ + public partial interface IRAGEngineClient + { + /// + /// Search + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibrarySearchAsync( + global::G.LibrarySearchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Search + /// + /// + /// + /// + /// + /// + /// + /// Default Value: default + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibrarySearchAsync( + string query, + int maxSegments = default, + string? path = default, + global::System.Collections.Generic.IList? labels = default, + global::System.Collections.Generic.IList? fileIds = default, + global::G.AllOf? retrievalStrategy = default, + int maxNeighbors = 1, + double retrievalSimilarityThreshold = default, + double hybridSearchAlpha = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.g.verified.cs new file mode 100644 index 0000000000..353748128a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.IRAGEngineClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRAGEngineClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRAGEngineClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISegmentationClient.V1Segmentation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISegmentationClient.V1Segmentation.g.verified.cs new file mode 100644 index 0000000000..28c36a735e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISegmentationClient.V1Segmentation.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ISegmentationClient.V1Segmentation.g.cs +#nullable enable + +namespace G +{ + public partial interface ISegmentationClient + { + /// + /// Segmentation + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SegmentationAsync( + global::G.SegmentationBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Segmentation + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SegmentationAsync( + global::G.DocumentType sourceType, + string source, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISegmentationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISegmentationClient.g.verified.cs new file mode 100644 index 0000000000..8c66059dff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISegmentationClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISegmentationClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISegmentationClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.V1Summarize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.V1Summarize.g.verified.cs new file mode 100644 index 0000000000..03df4a1031 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.V1Summarize.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ISummarizeClient.V1Summarize.g.cs +#nullable enable + +namespace G +{ + public partial interface ISummarizeClient + { + /// + /// Summarize + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SummarizeAsync( + global::G.SummarizeBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Summarize + /// + /// + /// + /// An enumeration. + /// + /// + /// + /// An enumeration. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SummarizeAsync( + string source, + global::G.DocumentType sourceType, + string? focus = default, + global::G.SummaryMethod? summaryMethod = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.V1SummarizeBySegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.V1SummarizeBySegment.g.verified.cs new file mode 100644 index 0000000000..812e1a6039 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.V1SummarizeBySegment.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ISummarizeClient.V1SummarizeBySegment.g.cs +#nullable enable + +namespace G +{ + public partial interface ISummarizeClient + { + /// + /// Segmented Summarize + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SummarizeBySegmentAsync( + global::G.SegmentedSummaryBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Segmented Summarize + /// + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SummarizeBySegmentAsync( + string source, + global::G.DocumentType sourceType, + string? focus = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.g.verified.cs new file mode 100644 index 0000000000..fa9202963c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ISummarizeClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISummarizeClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISummarizeClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ITokenizeClient.V1Tokenize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ITokenizeClient.V1Tokenize.g.verified.cs new file mode 100644 index 0000000000..7397dd4d13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ITokenizeClient.V1Tokenize.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITokenizeClient.V1Tokenize.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokenizeClient + { + /// + /// Tokenize + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1TokenizeAsync( + global::G.TokenizeBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Tokenize + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1TokenizeAsync( + string text, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ITokenizeClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ITokenizeClient.g.verified.cs new file mode 100644 index 0000000000..f8b3f730c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ITokenizeClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITokenizeClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITokenizeClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.JambaCompleteClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.JambaCompleteClient.g.verified.cs index bf48ada613..3b8cd6653a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.JambaCompleteClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.JambaCompleteClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class JambaCompleteClient : global::System.IDisposable + public sealed partial class JambaCompleteClient : global::G.IJambaCompleteClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.LibraryManagementClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.LibraryManagementClient.g.verified.cs index 497986f41e..95b620d95b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.LibraryManagementClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.LibraryManagementClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LibraryManagementClient : global::System.IDisposable + public sealed partial class LibraryManagementClient : global::G.ILibraryManagementClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ParaphraseClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ParaphraseClient.g.verified.cs index 20b6ea0f60..b0b8bcdb9e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ParaphraseClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.ParaphraseClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ParaphraseClient : global::System.IDisposable + public sealed partial class ParaphraseClient : global::G.IParaphraseClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.RAGEngineClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.RAGEngineClient.g.verified.cs index 45c952ecea..1cfd81aa03 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.RAGEngineClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.RAGEngineClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RAGEngineClient : global::System.IDisposable + public sealed partial class RAGEngineClient : global::G.IRAGEngineClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.SegmentationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.SegmentationClient.g.verified.cs index d942a709a6..a7602472e4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.SegmentationClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.SegmentationClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SegmentationClient : global::System.IDisposable + public sealed partial class SegmentationClient : global::G.ISegmentationClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.SummarizeClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.SummarizeClient.g.verified.cs index b9567cfdd6..8a91641393 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.SummarizeClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.SummarizeClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SummarizeClient : global::System.IDisposable + public sealed partial class SummarizeClient : global::G.ISummarizeClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.TokenizeClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.TokenizeClient.g.verified.cs index 5bec147185..a5d680ad10 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.TokenizeClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/NewtonsoftJson/_#G.TokenizeClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TokenizeClient : global::System.IDisposable + public sealed partial class TokenizeClient : global::G.ITokenizeClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.g.verified.cs index d2f96c7187..905635f74b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ChatClient.g.verified.cs index 3bc77e2488..319e056d9d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ChatClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.CompletionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.CompletionClient.g.verified.cs index aad670ebdc..b86202a0e2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.CompletionClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.CompletionClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CompletionClient : global::System.IDisposable + public sealed partial class CompletionClient : global::G.ICompletionClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.CustomModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.CustomModelsClient.g.verified.cs index 4b5be824c8..51ab8b22b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.CustomModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.CustomModelsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CustomModelsClient : global::System.IDisposable + public sealed partial class CustomModelsClient : global::G.ICustomModelsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.DatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.DatasetsClient.g.verified.cs index f8c34f1782..e6e96e3fa9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.DatasetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.DatasetsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DatasetsClient : global::System.IDisposable + public sealed partial class DatasetsClient : global::G.IDatasetsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.GrammaticalErrorCorrectionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.GrammaticalErrorCorrectionsClient.g.verified.cs index fb9f7411d7..c11d6b30ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.GrammaticalErrorCorrectionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.GrammaticalErrorCorrectionsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GrammaticalErrorCorrectionsClient : global::System.IDisposable + public sealed partial class GrammaticalErrorCorrectionsClient : global::G.IGrammaticalErrorCorrectionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.verified.cs new file mode 100644 index 0000000000..88b05fb364 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IApi.ConvertDocumentFileStudioV1ChatFilesConvertPost.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Convert Document File + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ConvertDocumentFileStudioV1ChatFilesConvertPostAsync( + global::G.BodyConvertDocumentFileStudioV1ChatFilesConvertPost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Convert Document File + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ConvertDocumentFileStudioV1ChatFilesConvertPostAsync( + global::System.Collections.Generic.IList files, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1Answer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1Answer.g.verified.cs new file mode 100644 index 0000000000..d8c14780e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1Answer.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IApi.V1Answer.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Answer + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1AnswerAsync( + global::G.AnswerBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Answer + /// + /// + /// + /// + /// An enumeration. + /// + /// + /// An enumeration. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1AnswerAsync( + string context, + string question, + global::G.AnswerLength? answerLength = default, + global::G.Mode? mode = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1ConversationalRag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1ConversationalRag.g.verified.cs new file mode 100644 index 0000000000..b8d045e131 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1ConversationalRag.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IApi.V1ConversationalRag.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Conversational Rag + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1ConversationalRagAsync( + global::G.ConversationalRagFlowPublicFields request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Conversational Rag + /// + /// + /// messages + /// + /// + /// + /// + /// + /// Default Value: 15 + /// + /// + /// Default Value: default + /// + /// + /// Default Value: 0.8 + /// + /// + /// + /// Default Value: 0.98 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1ConversationalRagAsync( + global::System.Collections.Generic.IList messages, + string? path = default, + global::System.Collections.Generic.IList? labels = default, + global::System.Collections.Generic.IList? fileIds = default, + int maxSegments = 15, + global::G.ConversationalRagFlowPublicFieldsRetrievalStrategy? retrievalStrategy = global::G.ConversationalRagFlowPublicFieldsRetrievalStrategy.Default, + double retrievalSimilarityThreshold = 0.8, + int maxNeighbors = default, + double hybridSearchAlpha = 0.98, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1Embed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1Embed.g.verified.cs new file mode 100644 index 0000000000..017b218618 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.V1Embed.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IApi.V1Embed.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Embed + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1EmbedAsync( + global::G.EmbeddingsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Embed + /// + /// + /// + /// Default Value: segment + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1EmbedAsync( + global::System.Collections.Generic.IList texts, + global::G.AllOf? type = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..677a6ac464 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,86 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// Access our powerful language models using an API that makes you smile
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// + /// + public JambaCompleteClient JambaComplete { get; } + + /// + /// + /// + public CompletionClient Completion { get; } + + /// + /// + /// + public CustomModelsClient CustomModels { get; } + + /// + /// + /// + public DatasetsClient Datasets { get; } + + /// + /// + /// + public ParaphraseClient Paraphrase { get; } + + /// + /// + /// + public SummarizeClient Summarize { get; } + + /// + /// + /// + public SegmentationClient Segmentation { get; } + + /// + /// + /// + public GrammaticalErrorCorrectionsClient GrammaticalErrorCorrections { get; } + + /// + /// + /// + public LibraryManagementClient LibraryManagement { get; } + + /// + /// + /// + public RAGEngineClient RAGEngine { get; } + + /// + /// + /// + public ChatClient Chat { get; } + + /// + /// + /// + public TokenizeClient Tokenize { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IChatClient.V1J2UltraChat.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IChatClient.V1J2UltraChat.g.verified.cs new file mode 100644 index 0000000000..c84bbf0b5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IChatClient.V1J2UltraChat.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IChatClient.V1J2UltraChat.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// j2-ultra chat + /// + /// + /// Default Value: j2-ultra + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraChatAsync( + global::G.LanguageStudioApiServerDataTypesJ2ChatChatRequest request, + string? model = "j2-ultra", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-ultra chat + /// + /// + /// Default Value: j2-ultra + /// + /// + /// messages + /// + /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0.7 + /// + /// + /// Default Value: 300 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraChatAsync( + global::System.Collections.Generic.IList messages, + string system, + string? model = "j2-ultra", + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int numResults = 1, + double temperature = 0.7, + int maxTokens = 300, + int minTokens = 0, + double topP = 1, + int topKReturn = 0, + global::System.Collections.Generic.IList? stopSequences = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..895ffe59f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeComplete.g.verified.cs new file mode 100644 index 0000000000..c2b7d2fa03 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2GrandeComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-grande complete + /// + /// + /// Default Value: j2-grande + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-grande", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-grande complete + /// + /// + /// Default Value: j2-grande + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeCompleteAsync( + string prompt, + string? model = "j2-grande", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeCustomModelComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeCustomModelComplete.g.verified.cs new file mode 100644 index 0000000000..3163668c13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeCustomModelComplete.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2GrandeCustomModelComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-grande complete + /// + /// + /// + /// Default Value: j2-grande + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeCustomModelCompleteAsync( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-grande", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-grande complete + /// + /// + /// + /// Default Value: j2-grande + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeCustomModelCompleteAsync( + string customModelName, + string prompt, + string? customModelType = "j2-grande", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeInstructComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeInstructComplete.g.verified.cs new file mode 100644 index 0000000000..e31025f3db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2GrandeInstructComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2GrandeInstructComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-grande-instruct complete + /// + /// + /// Default Value: j2-grande-instruct + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeInstructCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-grande-instruct", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-grande-instruct complete + /// + /// + /// Default Value: j2-grande-instruct + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2GrandeInstructCompleteAsync( + string prompt, + string? model = "j2-grande-instruct", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboComplete.g.verified.cs new file mode 100644 index 0000000000..892934b132 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2JumboComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-jumbo complete + /// + /// + /// Default Value: j2-jumbo + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-jumbo", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-jumbo complete + /// + /// + /// Default Value: j2-jumbo + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboCompleteAsync( + string prompt, + string? model = "j2-jumbo", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboComplete2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboComplete2.g.verified.cs new file mode 100644 index 0000000000..fea1184d48 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboComplete2.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2JumboComplete2.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-jumbo complete + /// + /// + /// + /// Default Value: j2-jumbo + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboComplete2Async( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-jumbo", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-jumbo complete + /// + /// + /// + /// Default Value: j2-jumbo + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboComplete2Async( + string customModelName, + string prompt, + string? customModelType = "j2-jumbo", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboInstructComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboInstructComplete.g.verified.cs new file mode 100644 index 0000000000..fec2424097 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2JumboInstructComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2JumboInstructComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-jumbo-instruct complete + /// + /// + /// Default Value: j2-jumbo-instruct + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboInstructCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-jumbo-instruct", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-jumbo-instruct complete + /// + /// + /// Default Value: j2-jumbo-instruct + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2JumboInstructCompleteAsync( + string prompt, + string? model = "j2-jumbo-instruct", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeComplete.g.verified.cs new file mode 100644 index 0000000000..8c51238086 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2LargeComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-large complete + /// + /// + /// Default Value: j2-large + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-large", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-large complete + /// + /// + /// Default Value: j2-large + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeCompleteAsync( + string prompt, + string? model = "j2-large", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeCustomModelComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeCustomModelComplete.g.verified.cs new file mode 100644 index 0000000000..4dd929ccb7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeCustomModelComplete.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2LargeCustomModelComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-large complete + /// + /// + /// + /// Default Value: j2-large + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeCustomModelCompleteAsync( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-large", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-large complete + /// + /// + /// + /// Default Value: j2-large + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeCustomModelCompleteAsync( + string customModelName, + string prompt, + string? customModelType = "j2-large", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeInstructComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeInstructComplete.g.verified.cs new file mode 100644 index 0000000000..a2bca57e8c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LargeInstructComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2LargeInstructComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-large-instruct complete + /// + /// + /// Default Value: j2-large-instruct + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeInstructCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-large-instruct", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-large-instruct complete + /// + /// + /// Default Value: j2-large-instruct + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LargeInstructCompleteAsync( + string prompt, + string? model = "j2-large-instruct", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LightComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LightComplete.g.verified.cs new file mode 100644 index 0000000000..85bc090c27 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LightComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2LightComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-light complete + /// + /// + /// Default Value: j2-light + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LightCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-light", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-light complete + /// + /// + /// Default Value: j2-light + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LightCompleteAsync( + string prompt, + string? model = "j2-light", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LightCustomModelComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LightCustomModelComplete.g.verified.cs new file mode 100644 index 0000000000..c28186c505 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2LightCustomModelComplete.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2LightCustomModelComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-light complete + /// + /// + /// + /// Default Value: j2-light + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LightCustomModelCompleteAsync( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-light", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-light complete + /// + /// + /// + /// Default Value: j2-light + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2LightCustomModelCompleteAsync( + string customModelName, + string prompt, + string? customModelType = "j2-light", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2MidComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2MidComplete.g.verified.cs new file mode 100644 index 0000000000..1314939ee8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2MidComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2MidComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-mid complete + /// + /// + /// Default Value: j2-mid + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2MidCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-mid", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-mid complete + /// + /// + /// Default Value: j2-mid + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2MidCompleteAsync( + string prompt, + string? model = "j2-mid", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2MidCustomModelComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2MidCustomModelComplete.g.verified.cs new file mode 100644 index 0000000000..133d929857 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2MidCustomModelComplete.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2MidCustomModelComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-mid complete + /// + /// + /// + /// Default Value: j2-mid + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2MidCustomModelCompleteAsync( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-mid", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-mid complete + /// + /// + /// + /// Default Value: j2-mid + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2MidCustomModelCompleteAsync( + string customModelName, + string prompt, + string? customModelType = "j2-mid", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2UltraComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2UltraComplete.g.verified.cs new file mode 100644 index 0000000000..5c5c2e1535 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2UltraComplete.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.ICompletionClient.V1J2UltraComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// j2-ultra complete + /// + /// + /// Default Value: j2-ultra + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraCompleteAsync( + global::G.CompletionBody request, + string? model = "j2-ultra", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// j2-ultra complete + /// + /// + /// Default Value: j2-ultra + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraCompleteAsync( + string prompt, + string? model = "j2-ultra", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2UltraComplete2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2UltraComplete2.g.verified.cs new file mode 100644 index 0000000000..2cf1ec43a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.V1J2UltraComplete2.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.ICompletionClient.V1J2UltraComplete2.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Custom j2-ultra complete + /// + /// + /// + /// Default Value: j2-ultra + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraComplete2Async( + string customModelName, + global::G.CompletionBody request, + string? customModelType = "j2-ultra", + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Custom j2-ultra complete + /// + /// + /// + /// Default Value: j2-ultra + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 16 + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1J2UltraComplete2Async( + string customModelName, + string prompt, + string? customModelType = "j2-ultra", + int numResults = 1, + int maxTokens = 16, + int minTokens = 0, + double temperature = 1, + double topP = 1, + double minP = 0, + global::System.Collections.Generic.IList? stopSequences = default, + int topKReturn = 0, + global::G.CompletionBodyLogitBias? logitBias = default, + global::G.AllOf? frequencyPenalty = default, + global::G.AllOf? presencePenalty = default, + global::G.AllOf? countPenalty = default, + int epoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.g.verified.cs new file mode 100644 index 0000000000..658e42ca8b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICompletionClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICompletionClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICompletionClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1CreateCustomModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1CreateCustomModel.g.verified.cs new file mode 100644 index 0000000000..5684dbf3ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1CreateCustomModel.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ICustomModelsClient.V1CreateCustomModel.g.cs +#nullable enable + +namespace G +{ + public partial interface ICustomModelsClient + { + /// + /// Create Custom Model + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1CreateCustomModelAsync( + global::G.CustomModelInput request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Custom Model + /// + /// + /// An enumeration. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1CreateCustomModelAsync( + global::G.CustomModelType modelType, + string datasetId, + string modelName, + double learningRate = default, + int numEpochs = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1GetCustomModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1GetCustomModel.g.verified.cs new file mode 100644 index 0000000000..6f2b9be372 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1GetCustomModel.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ICustomModelsClient.V1GetCustomModel.g.cs +#nullable enable + +namespace G +{ + public partial interface ICustomModelsClient + { + /// + /// Get Custom Model + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1GetCustomModelAsync( + string customModelPid, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1GetCustomModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1GetCustomModels.g.verified.cs new file mode 100644 index 0000000000..27fcaac62e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1GetCustomModels.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICustomModelsClient.V1GetCustomModels.g.cs +#nullable enable + +namespace G +{ + public partial interface ICustomModelsClient + { + /// + /// Get Custom Models List + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1GetCustomModelsAsync( + bool includeMetadata = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1UpdateCustomModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1UpdateCustomModel.g.verified.cs new file mode 100644 index 0000000000..f3ee24711e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.V1UpdateCustomModel.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ICustomModelsClient.V1UpdateCustomModel.g.cs +#nullable enable + +namespace G +{ + public partial interface ICustomModelsClient + { + /// + /// Update Model + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1UpdateCustomModelAsync( + string customModelPid, + global::G.CustomModelUpdateBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Model + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1UpdateCustomModelAsync( + string customModelPid, + int defaultEpoch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.g.verified.cs new file mode 100644 index 0000000000..4cac02cff2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ICustomModelsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICustomModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICustomModelsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1DeleteDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1DeleteDataset.g.verified.cs new file mode 100644 index 0000000000..71c45e4320 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1DeleteDataset.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IDatasetsClient.V1DeleteDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Delete Dataset + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1DeleteDatasetAsync( + string datasetPid, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDataset.g.verified.cs new file mode 100644 index 0000000000..37f6a8c645 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDataset.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IDatasetsClient.V1GetDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Dataset Get + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1GetDatasetAsync( + string datasetPid, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDatasetDownloadUrl.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDatasetDownloadUrl.g.verified.cs new file mode 100644 index 0000000000..0313efc50f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDatasetDownloadUrl.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDatasetsClient.V1GetDatasetDownloadUrl.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Dataset Download Url + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1GetDatasetDownloadUrlAsync( + string datasetPid, + string datasetName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDatasets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDatasets.g.verified.cs new file mode 100644 index 0000000000..ec89765e66 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1GetDatasets.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IDatasetsClient.V1GetDatasets.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Dataset List + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1GetDatasetsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1UploadDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1UploadDataset.g.verified.cs new file mode 100644 index 0000000000..373bb2d0dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.V1UploadDataset.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IDatasetsClient.V1UploadDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Add Dataset + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1UploadDatasetAsync( + global::G.BodyV1UploadDataset request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add Dataset + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 0.1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1UploadDatasetAsync( + byte[] datasetFile, + string datasetFilename, + string datasetName, + string? selectedColumns = default, + bool approveWhitespaceCorrection = default, + bool deleteLongRows = default, + double splitRatio = 0.1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.g.verified.cs new file mode 100644 index 0000000000..b476de04f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IDatasetsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDatasetsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDatasetsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IGrammaticalErrorCorrectionsClient.V1Corrections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IGrammaticalErrorCorrectionsClient.V1Corrections.g.verified.cs new file mode 100644 index 0000000000..eed05ceb06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IGrammaticalErrorCorrectionsClient.V1Corrections.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IGrammaticalErrorCorrectionsClient.V1Corrections.g.cs +#nullable enable + +namespace G +{ + public partial interface IGrammaticalErrorCorrectionsClient + { + /// + /// Grammatical Error Corrections + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1CorrectionsAsync( + global::G.CorrectionsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Grammatical Error Corrections + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1CorrectionsAsync( + string text, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IGrammaticalErrorCorrectionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IGrammaticalErrorCorrectionsClient.g.verified.cs new file mode 100644 index 0000000000..9d9d98ed57 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IGrammaticalErrorCorrectionsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGrammaticalErrorCorrectionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGrammaticalErrorCorrectionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IJambaCompleteClient.V1ChatComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IJambaCompleteClient.V1ChatComplete.g.verified.cs new file mode 100644 index 0000000000..5f2fb5c4b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IJambaCompleteClient.V1ChatComplete.g.verified.cs @@ -0,0 +1,81 @@ +//HintName: G.IJambaCompleteClient.V1ChatComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IJambaCompleteClient + { + /// + /// Chat Complete
+ /// This is the endpoint for the [Jamba Instruct model](https://docs.ai21.com/docs/jamba-models).
+ /// This is a foundation model that supports both single-turn (question answering,
+ /// text completion) and multi-turn (chat style) interactions.
+ /// You can optionally stream results if you want to get the response as each
+ /// token is generated, rather than waiting for the entire response. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> V1ChatCompleteAsync( + string authorization, + global::G.LanguageStudioApiServerDataTypesChatChatRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Chat Complete
+ /// This is the endpoint for the [Jamba Instruct model](https://docs.ai21.com/docs/jamba-models).
+ /// This is a foundation model that supports both single-turn (question answering,
+ /// text completion) and multi-turn (chat style) interactions.
+ /// You can optionally stream results if you want to get the response as each
+ /// token is generated, rather than waiting for the entire response. + ///
+ /// + /// + /// An enumeration. + /// + /// + /// messages + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 4096 + /// + /// + /// + /// Default Value: 1 + /// + /// + /// + /// Whether or not to stream the result one token at a time using
+ /// [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).
+ /// This can be useful when waiting for long results where a long wait time for an
+ /// answer can be problematic, such as a chatbot. If set to `True`, then `n` must
+ /// be 1. A streaming response is different than the non-streaming response.
+ /// Default Value: false + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> V1ChatCompleteAsync( + string authorization, + global::G.ModelName model, + global::System.Collections.Generic.IList> messages, + global::System.Collections.Generic.IList? tools = default, + int n = 1, + int maxTokens = 4096, + double temperature = default, + double topP = 1, + global::G.AnyOf>? stop = default, + bool stream = false, + global::G.MockResponseConfig? mockResponse = default, + global::System.Collections.Generic.IList? documents = default, + global::G.AllOf? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IJambaCompleteClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IJambaCompleteClient.g.verified.cs new file mode 100644 index 0000000000..a7d1d737b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IJambaCompleteClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IJambaCompleteClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IJambaCompleteClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryDelete.g.verified.cs new file mode 100644 index 0000000000..ac06da74bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryDelete.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ILibraryManagementClient.V1LibraryDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface ILibraryManagementClient + { + /// + /// Delete File
+ /// Delete the specified file from the library.
+ /// **Restrictions**:
+ /// Files in `PROCESSING` status cannot be deleted. Attempts to delete such files will result in a <span style="color:red">422</span> error. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryDeleteAsync( + global::System.Guid fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement.g.verified.cs new file mode 100644 index 0000000000..5b4b7d81e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ILibraryManagementClient.V1LibraryManagement.g.cs +#nullable enable + +namespace G +{ + public partial interface ILibraryManagementClient + { + /// + /// Get Organization Files
+ /// Get metadata about a specific file by file ID. The file ID is generated by
+ /// AI21 when you upload the file. + ///
+ /// + /// + /// + /// An enumeration. + /// + /// + /// + /// Default Value: 1000 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> V1LibraryManagementAsync( + string? name = default, + string? path = default, + global::G.FileStatus? status = default, + global::System.Collections.Generic.IList? label = default, + int limit = 1000, + int offset = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement2.g.verified.cs new file mode 100644 index 0000000000..3ae18572c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement2.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ILibraryManagementClient.V1LibraryManagement2.g.cs +#nullable enable + +namespace G +{ + public partial interface ILibraryManagementClient + { + /// + /// Get File By Id
+ /// Retrieve a list of documents in the user's library. Optionally specify a
+ /// filter to find only files with matching labels or paths. This method
+ /// returns only metadata about files; to download a file, call
+ /// `GET .../files/{file_id}/download`
+ /// When specifying qualifiers with your request, only files that match
+ /// _all_ qualifiers will be returns. So, for example, if you specify
+ /// `label='financial'` and `status='UPLOADED'`, only files with the label
+ /// "financial" AND status UPLOADED will be returned. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryManagement2Async( + global::System.Guid fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement3.g.verified.cs new file mode 100644 index 0000000000..a27c400393 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryManagement3.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.ILibraryManagementClient.V1LibraryManagement3.g.cs +#nullable enable + +namespace G +{ + public partial interface ILibraryManagementClient + { + /// + /// Update File
+ /// Update the specified parameters of a specific document in the user's library.
+ /// This operation currently supports updating the publicUrl and labels parameters.
+ /// > **This operation overwrites the specified items with the new data you provide.**
+ /// > If you wish to add new labels to the labels list without removing the existing ones,
+ /// > you must submit a labels list that includes both the current and new labels.**
+ /// >
+ /// > For instance, if the current labels are "Label A" and "Label B", and you wish to
+ /// > add "New Label C" and "New Label D" to the list, you must specify `"labels": ["Label A", "Label B", "New Label C", "New Label D"]`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryManagement3Async( + global::System.Guid fileId, + global::G.FilesUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update File
+ /// Update the specified parameters of a specific document in the user's library.
+ /// This operation currently supports updating the publicUrl and labels parameters.
+ /// > **This operation overwrites the specified items with the new data you provide.**
+ /// > If you wish to add new labels to the labels list without removing the existing ones,
+ /// > you must submit a labels list that includes both the current and new labels.**
+ /// >
+ /// > For instance, if the current labels are "Label A" and "Label B", and you wish to
+ /// > add "New Label C" and "New Label D" to the list, you must specify `"labels": ["Label A", "Label B", "New Label C", "New Label D"]`. + ///
+ /// + /// + /// The public URL of the file, if any. This URL is not validated by
+ /// AI21 or used in any way. It is strictly a piece of metadata that you can
+ /// optionally attach to a file. + /// + /// + /// Any labels to associate with this file. Separate multiple labels with commas. If
+ /// provided, will overwrite all existing labels. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryManagement3Async( + global::System.Guid fileId, + string? publicUrl = default, + global::System.Collections.Generic.IList? labels = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryUpload.g.verified.cs new file mode 100644 index 0000000000..087445e051 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.V1LibraryUpload.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ILibraryManagementClient.V1LibraryUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface ILibraryManagementClient + { + /// + /// Upload Organization File
+ /// Upload files to use for [RAG Engine document searches](https://docs.ai21.com/docs/rag-engine-overview).
+ /// You can assign metadata to your files to limit searches to specific files by file metadata.
+ /// There is no bulk upload method; files must be loaded one at a time.
+ /// - **Max number of files:** No limit. The playground limits bulk uploads to 50 files per request.
+ /// - **Max library size:** 1 GB total size. No limit to individual file size.
+ /// - **Supported file types:** PDF, DocX, HTML, TXT + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryUploadAsync( + global::G.BodyV1LibraryUpload request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload Organization File
+ /// Upload files to use for [RAG Engine document searches](https://docs.ai21.com/docs/rag-engine-overview).
+ /// You can assign metadata to your files to limit searches to specific files by file metadata.
+ /// There is no bulk upload method; files must be loaded one at a time.
+ /// - **Max number of files:** No limit. The playground limits bulk uploads to 50 files per request.
+ /// - **Max library size:** 1 GB total size. No limit to individual file size.
+ /// - **Supported file types:** PDF, DocX, HTML, TXT + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryUploadAsync( + byte[] file, + string filename, + string? path = default, + global::System.Collections.Generic.IList? labels = default, + string? publicUrl = default, + string? customConfigs = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.g.verified.cs new file mode 100644 index 0000000000..029ae5ca9b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ILibraryManagementClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ILibraryManagementClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILibraryManagementClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IParaphraseClient.V1Paraphraze.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IParaphraseClient.V1Paraphraze.g.verified.cs new file mode 100644 index 0000000000..193829ed49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IParaphraseClient.V1Paraphraze.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IParaphraseClient.V1Paraphraze.g.cs +#nullable enable + +namespace G +{ + public partial interface IParaphraseClient + { + /// + /// Paraphrase + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1ParaphrazeAsync( + global::G.ParaphraseBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Paraphrase + /// + /// + /// + /// Default Value: general + /// + /// + /// Default Value: 0 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1ParaphrazeAsync( + string text, + global::G.AllOf? style = default, + int startIndex = 0, + int endIndex = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IParaphraseClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IParaphraseClient.g.verified.cs new file mode 100644 index 0000000000..3fac3b51c0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IParaphraseClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IParaphraseClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IParaphraseClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibraryAnswer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibraryAnswer.g.verified.cs new file mode 100644 index 0000000000..d527195792 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibraryAnswer.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IRAGEngineClient.V1LibraryAnswer.g.cs +#nullable enable + +namespace G +{ + public partial interface IRAGEngineClient + { + /// + /// Answer + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryAnswerAsync( + global::G.LibraryAnswerRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Answer + /// + /// + /// + /// + /// + /// + /// + /// An enumeration. + /// + /// + /// An enumeration. + /// + /// + /// Default Value: default + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryAnswerAsync( + string question, + int maxSegments = default, + string? path = default, + global::System.Collections.Generic.IList? labels = default, + global::System.Collections.Generic.IList? fileIds = default, + global::G.AnswerLength? answerLength = default, + global::G.Mode? mode = default, + global::G.AllOf? retrievalStrategy = default, + double retrievalSimilarityThreshold = default, + double hybridSearchAlpha = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibraryManagement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibraryManagement.g.verified.cs new file mode 100644 index 0000000000..a7bc228ea1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibraryManagement.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IRAGEngineClient.V1LibraryManagement.g.cs +#nullable enable + +namespace G +{ + public partial interface IRAGEngineClient + { + /// + /// Generate Documents Signed Url + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibraryManagementAsync( + global::System.Guid fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibrarySearch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibrarySearch.g.verified.cs new file mode 100644 index 0000000000..89d21eb233 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.V1LibrarySearch.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IRAGEngineClient.V1LibrarySearch.g.cs +#nullable enable + +namespace G +{ + public partial interface IRAGEngineClient + { + /// + /// Search + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibrarySearchAsync( + global::G.LibrarySearchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Search + /// + /// + /// + /// + /// + /// + /// + /// Default Value: default + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1LibrarySearchAsync( + string query, + int maxSegments = default, + string? path = default, + global::System.Collections.Generic.IList? labels = default, + global::System.Collections.Generic.IList? fileIds = default, + global::G.AllOf? retrievalStrategy = default, + int maxNeighbors = 1, + double retrievalSimilarityThreshold = default, + double hybridSearchAlpha = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.g.verified.cs new file mode 100644 index 0000000000..b328582dcd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.IRAGEngineClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRAGEngineClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRAGEngineClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISegmentationClient.V1Segmentation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISegmentationClient.V1Segmentation.g.verified.cs new file mode 100644 index 0000000000..28c36a735e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISegmentationClient.V1Segmentation.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ISegmentationClient.V1Segmentation.g.cs +#nullable enable + +namespace G +{ + public partial interface ISegmentationClient + { + /// + /// Segmentation + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SegmentationAsync( + global::G.SegmentationBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Segmentation + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SegmentationAsync( + global::G.DocumentType sourceType, + string source, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISegmentationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISegmentationClient.g.verified.cs new file mode 100644 index 0000000000..763b6b19b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISegmentationClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISegmentationClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISegmentationClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.V1Summarize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.V1Summarize.g.verified.cs new file mode 100644 index 0000000000..03df4a1031 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.V1Summarize.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ISummarizeClient.V1Summarize.g.cs +#nullable enable + +namespace G +{ + public partial interface ISummarizeClient + { + /// + /// Summarize + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SummarizeAsync( + global::G.SummarizeBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Summarize + /// + /// + /// + /// An enumeration. + /// + /// + /// + /// An enumeration. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SummarizeAsync( + string source, + global::G.DocumentType sourceType, + string? focus = default, + global::G.SummaryMethod? summaryMethod = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.V1SummarizeBySegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.V1SummarizeBySegment.g.verified.cs new file mode 100644 index 0000000000..812e1a6039 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.V1SummarizeBySegment.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ISummarizeClient.V1SummarizeBySegment.g.cs +#nullable enable + +namespace G +{ + public partial interface ISummarizeClient + { + /// + /// Segmented Summarize + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SummarizeBySegmentAsync( + global::G.SegmentedSummaryBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Segmented Summarize + /// + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1SummarizeBySegmentAsync( + string source, + global::G.DocumentType sourceType, + string? focus = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.g.verified.cs new file mode 100644 index 0000000000..e8bb2f6a48 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ISummarizeClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISummarizeClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISummarizeClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ITokenizeClient.V1Tokenize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ITokenizeClient.V1Tokenize.g.verified.cs new file mode 100644 index 0000000000..7397dd4d13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ITokenizeClient.V1Tokenize.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITokenizeClient.V1Tokenize.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokenizeClient + { + /// + /// Tokenize + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1TokenizeAsync( + global::G.TokenizeBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Tokenize + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1TokenizeAsync( + string text, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ITokenizeClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ITokenizeClient.g.verified.cs new file mode 100644 index 0000000000..0baecf41df --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ITokenizeClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITokenizeClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITokenizeClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.ai21.com/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.JambaCompleteClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.JambaCompleteClient.g.verified.cs index 1b85c9e499..a5aaa0d72e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.JambaCompleteClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.JambaCompleteClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class JambaCompleteClient : global::System.IDisposable + public sealed partial class JambaCompleteClient : global::G.IJambaCompleteClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.LibraryManagementClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.LibraryManagementClient.g.verified.cs index dc2a3e6adc..ad6f8b0b1c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.LibraryManagementClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.LibraryManagementClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LibraryManagementClient : global::System.IDisposable + public sealed partial class LibraryManagementClient : global::G.ILibraryManagementClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ParaphraseClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ParaphraseClient.g.verified.cs index f352d59b53..27e4fcf543 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ParaphraseClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.ParaphraseClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ParaphraseClient : global::System.IDisposable + public sealed partial class ParaphraseClient : global::G.IParaphraseClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.RAGEngineClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.RAGEngineClient.g.verified.cs index e118926383..13de95a8d7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.RAGEngineClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.RAGEngineClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RAGEngineClient : global::System.IDisposable + public sealed partial class RAGEngineClient : global::G.IRAGEngineClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.SegmentationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.SegmentationClient.g.verified.cs index bc2e0c315f..2b114aee55 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.SegmentationClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.SegmentationClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SegmentationClient : global::System.IDisposable + public sealed partial class SegmentationClient : global::G.ISegmentationClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.SummarizeClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.SummarizeClient.g.verified.cs index b77e94937d..d3d2c28207 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.SummarizeClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.SummarizeClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SummarizeClient : global::System.IDisposable + public sealed partial class SummarizeClient : global::G.ISummarizeClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.TokenizeClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.TokenizeClient.g.verified.cs index c993ae2b8b..7b000aaee2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.TokenizeClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ai21/SystemTextJson/_#G.TokenizeClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TokenizeClient : global::System.IDisposable + public sealed partial class TokenizeClient : global::G.ITokenizeClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.Api.g.verified.cs index 8dac80afed..68b81a5fdb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.IApi.CreateMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.IApi.CreateMessage.g.verified.cs new file mode 100644 index 0000000000..1299af4ed8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.IApi.CreateMessage.g.verified.cs @@ -0,0 +1,245 @@ +//HintName: G.IApi.CreateMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a Message
+ /// Send a structured list of input messages with text and/or image content, and the
+ /// model will generate the next message in the conversation.
+ /// The Messages API can be used for either single queries or stateless multi-turn
+ /// conversations. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateMessageAsync( + global::G.CreateMessageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Message
+ /// Send a structured list of input messages with text and/or image content, and the
+ /// model will generate the next message in the conversation.
+ /// The Messages API can be used for either single queries or stateless multi-turn
+ /// conversations. + ///
+ /// + /// The model that will complete your prompt.
+ /// See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
+ /// details and options.
+ /// Example: claude-3-5-sonnet-20240620 + /// + /// + /// Input messages.
+ /// Our models are trained to operate on alternating `user` and `assistant`
+ /// conversational turns. When creating a new `Message`, you specify the prior
+ /// conversational turns with the `messages` parameter, and the model then generates
+ /// the next `Message` in the conversation.
+ /// Each input message must be an object with a `role` and `content`. You can
+ /// specify a single `user`-role message, or you can include multiple `user` and
+ /// `assistant` messages. The first message must always use the `user` role.
+ /// If the final message uses the `assistant` role, the response content will
+ /// continue immediately from the content in that message. This can be used to
+ /// constrain part of the model's response.
+ /// See [message content](https://docs.anthropic.com/en/api/messages-content) for
+ /// details on how to construct valid message objects.
+ /// Example with a single `user` message:
+ /// ```json
+ /// [{ "role": "user", "content": "Hello, Claude" }]
+ /// ```
+ /// Example with multiple conversational turns:
+ /// ```json
+ /// [
+ /// { "role": "user", "content": "Hello there." },
+ /// { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
+ /// { "role": "user", "content": "Can you explain LLMs in plain English?" }
+ /// ]
+ /// ```
+ /// Example with a partially-filled response from Claude:
+ /// ```json
+ /// [
+ /// {
+ /// "role": "user",
+ /// "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
+ /// },
+ /// { "role": "assistant", "content": "The best answer is (" }
+ /// ]
+ /// ```
+ /// Each input message `content` may be either a single `string` or an array of
+ /// content blocks, where each block has a specific `type`. Using a `string` for
+ /// `content` is shorthand for an array of one content block of type `"text"`. The
+ /// following input messages are equivalent:
+ /// ```json
+ /// { "role": "user", "content": "Hello, Claude" }
+ /// ```
+ /// ```json
+ /// { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
+ /// ```
+ /// Starting with Claude 3 models, you can also send image content blocks:
+ /// ```json
+ /// {
+ /// "role": "user",
+ /// "content": [
+ /// {
+ /// "type": "image",
+ /// "source": {
+ /// "type": "base64",
+ /// "media_type": "image/jpeg",
+ /// "data": "/9j/4AAQSkZJRg..."
+ /// }
+ /// },
+ /// { "type": "text", "text": "What is in this image?" }
+ /// ]
+ /// }
+ /// ```
+ /// We currently support the `base64` source type for images, and the `image/jpeg`,
+ /// `image/png`, `image/gif`, and `image/webp` media types.
+ /// See [examples](https://docs.anthropic.com/en/api/messages-examples) for more
+ /// input examples.
+ /// Note that if you want to include a
+ /// [system prompt](https://docs.anthropic.com/en/docs/system-prompts), you can use
+ /// the top-level `system` parameter — there is no `"system"` role for input
+ /// messages in the Messages API. + /// + /// + /// The maximum number of tokens to generate before stopping.
+ /// Note that our models may stop _before_ reaching this maximum. This parameter
+ /// only specifies the absolute maximum number of tokens to generate.
+ /// Different models have different maximum values for this parameter. See
+ /// [models](https://docs.anthropic.com/en/docs/models-overview) for details. + /// + /// + /// An object describing metadata about the request. + /// + /// + /// Custom text sequences that will cause the model to stop generating.
+ /// Our models will normally stop when they have naturally completed their turn,
+ /// which will result in a response `stop_reason` of `"end_turn"`.
+ /// If you want the model to stop generating when it encounters custom strings of
+ /// text, you can use the `stop_sequences` parameter. If the model encounters one of
+ /// the custom sequences, the response `stop_reason` value will be `"stop_sequence"`
+ /// and the response `stop_sequence` value will contain the matched stop sequence. + /// + /// + /// System prompt.
+ /// A system prompt is a way of providing context and instructions to Claude, such
+ /// as specifying a particular goal or role. See our
+ /// [guide to system prompts](https://docs.anthropic.com/en/docs/system-prompts). + /// + /// + /// Amount of randomness injected into the response.
+ /// Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
+ /// for analytical / multiple choice, and closer to `1.0` for creative and
+ /// generative tasks.
+ /// Note that even with `temperature` of `0.0`, the results will not be fully
+ /// deterministic. + /// + /// + /// How the model should use the provided tools. The model can use a specific tool,
+ /// any available tool, or decide by itself.
+ /// - `auto`: allows Claude to decide whether to call any provided tools or not. This is the default value.
+ /// - `any`: tells Claude that it must use one of the provided tools, but doesn’t force a particular tool.
+ /// - `tool`: allows us to force Claude to always use a particular tool specified in the `name` field. + /// + /// + /// Definitions of tools that the model may use.
+ /// If you include `tools` in your API request, the model may return `tool_use`
+ /// content blocks that represent the model's use of those tools. You can then run
+ /// those tools using the tool input generated by the model and then optionally
+ /// return results back to the model using `tool_result` content blocks.
+ /// Each tool definition includes:
+ /// - `name`: Name of the tool.
+ /// - `description`: Optional, but strongly-recommended description of the tool.
+ /// - `input_schema`: [JSON schema](https://json-schema.org/) for the tool `input`
+ /// shape that the model will produce in `tool_use` output content blocks.
+ /// For example, if you defined `tools` as:
+ /// ```json
+ /// [
+ /// {
+ /// "name": "get_stock_price",
+ /// "description": "Get the current stock price for a given ticker symbol.",
+ /// "input_schema": {
+ /// "type": "object",
+ /// "properties": {
+ /// "ticker": {
+ /// "type": "string",
+ /// "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
+ /// }
+ /// },
+ /// "required": ["ticker"]
+ /// }
+ /// }
+ /// ]
+ /// ```
+ /// And then asked the model "What's the S&P 500 at today?", the model might produce
+ /// `tool_use` content blocks in the response like this:
+ /// ```json
+ /// [
+ /// {
+ /// "type": "tool_use",
+ /// "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
+ /// "name": "get_stock_price",
+ /// "input": { "ticker": "^GSPC" }
+ /// }
+ /// ]
+ /// ```
+ /// You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
+ /// input, and return the following back to the model in a subsequent `user`
+ /// message:
+ /// ```json
+ /// [
+ /// {
+ /// "type": "tool_result",
+ /// "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
+ /// "content": "259.75 USD"
+ /// }
+ /// ]
+ /// ```
+ /// Tools can be used for workflows that include running client-side tools and
+ /// functions, or more generally whenever you want the model to produce a particular
+ /// JSON structure of output.
+ /// See our [guide](https://docs.anthropic.com/en/docs/tool-use) for more details. + /// + /// + /// Only sample from the top K options for each subsequent token.
+ /// Used to remove "long tail" low probability responses.
+ /// [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277).
+ /// Recommended for advanced use cases only. You usually only need to use
+ /// `temperature`. + /// + /// + /// Use nucleus sampling.
+ /// In nucleus sampling, we compute the cumulative distribution over all the options
+ /// for each subsequent token in decreasing probability order and cut it off once it
+ /// reaches a particular probability specified by `top_p`. You should either alter
+ /// `temperature` or `top_p`, but not both.
+ /// Recommended for advanced use cases only. You usually only need to use
+ /// `temperature`. + /// + /// + /// Whether to incrementally stream the response using server-sent events.
+ /// See [streaming](https://docs.anthropic.com/en/api/messages-streaming) for
+ /// details.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateMessageAsync( + global::G.AnyOf model, + global::System.Collections.Generic.IList messages, + int maxTokens, + global::G.CreateMessageRequestMetadata? metadata = default, + global::System.Collections.Generic.IList? stopSequences = default, + string? system = default, + double temperature = default, + global::G.ToolChoice? toolChoice = default, + global::System.Collections.Generic.IList? tools = default, + int topK = default, + double topP = default, + bool stream = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..c50869f39e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// API Spec for Anthropic API. Please see https://docs.anthropic.com/en/api for more details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.anthropic.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.g.verified.cs index 23e6679101..9e48d09884 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.IApi.CreateMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.IApi.CreateMessage.g.verified.cs new file mode 100644 index 0000000000..1299af4ed8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.IApi.CreateMessage.g.verified.cs @@ -0,0 +1,245 @@ +//HintName: G.IApi.CreateMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a Message
+ /// Send a structured list of input messages with text and/or image content, and the
+ /// model will generate the next message in the conversation.
+ /// The Messages API can be used for either single queries or stateless multi-turn
+ /// conversations. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateMessageAsync( + global::G.CreateMessageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Message
+ /// Send a structured list of input messages with text and/or image content, and the
+ /// model will generate the next message in the conversation.
+ /// The Messages API can be used for either single queries or stateless multi-turn
+ /// conversations. + ///
+ /// + /// The model that will complete your prompt.
+ /// See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
+ /// details and options.
+ /// Example: claude-3-5-sonnet-20240620 + /// + /// + /// Input messages.
+ /// Our models are trained to operate on alternating `user` and `assistant`
+ /// conversational turns. When creating a new `Message`, you specify the prior
+ /// conversational turns with the `messages` parameter, and the model then generates
+ /// the next `Message` in the conversation.
+ /// Each input message must be an object with a `role` and `content`. You can
+ /// specify a single `user`-role message, or you can include multiple `user` and
+ /// `assistant` messages. The first message must always use the `user` role.
+ /// If the final message uses the `assistant` role, the response content will
+ /// continue immediately from the content in that message. This can be used to
+ /// constrain part of the model's response.
+ /// See [message content](https://docs.anthropic.com/en/api/messages-content) for
+ /// details on how to construct valid message objects.
+ /// Example with a single `user` message:
+ /// ```json
+ /// [{ "role": "user", "content": "Hello, Claude" }]
+ /// ```
+ /// Example with multiple conversational turns:
+ /// ```json
+ /// [
+ /// { "role": "user", "content": "Hello there." },
+ /// { "role": "assistant", "content": "Hi, I'm Claude. How can I help you?" },
+ /// { "role": "user", "content": "Can you explain LLMs in plain English?" }
+ /// ]
+ /// ```
+ /// Example with a partially-filled response from Claude:
+ /// ```json
+ /// [
+ /// {
+ /// "role": "user",
+ /// "content": "What's the Greek name for Sun? (A) Sol (B) Helios (C) Sun"
+ /// },
+ /// { "role": "assistant", "content": "The best answer is (" }
+ /// ]
+ /// ```
+ /// Each input message `content` may be either a single `string` or an array of
+ /// content blocks, where each block has a specific `type`. Using a `string` for
+ /// `content` is shorthand for an array of one content block of type `"text"`. The
+ /// following input messages are equivalent:
+ /// ```json
+ /// { "role": "user", "content": "Hello, Claude" }
+ /// ```
+ /// ```json
+ /// { "role": "user", "content": [{ "type": "text", "text": "Hello, Claude" }] }
+ /// ```
+ /// Starting with Claude 3 models, you can also send image content blocks:
+ /// ```json
+ /// {
+ /// "role": "user",
+ /// "content": [
+ /// {
+ /// "type": "image",
+ /// "source": {
+ /// "type": "base64",
+ /// "media_type": "image/jpeg",
+ /// "data": "/9j/4AAQSkZJRg..."
+ /// }
+ /// },
+ /// { "type": "text", "text": "What is in this image?" }
+ /// ]
+ /// }
+ /// ```
+ /// We currently support the `base64` source type for images, and the `image/jpeg`,
+ /// `image/png`, `image/gif`, and `image/webp` media types.
+ /// See [examples](https://docs.anthropic.com/en/api/messages-examples) for more
+ /// input examples.
+ /// Note that if you want to include a
+ /// [system prompt](https://docs.anthropic.com/en/docs/system-prompts), you can use
+ /// the top-level `system` parameter — there is no `"system"` role for input
+ /// messages in the Messages API. + /// + /// + /// The maximum number of tokens to generate before stopping.
+ /// Note that our models may stop _before_ reaching this maximum. This parameter
+ /// only specifies the absolute maximum number of tokens to generate.
+ /// Different models have different maximum values for this parameter. See
+ /// [models](https://docs.anthropic.com/en/docs/models-overview) for details. + /// + /// + /// An object describing metadata about the request. + /// + /// + /// Custom text sequences that will cause the model to stop generating.
+ /// Our models will normally stop when they have naturally completed their turn,
+ /// which will result in a response `stop_reason` of `"end_turn"`.
+ /// If you want the model to stop generating when it encounters custom strings of
+ /// text, you can use the `stop_sequences` parameter. If the model encounters one of
+ /// the custom sequences, the response `stop_reason` value will be `"stop_sequence"`
+ /// and the response `stop_sequence` value will contain the matched stop sequence. + /// + /// + /// System prompt.
+ /// A system prompt is a way of providing context and instructions to Claude, such
+ /// as specifying a particular goal or role. See our
+ /// [guide to system prompts](https://docs.anthropic.com/en/docs/system-prompts). + /// + /// + /// Amount of randomness injected into the response.
+ /// Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
+ /// for analytical / multiple choice, and closer to `1.0` for creative and
+ /// generative tasks.
+ /// Note that even with `temperature` of `0.0`, the results will not be fully
+ /// deterministic. + /// + /// + /// How the model should use the provided tools. The model can use a specific tool,
+ /// any available tool, or decide by itself.
+ /// - `auto`: allows Claude to decide whether to call any provided tools or not. This is the default value.
+ /// - `any`: tells Claude that it must use one of the provided tools, but doesn’t force a particular tool.
+ /// - `tool`: allows us to force Claude to always use a particular tool specified in the `name` field. + /// + /// + /// Definitions of tools that the model may use.
+ /// If you include `tools` in your API request, the model may return `tool_use`
+ /// content blocks that represent the model's use of those tools. You can then run
+ /// those tools using the tool input generated by the model and then optionally
+ /// return results back to the model using `tool_result` content blocks.
+ /// Each tool definition includes:
+ /// - `name`: Name of the tool.
+ /// - `description`: Optional, but strongly-recommended description of the tool.
+ /// - `input_schema`: [JSON schema](https://json-schema.org/) for the tool `input`
+ /// shape that the model will produce in `tool_use` output content blocks.
+ /// For example, if you defined `tools` as:
+ /// ```json
+ /// [
+ /// {
+ /// "name": "get_stock_price",
+ /// "description": "Get the current stock price for a given ticker symbol.",
+ /// "input_schema": {
+ /// "type": "object",
+ /// "properties": {
+ /// "ticker": {
+ /// "type": "string",
+ /// "description": "The stock ticker symbol, e.g. AAPL for Apple Inc."
+ /// }
+ /// },
+ /// "required": ["ticker"]
+ /// }
+ /// }
+ /// ]
+ /// ```
+ /// And then asked the model "What's the S&P 500 at today?", the model might produce
+ /// `tool_use` content blocks in the response like this:
+ /// ```json
+ /// [
+ /// {
+ /// "type": "tool_use",
+ /// "id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
+ /// "name": "get_stock_price",
+ /// "input": { "ticker": "^GSPC" }
+ /// }
+ /// ]
+ /// ```
+ /// You might then run your `get_stock_price` tool with `{"ticker": "^GSPC"}` as an
+ /// input, and return the following back to the model in a subsequent `user`
+ /// message:
+ /// ```json
+ /// [
+ /// {
+ /// "type": "tool_result",
+ /// "tool_use_id": "toolu_01D7FLrfh4GYq7yT1ULFeyMV",
+ /// "content": "259.75 USD"
+ /// }
+ /// ]
+ /// ```
+ /// Tools can be used for workflows that include running client-side tools and
+ /// functions, or more generally whenever you want the model to produce a particular
+ /// JSON structure of output.
+ /// See our [guide](https://docs.anthropic.com/en/docs/tool-use) for more details. + /// + /// + /// Only sample from the top K options for each subsequent token.
+ /// Used to remove "long tail" low probability responses.
+ /// [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277).
+ /// Recommended for advanced use cases only. You usually only need to use
+ /// `temperature`. + /// + /// + /// Use nucleus sampling.
+ /// In nucleus sampling, we compute the cumulative distribution over all the options
+ /// for each subsequent token in decreasing probability order and cut it off once it
+ /// reaches a particular probability specified by `top_p`. You should either alter
+ /// `temperature` or `top_p`, but not both.
+ /// Recommended for advanced use cases only. You usually only need to use
+ /// `temperature`. + /// + /// + /// Whether to incrementally stream the response using server-sent events.
+ /// See [streaming](https://docs.anthropic.com/en/api/messages-streaming) for
+ /// details.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateMessageAsync( + global::G.AnyOf model, + global::System.Collections.Generic.IList messages, + int maxTokens, + global::G.CreateMessageRequestMetadata? metadata = default, + global::System.Collections.Generic.IList? stopSequences = default, + string? system = default, + double temperature = default, + global::G.ToolChoice? toolChoice = default, + global::System.Collections.Generic.IList? tools = default, + int topK = default, + double topP = default, + bool stream = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..18347dcd05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Anthropic/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// API Spec for Anthropic API. Please see https://docs.anthropic.com/en/api for more details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.anthropic.com/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.Api.g.verified.cs index d2d3cccbbb..66da1f985b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// AssemblyAI API diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..650f06530a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// AssemblyAI API
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// AssemblyAI API + /// + public const string BaseUrl = "https://api.assemblyai.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// Transcript related operations + /// + public TranscriptClient Transcript { get; } + + /// + /// LeMUR related operations + /// + public LeMURClient LeMUR { get; } + + /// + /// Streaming Speech-to-Text + /// + public StreamingClient Streaming { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.GetLemurResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.GetLemurResponse.g.verified.cs new file mode 100644 index 0000000000..fb4e96b8a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.GetLemurResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ILeMURClient.GetLemurResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Retrieve LeMUR response
+ /// Retrieve a LeMUR response that was previously generated. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetLemurResponseAsync( + string requestId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurActionItems.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurActionItems.g.verified.cs new file mode 100644 index 0000000000..7eaa60d402 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurActionItems.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ILeMURClient.LemurActionItems.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Extract action items
+ /// Use LeMUR to generate a list of action items from a transcript + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurActionItemsAsync( + global::G.LemurActionItemsParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Extract action items
+ /// Use LeMUR to generate a list of action items from a transcript + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurActionItemsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurQuestionAnswer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurQuestionAnswer.g.verified.cs new file mode 100644 index 0000000000..6306567eca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurQuestionAnswer.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ILeMURClient.LemurQuestionAnswer.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Ask questions using LeMUR
+ /// Question & Answer allows you to ask free-form questions about a single transcript or a group of transcripts.
+ /// The questions can be any whose answers you find useful, such as judging whether a caller is likely to become a customer or whether all items on a meeting's agenda were covered. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurQuestionAnswerAsync( + global::G.LemurQuestionAnswerParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Ask questions using LeMUR
+ /// Question & Answer allows you to ask free-form questions about a single transcript or a group of transcripts.
+ /// The questions can be any whose answers you find useful, such as judging whether a caller is likely to become a customer or whether all items on a meeting's agenda were covered. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurQuestionAnswerAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurSummary.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurSummary.g.verified.cs new file mode 100644 index 0000000000..32fd99da2c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurSummary.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ILeMURClient.LemurSummary.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Summarize a transcript using LeMUR
+ /// Custom Summary allows you to distill a piece of audio into a few impactful sentences.
+ /// You can give the model context to obtain more targeted results while outputting the results in a variety of formats described in human language. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurSummaryAsync( + global::G.LemurSummaryParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Summarize a transcript using LeMUR
+ /// Custom Summary allows you to distill a piece of audio into a few impactful sentences.
+ /// You can give the model context to obtain more targeted results while outputting the results in a variety of formats described in human language. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurSummaryAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurTask.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurTask.g.verified.cs new file mode 100644 index 0000000000..e5a7a4249a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.LemurTask.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ILeMURClient.LemurTask.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Run a task using LeMUR
+ /// Use the LeMUR task endpoint to input your own LLM prompt. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurTaskAsync( + global::G.LemurTaskParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Run a task using LeMUR
+ /// Use the LeMUR task endpoint to input your own LLM prompt. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurTaskAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.PurgeLemurRequestData.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.PurgeLemurRequestData.g.verified.cs new file mode 100644 index 0000000000..dbf36342fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.PurgeLemurRequestData.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ILeMURClient.PurgeLemurRequestData.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Purge LeMUR request data
+ /// Delete the data for a previously submitted LeMUR request.
+ /// The LLM response data, as well as any context provided in the original request will be removed. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PurgeLemurRequestDataAsync( + string requestId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.g.verified.cs new file mode 100644 index 0000000000..1b947d38a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ILeMURClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ILeMURClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// LeMUR related operations
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILeMURClient : global::System.IDisposable + { + /// + /// AssemblyAI API + /// + public const string BaseUrl = "https://api.assemblyai.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IStreamingClient.CreateTemporaryToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IStreamingClient.CreateTemporaryToken.g.verified.cs new file mode 100644 index 0000000000..6d77d068f8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IStreamingClient.CreateTemporaryToken.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IStreamingClient.CreateTemporaryToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingClient + { + /// + /// Create temporary authentication token for Streaming STT
+ /// Create a temporary authentication token for Streaming Speech-to-Text + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTemporaryTokenAsync( + global::G.CreateRealtimeTemporaryTokenParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create temporary authentication token for Streaming STT
+ /// Create a temporary authentication token for Streaming Speech-to-Text + ///
+ /// + /// The amount of time until the token expires in seconds + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTemporaryTokenAsync( + int expiresIn, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IStreamingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IStreamingClient.g.verified.cs new file mode 100644 index 0000000000..7d30b449d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.IStreamingClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IStreamingClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Streaming Speech-to-Text
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IStreamingClient : global::System.IDisposable + { + /// + /// AssemblyAI API + /// + public const string BaseUrl = "https://api.assemblyai.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.CreateTranscript.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.CreateTranscript.g.verified.cs new file mode 100644 index 0000000000..8df60aa9b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.CreateTranscript.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITranscriptClient.CreateTranscript.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Transcribe audio
+ /// Create a transcript from a media file that is accessible via a URL. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTranscriptAsync( + global::G.TranscriptParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Transcribe audio
+ /// Create a transcript from a media file that is accessible via a URL. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTranscriptAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.DeleteTranscript.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.DeleteTranscript.g.verified.cs new file mode 100644 index 0000000000..747f4ed7b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.DeleteTranscript.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITranscriptClient.DeleteTranscript.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Delete transcript
+ /// Remove the data from the transcript and mark it as deleted. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTranscriptAsync( + string transcriptId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetRedactedAudio.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetRedactedAudio.g.verified.cs new file mode 100644 index 0000000000..296ea01685 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetRedactedAudio.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITranscriptClient.GetRedactedAudio.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Get redacted audio
+ /// Retrieve the redacted audio object containing the status and URL to the redacted audio. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRedactedAudioAsync( + string transcriptId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetSubtitles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetSubtitles.g.verified.cs new file mode 100644 index 0000000000..ed1a45100c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetSubtitles.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITranscriptClient.GetSubtitles.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Get subtitles for transcript
+ /// Export your transcript in SRT or VTT format to use with a video player for subtitles and closed captions. + ///
+ /// + /// + /// Format of the subtitles + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSubtitlesAsync( + string transcriptId, + global::G.SubtitleFormat subtitleFormat, + int charsPerCaption = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscript.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscript.g.verified.cs new file mode 100644 index 0000000000..8edc1ae6ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscript.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITranscriptClient.GetTranscript.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Get transcript
+ /// Get the transcript resource. The transcript is ready when the "status" is "completed". + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTranscriptAsync( + string transcriptId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscriptParagraphs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscriptParagraphs.g.verified.cs new file mode 100644 index 0000000000..55ed3fe06b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscriptParagraphs.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITranscriptClient.GetTranscriptParagraphs.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Get paragraphs in transcript
+ /// Get the transcript split by paragraphs. The API will attempt to semantically segment your transcript into paragraphs to create more reader-friendly transcripts. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTranscriptParagraphsAsync( + string transcriptId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscriptSentences.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscriptSentences.g.verified.cs new file mode 100644 index 0000000000..a1de0d2804 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.GetTranscriptSentences.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITranscriptClient.GetTranscriptSentences.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Get sentences in transcript
+ /// Get the transcript split by sentences. The API will attempt to semantically segment the transcript into sentences to create more reader-friendly transcripts. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTranscriptSentencesAsync( + string transcriptId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.ListTranscripts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.ListTranscripts.g.verified.cs new file mode 100644 index 0000000000..9df83c4bda --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.ListTranscripts.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ITranscriptClient.ListTranscripts.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// List transcripts
+ /// Retrieve a list of transcripts you created.
+ /// Transcripts are sorted from newest to oldest. The previous URL always points to a page with older transcripts. + ///
+ /// + /// + /// The status of your transcript. Possible values are queued, processing, completed, or error. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListTranscriptsAsync( + global::G.ListTranscriptParams? limit = default, + global::G.TranscriptStatus? status = default, + global::G.ListTranscriptParams? createdOn = default, + global::G.ListTranscriptParams? beforeId = default, + global::G.ListTranscriptParams? afterId = default, + global::G.ListTranscriptParams? throttledOnly = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.UploadFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.UploadFile.g.verified.cs new file mode 100644 index 0000000000..d75e77be1a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.UploadFile.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITranscriptClient.UploadFile.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Upload a media file
+ /// Upload a media file to AssemblyAI's servers. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadFileAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.WordSearch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.WordSearch.g.verified.cs new file mode 100644 index 0000000000..3ffe2b7d3b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.WordSearch.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ITranscriptClient.WordSearch.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Search words in transcript
+ /// Search through the transcript for keywords. You can search for individual words, numbers, or phrases containing up to five words or numbers. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task WordSearchAsync( + string transcriptId, + global::System.Collections.Generic.IList words, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.g.verified.cs new file mode 100644 index 0000000000..a4985da377 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.ITranscriptClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITranscriptClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Transcript related operations
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITranscriptClient : global::System.IDisposable + { + /// + /// AssemblyAI API + /// + public const string BaseUrl = "https://api.assemblyai.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.LeMURClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.LeMURClient.g.verified.cs index 54f5b075fa..9a5ee4b803 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.LeMURClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.LeMURClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LeMURClient : global::System.IDisposable + public sealed partial class LeMURClient : global::G.ILeMURClient, global::System.IDisposable { /// /// AssemblyAI API diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.StreamingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.StreamingClient.g.verified.cs index e13ef7607a..68686c4def 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.StreamingClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.StreamingClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class StreamingClient : global::System.IDisposable + public sealed partial class StreamingClient : global::G.IStreamingClient, global::System.IDisposable { /// /// AssemblyAI API diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.TranscriptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.TranscriptClient.g.verified.cs index 69f0781223..d74a3c3956 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.TranscriptClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/NewtonsoftJson/_#G.TranscriptClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TranscriptClient : global::System.IDisposable + public sealed partial class TranscriptClient : global::G.ITranscriptClient, global::System.IDisposable { /// /// AssemblyAI API diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.g.verified.cs index b8057da94b..321696a00a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// AssemblyAI API diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..2143351df5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// AssemblyAI API
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// AssemblyAI API + /// + public const string BaseUrl = "https://api.assemblyai.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// Transcript related operations + /// + public TranscriptClient Transcript { get; } + + /// + /// LeMUR related operations + /// + public LeMURClient LeMUR { get; } + + /// + /// Streaming Speech-to-Text + /// + public StreamingClient Streaming { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.GetLemurResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.GetLemurResponse.g.verified.cs new file mode 100644 index 0000000000..fb4e96b8a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.GetLemurResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ILeMURClient.GetLemurResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Retrieve LeMUR response
+ /// Retrieve a LeMUR response that was previously generated. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetLemurResponseAsync( + string requestId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurActionItems.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurActionItems.g.verified.cs new file mode 100644 index 0000000000..7eaa60d402 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurActionItems.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ILeMURClient.LemurActionItems.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Extract action items
+ /// Use LeMUR to generate a list of action items from a transcript + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurActionItemsAsync( + global::G.LemurActionItemsParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Extract action items
+ /// Use LeMUR to generate a list of action items from a transcript + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurActionItemsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurQuestionAnswer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurQuestionAnswer.g.verified.cs new file mode 100644 index 0000000000..6306567eca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurQuestionAnswer.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ILeMURClient.LemurQuestionAnswer.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Ask questions using LeMUR
+ /// Question & Answer allows you to ask free-form questions about a single transcript or a group of transcripts.
+ /// The questions can be any whose answers you find useful, such as judging whether a caller is likely to become a customer or whether all items on a meeting's agenda were covered. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurQuestionAnswerAsync( + global::G.LemurQuestionAnswerParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Ask questions using LeMUR
+ /// Question & Answer allows you to ask free-form questions about a single transcript or a group of transcripts.
+ /// The questions can be any whose answers you find useful, such as judging whether a caller is likely to become a customer or whether all items on a meeting's agenda were covered. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurQuestionAnswerAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurSummary.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurSummary.g.verified.cs new file mode 100644 index 0000000000..32fd99da2c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurSummary.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ILeMURClient.LemurSummary.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Summarize a transcript using LeMUR
+ /// Custom Summary allows you to distill a piece of audio into a few impactful sentences.
+ /// You can give the model context to obtain more targeted results while outputting the results in a variety of formats described in human language. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurSummaryAsync( + global::G.LemurSummaryParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Summarize a transcript using LeMUR
+ /// Custom Summary allows you to distill a piece of audio into a few impactful sentences.
+ /// You can give the model context to obtain more targeted results while outputting the results in a variety of formats described in human language. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurSummaryAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurTask.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurTask.g.verified.cs new file mode 100644 index 0000000000..e5a7a4249a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.LemurTask.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ILeMURClient.LemurTask.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Run a task using LeMUR
+ /// Use the LeMUR task endpoint to input your own LLM prompt. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurTaskAsync( + global::G.LemurTaskParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Run a task using LeMUR
+ /// Use the LeMUR task endpoint to input your own LLM prompt. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LemurTaskAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.PurgeLemurRequestData.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.PurgeLemurRequestData.g.verified.cs new file mode 100644 index 0000000000..dbf36342fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.PurgeLemurRequestData.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ILeMURClient.PurgeLemurRequestData.g.cs +#nullable enable + +namespace G +{ + public partial interface ILeMURClient + { + /// + /// Purge LeMUR request data
+ /// Delete the data for a previously submitted LeMUR request.
+ /// The LLM response data, as well as any context provided in the original request will be removed. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PurgeLemurRequestDataAsync( + string requestId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.g.verified.cs new file mode 100644 index 0000000000..bb945e51b1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ILeMURClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ILeMURClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// LeMUR related operations
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILeMURClient : global::System.IDisposable + { + /// + /// AssemblyAI API + /// + public const string BaseUrl = "https://api.assemblyai.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IStreamingClient.CreateTemporaryToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IStreamingClient.CreateTemporaryToken.g.verified.cs new file mode 100644 index 0000000000..6d77d068f8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IStreamingClient.CreateTemporaryToken.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IStreamingClient.CreateTemporaryToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingClient + { + /// + /// Create temporary authentication token for Streaming STT
+ /// Create a temporary authentication token for Streaming Speech-to-Text + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTemporaryTokenAsync( + global::G.CreateRealtimeTemporaryTokenParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create temporary authentication token for Streaming STT
+ /// Create a temporary authentication token for Streaming Speech-to-Text + ///
+ /// + /// The amount of time until the token expires in seconds + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTemporaryTokenAsync( + int expiresIn, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IStreamingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IStreamingClient.g.verified.cs new file mode 100644 index 0000000000..cb84f1b33c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.IStreamingClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IStreamingClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Streaming Speech-to-Text
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IStreamingClient : global::System.IDisposable + { + /// + /// AssemblyAI API + /// + public const string BaseUrl = "https://api.assemblyai.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.CreateTranscript.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.CreateTranscript.g.verified.cs new file mode 100644 index 0000000000..8df60aa9b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.CreateTranscript.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITranscriptClient.CreateTranscript.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Transcribe audio
+ /// Create a transcript from a media file that is accessible via a URL. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTranscriptAsync( + global::G.TranscriptParams request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Transcribe audio
+ /// Create a transcript from a media file that is accessible via a URL. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTranscriptAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.DeleteTranscript.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.DeleteTranscript.g.verified.cs new file mode 100644 index 0000000000..747f4ed7b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.DeleteTranscript.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITranscriptClient.DeleteTranscript.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Delete transcript
+ /// Remove the data from the transcript and mark it as deleted. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTranscriptAsync( + string transcriptId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetRedactedAudio.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetRedactedAudio.g.verified.cs new file mode 100644 index 0000000000..296ea01685 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetRedactedAudio.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITranscriptClient.GetRedactedAudio.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Get redacted audio
+ /// Retrieve the redacted audio object containing the status and URL to the redacted audio. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRedactedAudioAsync( + string transcriptId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetSubtitles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetSubtitles.g.verified.cs new file mode 100644 index 0000000000..ed1a45100c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetSubtitles.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITranscriptClient.GetSubtitles.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Get subtitles for transcript
+ /// Export your transcript in SRT or VTT format to use with a video player for subtitles and closed captions. + ///
+ /// + /// + /// Format of the subtitles + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSubtitlesAsync( + string transcriptId, + global::G.SubtitleFormat subtitleFormat, + int charsPerCaption = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscript.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscript.g.verified.cs new file mode 100644 index 0000000000..8edc1ae6ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscript.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITranscriptClient.GetTranscript.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Get transcript
+ /// Get the transcript resource. The transcript is ready when the "status" is "completed". + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTranscriptAsync( + string transcriptId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscriptParagraphs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscriptParagraphs.g.verified.cs new file mode 100644 index 0000000000..55ed3fe06b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscriptParagraphs.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITranscriptClient.GetTranscriptParagraphs.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Get paragraphs in transcript
+ /// Get the transcript split by paragraphs. The API will attempt to semantically segment your transcript into paragraphs to create more reader-friendly transcripts. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTranscriptParagraphsAsync( + string transcriptId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscriptSentences.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscriptSentences.g.verified.cs new file mode 100644 index 0000000000..a1de0d2804 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.GetTranscriptSentences.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITranscriptClient.GetTranscriptSentences.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Get sentences in transcript
+ /// Get the transcript split by sentences. The API will attempt to semantically segment the transcript into sentences to create more reader-friendly transcripts. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTranscriptSentencesAsync( + string transcriptId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.ListTranscripts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.ListTranscripts.g.verified.cs new file mode 100644 index 0000000000..9df83c4bda --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.ListTranscripts.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ITranscriptClient.ListTranscripts.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// List transcripts
+ /// Retrieve a list of transcripts you created.
+ /// Transcripts are sorted from newest to oldest. The previous URL always points to a page with older transcripts. + ///
+ /// + /// + /// The status of your transcript. Possible values are queued, processing, completed, or error. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListTranscriptsAsync( + global::G.ListTranscriptParams? limit = default, + global::G.TranscriptStatus? status = default, + global::G.ListTranscriptParams? createdOn = default, + global::G.ListTranscriptParams? beforeId = default, + global::G.ListTranscriptParams? afterId = default, + global::G.ListTranscriptParams? throttledOnly = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.UploadFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.UploadFile.g.verified.cs new file mode 100644 index 0000000000..d75e77be1a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.UploadFile.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITranscriptClient.UploadFile.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Upload a media file
+ /// Upload a media file to AssemblyAI's servers. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadFileAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.WordSearch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.WordSearch.g.verified.cs new file mode 100644 index 0000000000..3ffe2b7d3b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.WordSearch.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ITranscriptClient.WordSearch.g.cs +#nullable enable + +namespace G +{ + public partial interface ITranscriptClient + { + /// + /// Search words in transcript
+ /// Search through the transcript for keywords. You can search for individual words, numbers, or phrases containing up to five words or numbers. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task WordSearchAsync( + string transcriptId, + global::System.Collections.Generic.IList words, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.g.verified.cs new file mode 100644 index 0000000000..9b9bf5d1fa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.ITranscriptClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITranscriptClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Transcript related operations
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITranscriptClient : global::System.IDisposable + { + /// + /// AssemblyAI API + /// + public const string BaseUrl = "https://api.assemblyai.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.LeMURClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.LeMURClient.g.verified.cs index 5b9707d9b2..64a675522f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.LeMURClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.LeMURClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LeMURClient : global::System.IDisposable + public sealed partial class LeMURClient : global::G.ILeMURClient, global::System.IDisposable { /// /// AssemblyAI API diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.StreamingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.StreamingClient.g.verified.cs index b98c1c32f5..40efeb8c28 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.StreamingClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.StreamingClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class StreamingClient : global::System.IDisposable + public sealed partial class StreamingClient : global::G.IStreamingClient, global::System.IDisposable { /// /// AssemblyAI API diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.TranscriptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.TranscriptClient.g.verified.cs index 2c0d689e10..bd93f92b15 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.TranscriptClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/AssemblyAi/SystemTextJson/_#G.TranscriptClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TranscriptClient : global::System.IDisposable + public sealed partial class TranscriptClient : global::G.ITranscriptClient, global::System.IDisposable { /// /// AssemblyAI API diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.Api.g.verified.cs index ab292c567c..72c991dae0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.Api.g.verified.cs @@ -11,7 +11,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.ConnectorsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.ConnectorsClient.g.verified.cs index a7e8076e0b..d5c6011bc9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.ConnectorsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.ConnectorsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ConnectorsClient : global::System.IDisposable + public sealed partial class ConnectorsClient : global::G.IConnectorsClient, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs index 0a8a4e2fc1..ad76a3425c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DatasetsClient : global::System.IDisposable + public sealed partial class DatasetsClient : global::G.IDatasetsClient, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.EmbedJobsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.EmbedJobsClient.g.verified.cs index 35bbca96df..cb244b36c1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.EmbedJobsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.EmbedJobsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EmbedJobsClient : global::System.IDisposable + public sealed partial class EmbedJobsClient : global::G.IEmbedJobsClient, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.FinetuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.FinetuningClient.g.verified.cs index 1b3de48328..ead3dd35e5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.FinetuningClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.FinetuningClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FinetuningClient : global::System.IDisposable + public sealed partial class FinetuningClient : global::G.IFinetuningClient, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Chat.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Chat.g.verified.cs new file mode 100644 index 0000000000..a8314e3bc7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Chat.g.verified.cs @@ -0,0 +1,214 @@ +//HintName: G.IApi.Chat.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Chat
+ /// Generates a text response to a user message.
+ /// To learn how to use the Chat API with Streaming and RAG follow our [Text Generation guides](https://docs.cohere.com/docs/chat-api). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ChatAsync( + global::G.ChatRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Chat
+ /// Generates a text response to a user message.
+ /// To learn how to use the Chat API with Streaming and RAG follow our [Text Generation guides](https://docs.cohere.com/docs/chat-api). + ///
+ /// + /// + /// Text input for the model to respond to.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Defaults to `command-r-plus`.
+ /// The name of a compatible [Cohere model](https://docs.cohere.com/docs/models) or the ID of a [fine-tuned](https://docs.cohere.com/docs/chat-fine-tuning) model.
+ /// Compatible Deployments: Cohere Platform, Private Deployments + /// + /// + /// Defaults to `false`.
+ /// When `true`, the response will be a JSON stream of events. The final event will contain the complete response, and will have an `event_type` of `"stream-end"`.
+ /// Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// When specified, the default Cohere preamble will be replaced with the provided one. Preambles are a part of the prompt used to adjust the model's overall behavior and conversation style, and use the `SYSTEM` role.
+ /// The `SYSTEM` role is also used for the contents of the optional `chat_history=` parameter. When used with the `chat_history=` parameter it adds content throughout a conversation. Conversely, when used with the `preamble=` parameter it adds content at the start of the conversation only.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// A list of previous messages between the user and the model, giving the model conversational context for responding to the user's `message`.
+ /// Each item represents a single message in the chat history, excluding the current user turn. It has two properties: `role` and `message`. The `role` identifies the sender (`CHATBOT`, `SYSTEM`, or `USER`), while the `message` contains the text content.
+ /// The chat_history parameter should not be used for `SYSTEM` messages in most cases. Instead, to add a `SYSTEM` role message at the beginning of a conversation, the `preamble` parameter should be used.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// An alternative to `chat_history`.
+ /// Providing a `conversation_id` creates or resumes a persisted conversation with the specified ID. The ID can be any non empty string.
+ /// Compatible Deployments: Cohere Platform + /// + /// + /// Defaults to `AUTO` when `connectors` are specified and `OFF` in all other cases.
+ /// Dictates how the prompt will be constructed.
+ /// With `prompt_truncation` set to "AUTO", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be changed and ranked by relevance.
+ /// With `prompt_truncation` set to "AUTO_PRESERVE_ORDER", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be preserved as they are inputted into the API.
+ /// With `prompt_truncation` set to "OFF", no elements will be dropped. If the sum of the inputs exceeds the model's context length limit, a `TooManyTokens` error will be returned.
+ /// Compatible Deployments: Cohere Platform Only AUTO_PRESERVE_ORDER: Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Accepts `{"id": "web-search"}`, and/or the `"id"` for a custom [connector](https://docs.cohere.com/docs/connectors), if you've [created](https://docs.cohere.com/docs/creating-and-deploying-a-connector) one.
+ /// When specified, the model's reply will be enriched with information found by querying each of the connectors (RAG).
+ /// Compatible Deployments: Cohere Platform + /// + /// + /// Defaults to `false`.
+ /// When `true`, the response will only contain a list of generated search queries, but no search will take place, and no reply from the model to the user's `message` will be generated.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// A list of relevant documents that the model can cite to generate a more accurate reply. Each document is a string-string dictionary.
+ /// Example:
+ /// ```
+ /// [
+ /// { "title": "Tall penguins", "text": "Emperor penguins are the tallest." },
+ /// { "title": "Penguin habitats", "text": "Emperor penguins only live in Antarctica." },
+ /// ]
+ /// ```
+ /// Keys and values from each document will be serialized to a string and passed to the model. The resulting generation will include citations that reference some of these documents.
+ /// Some suggested keys are "text", "author", and "date". For better generation quality, it is recommended to keep the total word count of the strings in the dictionary to under 300 words.
+ /// An `id` field (string) can be optionally supplied to identify the document in the citations. This field will not be passed to the model.
+ /// An `_excludes` field (array of strings) can be optionally supplied to omit some key-value pairs from being shown to the model. The omitted fields will still show up in the citation object. The "_excludes" field will not be passed to the model.
+ /// See ['Document Mode'](https://docs.cohere.com/docs/retrieval-augmented-generation-rag#document-mode) in the guide for more information.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Defaults to `"accurate"`.
+ /// Dictates the approach taken to generating citations as part of the RAG flow by allowing the user to specify whether they want `"accurate"` results, `"fast"` results or no results.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Defaults to `0.3`.
+ /// A non-negative float that tunes the degree of randomness in generation. Lower temperatures mean less random generations, and higher temperatures mean more random generations.
+ /// Randomness can be further maximized by increasing the value of the `p` parameter.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// The maximum number of input tokens to send to the model. If not specified, `max_input_tokens` is the model's context length limit minus a small buffer.
+ /// Input will be truncated according to the `prompt_truncation` parameter.
+ /// Compatible Deployments: Cohere Platform + /// + /// + /// Ensures only the top `k` most likely tokens are considered for generation at each step.
+ /// Defaults to `0`, min value of `0`, max value of `500`.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
+ /// Default Value: 0 + /// + /// + /// Ensures that only the most likely tokens, with total probability mass of `p`, are considered for generation at each step. If both `k` and `p` are enabled, `p` acts after `k`.
+ /// Defaults to `0.75`. min value of `0.01`, max value of `0.99`.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
+ /// Default Value: 0.75 + /// + /// + /// If specified, the backend will make a best effort to sample tokens
+ /// deterministically, such that repeated requests with the same
+ /// seed and parameters should return the same result. However,
+ /// determinism cannot be totally guaranteed.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// A list of up to 5 strings that the model will use to stop generation. If the model generates a string that matches any of the strings in the list, it will stop generating tokens and return the generated text up to that point not including the stop sequence.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
+ /// Used to reduce repetitiveness of generated tokens. The higher the value, the stronger a penalty is applied to previously present tokens, proportional to how many times they have already appeared in the prompt or prior generation.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
+ /// Used to reduce repetitiveness of generated tokens. Similar to `frequency_penalty`, except that this penalty is applied equally to all tokens that have already appeared, regardless of their exact frequencies.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// A list of available tools (functions) that the model may suggest invoking before producing a text response.
+ /// When `tools` is passed (without `tool_results`), the `text` field in the response will be `""` and the `tool_calls` field in the response will be populated with a list of tool calls that need to be made. If no calls need to be made, the `tool_calls` array will be empty.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// A list of results from invoking tools recommended by the model in the previous chat turn. Results are used to produce a text response and will be referenced in citations. When using `tool_results`, `tools` must be passed as well.
+ /// Each tool_result contains information about how it was invoked, as well as a list of outputs in the form of dictionaries.
+ /// **Note**: `outputs` must be a list of objects. If your tool returns a single object (eg `{"status": 200}`), make sure to wrap it in a list.
+ /// ```
+ /// tool_results = [
+ /// {
+ /// "call": {
+ /// "name": <tool name>,
+ /// "parameters": {
+ /// <param name>: <param value>
+ /// }
+ /// },
+ /// "outputs": [{
+ /// <key>: <value>
+ /// }]
+ /// },
+ /// ...
+ /// ]
+ /// ```
+ /// **Note**: Chat calls with `tool_results` should not be included in the Chat history to avoid duplication of the message text.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Forces the chat to be single step. Defaults to `false`. + /// + /// + /// Configuration for forcing the model output to adhere to the specified format. Supported on [Command R](https://docs.cohere.com/docs/command-r), [Command R+](https://docs.cohere.com/docs/command-r-plus) and newer models.
+ /// The model can be forced into outputting JSON objects (with up to 5 levels of nesting) by setting `{ "type": "json_object" }`.
+ /// A [JSON Schema](https://json-schema.org/) can optionally be provided, to ensure a specific structure.
+ /// **Note**: When using `{ "type": "json_object" }` your `message` should always explicitly instruct the model to generate a JSON (eg: _"Generate a JSON ..."_) . Otherwise the model may end up getting stuck generating an infinite stream of characters and eventually run out of context length.
+ /// **Limitation**: The parameter is not supported in RAG mode (when any of `connectors`, `documents`, `tools`, `tool_results` are provided). + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ChatAsync( + string message, + string? xClientName = default, + string? model = default, + bool stream = default, + string? preamble = default, + global::System.Collections.Generic.IList? chatHistory = default, + string? conversationId = default, + global::G.ChatRequestPromptTruncation? promptTruncation = default, + global::System.Collections.Generic.IList? connectors = default, + bool searchQueriesOnly = default, + global::System.Collections.Generic.IList? documents = default, + global::G.ChatRequestCitationQuality? citationQuality = default, + float temperature = default, + int maxTokens = default, + int maxInputTokens = default, + int k = 0, + double p = 0.75, + int seed = default, + global::System.Collections.Generic.IList? stopSequences = default, + double frequencyPenalty = default, + double presencePenalty = default, + global::System.Collections.Generic.IList? tools = default, + global::System.Collections.Generic.IList? toolResults = default, + bool forceSingleStep = default, + global::G.ResponseFormat? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Chatv2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Chatv2.g.verified.cs new file mode 100644 index 0000000000..e68f77d862 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Chatv2.g.verified.cs @@ -0,0 +1,98 @@ +//HintName: G.IApi.Chatv2.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Chat with the model
+ /// Generates a message from the model in response to a provided conversation. To learn how to use the Chat API with Streaming and RAG follow our Text Generation guides. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> Chatv2Async( + global::G.Chatv2Request request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Chat with the model
+ /// Generates a message from the model in response to a provided conversation. To learn how to use the Chat API with Streaming and RAG follow our Text Generation guides. + ///
+ /// + /// The name of a compatible [Cohere model](https://docs.cohere.com/docs/models) (such as command-r or command-r-plus) or the ID of a [fine-tuned](https://docs.cohere.com/docs/chat-fine-tuning) model. + /// + /// + /// A list of chat messages in chronological order, representing a conversation between the user and the model.
+ /// Messages can be from `User`, `Assistant`, `Tool` and `System` roles. Learn more about messages and roles in [the Chat API guide](https://docs.cohere.com/docs/chat-api). + /// + /// + /// A list of available tools (functions) that the model may suggest invoking before producing a text response.
+ /// When `tools` is passed (without `tool_results`), the `text` content in the response will be empty and the `tool_calls` field in the response will be populated with a list of tool calls that need to be made. If no calls need to be made, the `tool_calls` array will be empty. + /// + /// + /// Defaults to `"accurate"`.
+ /// Dictates the approach taken to generating citations as part of the RAG flow by allowing the user to specify whether they want `"accurate"` results, `"fast"` results or no results. + /// + /// + /// Configuration for forcing the model output to adhere to the specified format. Supported on [Command R](https://docs.cohere.com/docs/command-r), [Command R+](https://docs.cohere.com/docs/command-r-plus) and newer models.
+ /// The model can be forced into outputting JSON objects (with up to 5 levels of nesting) by setting `{ "type": "json_object" }`.
+ /// A [JSON Schema](https://json-schema.org/) can optionally be provided, to ensure a specific structure.
+ /// **Note**: When using `{ "type": "json_object" }` your `message` should always explicitly instruct the model to generate a JSON (eg: _"Generate a JSON ..."_) . Otherwise the model may end up getting stuck generating an infinite stream of characters and eventually run out of context length.
+ /// **Limitation**: The parameter is not supported in RAG mode (when any of `connectors`, `documents`, `tools`, `tool_results` are provided). + /// + /// + /// The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations. + /// + /// + /// A list of up to 5 strings that the model will use to stop generation. If the model generates a string that matches any of the strings in the list, it will stop generating tokens and return the generated text up to that point not including the stop sequence. + /// + /// + /// Defaults to `0.3`.
+ /// A non-negative float that tunes the degree of randomness in generation. Lower temperatures mean less random generations, and higher temperatures mean more random generations.
+ /// Randomness can be further maximized by increasing the value of the `p` parameter. + /// + /// + /// If specified, the backend will make a best effort to sample tokens
+ /// deterministically, such that repeated requests with the same
+ /// seed and parameters should return the same result. However,
+ /// determinism cannot be totally guaranteed. + /// + /// + /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
+ /// Used to reduce repetitiveness of generated tokens. The higher the value, the stronger a penalty is applied to previously present tokens, proportional to how many times they have already appeared in the prompt or prior generation. + /// + /// + /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
+ /// Used to reduce repetitiveness of generated tokens. Similar to `frequency_penalty`, except that this penalty is applied equally to all tokens that have already appeared, regardless of their exact frequencies. + /// + /// + /// Ensures only the top `k` most likely tokens are considered for generation at each step.
+ /// Defaults to `0`, min value of `0`, max value of `500`.
+ /// Default Value: 0F + /// + /// + /// Ensures that only the most likely tokens, with total probability mass of `p`, are considered for generation at each step. If both `k` and `p` are enabled, `p` acts after `k`.
+ /// Defaults to `0.75`. min value of `0.01`, max value of `0.99`.
+ /// Default Value: 0.75F + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> Chatv2Async( + string model, + global::System.Collections.Generic.IList messages, + global::System.Collections.Generic.IList? tools = default, + global::G.Chatv2RequestCitationMode? citationMode = default, + global::G.ResponseFormat2? responseFormat = default, + int maxTokens = default, + global::System.Collections.Generic.IList? stopSequences = default, + float temperature = default, + int seed = default, + float frequencyPenalty = default, + float presencePenalty = default, + float k = 0F, + float p = 0.75F, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.CheckAPIKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.CheckAPIKey.g.verified.cs new file mode 100644 index 0000000000..2cfeb1ff7a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.CheckAPIKey.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IApi.CheckAPIKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Check API key
+ /// Checks that the api key in the Authorization header is valid and active + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckAPIKeyAsync( + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Classify.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Classify.g.verified.cs new file mode 100644 index 0000000000..95554b944d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Classify.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IApi.Classify.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Classify
+ /// This endpoint makes a prediction about which label fits the specified text inputs best. To make a prediction, Classify uses the provided `examples` of text + label pairs as a reference.
+ /// Note: [Fine-tuned models](https://docs.cohere.com/docs/classify-fine-tuning) trained on classification examples don't require the `examples` parameter to be passed in explicitly. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClassifyAsync( + global::G.ClassifyRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Classify
+ /// This endpoint makes a prediction about which label fits the specified text inputs best. To make a prediction, Classify uses the provided `examples` of text + label pairs as a reference.
+ /// Note: [Fine-tuned models](https://docs.cohere.com/docs/classify-fine-tuning) trained on classification examples don't require the `examples` parameter to be passed in explicitly. + ///
+ /// + /// + /// A list of up to 96 texts to be classified. Each one must be a non-empty string.
+ /// There is, however, no consistent, universal limit to the length a particular input can be. We perform classification on the first `x` tokens of each input, and `x` varies depending on which underlying model is powering classification. The maximum token length for each model is listed in the "max tokens" column [here](https://docs.cohere.com/docs/models).
+ /// Note: by default the `truncate` parameter is set to `END`, so tokens exceeding the limit will be automatically dropped. This behavior can be disabled by setting `truncate` to `NONE`, which will result in validation errors for longer texts. + /// + /// + /// An array of examples to provide context to the model. Each example is a text string and its associated label/class. Each unique label requires at least 2 examples associated with it; the maximum number of examples is 2500, and each example has a maximum length of 512 tokens. The values should be structured as `{text: "...",label: "..."}`.
+ /// Note: [Fine-tuned Models](https://docs.cohere.com/docs/classify-fine-tuning) trained on classification examples don't require the `examples` parameter to be passed in explicitly. + /// + /// + /// The identifier of the model. Currently available models are `embed-multilingual-v2.0`, `embed-english-light-v2.0`, and `embed-english-v2.0` (default). Smaller "light" models are faster, while larger models will perform better. [Fine-tuned models](https://docs.cohere.com/docs/fine-tuning) can also be supplied with their full ID. + /// + /// + /// The ID of a custom playground preset. You can create presets in the [playground](https://dashboard.cohere.com/playground/classify?model=large). If you use a preset, all other parameters become optional, and any included parameters will override the preset's parameters.
+ /// Example: my-preset-a58sbd + /// + /// + /// One of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length.
+ /// Passing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.
+ /// If `NONE` is selected, when the input exceeds the maximum input token length an error will be returned.
+ /// Default Value: END + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClassifyAsync( + global::System.Collections.Generic.IList inputs, + string? xClientName = default, + global::System.Collections.Generic.IList? examples = default, + string? model = default, + string? preset = default, + global::G.ClassifyRequestTruncate? truncate = global::G.ClassifyRequestTruncate.END, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Detokenize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Detokenize.g.verified.cs new file mode 100644 index 0000000000..fbee5ed3cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Detokenize.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IApi.Detokenize.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Detokenize
+ /// This endpoint takes tokens using byte-pair encoding and returns their text representation. To learn more about tokenization and byte pair encoding, see the tokens page. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DetokenizeAsync( + global::G.DetokenizeRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Detokenize
+ /// This endpoint takes tokens using byte-pair encoding and returns their text representation. To learn more about tokenization and byte pair encoding, see the tokens page. + ///
+ /// + /// + /// The list of tokens to be detokenized. + /// + /// + /// An optional parameter to provide the model name. This will ensure that the detokenization is done by the tokenizer used by that model. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DetokenizeAsync( + global::System.Collections.Generic.IList tokens, + string model, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Embed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Embed.g.verified.cs new file mode 100644 index 0000000000..9409b1d441 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Embed.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.IApi.Embed.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Embed
+ /// This endpoint returns text embeddings. An embedding is a list of floating point numbers that captures semantic information about the text that it represents.
+ /// Embeddings can be used to create text classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.
+ /// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](/docs/semantic-search). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> EmbedAsync( + global::G.EmbedRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Embed
+ /// This endpoint returns text embeddings. An embedding is a list of floating point numbers that captures semantic information about the text that it represents.
+ /// Embeddings can be used to create text classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.
+ /// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](/docs/semantic-search). + ///
+ /// + /// + /// An array of strings for the model to embed. Maximum number of texts per call is `96`. We recommend reducing the length of each text to be under `512` tokens for optimal quality. + /// + /// + /// Defaults to embed-english-v2.0
+ /// The identifier of the model. Smaller "light" models are faster, while larger models will perform better. [Custom models](/docs/training-custom-models) can also be supplied with their full ID.
+ /// Available models and corresponding embedding dimensions:
+ /// * `embed-english-v3.0` 1024
+ /// * `embed-multilingual-v3.0` 1024
+ /// * `embed-english-light-v3.0` 384
+ /// * `embed-multilingual-light-v3.0` 384
+ /// * `embed-english-v2.0` 4096
+ /// * `embed-english-light-v2.0` 1024
+ /// * `embed-multilingual-v2.0` 768 + /// + /// + /// Specifies the type of input passed to the model. Required for embedding models v3 and higher.
+ /// - `"search_document"`: Used for embeddings stored in a vector database for search use-cases.
+ /// - `"search_query"`: Used for embeddings of search queries run against a vector DB to find relevant documents.
+ /// - `"classification"`: Used for embeddings passed through a text classifier.
+ /// - `"clustering"`: Used for the embeddings run through a clustering algorithm. + /// + /// + /// Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.
+ /// * `"float"`: Use this when you want to get back the default float embeddings. Valid for all models.
+ /// * `"int8"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.
+ /// * `"uint8"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.
+ /// * `"binary"`: Use this when you want to get back signed binary embeddings. Valid for only v3 models.
+ /// * `"ubinary"`: Use this when you want to get back unsigned binary embeddings. Valid for only v3 models. + /// + /// + /// One of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length.
+ /// Passing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.
+ /// If `NONE` is selected, when the input exceeds the maximum input token length an error will be returned.
+ /// Default Value: END + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> EmbedAsync( + global::System.Collections.Generic.IList texts, + string? xClientName = default, + string? model = default, + global::G.EmbedInputType? inputType = default, + global::System.Collections.Generic.IList? embeddingTypes = default, + global::G.EmbedRequestTruncate? truncate = global::G.EmbedRequestTruncate.END, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Generate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Generate.g.verified.cs new file mode 100644 index 0000000000..94c779aed6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Generate.g.verified.cs @@ -0,0 +1,134 @@ +//HintName: G.IApi.Generate.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Generate
+ /// <Warning>
+ /// This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
+ /// </Warning>
+ /// Generates realistic text conditioned on a given input. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateAsync( + global::G.GenerateRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate
+ /// <Warning>
+ /// This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
+ /// </Warning>
+ /// Generates realistic text conditioned on a given input. + ///
+ /// + /// + /// The input text that serves as the starting point for generating the response.
+ /// Note: The prompt will be pre-processed and modified before reaching the model.
+ /// Example: Please explain to me how LLMs work + /// + /// + /// The identifier of the model to generate with. Currently available models are `command` (default), `command-nightly` (experimental), `command-light`, and `command-light-nightly` (experimental).
+ /// Smaller, "light" models are faster, while larger models will perform better. [Custom models](/docs/training-custom-models) can also be supplied with their full ID. + /// + /// + /// The maximum number of generations that will be returned. Defaults to `1`, min value of `1`, max value of `5`. + /// + /// + /// When `true`, the response will be a JSON stream of events. Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.
+ /// The final event will contain the complete response, and will contain an `is_finished` field set to `true`. The event will also contain a `finish_reason`, which can be one of the following:
+ /// - `COMPLETE` - the model sent back a finished reply
+ /// - `MAX_TOKENS` - the reply was cut off because the model reached the maximum number of tokens for its context length
+ /// - `ERROR` - something went wrong when generating the reply
+ /// - `ERROR_TOXIC` - the model generated a reply that was deemed toxic + /// + /// + /// The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations.
+ /// This parameter is off by default, and if it's not specified, the model will continue generating until it emits an EOS completion token. See [BPE Tokens](/bpe-tokens-wiki) for more details.
+ /// Can only be set to `0` if `return_likelihoods` is set to `ALL` to get the likelihood of the prompt. + /// + /// + /// One of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length.
+ /// Passing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.
+ /// If `NONE` is selected, when the input exceeds the maximum input token length an error will be returned.
+ /// Default Value: END + /// + /// + /// A non-negative float that tunes the degree of randomness in generation. Lower temperatures mean less random generations. See [Temperature](/temperature-wiki) for more details.
+ /// Defaults to `0.75`, min value of `0.0`, max value of `5.0`. + /// + /// + /// If specified, the backend will make a best effort to sample tokens
+ /// deterministically, such that repeated requests with the same
+ /// seed and parameters should return the same result. However,
+ /// determinism cannot be totally guaranteed.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Identifier of a custom preset. A preset is a combination of parameters, such as prompt, temperature etc. You can create presets in the [playground](https://dashboard.cohere.com/playground/generate).
+ /// When a preset is specified, the `prompt` parameter becomes optional, and any included parameters will override the preset's parameters.
+ /// Example: my-preset-a58sbd + /// + /// + /// The generated text will be cut at the beginning of the earliest occurrence of an end sequence. The sequence will be excluded from the text. + /// + /// + /// The generated text will be cut at the end of the earliest occurrence of a stop sequence. The sequence will be included the text. + /// + /// + /// Ensures only the top `k` most likely tokens are considered for generation at each step.
+ /// Defaults to `0`, min value of `0`, max value of `500`. + /// + /// + /// Ensures that only the most likely tokens, with total probability mass of `p`, are considered for generation at each step. If both `k` and `p` are enabled, `p` acts after `k`.
+ /// Defaults to `0.75`. min value of `0.01`, max value of `0.99`. + /// + /// + /// Used to reduce repetitiveness of generated tokens. The higher the value, the stronger a penalty is applied to previously present tokens, proportional to how many times they have already appeared in the prompt or prior generation.
+ /// Using `frequency_penalty` in combination with `presence_penalty` is not supported on newer models. + /// + /// + /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
+ /// Can be used to reduce repetitiveness of generated tokens. Similar to `frequency_penalty`, except that this penalty is applied equally to all tokens that have already appeared, regardless of their exact frequencies.
+ /// Using `frequency_penalty` in combination with `presence_penalty` is not supported on newer models. + /// + /// + /// One of `GENERATION|ALL|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.
+ /// If `GENERATION` is selected, the token likelihoods will only be provided for generated text.
+ /// If `ALL` is selected, the token likelihoods will be provided both for the prompt and the generated text.
+ /// Default Value: NONE + /// + /// + /// When enabled, the user's prompt will be sent to the model without any pre-processing. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateAsync( + string prompt, + string? xClientName = default, + string? model = default, + int numGenerations = default, + bool stream = default, + int maxTokens = default, + global::G.GenerateRequestTruncate? truncate = global::G.GenerateRequestTruncate.END, + double temperature = default, + int seed = default, + string? preset = default, + global::System.Collections.Generic.IList? endSequences = default, + global::System.Collections.Generic.IList? stopSequences = default, + int k = default, + double p = default, + double frequencyPenalty = default, + double presencePenalty = default, + global::G.GenerateRequestReturnLikelihoods? returnLikelihoods = global::G.GenerateRequestReturnLikelihoods.NONE, + bool rawPrompting = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Rerank.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Rerank.g.verified.cs new file mode 100644 index 0000000000..1441f38540 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Rerank.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IApi.Rerank.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Rerank
+ /// This endpoint takes in a query and a list of texts and produces an ordered array with each text assigned a relevance score. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RerankAsync( + global::G.RerankRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Rerank
+ /// This endpoint takes in a query and a list of texts and produces an ordered array with each text assigned a relevance score. + ///
+ /// + /// + /// The identifier of the model to use, one of : `rerank-english-v3.0`, `rerank-multilingual-v3.0`, `rerank-english-v2.0`, `rerank-multilingual-v2.0` + /// + /// + /// The search query + /// + /// + /// A list of document objects or strings to rerank.
+ /// If a document is provided the text fields is required and all other fields will be preserved in the response.
+ /// The total max chunks (length of documents * max_chunks_per_doc) must be less than 10000.
+ /// We recommend a maximum of 1,000 documents for optimal endpoint performance. + /// + /// + /// The number of most relevant documents or indices to return, defaults to the length of the documents + /// + /// + /// If a JSON object is provided, you can specify which keys you would like to have considered for reranking. The model will rerank based on order of the fields passed in (i.e. rank_fields=['title','author','text'] will rerank using the values in title, author, text sequentially. If the length of title, author, and text exceeds the context length of the model, the chunking will not re-consider earlier fields). If not provided, the model will use the default text field for ranking. + /// + /// + /// - If false, returns results without the doc text - the api will return a list of {index, relevance score} where index is inferred from the list passed into the request.
+ /// - If true, returns results with the doc text passed in - the api will return an ordered list of {index, text, relevance score} where index + text refers to the list passed into the request.
+ /// Default Value: false + /// + /// + /// The maximum number of chunks to produce internally from a document
+ /// Default Value: 10 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RerankAsync( + string query, + global::System.Collections.Generic.IList> documents, + string? xClientName = default, + string? model = default, + int topN = default, + global::System.Collections.Generic.IList? rankFields = default, + bool returnDocuments = false, + int maxChunksPerDoc = 10, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Summarize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Summarize.g.verified.cs new file mode 100644 index 0000000000..f244193934 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Summarize.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.IApi.Summarize.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Summarize
+ /// <Warning>
+ /// This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
+ /// </Warning>
+ /// Generates a summary in English for a given text. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SummarizeAsync( + global::G.SummarizeRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Summarize
+ /// <Warning>
+ /// This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
+ /// </Warning>
+ /// Generates a summary in English for a given text. + ///
+ /// + /// + /// The text to generate a summary for. Can be up to 100,000 characters long. Currently the only supported language is English. + /// + /// + /// One of `short`, `medium`, `long`, or `auto` defaults to `auto`. Indicates the approximate length of the summary. If `auto` is selected, the best option will be picked based on the input text.
+ /// Default Value: medium + /// + /// + /// One of `paragraph`, `bullets`, or `auto`, defaults to `auto`. Indicates the style in which the summary will be delivered - in a free form paragraph or in bullet points. If `auto` is selected, the best option will be picked based on the input text.
+ /// Default Value: paragraph + /// + /// + /// The identifier of the model to generate the summary with. Currently available models are `command` (default), `command-nightly` (experimental), `command-light`, and `command-light-nightly` (experimental). Smaller, "light" models are faster, while larger models will perform better. + /// + /// + /// One of `low`, `medium`, `high`, or `auto`, defaults to `auto`. Controls how close to the original text the summary is. `high` extractiveness summaries will lean towards reusing sentences verbatim, while `low` extractiveness summaries will tend to paraphrase more. If `auto` is selected, the best option will be picked based on the input text.
+ /// Default Value: low + /// + /// + /// Ranges from 0 to 5. Controls the randomness of the output. Lower values tend to generate more “predictable” output, while higher values tend to generate more “creative” output. The sweet spot is typically between 0 and 1.
+ /// Default Value: 0.3 + /// + /// + /// A free-form instruction for modifying how the summaries get generated. Should complete the sentence "Generate a summary _". Eg. "focusing on the next steps" or "written by Yoda" + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SummarizeAsync( + string text, + string? xClientName = default, + global::G.SummarizeRequestLength? length = global::G.SummarizeRequestLength.Medium, + global::G.SummarizeRequestFormat? format = global::G.SummarizeRequestFormat.Paragraph, + string? model = default, + global::G.SummarizeRequestExtractiveness? extractiveness = global::G.SummarizeRequestExtractiveness.Low, + double temperature = 0.3, + string? additionalCommand = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Tokenize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Tokenize.g.verified.cs new file mode 100644 index 0000000000..928199662d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.Tokenize.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IApi.Tokenize.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Tokenize
+ /// This endpoint splits input text into smaller units called tokens using byte-pair encoding (BPE). To learn more about tokenization and byte pair encoding, see the tokens page. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TokenizeAsync( + global::G.TokenizeRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Tokenize
+ /// This endpoint splits input text into smaller units called tokens using byte-pair encoding (BPE). To learn more about tokenization and byte pair encoding, see the tokens page. + ///
+ /// + /// + /// The string to be tokenized, the minimum text length is 1 character, and the maximum text length is 65536 characters. + /// + /// + /// An optional parameter to provide the model name. This will ensure that the tokenization uses the tokenizer used by that model. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TokenizeAsync( + string text, + string model, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..66ff3cb5b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// The Cohere Platform is centered around models.
+ /// Each model has a different amount of power (i.e. parameters), to be used for different tasks.
+ /// Cohere also supports finetuning of baseline models to improve performance on downstream tasks or to teach the model large quantities of information which cannot be extracted with few-shot learning or prompt engineering.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// Datasets API + /// + public DatasetsClient Datasets { get; } + + /// + /// Connectors API + /// + public ConnectorsClient Connectors { get; } + + /// + /// Embed Jobs API + /// + public EmbedJobsClient EmbedJobs { get; } + + /// + /// Finetuning API (Beta) + /// + public FinetuningClient Finetuning { get; } + + /// + /// + /// + public ModelsClient Models { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.CreateConnector.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.CreateConnector.g.verified.cs new file mode 100644 index 0000000000..bb560871a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.CreateConnector.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IConnectorsClient.CreateConnector.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// Create a Connector
+ /// Creates a new connector. The connector is tested during registration and will cancel registration when the test is unsuccessful. See ['Creating and Deploying a Connector'](https://docs.cohere.com/docs/creating-and-deploying-a-connector) for more information. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateConnectorAsync( + global::G.CreateConnectorRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Connector
+ /// Creates a new connector. The connector is tested during registration and will cancel registration when the test is unsuccessful. See ['Creating and Deploying a Connector'](https://docs.cohere.com/docs/creating-and-deploying-a-connector) for more information. + ///
+ /// + /// + /// A human-readable name for the connector. + /// + /// + /// A description of the connector. + /// + /// + /// The URL of the connector that will be used to search for documents. + /// + /// + /// A list of fields to exclude from the prompt (fields remain in the document). + /// + /// + /// + /// Whether the connector is active or not.
+ /// Default Value: true + /// + /// + /// Whether a chat request should continue or not if the request to this connector fails.
+ /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateConnectorAsync( + string name, + string url, + string? xClientName = default, + string? description = default, + global::System.Collections.Generic.IList? excludes = default, + global::G.CreateConnectorOAuth? oauth = default, + bool active = true, + bool continueOnFailure = false, + global::G.CreateConnectorServiceAuth? serviceAuth = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.DeleteConnector.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.DeleteConnector.g.verified.cs new file mode 100644 index 0000000000..8d4d0e96f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.DeleteConnector.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IConnectorsClient.DeleteConnector.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// Delete a Connector
+ /// Delete a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/connectors) for more information. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteConnectorAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.GetConnector.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.GetConnector.g.verified.cs new file mode 100644 index 0000000000..bf8ee8d2e4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.GetConnector.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IConnectorsClient.GetConnector.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// Get a Connector
+ /// Retrieve a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/connectors) for more information. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetConnectorAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.ListConnectors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.ListConnectors.g.verified.cs new file mode 100644 index 0000000000..0d30100104 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.ListConnectors.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IConnectorsClient.ListConnectors.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// List Connectors
+ /// Returns a list of connectors ordered by descending creation date (newer first). See ['Managing your Connector'](https://docs.cohere.com/docs/managing-your-connector) for more information. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 0 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListConnectorsAsync( + double limit = 30, + double offset = 0, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.OAuthAuthorizeConnector.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.OAuthAuthorizeConnector.g.verified.cs new file mode 100644 index 0000000000..2e025bb48f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.OAuthAuthorizeConnector.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IConnectorsClient.OAuthAuthorizeConnector.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// Authorize with oAuth
+ /// Authorize the connector with the given ID for the connector oauth app. See ['Connector Authentication'](https://docs.cohere.com/docs/connector-authentication) for more information. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OAuthAuthorizeConnectorAsync( + string id, + string? afterTokenRedirect = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.UpdateConnector.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.UpdateConnector.g.verified.cs new file mode 100644 index 0000000000..44d075ea3b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.UpdateConnector.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IConnectorsClient.UpdateConnector.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// Update a Connector
+ /// Update a connector by ID. Omitted fields will not be updated. See ['Managing your Connector'](https://docs.cohere.com/docs/managing-your-connector) for more information. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConnectorAsync( + string id, + global::G.UpdateConnectorRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a Connector
+ /// Update a connector by ID. Omitted fields will not be updated. See ['Managing your Connector'](https://docs.cohere.com/docs/managing-your-connector) for more information. + ///
+ /// + /// + /// + /// A human-readable name for the connector. + /// + /// + /// The URL of the connector that will be used to search for documents. + /// + /// + /// A list of fields to exclude from the prompt (fields remain in the document). + /// + /// + /// + /// Default Value: true + /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConnectorAsync( + string id, + string? xClientName = default, + string? name = default, + string? url = default, + global::System.Collections.Generic.IList? excludes = default, + global::G.CreateConnectorOAuth? oauth = default, + bool active = true, + bool continueOnFailure = false, + global::G.CreateConnectorServiceAuth? serviceAuth = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.g.verified.cs new file mode 100644 index 0000000000..69002a4a04 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IConnectorsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IConnectorsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Connectors API
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IConnectorsClient : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs new file mode 100644 index 0000000000..792576e33a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.IDatasetsClient.CreateDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Create a Dataset
+ /// Create a dataset by uploading a file. See ['Dataset Creation'](https://docs.cohere.com/docs/datasets#dataset-creation) for more information. + ///
+ /// + /// + /// The type of the dataset + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + string name, + global::G.DatasetType type, + global::G.CreateDatasetRequest request, + bool keepOriginalFile = default, + bool skipMalformedInput = default, + global::System.Collections.Generic.IList? keepFields = default, + global::System.Collections.Generic.IList? optionalFields = default, + string? textSeparator = default, + string? csvDelimiter = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Dataset
+ /// Create a dataset by uploading a file. See ['Dataset Creation'](https://docs.cohere.com/docs/datasets#dataset-creation) for more information. + ///
+ /// + /// + /// The type of the dataset + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The file to upload + /// + /// + /// The file to upload + /// + /// + /// An optional evaluation file to upload + /// + /// + /// An optional evaluation file to upload + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + string name, + global::G.DatasetType type, + byte[] data, + string dataname, + bool keepOriginalFile = default, + bool skipMalformedInput = default, + global::System.Collections.Generic.IList? keepFields = default, + global::System.Collections.Generic.IList? optionalFields = default, + string? textSeparator = default, + string? csvDelimiter = default, + string? xClientName = default, + byte[]? evalData = default, + string? evalDataname = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs new file mode 100644 index 0000000000..fef2f6518d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IDatasetsClient.DeleteDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Delete a Dataset
+ /// Delete a dataset by ID. Datasets are automatically deleted after 30 days, but they can also be deleted manually. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteDatasetAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.GetDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.GetDataset.g.verified.cs new file mode 100644 index 0000000000..20dc82f646 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.GetDataset.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IDatasetsClient.GetDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get a Dataset
+ /// Retrieve a dataset by ID. See ['Datasets'](https://docs.cohere.com/docs/datasets) for more information. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDatasetAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetUsage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetUsage.g.verified.cs new file mode 100644 index 0000000000..8e26e2e9a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetUsage.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.GetDatasetUsage.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get Dataset Usage
+ /// View the dataset storage usage for your Organization. Each Organization can have up to 10GB of storage across all their users. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDatasetUsageAsync( + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.ListDatasets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.ListDatasets.g.verified.cs new file mode 100644 index 0000000000..a12adaa1f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.ListDatasets.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IDatasetsClient.ListDatasets.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// List Datasets
+ /// List datasets that have been created. + ///
+ /// + /// + /// + /// + /// + /// + /// The validation status of the dataset + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListDatasetsAsync( + string? datasetType = default, + global::System.DateTime before = default, + global::System.DateTime after = default, + double limit = default, + double offset = default, + global::G.DatasetValidationStatus? validationStatus = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs new file mode 100644 index 0000000000..2a530c4d49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDatasetsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Datasets API
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDatasetsClient : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.CancelEmbedJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.CancelEmbedJob.g.verified.cs new file mode 100644 index 0000000000..aa35bd00f5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.CancelEmbedJob.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IEmbedJobsClient.CancelEmbedJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbedJobsClient + { + /// + /// Cancel an Embed Job
+ /// This API allows users to cancel an active embed job. Once invoked, the embedding process will be terminated, and users will be charged for the embeddings processed up to the cancellation point. It's important to note that partial results will not be available to users after cancellation. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelEmbedJobAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.CreateEmbedJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.CreateEmbedJob.g.verified.cs new file mode 100644 index 0000000000..b66b0517d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.CreateEmbedJob.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IEmbedJobsClient.CreateEmbedJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbedJobsClient + { + /// + /// Create an Embed Job
+ /// This API launches an async Embed job for a [Dataset](https://docs.cohere.com/docs/datasets) of type `embed-input`. The result of a completed embed job is new Dataset of type `embed-output`, which contains the original text entries and the corresponding embeddings. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEmbedJobAsync( + global::G.CreateEmbedJobRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an Embed Job
+ /// This API launches an async Embed job for a [Dataset](https://docs.cohere.com/docs/datasets) of type `embed-input`. The result of a completed embed job is new Dataset of type `embed-output`, which contains the original text entries and the corresponding embeddings. + ///
+ /// + /// + /// ID of the embedding model.
+ /// Available models and corresponding embedding dimensions:
+ /// - `embed-english-v3.0` : 1024
+ /// - `embed-multilingual-v3.0` : 1024
+ /// - `embed-english-light-v3.0` : 384
+ /// - `embed-multilingual-light-v3.0` : 384 + /// + /// + /// ID of a [Dataset](https://docs.cohere.com/docs/datasets). The Dataset must be of type `embed-input` and must have a validation status `Validated` + /// + /// + /// Specifies the type of input passed to the model. Required for embedding models v3 and higher.
+ /// - `"search_document"`: Used for embeddings stored in a vector database for search use-cases.
+ /// - `"search_query"`: Used for embeddings of search queries run against a vector DB to find relevant documents.
+ /// - `"classification"`: Used for embeddings passed through a text classifier.
+ /// - `"clustering"`: Used for the embeddings run through a clustering algorithm. + /// + /// + /// The name of the embed job. + /// + /// + /// Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.
+ /// * `"float"`: Use this when you want to get back the default float embeddings. Valid for all models.
+ /// * `"int8"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.
+ /// * `"uint8"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.
+ /// * `"binary"`: Use this when you want to get back signed binary embeddings. Valid for only v3 models.
+ /// * `"ubinary"`: Use this when you want to get back unsigned binary embeddings. Valid for only v3 models. + /// + /// + /// One of `START|END` to specify how the API will handle inputs longer than the maximum token length.
+ /// Passing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.
+ /// Default Value: END + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEmbedJobAsync( + string model, + string datasetId, + global::G.EmbedInputType inputType, + string? xClientName = default, + string? name = default, + global::System.Collections.Generic.IList? embeddingTypes = default, + global::G.CreateEmbedJobRequestTruncate? truncate = global::G.CreateEmbedJobRequestTruncate.END, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.GetEmbedJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.GetEmbedJob.g.verified.cs new file mode 100644 index 0000000000..e536ff5755 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.GetEmbedJob.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IEmbedJobsClient.GetEmbedJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbedJobsClient + { + /// + /// Fetch an Embed Job
+ /// This API retrieves the details about an embed job started by the same user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetEmbedJobAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.ListEmbedJobs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.ListEmbedJobs.g.verified.cs new file mode 100644 index 0000000000..692d21ec6b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.ListEmbedJobs.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IEmbedJobsClient.ListEmbedJobs.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbedJobsClient + { + /// + /// List Embed Jobs
+ /// The list embed job endpoint allows users to view all embed jobs history for that specific user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListEmbedJobsAsync( + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.g.verified.cs new file mode 100644 index 0000000000..f3d7f81b79 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IEmbedJobsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IEmbedJobsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Embed Jobs API
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEmbedJobsClient : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.CreateFinetunedModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.CreateFinetunedModel.g.verified.cs new file mode 100644 index 0000000000..676f356c00 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.CreateFinetunedModel.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.IFinetuningClient.CreateFinetunedModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Trains and deploys a fine-tuned model. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFinetunedModelAsync( + global::G.FinetunedModel request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Trains and deploys a fine-tuned model. + /// + /// + /// + /// read-only. FinetunedModel ID. + /// + /// + /// FinetunedModel name (e.g. `foobar`). + /// + /// + /// read-only. User ID of the creator. + /// + /// + /// read-only. Organization ID. + /// + /// + /// The configuration used for fine-tuning. + /// + /// + /// The possible stages of a fine-tuned model life-cycle.
+ /// - STATUS_UNSPECIFIED: Unspecified status.
+ /// - STATUS_FINETUNING: The fine-tuned model is being fine-tuned.
+ /// - STATUS_DEPLOYING_API: The fine-tuned model is being deployed.
+ /// - STATUS_READY: The fine-tuned model is ready to receive requests.
+ /// - STATUS_FAILED: The fine-tuned model failed.
+ /// - STATUS_DELETED: The fine-tuned model was deleted.
+ /// - STATUS_TEMPORARILY_OFFLINE: The fine-tuned model is temporarily unavailable.
+ /// - STATUS_PAUSED: The fine-tuned model is paused (Vanilla only).
+ /// - STATUS_QUEUED: The fine-tuned model is queued for training.
+ /// Default Value: STATUS_UNSPECIFIED + /// + /// + /// read-only. Creation timestamp. + /// + /// + /// read-only. Latest update timestamp. + /// + /// + /// read-only. Timestamp for the completed fine-tuning. + /// + /// + /// read-only. Timestamp for the latest request to this fine-tuned model. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFinetunedModelAsync( + string name, + global::G.Settings settings, + string? xClientName = default, + string? id = default, + string? creatorId = default, + string? organizationId = default, + global::G.Status? status = global::G.Status.STATUSUNSPECIFIED, + global::System.DateTime createdAt = default, + global::System.DateTime updatedAt = default, + global::System.DateTime completedAt = default, + global::System.DateTime lastUsed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.DeleteFinetunedModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.DeleteFinetunedModel.g.verified.cs new file mode 100644 index 0000000000..0130b90753 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.DeleteFinetunedModel.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFinetuningClient.DeleteFinetunedModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Deletes a fine-tuned model. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteFinetunedModelAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.GetFinetunedModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.GetFinetunedModel.g.verified.cs new file mode 100644 index 0000000000..5e8f87cd6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.GetFinetunedModel.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFinetuningClient.GetFinetunedModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Returns a fine-tuned model by ID. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFinetunedModelAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListEvents.g.verified.cs new file mode 100644 index 0000000000..2a11c04bee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListEvents.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFinetuningClient.ListEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Retrieves the chronology of statuses the fine-tuned model has been through. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListEventsAsync( + string finetunedModelId, + int pageSize = default, + string? pageToken = default, + string? orderBy = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListFinetunedModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListFinetunedModels.g.verified.cs new file mode 100644 index 0000000000..f5151e8f3c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListFinetunedModels.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IFinetuningClient.ListFinetunedModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Lists fine-tuned models. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListFinetunedModelsAsync( + int pageSize = default, + string? pageToken = default, + string? orderBy = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListTrainingStepMetrics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListTrainingStepMetrics.g.verified.cs new file mode 100644 index 0000000000..27de3f32f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.ListTrainingStepMetrics.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IFinetuningClient.ListTrainingStepMetrics.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Retrieves metrics measured during the training of a fine-tuned model. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListTrainingStepMetricsAsync( + string finetunedModelId, + int pageSize = default, + string? pageToken = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.UpdateFinetunedModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.UpdateFinetunedModel.g.verified.cs new file mode 100644 index 0000000000..3d89962e49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.UpdateFinetunedModel.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.IFinetuningClient.UpdateFinetunedModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Updates a fine-tuned model. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFinetunedModelAsync( + string id, + global::G.UpdateFinetunedModelRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a fine-tuned model. + /// + /// + /// + /// + /// FinetunedModel name (e.g. `foobar`). + /// + /// + /// User ID of the creator. + /// + /// + /// Organization ID. + /// + /// + /// The configuration used for fine-tuning. + /// + /// + /// The possible stages of a fine-tuned model life-cycle.
+ /// - STATUS_UNSPECIFIED: Unspecified status.
+ /// - STATUS_FINETUNING: The fine-tuned model is being fine-tuned.
+ /// - STATUS_DEPLOYING_API: The fine-tuned model is being deployed.
+ /// - STATUS_READY: The fine-tuned model is ready to receive requests.
+ /// - STATUS_FAILED: The fine-tuned model failed.
+ /// - STATUS_DELETED: The fine-tuned model was deleted.
+ /// - STATUS_TEMPORARILY_OFFLINE: The fine-tuned model is temporarily unavailable.
+ /// - STATUS_PAUSED: The fine-tuned model is paused (Vanilla only).
+ /// - STATUS_QUEUED: The fine-tuned model is queued for training.
+ /// Default Value: STATUS_UNSPECIFIED + /// + /// + /// Creation timestamp. + /// + /// + /// Latest update timestamp. + /// + /// + /// Timestamp for the completed fine-tuning. + /// + /// + /// Timestamp for the latest request to this fine-tuned model. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFinetunedModelAsync( + string id, + string name, + global::G.Settings settings, + string? xClientName = default, + string? creatorId = default, + string? organizationId = default, + global::G.Status? status = global::G.Status.STATUSUNSPECIFIED, + global::System.DateTime createdAt = default, + global::System.DateTime updatedAt = default, + global::System.DateTime completedAt = default, + global::System.DateTime lastUsed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.g.verified.cs new file mode 100644 index 0000000000..522200e058 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IFinetuningClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFinetuningClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Finetuning API (Beta)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFinetuningClient : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.GetModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.GetModel.g.verified.cs new file mode 100644 index 0000000000..6b31dcd312 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.GetModel.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IModelsClient.GetModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Get a Model
+ /// Returns the details of a model, provided its name. + ///
+ /// + /// Example: command-r + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetModelAsync( + string model, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs new file mode 100644 index 0000000000..571aa46e4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IModelsClient.ListModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// List Models
+ /// Returns a list of models available for use. The list contains models from Cohere as well as your fine-tuned models. + ///
+ /// + /// + /// + /// One of the Cohere API endpoints that the model can be used with. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListModelsAsync( + double pageSize = default, + string? pageToken = default, + global::G.CompatibleEndpoint? endpoint = default, + bool defaultOnly = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.g.verified.cs new file mode 100644 index 0000000000..b1bdde971d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.IModelsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelsClient : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.ModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.ModelsClient.g.verified.cs index 539fd450d8..f6da84d077 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.ModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/NewtonsoftJson/_#G.ModelsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelsClient : global::System.IDisposable + public sealed partial class ModelsClient : global::G.IModelsClient, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.g.verified.cs index dc7c8c47ae..d565d491fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.Api.g.verified.cs @@ -11,7 +11,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.ConnectorsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.ConnectorsClient.g.verified.cs index c92fe85177..4e072a699c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.ConnectorsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.ConnectorsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ConnectorsClient : global::System.IDisposable + public sealed partial class ConnectorsClient : global::G.IConnectorsClient, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.DatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.DatasetsClient.g.verified.cs index 34e5f5ebd3..855ae51d9a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.DatasetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.DatasetsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DatasetsClient : global::System.IDisposable + public sealed partial class DatasetsClient : global::G.IDatasetsClient, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.EmbedJobsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.EmbedJobsClient.g.verified.cs index 590e094d2f..d9a22d3806 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.EmbedJobsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.EmbedJobsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EmbedJobsClient : global::System.IDisposable + public sealed partial class EmbedJobsClient : global::G.IEmbedJobsClient, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.FinetuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.FinetuningClient.g.verified.cs index a744b94c59..0bfb3626a5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.FinetuningClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.FinetuningClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FinetuningClient : global::System.IDisposable + public sealed partial class FinetuningClient : global::G.IFinetuningClient, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Chat.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Chat.g.verified.cs new file mode 100644 index 0000000000..a8314e3bc7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Chat.g.verified.cs @@ -0,0 +1,214 @@ +//HintName: G.IApi.Chat.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Chat
+ /// Generates a text response to a user message.
+ /// To learn how to use the Chat API with Streaming and RAG follow our [Text Generation guides](https://docs.cohere.com/docs/chat-api). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ChatAsync( + global::G.ChatRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Chat
+ /// Generates a text response to a user message.
+ /// To learn how to use the Chat API with Streaming and RAG follow our [Text Generation guides](https://docs.cohere.com/docs/chat-api). + ///
+ /// + /// + /// Text input for the model to respond to.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Defaults to `command-r-plus`.
+ /// The name of a compatible [Cohere model](https://docs.cohere.com/docs/models) or the ID of a [fine-tuned](https://docs.cohere.com/docs/chat-fine-tuning) model.
+ /// Compatible Deployments: Cohere Platform, Private Deployments + /// + /// + /// Defaults to `false`.
+ /// When `true`, the response will be a JSON stream of events. The final event will contain the complete response, and will have an `event_type` of `"stream-end"`.
+ /// Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// When specified, the default Cohere preamble will be replaced with the provided one. Preambles are a part of the prompt used to adjust the model's overall behavior and conversation style, and use the `SYSTEM` role.
+ /// The `SYSTEM` role is also used for the contents of the optional `chat_history=` parameter. When used with the `chat_history=` parameter it adds content throughout a conversation. Conversely, when used with the `preamble=` parameter it adds content at the start of the conversation only.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// A list of previous messages between the user and the model, giving the model conversational context for responding to the user's `message`.
+ /// Each item represents a single message in the chat history, excluding the current user turn. It has two properties: `role` and `message`. The `role` identifies the sender (`CHATBOT`, `SYSTEM`, or `USER`), while the `message` contains the text content.
+ /// The chat_history parameter should not be used for `SYSTEM` messages in most cases. Instead, to add a `SYSTEM` role message at the beginning of a conversation, the `preamble` parameter should be used.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// An alternative to `chat_history`.
+ /// Providing a `conversation_id` creates or resumes a persisted conversation with the specified ID. The ID can be any non empty string.
+ /// Compatible Deployments: Cohere Platform + /// + /// + /// Defaults to `AUTO` when `connectors` are specified and `OFF` in all other cases.
+ /// Dictates how the prompt will be constructed.
+ /// With `prompt_truncation` set to "AUTO", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be changed and ranked by relevance.
+ /// With `prompt_truncation` set to "AUTO_PRESERVE_ORDER", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be preserved as they are inputted into the API.
+ /// With `prompt_truncation` set to "OFF", no elements will be dropped. If the sum of the inputs exceeds the model's context length limit, a `TooManyTokens` error will be returned.
+ /// Compatible Deployments: Cohere Platform Only AUTO_PRESERVE_ORDER: Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Accepts `{"id": "web-search"}`, and/or the `"id"` for a custom [connector](https://docs.cohere.com/docs/connectors), if you've [created](https://docs.cohere.com/docs/creating-and-deploying-a-connector) one.
+ /// When specified, the model's reply will be enriched with information found by querying each of the connectors (RAG).
+ /// Compatible Deployments: Cohere Platform + /// + /// + /// Defaults to `false`.
+ /// When `true`, the response will only contain a list of generated search queries, but no search will take place, and no reply from the model to the user's `message` will be generated.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// A list of relevant documents that the model can cite to generate a more accurate reply. Each document is a string-string dictionary.
+ /// Example:
+ /// ```
+ /// [
+ /// { "title": "Tall penguins", "text": "Emperor penguins are the tallest." },
+ /// { "title": "Penguin habitats", "text": "Emperor penguins only live in Antarctica." },
+ /// ]
+ /// ```
+ /// Keys and values from each document will be serialized to a string and passed to the model. The resulting generation will include citations that reference some of these documents.
+ /// Some suggested keys are "text", "author", and "date". For better generation quality, it is recommended to keep the total word count of the strings in the dictionary to under 300 words.
+ /// An `id` field (string) can be optionally supplied to identify the document in the citations. This field will not be passed to the model.
+ /// An `_excludes` field (array of strings) can be optionally supplied to omit some key-value pairs from being shown to the model. The omitted fields will still show up in the citation object. The "_excludes" field will not be passed to the model.
+ /// See ['Document Mode'](https://docs.cohere.com/docs/retrieval-augmented-generation-rag#document-mode) in the guide for more information.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Defaults to `"accurate"`.
+ /// Dictates the approach taken to generating citations as part of the RAG flow by allowing the user to specify whether they want `"accurate"` results, `"fast"` results or no results.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Defaults to `0.3`.
+ /// A non-negative float that tunes the degree of randomness in generation. Lower temperatures mean less random generations, and higher temperatures mean more random generations.
+ /// Randomness can be further maximized by increasing the value of the `p` parameter.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// The maximum number of input tokens to send to the model. If not specified, `max_input_tokens` is the model's context length limit minus a small buffer.
+ /// Input will be truncated according to the `prompt_truncation` parameter.
+ /// Compatible Deployments: Cohere Platform + /// + /// + /// Ensures only the top `k` most likely tokens are considered for generation at each step.
+ /// Defaults to `0`, min value of `0`, max value of `500`.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
+ /// Default Value: 0 + /// + /// + /// Ensures that only the most likely tokens, with total probability mass of `p`, are considered for generation at each step. If both `k` and `p` are enabled, `p` acts after `k`.
+ /// Defaults to `0.75`. min value of `0.01`, max value of `0.99`.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
+ /// Default Value: 0.75 + /// + /// + /// If specified, the backend will make a best effort to sample tokens
+ /// deterministically, such that repeated requests with the same
+ /// seed and parameters should return the same result. However,
+ /// determinism cannot be totally guaranteed.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// A list of up to 5 strings that the model will use to stop generation. If the model generates a string that matches any of the strings in the list, it will stop generating tokens and return the generated text up to that point not including the stop sequence.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
+ /// Used to reduce repetitiveness of generated tokens. The higher the value, the stronger a penalty is applied to previously present tokens, proportional to how many times they have already appeared in the prompt or prior generation.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
+ /// Used to reduce repetitiveness of generated tokens. Similar to `frequency_penalty`, except that this penalty is applied equally to all tokens that have already appeared, regardless of their exact frequencies.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// A list of available tools (functions) that the model may suggest invoking before producing a text response.
+ /// When `tools` is passed (without `tool_results`), the `text` field in the response will be `""` and the `tool_calls` field in the response will be populated with a list of tool calls that need to be made. If no calls need to be made, the `tool_calls` array will be empty.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// A list of results from invoking tools recommended by the model in the previous chat turn. Results are used to produce a text response and will be referenced in citations. When using `tool_results`, `tools` must be passed as well.
+ /// Each tool_result contains information about how it was invoked, as well as a list of outputs in the form of dictionaries.
+ /// **Note**: `outputs` must be a list of objects. If your tool returns a single object (eg `{"status": 200}`), make sure to wrap it in a list.
+ /// ```
+ /// tool_results = [
+ /// {
+ /// "call": {
+ /// "name": <tool name>,
+ /// "parameters": {
+ /// <param name>: <param value>
+ /// }
+ /// },
+ /// "outputs": [{
+ /// <key>: <value>
+ /// }]
+ /// },
+ /// ...
+ /// ]
+ /// ```
+ /// **Note**: Chat calls with `tool_results` should not be included in the Chat history to avoid duplication of the message text.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Forces the chat to be single step. Defaults to `false`. + /// + /// + /// Configuration for forcing the model output to adhere to the specified format. Supported on [Command R](https://docs.cohere.com/docs/command-r), [Command R+](https://docs.cohere.com/docs/command-r-plus) and newer models.
+ /// The model can be forced into outputting JSON objects (with up to 5 levels of nesting) by setting `{ "type": "json_object" }`.
+ /// A [JSON Schema](https://json-schema.org/) can optionally be provided, to ensure a specific structure.
+ /// **Note**: When using `{ "type": "json_object" }` your `message` should always explicitly instruct the model to generate a JSON (eg: _"Generate a JSON ..."_) . Otherwise the model may end up getting stuck generating an infinite stream of characters and eventually run out of context length.
+ /// **Limitation**: The parameter is not supported in RAG mode (when any of `connectors`, `documents`, `tools`, `tool_results` are provided). + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ChatAsync( + string message, + string? xClientName = default, + string? model = default, + bool stream = default, + string? preamble = default, + global::System.Collections.Generic.IList? chatHistory = default, + string? conversationId = default, + global::G.ChatRequestPromptTruncation? promptTruncation = default, + global::System.Collections.Generic.IList? connectors = default, + bool searchQueriesOnly = default, + global::System.Collections.Generic.IList? documents = default, + global::G.ChatRequestCitationQuality? citationQuality = default, + float temperature = default, + int maxTokens = default, + int maxInputTokens = default, + int k = 0, + double p = 0.75, + int seed = default, + global::System.Collections.Generic.IList? stopSequences = default, + double frequencyPenalty = default, + double presencePenalty = default, + global::System.Collections.Generic.IList? tools = default, + global::System.Collections.Generic.IList? toolResults = default, + bool forceSingleStep = default, + global::G.ResponseFormat? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Chatv2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Chatv2.g.verified.cs new file mode 100644 index 0000000000..e68f77d862 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Chatv2.g.verified.cs @@ -0,0 +1,98 @@ +//HintName: G.IApi.Chatv2.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Chat with the model
+ /// Generates a message from the model in response to a provided conversation. To learn how to use the Chat API with Streaming and RAG follow our Text Generation guides. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> Chatv2Async( + global::G.Chatv2Request request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Chat with the model
+ /// Generates a message from the model in response to a provided conversation. To learn how to use the Chat API with Streaming and RAG follow our Text Generation guides. + ///
+ /// + /// The name of a compatible [Cohere model](https://docs.cohere.com/docs/models) (such as command-r or command-r-plus) or the ID of a [fine-tuned](https://docs.cohere.com/docs/chat-fine-tuning) model. + /// + /// + /// A list of chat messages in chronological order, representing a conversation between the user and the model.
+ /// Messages can be from `User`, `Assistant`, `Tool` and `System` roles. Learn more about messages and roles in [the Chat API guide](https://docs.cohere.com/docs/chat-api). + /// + /// + /// A list of available tools (functions) that the model may suggest invoking before producing a text response.
+ /// When `tools` is passed (without `tool_results`), the `text` content in the response will be empty and the `tool_calls` field in the response will be populated with a list of tool calls that need to be made. If no calls need to be made, the `tool_calls` array will be empty. + /// + /// + /// Defaults to `"accurate"`.
+ /// Dictates the approach taken to generating citations as part of the RAG flow by allowing the user to specify whether they want `"accurate"` results, `"fast"` results or no results. + /// + /// + /// Configuration for forcing the model output to adhere to the specified format. Supported on [Command R](https://docs.cohere.com/docs/command-r), [Command R+](https://docs.cohere.com/docs/command-r-plus) and newer models.
+ /// The model can be forced into outputting JSON objects (with up to 5 levels of nesting) by setting `{ "type": "json_object" }`.
+ /// A [JSON Schema](https://json-schema.org/) can optionally be provided, to ensure a specific structure.
+ /// **Note**: When using `{ "type": "json_object" }` your `message` should always explicitly instruct the model to generate a JSON (eg: _"Generate a JSON ..."_) . Otherwise the model may end up getting stuck generating an infinite stream of characters and eventually run out of context length.
+ /// **Limitation**: The parameter is not supported in RAG mode (when any of `connectors`, `documents`, `tools`, `tool_results` are provided). + /// + /// + /// The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations. + /// + /// + /// A list of up to 5 strings that the model will use to stop generation. If the model generates a string that matches any of the strings in the list, it will stop generating tokens and return the generated text up to that point not including the stop sequence. + /// + /// + /// Defaults to `0.3`.
+ /// A non-negative float that tunes the degree of randomness in generation. Lower temperatures mean less random generations, and higher temperatures mean more random generations.
+ /// Randomness can be further maximized by increasing the value of the `p` parameter. + /// + /// + /// If specified, the backend will make a best effort to sample tokens
+ /// deterministically, such that repeated requests with the same
+ /// seed and parameters should return the same result. However,
+ /// determinism cannot be totally guaranteed. + /// + /// + /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
+ /// Used to reduce repetitiveness of generated tokens. The higher the value, the stronger a penalty is applied to previously present tokens, proportional to how many times they have already appeared in the prompt or prior generation. + /// + /// + /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
+ /// Used to reduce repetitiveness of generated tokens. Similar to `frequency_penalty`, except that this penalty is applied equally to all tokens that have already appeared, regardless of their exact frequencies. + /// + /// + /// Ensures only the top `k` most likely tokens are considered for generation at each step.
+ /// Defaults to `0`, min value of `0`, max value of `500`.
+ /// Default Value: 0F + /// + /// + /// Ensures that only the most likely tokens, with total probability mass of `p`, are considered for generation at each step. If both `k` and `p` are enabled, `p` acts after `k`.
+ /// Defaults to `0.75`. min value of `0.01`, max value of `0.99`.
+ /// Default Value: 0.75F + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> Chatv2Async( + string model, + global::System.Collections.Generic.IList messages, + global::System.Collections.Generic.IList? tools = default, + global::G.Chatv2RequestCitationMode? citationMode = default, + global::G.ResponseFormat2? responseFormat = default, + int maxTokens = default, + global::System.Collections.Generic.IList? stopSequences = default, + float temperature = default, + int seed = default, + float frequencyPenalty = default, + float presencePenalty = default, + float k = 0F, + float p = 0.75F, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.CheckAPIKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.CheckAPIKey.g.verified.cs new file mode 100644 index 0000000000..2cfeb1ff7a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.CheckAPIKey.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IApi.CheckAPIKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Check API key
+ /// Checks that the api key in the Authorization header is valid and active + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckAPIKeyAsync( + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Classify.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Classify.g.verified.cs new file mode 100644 index 0000000000..95554b944d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Classify.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IApi.Classify.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Classify
+ /// This endpoint makes a prediction about which label fits the specified text inputs best. To make a prediction, Classify uses the provided `examples` of text + label pairs as a reference.
+ /// Note: [Fine-tuned models](https://docs.cohere.com/docs/classify-fine-tuning) trained on classification examples don't require the `examples` parameter to be passed in explicitly. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClassifyAsync( + global::G.ClassifyRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Classify
+ /// This endpoint makes a prediction about which label fits the specified text inputs best. To make a prediction, Classify uses the provided `examples` of text + label pairs as a reference.
+ /// Note: [Fine-tuned models](https://docs.cohere.com/docs/classify-fine-tuning) trained on classification examples don't require the `examples` parameter to be passed in explicitly. + ///
+ /// + /// + /// A list of up to 96 texts to be classified. Each one must be a non-empty string.
+ /// There is, however, no consistent, universal limit to the length a particular input can be. We perform classification on the first `x` tokens of each input, and `x` varies depending on which underlying model is powering classification. The maximum token length for each model is listed in the "max tokens" column [here](https://docs.cohere.com/docs/models).
+ /// Note: by default the `truncate` parameter is set to `END`, so tokens exceeding the limit will be automatically dropped. This behavior can be disabled by setting `truncate` to `NONE`, which will result in validation errors for longer texts. + /// + /// + /// An array of examples to provide context to the model. Each example is a text string and its associated label/class. Each unique label requires at least 2 examples associated with it; the maximum number of examples is 2500, and each example has a maximum length of 512 tokens. The values should be structured as `{text: "...",label: "..."}`.
+ /// Note: [Fine-tuned Models](https://docs.cohere.com/docs/classify-fine-tuning) trained on classification examples don't require the `examples` parameter to be passed in explicitly. + /// + /// + /// The identifier of the model. Currently available models are `embed-multilingual-v2.0`, `embed-english-light-v2.0`, and `embed-english-v2.0` (default). Smaller "light" models are faster, while larger models will perform better. [Fine-tuned models](https://docs.cohere.com/docs/fine-tuning) can also be supplied with their full ID. + /// + /// + /// The ID of a custom playground preset. You can create presets in the [playground](https://dashboard.cohere.com/playground/classify?model=large). If you use a preset, all other parameters become optional, and any included parameters will override the preset's parameters.
+ /// Example: my-preset-a58sbd + /// + /// + /// One of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length.
+ /// Passing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.
+ /// If `NONE` is selected, when the input exceeds the maximum input token length an error will be returned.
+ /// Default Value: END + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClassifyAsync( + global::System.Collections.Generic.IList inputs, + string? xClientName = default, + global::System.Collections.Generic.IList? examples = default, + string? model = default, + string? preset = default, + global::G.ClassifyRequestTruncate? truncate = global::G.ClassifyRequestTruncate.END, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Detokenize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Detokenize.g.verified.cs new file mode 100644 index 0000000000..fbee5ed3cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Detokenize.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IApi.Detokenize.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Detokenize
+ /// This endpoint takes tokens using byte-pair encoding and returns their text representation. To learn more about tokenization and byte pair encoding, see the tokens page. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DetokenizeAsync( + global::G.DetokenizeRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Detokenize
+ /// This endpoint takes tokens using byte-pair encoding and returns their text representation. To learn more about tokenization and byte pair encoding, see the tokens page. + ///
+ /// + /// + /// The list of tokens to be detokenized. + /// + /// + /// An optional parameter to provide the model name. This will ensure that the detokenization is done by the tokenizer used by that model. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DetokenizeAsync( + global::System.Collections.Generic.IList tokens, + string model, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Embed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Embed.g.verified.cs new file mode 100644 index 0000000000..9409b1d441 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Embed.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.IApi.Embed.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Embed
+ /// This endpoint returns text embeddings. An embedding is a list of floating point numbers that captures semantic information about the text that it represents.
+ /// Embeddings can be used to create text classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.
+ /// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](/docs/semantic-search). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> EmbedAsync( + global::G.EmbedRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Embed
+ /// This endpoint returns text embeddings. An embedding is a list of floating point numbers that captures semantic information about the text that it represents.
+ /// Embeddings can be used to create text classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.
+ /// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](/docs/semantic-search). + ///
+ /// + /// + /// An array of strings for the model to embed. Maximum number of texts per call is `96`. We recommend reducing the length of each text to be under `512` tokens for optimal quality. + /// + /// + /// Defaults to embed-english-v2.0
+ /// The identifier of the model. Smaller "light" models are faster, while larger models will perform better. [Custom models](/docs/training-custom-models) can also be supplied with their full ID.
+ /// Available models and corresponding embedding dimensions:
+ /// * `embed-english-v3.0` 1024
+ /// * `embed-multilingual-v3.0` 1024
+ /// * `embed-english-light-v3.0` 384
+ /// * `embed-multilingual-light-v3.0` 384
+ /// * `embed-english-v2.0` 4096
+ /// * `embed-english-light-v2.0` 1024
+ /// * `embed-multilingual-v2.0` 768 + /// + /// + /// Specifies the type of input passed to the model. Required for embedding models v3 and higher.
+ /// - `"search_document"`: Used for embeddings stored in a vector database for search use-cases.
+ /// - `"search_query"`: Used for embeddings of search queries run against a vector DB to find relevant documents.
+ /// - `"classification"`: Used for embeddings passed through a text classifier.
+ /// - `"clustering"`: Used for the embeddings run through a clustering algorithm. + /// + /// + /// Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.
+ /// * `"float"`: Use this when you want to get back the default float embeddings. Valid for all models.
+ /// * `"int8"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.
+ /// * `"uint8"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.
+ /// * `"binary"`: Use this when you want to get back signed binary embeddings. Valid for only v3 models.
+ /// * `"ubinary"`: Use this when you want to get back unsigned binary embeddings. Valid for only v3 models. + /// + /// + /// One of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length.
+ /// Passing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.
+ /// If `NONE` is selected, when the input exceeds the maximum input token length an error will be returned.
+ /// Default Value: END + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> EmbedAsync( + global::System.Collections.Generic.IList texts, + string? xClientName = default, + string? model = default, + global::G.EmbedInputType? inputType = default, + global::System.Collections.Generic.IList? embeddingTypes = default, + global::G.EmbedRequestTruncate? truncate = global::G.EmbedRequestTruncate.END, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Generate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Generate.g.verified.cs new file mode 100644 index 0000000000..94c779aed6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Generate.g.verified.cs @@ -0,0 +1,134 @@ +//HintName: G.IApi.Generate.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Generate
+ /// <Warning>
+ /// This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
+ /// </Warning>
+ /// Generates realistic text conditioned on a given input. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateAsync( + global::G.GenerateRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate
+ /// <Warning>
+ /// This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
+ /// </Warning>
+ /// Generates realistic text conditioned on a given input. + ///
+ /// + /// + /// The input text that serves as the starting point for generating the response.
+ /// Note: The prompt will be pre-processed and modified before reaching the model.
+ /// Example: Please explain to me how LLMs work + /// + /// + /// The identifier of the model to generate with. Currently available models are `command` (default), `command-nightly` (experimental), `command-light`, and `command-light-nightly` (experimental).
+ /// Smaller, "light" models are faster, while larger models will perform better. [Custom models](/docs/training-custom-models) can also be supplied with their full ID. + /// + /// + /// The maximum number of generations that will be returned. Defaults to `1`, min value of `1`, max value of `5`. + /// + /// + /// When `true`, the response will be a JSON stream of events. Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.
+ /// The final event will contain the complete response, and will contain an `is_finished` field set to `true`. The event will also contain a `finish_reason`, which can be one of the following:
+ /// - `COMPLETE` - the model sent back a finished reply
+ /// - `MAX_TOKENS` - the reply was cut off because the model reached the maximum number of tokens for its context length
+ /// - `ERROR` - something went wrong when generating the reply
+ /// - `ERROR_TOXIC` - the model generated a reply that was deemed toxic + /// + /// + /// The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations.
+ /// This parameter is off by default, and if it's not specified, the model will continue generating until it emits an EOS completion token. See [BPE Tokens](/bpe-tokens-wiki) for more details.
+ /// Can only be set to `0` if `return_likelihoods` is set to `ALL` to get the likelihood of the prompt. + /// + /// + /// One of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length.
+ /// Passing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.
+ /// If `NONE` is selected, when the input exceeds the maximum input token length an error will be returned.
+ /// Default Value: END + /// + /// + /// A non-negative float that tunes the degree of randomness in generation. Lower temperatures mean less random generations. See [Temperature](/temperature-wiki) for more details.
+ /// Defaults to `0.75`, min value of `0.0`, max value of `5.0`. + /// + /// + /// If specified, the backend will make a best effort to sample tokens
+ /// deterministically, such that repeated requests with the same
+ /// seed and parameters should return the same result. However,
+ /// determinism cannot be totally guaranteed.
+ /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// + /// + /// Identifier of a custom preset. A preset is a combination of parameters, such as prompt, temperature etc. You can create presets in the [playground](https://dashboard.cohere.com/playground/generate).
+ /// When a preset is specified, the `prompt` parameter becomes optional, and any included parameters will override the preset's parameters.
+ /// Example: my-preset-a58sbd + /// + /// + /// The generated text will be cut at the beginning of the earliest occurrence of an end sequence. The sequence will be excluded from the text. + /// + /// + /// The generated text will be cut at the end of the earliest occurrence of a stop sequence. The sequence will be included the text. + /// + /// + /// Ensures only the top `k` most likely tokens are considered for generation at each step.
+ /// Defaults to `0`, min value of `0`, max value of `500`. + /// + /// + /// Ensures that only the most likely tokens, with total probability mass of `p`, are considered for generation at each step. If both `k` and `p` are enabled, `p` acts after `k`.
+ /// Defaults to `0.75`. min value of `0.01`, max value of `0.99`. + /// + /// + /// Used to reduce repetitiveness of generated tokens. The higher the value, the stronger a penalty is applied to previously present tokens, proportional to how many times they have already appeared in the prompt or prior generation.
+ /// Using `frequency_penalty` in combination with `presence_penalty` is not supported on newer models. + /// + /// + /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
+ /// Can be used to reduce repetitiveness of generated tokens. Similar to `frequency_penalty`, except that this penalty is applied equally to all tokens that have already appeared, regardless of their exact frequencies.
+ /// Using `frequency_penalty` in combination with `presence_penalty` is not supported on newer models. + /// + /// + /// One of `GENERATION|ALL|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.
+ /// If `GENERATION` is selected, the token likelihoods will only be provided for generated text.
+ /// If `ALL` is selected, the token likelihoods will be provided both for the prompt and the generated text.
+ /// Default Value: NONE + /// + /// + /// When enabled, the user's prompt will be sent to the model without any pre-processing. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateAsync( + string prompt, + string? xClientName = default, + string? model = default, + int numGenerations = default, + bool stream = default, + int maxTokens = default, + global::G.GenerateRequestTruncate? truncate = global::G.GenerateRequestTruncate.END, + double temperature = default, + int seed = default, + string? preset = default, + global::System.Collections.Generic.IList? endSequences = default, + global::System.Collections.Generic.IList? stopSequences = default, + int k = default, + double p = default, + double frequencyPenalty = default, + double presencePenalty = default, + global::G.GenerateRequestReturnLikelihoods? returnLikelihoods = global::G.GenerateRequestReturnLikelihoods.NONE, + bool rawPrompting = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Rerank.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Rerank.g.verified.cs new file mode 100644 index 0000000000..1441f38540 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Rerank.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IApi.Rerank.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Rerank
+ /// This endpoint takes in a query and a list of texts and produces an ordered array with each text assigned a relevance score. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RerankAsync( + global::G.RerankRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Rerank
+ /// This endpoint takes in a query and a list of texts and produces an ordered array with each text assigned a relevance score. + ///
+ /// + /// + /// The identifier of the model to use, one of : `rerank-english-v3.0`, `rerank-multilingual-v3.0`, `rerank-english-v2.0`, `rerank-multilingual-v2.0` + /// + /// + /// The search query + /// + /// + /// A list of document objects or strings to rerank.
+ /// If a document is provided the text fields is required and all other fields will be preserved in the response.
+ /// The total max chunks (length of documents * max_chunks_per_doc) must be less than 10000.
+ /// We recommend a maximum of 1,000 documents for optimal endpoint performance. + /// + /// + /// The number of most relevant documents or indices to return, defaults to the length of the documents + /// + /// + /// If a JSON object is provided, you can specify which keys you would like to have considered for reranking. The model will rerank based on order of the fields passed in (i.e. rank_fields=['title','author','text'] will rerank using the values in title, author, text sequentially. If the length of title, author, and text exceeds the context length of the model, the chunking will not re-consider earlier fields). If not provided, the model will use the default text field for ranking. + /// + /// + /// - If false, returns results without the doc text - the api will return a list of {index, relevance score} where index is inferred from the list passed into the request.
+ /// - If true, returns results with the doc text passed in - the api will return an ordered list of {index, text, relevance score} where index + text refers to the list passed into the request.
+ /// Default Value: false + /// + /// + /// The maximum number of chunks to produce internally from a document
+ /// Default Value: 10 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RerankAsync( + string query, + global::System.Collections.Generic.IList> documents, + string? xClientName = default, + string? model = default, + int topN = default, + global::System.Collections.Generic.IList? rankFields = default, + bool returnDocuments = false, + int maxChunksPerDoc = 10, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Summarize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Summarize.g.verified.cs new file mode 100644 index 0000000000..f244193934 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Summarize.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.IApi.Summarize.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Summarize
+ /// <Warning>
+ /// This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
+ /// </Warning>
+ /// Generates a summary in English for a given text. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SummarizeAsync( + global::G.SummarizeRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Summarize
+ /// <Warning>
+ /// This API is marked as "Legacy" and is no longer maintained. Follow the [migration guide](/docs/migrating-from-cogenerate-to-cochat) to start using the Chat API.
+ /// </Warning>
+ /// Generates a summary in English for a given text. + ///
+ /// + /// + /// The text to generate a summary for. Can be up to 100,000 characters long. Currently the only supported language is English. + /// + /// + /// One of `short`, `medium`, `long`, or `auto` defaults to `auto`. Indicates the approximate length of the summary. If `auto` is selected, the best option will be picked based on the input text.
+ /// Default Value: medium + /// + /// + /// One of `paragraph`, `bullets`, or `auto`, defaults to `auto`. Indicates the style in which the summary will be delivered - in a free form paragraph or in bullet points. If `auto` is selected, the best option will be picked based on the input text.
+ /// Default Value: paragraph + /// + /// + /// The identifier of the model to generate the summary with. Currently available models are `command` (default), `command-nightly` (experimental), `command-light`, and `command-light-nightly` (experimental). Smaller, "light" models are faster, while larger models will perform better. + /// + /// + /// One of `low`, `medium`, `high`, or `auto`, defaults to `auto`. Controls how close to the original text the summary is. `high` extractiveness summaries will lean towards reusing sentences verbatim, while `low` extractiveness summaries will tend to paraphrase more. If `auto` is selected, the best option will be picked based on the input text.
+ /// Default Value: low + /// + /// + /// Ranges from 0 to 5. Controls the randomness of the output. Lower values tend to generate more “predictable” output, while higher values tend to generate more “creative” output. The sweet spot is typically between 0 and 1.
+ /// Default Value: 0.3 + /// + /// + /// A free-form instruction for modifying how the summaries get generated. Should complete the sentence "Generate a summary _". Eg. "focusing on the next steps" or "written by Yoda" + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SummarizeAsync( + string text, + string? xClientName = default, + global::G.SummarizeRequestLength? length = global::G.SummarizeRequestLength.Medium, + global::G.SummarizeRequestFormat? format = global::G.SummarizeRequestFormat.Paragraph, + string? model = default, + global::G.SummarizeRequestExtractiveness? extractiveness = global::G.SummarizeRequestExtractiveness.Low, + double temperature = 0.3, + string? additionalCommand = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Tokenize.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Tokenize.g.verified.cs new file mode 100644 index 0000000000..928199662d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.Tokenize.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IApi.Tokenize.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Tokenize
+ /// This endpoint splits input text into smaller units called tokens using byte-pair encoding (BPE). To learn more about tokenization and byte pair encoding, see the tokens page. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TokenizeAsync( + global::G.TokenizeRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Tokenize
+ /// This endpoint splits input text into smaller units called tokens using byte-pair encoding (BPE). To learn more about tokenization and byte pair encoding, see the tokens page. + ///
+ /// + /// + /// The string to be tokenized, the minimum text length is 1 character, and the maximum text length is 65536 characters. + /// + /// + /// An optional parameter to provide the model name. This will ensure that the tokenization uses the tokenizer used by that model. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TokenizeAsync( + string text, + string model, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..1b7d9d01f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// The Cohere Platform is centered around models.
+ /// Each model has a different amount of power (i.e. parameters), to be used for different tasks.
+ /// Cohere also supports finetuning of baseline models to improve performance on downstream tasks or to teach the model large quantities of information which cannot be extracted with few-shot learning or prompt engineering.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// Datasets API + /// + public DatasetsClient Datasets { get; } + + /// + /// Connectors API + /// + public ConnectorsClient Connectors { get; } + + /// + /// Embed Jobs API + /// + public EmbedJobsClient EmbedJobs { get; } + + /// + /// Finetuning API (Beta) + /// + public FinetuningClient Finetuning { get; } + + /// + /// + /// + public ModelsClient Models { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.CreateConnector.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.CreateConnector.g.verified.cs new file mode 100644 index 0000000000..bb560871a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.CreateConnector.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IConnectorsClient.CreateConnector.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// Create a Connector
+ /// Creates a new connector. The connector is tested during registration and will cancel registration when the test is unsuccessful. See ['Creating and Deploying a Connector'](https://docs.cohere.com/docs/creating-and-deploying-a-connector) for more information. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateConnectorAsync( + global::G.CreateConnectorRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Connector
+ /// Creates a new connector. The connector is tested during registration and will cancel registration when the test is unsuccessful. See ['Creating and Deploying a Connector'](https://docs.cohere.com/docs/creating-and-deploying-a-connector) for more information. + ///
+ /// + /// + /// A human-readable name for the connector. + /// + /// + /// A description of the connector. + /// + /// + /// The URL of the connector that will be used to search for documents. + /// + /// + /// A list of fields to exclude from the prompt (fields remain in the document). + /// + /// + /// + /// Whether the connector is active or not.
+ /// Default Value: true + /// + /// + /// Whether a chat request should continue or not if the request to this connector fails.
+ /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateConnectorAsync( + string name, + string url, + string? xClientName = default, + string? description = default, + global::System.Collections.Generic.IList? excludes = default, + global::G.CreateConnectorOAuth? oauth = default, + bool active = true, + bool continueOnFailure = false, + global::G.CreateConnectorServiceAuth? serviceAuth = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.DeleteConnector.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.DeleteConnector.g.verified.cs new file mode 100644 index 0000000000..8d4d0e96f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.DeleteConnector.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IConnectorsClient.DeleteConnector.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// Delete a Connector
+ /// Delete a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/connectors) for more information. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteConnectorAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.GetConnector.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.GetConnector.g.verified.cs new file mode 100644 index 0000000000..bf8ee8d2e4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.GetConnector.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IConnectorsClient.GetConnector.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// Get a Connector
+ /// Retrieve a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/connectors) for more information. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetConnectorAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.ListConnectors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.ListConnectors.g.verified.cs new file mode 100644 index 0000000000..0d30100104 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.ListConnectors.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IConnectorsClient.ListConnectors.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// List Connectors
+ /// Returns a list of connectors ordered by descending creation date (newer first). See ['Managing your Connector'](https://docs.cohere.com/docs/managing-your-connector) for more information. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 0 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListConnectorsAsync( + double limit = 30, + double offset = 0, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.OAuthAuthorizeConnector.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.OAuthAuthorizeConnector.g.verified.cs new file mode 100644 index 0000000000..2e025bb48f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.OAuthAuthorizeConnector.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IConnectorsClient.OAuthAuthorizeConnector.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// Authorize with oAuth
+ /// Authorize the connector with the given ID for the connector oauth app. See ['Connector Authentication'](https://docs.cohere.com/docs/connector-authentication) for more information. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OAuthAuthorizeConnectorAsync( + string id, + string? afterTokenRedirect = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.UpdateConnector.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.UpdateConnector.g.verified.cs new file mode 100644 index 0000000000..44d075ea3b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.UpdateConnector.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IConnectorsClient.UpdateConnector.g.cs +#nullable enable + +namespace G +{ + public partial interface IConnectorsClient + { + /// + /// Update a Connector
+ /// Update a connector by ID. Omitted fields will not be updated. See ['Managing your Connector'](https://docs.cohere.com/docs/managing-your-connector) for more information. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConnectorAsync( + string id, + global::G.UpdateConnectorRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a Connector
+ /// Update a connector by ID. Omitted fields will not be updated. See ['Managing your Connector'](https://docs.cohere.com/docs/managing-your-connector) for more information. + ///
+ /// + /// + /// + /// A human-readable name for the connector. + /// + /// + /// The URL of the connector that will be used to search for documents. + /// + /// + /// A list of fields to exclude from the prompt (fields remain in the document). + /// + /// + /// + /// Default Value: true + /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConnectorAsync( + string id, + string? xClientName = default, + string? name = default, + string? url = default, + global::System.Collections.Generic.IList? excludes = default, + global::G.CreateConnectorOAuth? oauth = default, + bool active = true, + bool continueOnFailure = false, + global::G.CreateConnectorServiceAuth? serviceAuth = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.g.verified.cs new file mode 100644 index 0000000000..573a48e011 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IConnectorsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IConnectorsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Connectors API
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IConnectorsClient : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs new file mode 100644 index 0000000000..792576e33a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.IDatasetsClient.CreateDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Create a Dataset
+ /// Create a dataset by uploading a file. See ['Dataset Creation'](https://docs.cohere.com/docs/datasets#dataset-creation) for more information. + ///
+ /// + /// + /// The type of the dataset + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + string name, + global::G.DatasetType type, + global::G.CreateDatasetRequest request, + bool keepOriginalFile = default, + bool skipMalformedInput = default, + global::System.Collections.Generic.IList? keepFields = default, + global::System.Collections.Generic.IList? optionalFields = default, + string? textSeparator = default, + string? csvDelimiter = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Dataset
+ /// Create a dataset by uploading a file. See ['Dataset Creation'](https://docs.cohere.com/docs/datasets#dataset-creation) for more information. + ///
+ /// + /// + /// The type of the dataset + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The file to upload + /// + /// + /// The file to upload + /// + /// + /// An optional evaluation file to upload + /// + /// + /// An optional evaluation file to upload + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + string name, + global::G.DatasetType type, + byte[] data, + string dataname, + bool keepOriginalFile = default, + bool skipMalformedInput = default, + global::System.Collections.Generic.IList? keepFields = default, + global::System.Collections.Generic.IList? optionalFields = default, + string? textSeparator = default, + string? csvDelimiter = default, + string? xClientName = default, + byte[]? evalData = default, + string? evalDataname = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs new file mode 100644 index 0000000000..fef2f6518d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IDatasetsClient.DeleteDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Delete a Dataset
+ /// Delete a dataset by ID. Datasets are automatically deleted after 30 days, but they can also be deleted manually. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteDatasetAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.GetDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.GetDataset.g.verified.cs new file mode 100644 index 0000000000..20dc82f646 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.GetDataset.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IDatasetsClient.GetDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get a Dataset
+ /// Retrieve a dataset by ID. See ['Datasets'](https://docs.cohere.com/docs/datasets) for more information. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDatasetAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.GetDatasetUsage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.GetDatasetUsage.g.verified.cs new file mode 100644 index 0000000000..8e26e2e9a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.GetDatasetUsage.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.GetDatasetUsage.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get Dataset Usage
+ /// View the dataset storage usage for your Organization. Each Organization can have up to 10GB of storage across all their users. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDatasetUsageAsync( + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.ListDatasets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.ListDatasets.g.verified.cs new file mode 100644 index 0000000000..a12adaa1f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.ListDatasets.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IDatasetsClient.ListDatasets.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// List Datasets
+ /// List datasets that have been created. + ///
+ /// + /// + /// + /// + /// + /// + /// The validation status of the dataset + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListDatasetsAsync( + string? datasetType = default, + global::System.DateTime before = default, + global::System.DateTime after = default, + double limit = default, + double offset = default, + global::G.DatasetValidationStatus? validationStatus = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.g.verified.cs new file mode 100644 index 0000000000..a13dc067fb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IDatasetsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDatasetsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Datasets API
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDatasetsClient : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.CancelEmbedJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.CancelEmbedJob.g.verified.cs new file mode 100644 index 0000000000..aa35bd00f5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.CancelEmbedJob.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IEmbedJobsClient.CancelEmbedJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbedJobsClient + { + /// + /// Cancel an Embed Job
+ /// This API allows users to cancel an active embed job. Once invoked, the embedding process will be terminated, and users will be charged for the embeddings processed up to the cancellation point. It's important to note that partial results will not be available to users after cancellation. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelEmbedJobAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.CreateEmbedJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.CreateEmbedJob.g.verified.cs new file mode 100644 index 0000000000..b66b0517d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.CreateEmbedJob.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IEmbedJobsClient.CreateEmbedJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbedJobsClient + { + /// + /// Create an Embed Job
+ /// This API launches an async Embed job for a [Dataset](https://docs.cohere.com/docs/datasets) of type `embed-input`. The result of a completed embed job is new Dataset of type `embed-output`, which contains the original text entries and the corresponding embeddings. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEmbedJobAsync( + global::G.CreateEmbedJobRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an Embed Job
+ /// This API launches an async Embed job for a [Dataset](https://docs.cohere.com/docs/datasets) of type `embed-input`. The result of a completed embed job is new Dataset of type `embed-output`, which contains the original text entries and the corresponding embeddings. + ///
+ /// + /// + /// ID of the embedding model.
+ /// Available models and corresponding embedding dimensions:
+ /// - `embed-english-v3.0` : 1024
+ /// - `embed-multilingual-v3.0` : 1024
+ /// - `embed-english-light-v3.0` : 384
+ /// - `embed-multilingual-light-v3.0` : 384 + /// + /// + /// ID of a [Dataset](https://docs.cohere.com/docs/datasets). The Dataset must be of type `embed-input` and must have a validation status `Validated` + /// + /// + /// Specifies the type of input passed to the model. Required for embedding models v3 and higher.
+ /// - `"search_document"`: Used for embeddings stored in a vector database for search use-cases.
+ /// - `"search_query"`: Used for embeddings of search queries run against a vector DB to find relevant documents.
+ /// - `"classification"`: Used for embeddings passed through a text classifier.
+ /// - `"clustering"`: Used for the embeddings run through a clustering algorithm. + /// + /// + /// The name of the embed job. + /// + /// + /// Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.
+ /// * `"float"`: Use this when you want to get back the default float embeddings. Valid for all models.
+ /// * `"int8"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.
+ /// * `"uint8"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.
+ /// * `"binary"`: Use this when you want to get back signed binary embeddings. Valid for only v3 models.
+ /// * `"ubinary"`: Use this when you want to get back unsigned binary embeddings. Valid for only v3 models. + /// + /// + /// One of `START|END` to specify how the API will handle inputs longer than the maximum token length.
+ /// Passing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.
+ /// Default Value: END + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEmbedJobAsync( + string model, + string datasetId, + global::G.EmbedInputType inputType, + string? xClientName = default, + string? name = default, + global::System.Collections.Generic.IList? embeddingTypes = default, + global::G.CreateEmbedJobRequestTruncate? truncate = global::G.CreateEmbedJobRequestTruncate.END, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.GetEmbedJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.GetEmbedJob.g.verified.cs new file mode 100644 index 0000000000..e536ff5755 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.GetEmbedJob.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IEmbedJobsClient.GetEmbedJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbedJobsClient + { + /// + /// Fetch an Embed Job
+ /// This API retrieves the details about an embed job started by the same user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetEmbedJobAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.ListEmbedJobs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.ListEmbedJobs.g.verified.cs new file mode 100644 index 0000000000..692d21ec6b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.ListEmbedJobs.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IEmbedJobsClient.ListEmbedJobs.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbedJobsClient + { + /// + /// List Embed Jobs
+ /// The list embed job endpoint allows users to view all embed jobs history for that specific user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListEmbedJobsAsync( + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.g.verified.cs new file mode 100644 index 0000000000..ac59f29e1e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IEmbedJobsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IEmbedJobsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Embed Jobs API
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEmbedJobsClient : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.CreateFinetunedModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.CreateFinetunedModel.g.verified.cs new file mode 100644 index 0000000000..676f356c00 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.CreateFinetunedModel.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.IFinetuningClient.CreateFinetunedModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Trains and deploys a fine-tuned model. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFinetunedModelAsync( + global::G.FinetunedModel request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Trains and deploys a fine-tuned model. + /// + /// + /// + /// read-only. FinetunedModel ID. + /// + /// + /// FinetunedModel name (e.g. `foobar`). + /// + /// + /// read-only. User ID of the creator. + /// + /// + /// read-only. Organization ID. + /// + /// + /// The configuration used for fine-tuning. + /// + /// + /// The possible stages of a fine-tuned model life-cycle.
+ /// - STATUS_UNSPECIFIED: Unspecified status.
+ /// - STATUS_FINETUNING: The fine-tuned model is being fine-tuned.
+ /// - STATUS_DEPLOYING_API: The fine-tuned model is being deployed.
+ /// - STATUS_READY: The fine-tuned model is ready to receive requests.
+ /// - STATUS_FAILED: The fine-tuned model failed.
+ /// - STATUS_DELETED: The fine-tuned model was deleted.
+ /// - STATUS_TEMPORARILY_OFFLINE: The fine-tuned model is temporarily unavailable.
+ /// - STATUS_PAUSED: The fine-tuned model is paused (Vanilla only).
+ /// - STATUS_QUEUED: The fine-tuned model is queued for training.
+ /// Default Value: STATUS_UNSPECIFIED + /// + /// + /// read-only. Creation timestamp. + /// + /// + /// read-only. Latest update timestamp. + /// + /// + /// read-only. Timestamp for the completed fine-tuning. + /// + /// + /// read-only. Timestamp for the latest request to this fine-tuned model. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFinetunedModelAsync( + string name, + global::G.Settings settings, + string? xClientName = default, + string? id = default, + string? creatorId = default, + string? organizationId = default, + global::G.Status? status = global::G.Status.STATUSUNSPECIFIED, + global::System.DateTime createdAt = default, + global::System.DateTime updatedAt = default, + global::System.DateTime completedAt = default, + global::System.DateTime lastUsed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.DeleteFinetunedModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.DeleteFinetunedModel.g.verified.cs new file mode 100644 index 0000000000..0130b90753 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.DeleteFinetunedModel.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFinetuningClient.DeleteFinetunedModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Deletes a fine-tuned model. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteFinetunedModelAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.GetFinetunedModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.GetFinetunedModel.g.verified.cs new file mode 100644 index 0000000000..5e8f87cd6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.GetFinetunedModel.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFinetuningClient.GetFinetunedModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Returns a fine-tuned model by ID. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFinetunedModelAsync( + string id, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListEvents.g.verified.cs new file mode 100644 index 0000000000..2a11c04bee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListEvents.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFinetuningClient.ListEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Retrieves the chronology of statuses the fine-tuned model has been through. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListEventsAsync( + string finetunedModelId, + int pageSize = default, + string? pageToken = default, + string? orderBy = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListFinetunedModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListFinetunedModels.g.verified.cs new file mode 100644 index 0000000000..f5151e8f3c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListFinetunedModels.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IFinetuningClient.ListFinetunedModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Lists fine-tuned models. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListFinetunedModelsAsync( + int pageSize = default, + string? pageToken = default, + string? orderBy = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListTrainingStepMetrics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListTrainingStepMetrics.g.verified.cs new file mode 100644 index 0000000000..27de3f32f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.ListTrainingStepMetrics.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IFinetuningClient.ListTrainingStepMetrics.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Retrieves metrics measured during the training of a fine-tuned model. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListTrainingStepMetricsAsync( + string finetunedModelId, + int pageSize = default, + string? pageToken = default, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.UpdateFinetunedModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.UpdateFinetunedModel.g.verified.cs new file mode 100644 index 0000000000..3d89962e49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.UpdateFinetunedModel.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.IFinetuningClient.UpdateFinetunedModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IFinetuningClient + { + /// + /// Updates a fine-tuned model. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFinetunedModelAsync( + string id, + global::G.UpdateFinetunedModelRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a fine-tuned model. + /// + /// + /// + /// + /// FinetunedModel name (e.g. `foobar`). + /// + /// + /// User ID of the creator. + /// + /// + /// Organization ID. + /// + /// + /// The configuration used for fine-tuning. + /// + /// + /// The possible stages of a fine-tuned model life-cycle.
+ /// - STATUS_UNSPECIFIED: Unspecified status.
+ /// - STATUS_FINETUNING: The fine-tuned model is being fine-tuned.
+ /// - STATUS_DEPLOYING_API: The fine-tuned model is being deployed.
+ /// - STATUS_READY: The fine-tuned model is ready to receive requests.
+ /// - STATUS_FAILED: The fine-tuned model failed.
+ /// - STATUS_DELETED: The fine-tuned model was deleted.
+ /// - STATUS_TEMPORARILY_OFFLINE: The fine-tuned model is temporarily unavailable.
+ /// - STATUS_PAUSED: The fine-tuned model is paused (Vanilla only).
+ /// - STATUS_QUEUED: The fine-tuned model is queued for training.
+ /// Default Value: STATUS_UNSPECIFIED + /// + /// + /// Creation timestamp. + /// + /// + /// Latest update timestamp. + /// + /// + /// Timestamp for the completed fine-tuning. + /// + /// + /// Timestamp for the latest request to this fine-tuned model. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFinetunedModelAsync( + string id, + string name, + global::G.Settings settings, + string? xClientName = default, + string? creatorId = default, + string? organizationId = default, + global::G.Status? status = global::G.Status.STATUSUNSPECIFIED, + global::System.DateTime createdAt = default, + global::System.DateTime updatedAt = default, + global::System.DateTime completedAt = default, + global::System.DateTime lastUsed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.g.verified.cs new file mode 100644 index 0000000000..23390d04c0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IFinetuningClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFinetuningClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Finetuning API (Beta)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFinetuningClient : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.GetModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.GetModel.g.verified.cs new file mode 100644 index 0000000000..6b31dcd312 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.GetModel.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IModelsClient.GetModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Get a Model
+ /// Returns the details of a model, provided its name. + ///
+ /// + /// Example: command-r + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetModelAsync( + string model, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs new file mode 100644 index 0000000000..571aa46e4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IModelsClient.ListModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// List Models
+ /// Returns a list of models available for use. The list contains models from Cohere as well as your fine-tuned models. + ///
+ /// + /// + /// + /// One of the Cohere API endpoints that the model can be used with. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListModelsAsync( + double pageSize = default, + string? pageToken = default, + global::G.CompatibleEndpoint? endpoint = default, + bool defaultOnly = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.g.verified.cs new file mode 100644 index 0000000000..eeb6c940d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.IModelsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelsClient : global::System.IDisposable + { + /// + /// production + /// + public const string BaseUrl = "https://api.cohere.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.ModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.ModelsClient.g.verified.cs index 0cf733de79..be8ae14f47 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.ModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Cohere/SystemTextJson/_#G.ModelsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelsClient : global::System.IDisposable + public sealed partial class ModelsClient : global::G.IModelsClient, global::System.IDisposable { /// /// production diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.g.verified.cs index ae256f92f2..bf7f78cd6c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AccountClient : global::System.IDisposable + public sealed partial class AccountClient : global::G.IAccountClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.g.verified.cs index b3fdc9bd0e..e1abb81c8e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AdminClient : global::System.IDisposable + public sealed partial class AdminClient : global::G.IAdminClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.Api.g.verified.cs index 61666d99d7..4cbd3b3451 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.Api.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.g.verified.cs index 1a9c3fc854..2daa530dd7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.g.verified.cs index cee29eff95..c247cb7ac5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DataSetClient : global::System.IDisposable + public sealed partial class DataSetClient : global::G.IDataSetClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.g.verified.cs index 27f22e8633..abfa1a4b14 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DescriptorClient : global::System.IDisposable + public sealed partial class DescriptorClient : global::G.IDescriptorClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ErrorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ErrorClient.g.verified.cs index c3cf560bce..1903b24ed2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ErrorClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ErrorClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ErrorClient : global::System.IDisposable + public sealed partial class ErrorClient : global::G.IErrorClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.g.verified.cs index dc6c57f4ef..484155732a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ExcerptClient : global::System.IDisposable + public sealed partial class ExcerptClient : global::G.IExcerptClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.g.verified.cs index 9ddf299a14..dc5d3c39c5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ExportClient : global::System.IDisposable + public sealed partial class ExportClient : global::G.IExportClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.g.verified.cs index 342e0cee61..7aac694667 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FileClient : global::System.IDisposable + public sealed partial class FileClient : global::G.IFileClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.g.verified.cs index c27f036037..d66a6e53d3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FileStorageClient : global::System.IDisposable + public sealed partial class FileStorageClient : global::G.IFileStorageClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountDisableRecurringPayment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountDisableRecurringPayment.g.verified.cs new file mode 100644 index 0000000000..ff667df519 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountDisableRecurringPayment.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountDisableRecurringPayment.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// DisableRecurringPayment. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountDisableRecurringPaymentAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs new file mode 100644 index 0000000000..0b311c57e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAccountClient.AccountGetAccountBillingLogsForCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetAccountBillingLogsForCurrentUser. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountGetAccountBillingLogsForCurrentUserAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs new file mode 100644 index 0000000000..59ff15bef1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAccountClient.AccountGetAccountDetailsForCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetAccountDetailsForCurrentUser. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountGetAccountDetailsForCurrentUserAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountForCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountForCurrentUser.g.verified.cs new file mode 100644 index 0000000000..216c89ad37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountForCurrentUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAccountClient.AccountGetAccountForCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetAccountForCurrentUser. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountGetAccountForCurrentUserAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs new file mode 100644 index 0000000000..1b76ef0d64 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountGetAccountProjectInfoJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetAccountProjectInfoJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AccountGetAccountProjectInfoJobResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs new file mode 100644 index 0000000000..37ebbad1cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountGetExportStorageMetricsJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetExportStorageMetricsJobId. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountGetExportStorageMetricsJobIdAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs new file mode 100644 index 0000000000..43cd407bee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountGetProjectAccessDetailsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetProjectAccessDetailsForUser. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AccountGetProjectAccessDetailsForUserAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs new file mode 100644 index 0000000000..ac4ffa440e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountGetProjectAccessDetailsForUser2.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetProjectAccessDetailsForUser. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AccountGetProjectAccessDetailsForUser2Async( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGrantAdmin.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGrantAdmin.g.verified.cs new file mode 100644 index 0000000000..216e9fe3cd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountGrantAdmin.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAccountClient.AccountGrantAdmin.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GrantAdmin. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountGrantAdminAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs new file mode 100644 index 0000000000..dcb821902e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountRemoveUserFromCurrentAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// RemoveUserFromCurrentAccount. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountRemoveUserFromCurrentAccountAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountRevokeAdmin.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountRevokeAdmin.g.verified.cs new file mode 100644 index 0000000000..3e5053ea40 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountRevokeAdmin.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAccountClient.AccountRevokeAdmin.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// RevokeAdmin. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountRevokeAdminAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountSendPaymentReceipt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountSendPaymentReceipt.g.verified.cs new file mode 100644 index 0000000000..144136e98f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountSendPaymentReceipt.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAccountClient.AccountSendPaymentReceipt.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// SendPaymentReceipt. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountSendPaymentReceiptAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Guid transactionId = default, + string? email = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountChargesJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountChargesJob.g.verified.cs new file mode 100644 index 0000000000..cb4b329d6e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountChargesJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountStartExportAccountChargesJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// StartExportAccountChargesJob. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountStartExportAccountChargesJobAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs new file mode 100644 index 0000000000..588716367b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountStartExportAccountPaymentsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// StartExportAccountPaymentsJob. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountStartExportAccountPaymentsJobAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs new file mode 100644 index 0000000000..556a826166 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountStartExportAccountProjectSummaryJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// StartExportAccountProjectSummaryJob. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountStartExportAccountProjectSummaryJobAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs new file mode 100644 index 0000000000..688562737c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountStartGetAccountProjectInfoJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// StartGetAccountProjectInfoJob. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountStartGetAccountProjectInfoJobAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountUpdateAccountPWPolicy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountUpdateAccountPWPolicy.g.verified.cs new file mode 100644 index 0000000000..9eac546f0a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountUpdateAccountPWPolicy.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IAccountClient.AccountUpdateAccountPWPolicy.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// UpdateAccountPWPolicy. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountUpdateAccountPWPolicyAsync( + string? token = default, + global::System.Guid accountId = default, + bool enforcePolicy = default, + int minLength = default, + bool requireChar = default, + bool requireUpper = default, + bool requireNumber = default, + bool requireSymbol = default, + double maxAgeInDays = default, + bool require2Auth = default, + bool relogin2Auth = default, + int idleTimeoutInMinutes = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountUpdateAccountUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountUpdateAccountUser.g.verified.cs new file mode 100644 index 0000000000..3700ab4b0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.AccountUpdateAccountUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAccountClient.AccountUpdateAccountUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// UpdateAccountUser. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountUpdateAccountUserAsync( + string? token = default, + global::System.Guid userId = default, + string? firstName = default, + string? lastName = default, + string? phone = default, + string? email = default, + bool active = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.g.verified.cs new file mode 100644 index 0000000000..9f7f9f62cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAccountClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAccountClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAccountClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddCreditsToAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddCreditsToAccount.g.verified.cs new file mode 100644 index 0000000000..a46b32837e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddCreditsToAccount.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminAddCreditsToAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// AddCreditsToAccount. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminAddCreditsToAccountAsync( + string? token = default, + global::System.Guid accountId = default, + double credits = default, + string? reason = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddGroupToProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddGroupToProject.g.verified.cs new file mode 100644 index 0000000000..62403517b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddGroupToProject.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminAddGroupToProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// AddGroupToProject. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminAddGroupToProjectAsync( + string? token = default, + global::System.Guid projectId = default, + string? groupTitle = default, + global::System.Guid groupACLId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddNewUserToAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddNewUserToAccount.g.verified.cs new file mode 100644 index 0000000000..164a819fc5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddNewUserToAccount.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAdminClient.AdminAddNewUserToAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// AddNewUserToAccount. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminAddNewUserToAccountAsync( + string? token = default, + global::System.Guid accountId = default, + string? username = default, + string? firstName = default, + string? lastName = default, + string? email = default, + string? phone = default, + string? encryptedPass = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddUserToAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddUserToAccount.g.verified.cs new file mode 100644 index 0000000000..cf6bd997e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddUserToAccount.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminAddUserToAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// AddUserToAccount. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminAddUserToAccountAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddUserToGroup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddUserToGroup.g.verified.cs new file mode 100644 index 0000000000..6805e42324 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminAddUserToGroup.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminAddUserToGroup.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// AddUserToGroup. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminAddUserToGroupAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid groupId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminCreateAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminCreateAccount.g.verified.cs new file mode 100644 index 0000000000..1f6091a6c0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminCreateAccount.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminCreateAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// CreateAccount. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminCreateAccountAsync( + string? token = default, + global::System.Guid adminId = default, + double credits = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetAccountTransactions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetAccountTransactions.g.verified.cs new file mode 100644 index 0000000000..94b3caba31 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetAccountTransactions.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminGetAccountTransactions.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetAccountTransactions. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetAccountTransactionsAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetActiveUserInfos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetActiveUserInfos.g.verified.cs new file mode 100644 index 0000000000..b8142b9719 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetActiveUserInfos.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminGetActiveUserInfos.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetActiveUserInfos. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetActiveUserInfosAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetActivityMetrics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetActivityMetrics.g.verified.cs new file mode 100644 index 0000000000..e5a3f4529c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetActivityMetrics.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminGetActivityMetrics.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetActivityMetrics. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetActivityMetricsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredProjects.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredProjects.g.verified.cs new file mode 100644 index 0000000000..26b3036a0a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredProjects.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminGetFilteredProjects.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetFilteredProjects. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetFilteredProjectsAsync( + string? token = default, + string? filter = default, + int maxResults = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs new file mode 100644 index 0000000000..6e4a0c88a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminGetFilteredProjectsAndUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetFilteredProjectsAndUsers. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetFilteredProjectsAndUsersAsync( + string? token = default, + string? filter = default, + int maxResults = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredUsers.g.verified.cs new file mode 100644 index 0000000000..53b4875f10 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetFilteredUsers.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminGetFilteredUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetFilteredUsers. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetFilteredUsersAsync( + string? token = default, + string? filter = default, + int maxResults = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetMergeStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetMergeStatus.g.verified.cs new file mode 100644 index 0000000000..71baf52368 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetMergeStatus.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminGetMergeStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetMergeStatus. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetMergeStatusAsync( + string? token = default, + global::System.Guid mergedProjectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetProjectSecurityInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetProjectSecurityInfo.g.verified.cs new file mode 100644 index 0000000000..30e0a372ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetProjectSecurityInfo.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminGetProjectSecurityInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetProjectSecurityInfo. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetProjectSecurityInfoAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetRevenueSegments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetRevenueSegments.g.verified.cs new file mode 100644 index 0000000000..d60c63fa72 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetRevenueSegments.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminGetRevenueSegments.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetRevenueSegments. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetRevenueSegmentsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetSignupSegments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetSignupSegments.g.verified.cs new file mode 100644 index 0000000000..02ff5aa433 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetSignupSegments.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminGetSignupSegments.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetSignupSegments. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetSignupSegmentsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetUserFullDetailsByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetUserFullDetailsByUser.g.verified.cs new file mode 100644 index 0000000000..a8db8ae745 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminGetUserFullDetailsByUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminGetUserFullDetailsByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetUserFullDetailsByUser. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetUserFullDetailsByUserAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminMergeProjects.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminMergeProjects.g.verified.cs new file mode 100644 index 0000000000..43b2b45c49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminMergeProjects.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAdminClient.AdminMergeProjects.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// MergeProjects. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminMergeProjectsAsync( + string? token = default, + global::System.Guid project1Id = default, + global::System.Guid project2Id = default, + string? newTitle = default, + string? newDescription = default, + global::System.Guid creatorId = default, + bool mergeCodes = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminMigrateUserToAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminMigrateUserToAccount.g.verified.cs new file mode 100644 index 0000000000..f0837d00b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminMigrateUserToAccount.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminMigrateUserToAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// MigrateUserToAccount. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminMigrateUserToAccountAsync( + string? token = default, + global::System.Guid userToBeMovedId = default, + global::System.Guid accountIdToMoveTo = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminOverrideVerify.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminOverrideVerify.g.verified.cs new file mode 100644 index 0000000000..4b6c9d5435 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminOverrideVerify.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminOverrideVerify.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// OverrideVerify. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminOverrideVerifyAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminProcessPayment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminProcessPayment.g.verified.cs new file mode 100644 index 0000000000..67126544e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminProcessPayment.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminProcessPayment.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// ProcessPayment. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminProcessPaymentAsync( + string? token = default, + global::System.Guid accountId = default, + double amount = default, + string? memo = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSendAllClientsMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSendAllClientsMessage.g.verified.cs new file mode 100644 index 0000000000..d776504083 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSendAllClientsMessage.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminSendAllClientsMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SendAllClientsMessage. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSendAllClientsMessageAsync( + string? token = default, + string? title = default, + string? message = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountCPUPMOverride.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountCPUPMOverride.g.verified.cs new file mode 100644 index 0000000000..9908ec8353 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountCPUPMOverride.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminSetAccountCPUPMOverride.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SetAccountCPUPMOverride. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSetAccountCPUPMOverrideAsync( + string? token = default, + global::System.Guid accountId = default, + double cpupmOverride = default, + global::System.DateTime endDate = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountGroupDiscount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountGroupDiscount.g.verified.cs new file mode 100644 index 0000000000..fc4ae7d445 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountGroupDiscount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminSetAccountGroupDiscount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SetAccountGroupDiscount. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSetAccountGroupDiscountAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountStudentDiscount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountStudentDiscount.g.verified.cs new file mode 100644 index 0000000000..60253fb871 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountStudentDiscount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminSetAccountStudentDiscount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SetAccountStudentDiscount. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSetAccountStudentDiscountAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountUserAdminStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountUserAdminStatus.g.verified.cs new file mode 100644 index 0000000000..68a0d8194e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetAccountUserAdminStatus.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminSetAccountUserAdminStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SetAccountUserAdminStatus. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSetAccountUserAdminStatusAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Guid userId = default, + bool isAdmin = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetUserPassword.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetUserPassword.g.verified.cs new file mode 100644 index 0000000000..71ec2a6e94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSetUserPassword.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminSetUserPassword.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SetUserPassword. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSetUserPasswordAsync( + string? token = default, + global::System.Guid userId = default, + string? rsaEncrptedPass = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartAddDemoProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartAddDemoProject.g.verified.cs new file mode 100644 index 0000000000..c7d229c42b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartAddDemoProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminStartAddDemoProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// StartAddDemoProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminStartAddDemoProjectAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartExportAccountsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartExportAccountsJob.g.verified.cs new file mode 100644 index 0000000000..976da8f42d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartExportAccountsJob.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminStartExportAccountsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// StartExportAccountsJob. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminStartExportAccountsJobAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartExportUsersJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartExportUsersJob.g.verified.cs new file mode 100644 index 0000000000..1219de8d31 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminStartExportUsersJob.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminStartExportUsersJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// StartExportUsersJob. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminStartExportUsersJobAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSubmitPayment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSubmitPayment.g.verified.cs new file mode 100644 index 0000000000..823bf614ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminSubmitPayment.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IAdminClient.AdminSubmitPayment.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SubmitPayment. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSubmitPaymentAsync( + string? token = default, + global::System.Guid accountId = default, + double amount = default, + string? firstName = default, + string? lastName = default, + string? address1 = default, + string? address2 = default, + string? city = default, + string? state = default, + string? country = default, + string? zip = default, + int cardType = default, + string? cardNum = default, + string? cardCCV = default, + int expMonth = default, + int expYear = default, + bool saveAsReoccuring = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUnlinkUserFromProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUnlinkUserFromProject.g.verified.cs new file mode 100644 index 0000000000..40bc50e078 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUnlinkUserFromProject.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminUnlinkUserFromProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// UnlinkUserFromProject. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminUnlinkUserFromProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateProject.g.verified.cs new file mode 100644 index 0000000000..484e810524 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateProject.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminUpdateProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// UpdateProject. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminUpdateProjectAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Guid adminId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateUserGroup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateUserGroup.g.verified.cs new file mode 100644 index 0000000000..33f098bf68 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateUserGroup.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAdminClient.AdminUpdateUserGroup.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// UpdateUserGroup. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminUpdateUserGroupAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + global::System.Guid accessListIDL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateUserInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateUserInfo.g.verified.cs new file mode 100644 index 0000000000..97271ec637 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.AdminUpdateUserInfo.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAdminClient.AdminUpdateUserInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// UpdateUserInfo. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminUpdateUserInfoAsync( + string? token = default, + global::System.Guid userId = default, + string? username = default, + string? email = default, + string? phone = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.g.verified.cs new file mode 100644 index 0000000000..565f3fbb46 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IAdminClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAdminClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAdminClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..4c5df0463c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,125 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// + /// + public AccountClient Account { get; } + + /// + /// + /// + public AdminClient Admin { get; } + + /// + /// + /// + public ChatClient Chat { get; } + + /// + /// + /// + public DataSetClient DataSet { get; } + + /// + /// + /// + public DescriptorClient Descriptor { get; } + + /// + /// + /// + public ErrorClient Error { get; } + + /// + /// + /// + public ExcerptClient Excerpt { get; } + + /// + /// + /// + public ExportClient Export { get; } + + /// + /// + /// + public FileClient File { get; } + + /// + /// + /// + public FileStorageClient FileStorage { get; } + + /// + /// + /// + public LoginClient Login { get; } + + /// + /// + /// + public UsersClient Users { get; } + + /// + /// + /// + public MemoClient Memo { get; } + + /// + /// + /// + public ProjectClient Project { get; } + + /// + /// + /// + public ResourceClient Resource { get; } + + /// + /// + /// + public SecurityClient Security { get; } + + /// + /// + /// + public SurveyImportClient SurveyImport { get; } + + /// + /// + /// + public TagClient Tag { get; } + + /// + /// + /// + public TrainingClient Training { get; } + + /// + /// + /// + public UserClient User { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatGetChatMessages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatGetChatMessages.g.verified.cs new file mode 100644 index 0000000000..655e4c9f5e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatGetChatMessages.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChatClient.ChatGetChatMessages.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// GetChatMessages. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ChatGetChatMessagesAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Guid lastRevievedProjectMessageId = default, + global::System.Guid lastRecievedGlobalMessageId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatGetProjectChatUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatGetProjectChatUsers.g.verified.cs new file mode 100644 index 0000000000..0831216e14 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatGetProjectChatUsers.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IChatClient.ChatGetProjectChatUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// GetProjectChatUsers. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ChatGetProjectChatUsersAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatSubmitProjectChatMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatSubmitProjectChatMessage.g.verified.cs new file mode 100644 index 0000000000..22edb5f25b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.ChatSubmitProjectChatMessage.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IChatClient.ChatSubmitProjectChatMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// SubmitProjectChatMessage. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChatSubmitProjectChatMessageAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? message = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..682e2d70f5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetAddDataSet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetAddDataSet.g.verified.cs new file mode 100644 index 0000000000..3d3cd3cc6d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetAddDataSet.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IDataSetClient.DataSetAddDataSet.g.cs +#nullable enable + +namespace G +{ + public partial interface IDataSetClient + { + /// + /// AddDataSet. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DataSetAddDataSetAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? title = default, + string? description = default, + bool areExcerptsFiltered = default, + bool areResourcesFiltered = default, + bool areDescriptorsFiltered = default, + bool areTagsFiltered = default, + bool areUsersFiltered = default, + global::System.Collections.Generic.IList? excerptIds = default, + global::System.Collections.Generic.IList? descriptorIds = default, + global::System.Collections.Generic.IList? userIds = default, + global::System.Collections.Generic.IList? resourceIds = default, + global::System.Collections.Generic.IList? tagIds = default, + global::System.Collections.Generic.IList? excludedExcerptIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetDeleteDataSet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetDeleteDataSet.g.verified.cs new file mode 100644 index 0000000000..45212b5025 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetDeleteDataSet.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IDataSetClient.DataSetDeleteDataSet.g.cs +#nullable enable + +namespace G +{ + public partial interface IDataSetClient + { + /// + /// DeleteDataSet. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DataSetDeleteDataSetAsync( + string? token = default, + global::System.Guid id = default, + global::System.Guid projectId = default, + string? projectIdKey = default, + global::System.Guid createdById = default, + global::System.DateTime createStamp = default, + string? title = default, + string? desciption = default, + global::System.Collections.Generic.IList? objectIdListsIncludedTagIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedDescriptorIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedResourceIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedExcerptIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedUserIds = default, + global::System.Collections.Generic.IList? objectIdListsExcludedExcerptIds = default, + bool areExcerptsFiltered = default, + bool areResourcesFiltered = default, + bool areTagsFiltered = default, + bool areUsersFiltered = default, + bool areDescriptorsFiltered = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetGetDataSetsByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetGetDataSetsByProject.g.verified.cs new file mode 100644 index 0000000000..33100aebd1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetGetDataSetsByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDataSetClient.DataSetGetDataSetsByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IDataSetClient + { + /// + /// GetDataSetsByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DataSetGetDataSetsByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetUpdateDataSet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetUpdateDataSet.g.verified.cs new file mode 100644 index 0000000000..2e7a789ee8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.DataSetUpdateDataSet.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IDataSetClient.DataSetUpdateDataSet.g.cs +#nullable enable + +namespace G +{ + public partial interface IDataSetClient + { + /// + /// UpdateDataSet. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DataSetUpdateDataSetAsync( + string? token = default, + global::System.Guid id = default, + global::System.Guid projectId = default, + string? projectIdKey = default, + global::System.Guid createdById = default, + global::System.DateTime createStamp = default, + string? title = default, + string? desciption = default, + global::System.Collections.Generic.IList? objectIdListsIncludedTagIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedDescriptorIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedResourceIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedExcerptIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedUserIds = default, + global::System.Collections.Generic.IList? objectIdListsExcludedExcerptIds = default, + bool areExcerptsFiltered = default, + bool areResourcesFiltered = default, + bool areTagsFiltered = default, + bool areUsersFiltered = default, + bool areDescriptorsFiltered = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.g.verified.cs new file mode 100644 index 0000000000..5dcfabeb1f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDataSetClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDataSetClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDataSetClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptor.g.verified.cs new file mode 100644 index 0000000000..b359ccc051 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptor.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorAddDescriptor.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddDescriptor. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddDescriptorAsync( + global::System.Collections.Generic.IList request, + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid setId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorField.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorField.g.verified.cs new file mode 100644 index 0000000000..6e64c8e12e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorField.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IDescriptorClient.DescriptorAddDescriptorField.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddDescriptorField. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddDescriptorFieldAsync( + global::System.Collections.Generic.IList request, + string? token = default, + global::System.Guid projectId = default, + string? title = default, + string? description = default, + double type = default, + bool isDynamic = default, + global::System.Guid setId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorLink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorLink.g.verified.cs new file mode 100644 index 0000000000..432b15f56b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorLink.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorAddDescriptorLink.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddDescriptorLink. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddDescriptorLinkAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Guid descriptorId = default, + global::System.Collections.Generic.IList? dynamicValues = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorSet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorSet.g.verified.cs new file mode 100644 index 0000000000..80c19e5a26 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDescriptorSet.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorAddDescriptorSet.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddDescriptorSet. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddDescriptorSetAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + string? description = default, + global::System.Guid createByUserId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDynamicValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDynamicValue.g.verified.cs new file mode 100644 index 0000000000..c4aa42d346 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddDynamicValue.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IDescriptorClient.DescriptorAddDynamicValue.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddDynamicValue. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddDynamicValueAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid setId = default, + global::System.Guid descriptorId = default, + global::System.Guid fieldId = default, + global::System.Guid resourceId = default, + string? data = default, + global::System.Guid optionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddLinks.g.verified.cs new file mode 100644 index 0000000000..a0ae143414 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddLinks.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorAddLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddLinks. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddLinksAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? links = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs new file mode 100644 index 0000000000..577eb1011d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IDescriptorClient.DescriptorAddOrUpdateDynamicValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddOrUpdateDynamicValues. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddOrUpdateDynamicValuesAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Guid setId = default, + global::System.Guid descriptorId = default, + global::System.Collections.Generic.IList? values = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptor.g.verified.cs new file mode 100644 index 0000000000..f97c97fb2b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptor.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDescriptorClient.DescriptorDeleteDescriptor.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// DeleteDescriptor. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorDeleteDescriptorAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + global::System.DateTime createStamp = default, + global::System.Guid createByIDL = default, + global::System.Guid descriptorSetIDL = default, + byte[]? valuesData = default, + byte[]? dynamicValuesData = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs new file mode 100644 index 0000000000..aeb666a648 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IDescriptorClient.DescriptorDeleteDescriptorField.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// DeleteDescriptorField. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorDeleteDescriptorFieldAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + global::System.Guid descriptorSetIDL = default, + int type = default, + string? title = default, + string? description = default, + bool isDynamicField = default, + int sortOrder = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptors.g.verified.cs new file mode 100644 index 0000000000..bca4eac208 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteDescriptors.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorDeleteDescriptors.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// DeleteDescriptors. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorDeleteDescriptorsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? descriptorsIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteLink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteLink.g.verified.cs new file mode 100644 index 0000000000..28e86be6ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorDeleteLink.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDescriptorClient.DescriptorDeleteLink.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// DeleteLink. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorDeleteLinkAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Guid descriptorId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs new file mode 100644 index 0000000000..b0abef7806 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// ForceDeleteDescriptorSetPolled. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorForceDeleteDescriptorSetPolledAsync( + string? token = default, + global::System.Guid projectIDL = default, + global::System.Guid descriptorSetId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs new file mode 100644 index 0000000000..b98c586748 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetConvertFieldTypeJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetConvertFieldTypeJobResponseAsync( + string? token = default, + global::System.Guid jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs new file mode 100644 index 0000000000..21adbd45bb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetDesDataFromFileJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetDesDataFromFileJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetDesDataFromFileJobResultAsync( + string? token = default, + global::System.Guid jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs new file mode 100644 index 0000000000..cc72252ad7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetDesFieldImportDataFromFile. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetDesFieldImportDataFromFileAsync( + string? token = default, + string? relativeFileURL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs new file mode 100644 index 0000000000..d65da41ca7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetDynamicValuesByProjectId.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetDynamicValuesByProjectId. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetDynamicValuesByProjectIdAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs new file mode 100644 index 0000000000..b2fcf8c773 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetProjectDescriptorFieldValues. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DescriptorGetProjectDescriptorFieldValuesAsync( + string? token = default, + global::System.Guid projectId = default, + int page = default, + int pageSize = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs new file mode 100644 index 0000000000..f6b59226f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetProjectDescriptorLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetProjectDescriptorLinks. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DescriptorGetProjectDescriptorLinksAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs new file mode 100644 index 0000000000..161c598252 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetProjectDescriptorProps.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetProjectDescriptorProps. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetProjectDescriptorPropsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs new file mode 100644 index 0000000000..524edca5b1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDescriptorClient.DescriptorGetProjectDescriptorsPaged.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetProjectDescriptorsPaged. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DescriptorGetProjectDescriptorsPagedAsync( + string? token = default, + global::System.Guid projectId = default, + int page = default, + int pageSize = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetResourceLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetResourceLinks.g.verified.cs new file mode 100644 index 0000000000..64507b0c77 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorGetResourceLinks.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorGetResourceLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetResourceLinks. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetResourceLinksAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorImportFields.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorImportFields.g.verified.cs new file mode 100644 index 0000000000..a404f29d31 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorImportFields.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IDescriptorClient.DescriptorImportFields.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// ImportFields. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorImportFieldsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Collections.Generic.IList? fieldInfos = default, + global::System.Guid existingSetId = default, + string? newSetTitle = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs new file mode 100644 index 0000000000..af8ca829f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// IsForceDeleteDescriptorSetPolledComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorIsForceDeleteDescriptorSetPolledCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs new file mode 100644 index 0000000000..6ab07830af --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorStartConvertFieldTypeJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// StartConvertFieldTypeJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorStartConvertFieldTypeJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid setId = default, + global::System.Guid fieldId = default, + int newFieldType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs new file mode 100644 index 0000000000..5a9f772502 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorStartExportDescriptorsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// StartExportDescriptorsJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorStartExportDescriptorsJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid setId = default, + global::System.Collections.Generic.IList? descriptorIds = default, + string? fileExtension = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs new file mode 100644 index 0000000000..ff69b6e85b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDescriptorClient.DescriptorStartExportFieldsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// StartExportFieldsJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorStartExportFieldsJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid setId = default, + string? fileExtension = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs new file mode 100644 index 0000000000..7682142064 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDescriptorClient.DescriptorStartGetDesDataFromFileJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// StartGetDesDataFromFileJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorStartGetDesDataFromFileJobAsync( + string? token = default, + string? localFileURL = default, + global::System.Guid setId = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs new file mode 100644 index 0000000000..b5f96ce9bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorStartImportDescriptorsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// StartImportDescriptorsJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorStartImportDescriptorsJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid setId = default, + global::System.Collections.Generic.IList? descriptorInfos = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs new file mode 100644 index 0000000000..bbc4981e89 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IDescriptorClient.DescriptorUpdateDescriptorSet.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// UpdateDescriptorSet. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorUpdateDescriptorSetAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + string? description = default, + global::System.DateTime createStamp = default, + global::System.Guid createdByUserId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs new file mode 100644 index 0000000000..53f6ab1336 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IDescriptorClient.DescriptorUpdateFieldAndOptions.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// UpdateFieldAndOptions. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorUpdateFieldAndOptionsAsync( + global::System.Collections.Generic.IList request, + string? token = default, + global::System.Guid projectId = default, + global::System.Guid fieldId = default, + string? title = default, + string? description = default, + global::System.Collections.Generic.IList? deletedOptionIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs new file mode 100644 index 0000000000..846de13cbf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorUpdateFieldOrders.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// UpdateFieldOrders. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorUpdateFieldOrdersAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? fields = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateValues.g.verified.cs new file mode 100644 index 0000000000..c051b0ede5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.DescriptorUpdateValues.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorUpdateValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// UpdateValues. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorUpdateValuesAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? values = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.g.verified.cs new file mode 100644 index 0000000000..ea73c01490 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IDescriptorClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDescriptorClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDescriptorClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IErrorClient.ErrorProcessUIError.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IErrorClient.ErrorProcessUIError.g.verified.cs new file mode 100644 index 0000000000..c0dfab9140 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IErrorClient.ErrorProcessUIError.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IErrorClient.ErrorProcessUIError.g.cs +#nullable enable + +namespace G +{ + public partial interface IErrorClient + { + /// + /// ProcessUIError. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ErrorProcessUIErrorAsync( + string? token = default, + string? projectId = default, + string? userId = default, + string? workspace = default, + string? errorCode = default, + string? message = default, + string? currentTarget = default, + string? stacktrace = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IErrorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IErrorClient.g.verified.cs new file mode 100644 index 0000000000..589aa22ba2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IErrorClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IErrorClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IErrorClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs new file mode 100644 index 0000000000..d3f6c0f065 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IExcerptClient.ExcerptAddDocumentExcerptWithTags.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddDocumentExcerptWithTags. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddDocumentExcerptWithTagsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + string? title = default, + string? description = default, + int startIndex = default, + int endIndex = default, + string? excerptText = default, + global::System.Collections.Generic.IList? tagApps = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddImageExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddImageExcerpt.g.verified.cs new file mode 100644 index 0000000000..4590c7bc0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddImageExcerpt.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IExcerptClient.ExcerptAddImageExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddImageExcerpt. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddImageExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + int start = default, + int end = default, + global::System.Collections.Generic.IList? tagIdsToApply = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs new file mode 100644 index 0000000000..41cd44b266 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IExcerptClient.ExcerptAddPDFImageExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddPDFImageExcerpt. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddPDFImageExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + int start = default, + int end = default, + global::System.Collections.Generic.IList? tagIdsToApply = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs new file mode 100644 index 0000000000..45a9f46cdf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddPDFSwfImageExcerpt. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddPDFSwfImageExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + int start = default, + int end = default, + global::System.Collections.Generic.IList? tagIdsToApply = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs new file mode 100644 index 0000000000..7763f5430a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddPDFSwfTextExcerpt. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddPDFSwfTextExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + int pageIndex = default, + int start = default, + int end = default, + string? text = default, + global::System.Collections.Generic.IList? tagApps = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs new file mode 100644 index 0000000000..c195497e38 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IExcerptClient.ExcerptAddVideoExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddVideoExcerpt. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddVideoExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + int start = default, + int end = default, + global::System.Collections.Generic.IList? tagIdsToApply = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptDeleteExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptDeleteExcerpt.g.verified.cs new file mode 100644 index 0000000000..cfabc01dfc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptDeleteExcerpt.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IExcerptClient.ExcerptDeleteExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// DeleteExcerpt. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptDeleteExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid excerptId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs new file mode 100644 index 0000000000..c4c0066803 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IExcerptClient.ExcerptGetExcerptsByProjectId.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// GetExcerptsByProjectId. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ExcerptGetExcerptsByProjectIdAsync( + string? token = default, + global::System.Guid projectId = default, + int page = default, + int pageSize = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs new file mode 100644 index 0000000000..1fa223f7ba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExcerptClient.ExcerptGetSearchExcerptsJobResults.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// GetSearchExcerptsJobResults. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ExcerptGetSearchExcerptsJobResultsAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs new file mode 100644 index 0000000000..f38e2bcbb9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// IsDeleteExcerptsJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptIsDeleteExcerptsJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs new file mode 100644 index 0000000000..99c7526909 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IExcerptClient.ExcerptStartDeleteExcerptsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// StartDeleteExcerptsJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptStartDeleteExcerptsJobAsync( + string? token = default, + global::System.Guid currentProjectId = default, + global::System.Collections.Generic.IList? excerptIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs new file mode 100644 index 0000000000..25f778b187 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IExcerptClient.ExcerptStartSearchExcerptsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// StartSearchExcerptsJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptStartSearchExcerptsJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? searchText = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs new file mode 100644 index 0000000000..bf810d54c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IExcerptClient.ExcerptUpdateExcerptRange.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// UpdateExcerptRange. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptUpdateExcerptRangeAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid excerptId = default, + int newStart = default, + int newEnd = default, + string? updatedTextURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateExcerptText.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateExcerptText.g.verified.cs new file mode 100644 index 0000000000..52e4c37ee2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateExcerptText.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IExcerptClient.ExcerptUpdateExcerptText.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// UpdateExcerptText. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptUpdateExcerptTextAsync( + string? token = default, + global::System.Guid projectIDL = default, + global::System.Guid excerptId = default, + string? text = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs new file mode 100644 index 0000000000..fc092dec5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IExcerptClient.ExcerptUpdateImageExcerptRegion.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// UpdateImageExcerptRegion. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptUpdateImageExcerptRegionAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid excerptId = default, + int start = default, + int end = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs new file mode 100644 index 0000000000..c601ef9772 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// UpdatePDFSwfImageExcerptRegion. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptUpdatePDFSwfImageExcerptRegionAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid currentUserId = default, + global::System.Guid excerptId = default, + int newStart = default, + int newEnd = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.g.verified.cs new file mode 100644 index 0000000000..ae0dc8a631 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExcerptClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IExcerptClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IExcerptClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExcerptsExportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExcerptsExportStatus.g.verified.cs new file mode 100644 index 0000000000..abb2fb7719 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExcerptsExportStatus.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExportClient.ExportGetExcerptsExportStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// GetExcerptsExportStatus. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportGetExcerptsExportStatusAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExcerptsExportURL.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExcerptsExportURL.g.verified.cs new file mode 100644 index 0000000000..b1a8621e34 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExcerptsExportURL.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExportClient.ExportGetExcerptsExportURL.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// GetExcerptsExportURL. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportGetExcerptsExportURLAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExportJobURI.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExportJobURI.g.verified.cs new file mode 100644 index 0000000000..8352a100ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportGetExportJobURI.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExportClient.ExportGetExportJobURI.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// GetExportJobURI. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportGetExportJobURIAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportIsExportJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportIsExportJobComplete.g.verified.cs new file mode 100644 index 0000000000..393af712c7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportIsExportJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExportClient.ExportIsExportJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// IsExportJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportIsExportJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExcerptsExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExcerptsExport.g.verified.cs new file mode 100644 index 0000000000..ca7a7288f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExcerptsExport.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IExportClient.ExportStartExcerptsExport.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// StartExcerptsExport. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportStartExcerptsExportAsync( + global::System.Collections.Generic.IList request, + string? token = default, + global::System.Guid projectId = default, + string? fileExtension = default, + int exCopyMode = default, + int sortMode = default, + bool exRange = default, + bool exCreator = default, + bool exDate = default, + bool desInfo = default, + bool docTitle = default, + bool docCreator = default, + bool docDate = default, + bool tagApplied = default, + bool tagWeight = default, + bool tagRange = default, + bool memos = default, + string? symKeyEncrypted = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportBubbleChartJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportBubbleChartJob.g.verified.cs new file mode 100644 index 0000000000..9a6619a8ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportBubbleChartJob.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IExportClient.ExportStartExportBubbleChartJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// StartExportBubbleChartJob. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportStartExportBubbleChartJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Collections.Generic.IList? columnLabels = default, + global::System.Collections.Generic.IList? rowLabels = default, + global::System.Collections.Generic.IList>? rows = default, + float maxCount = default, + bool colorByTotal = default, + string? extension = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs new file mode 100644 index 0000000000..fa05dc30e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IExportClient.ExportStartExportHierarchicalChartJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// StartExportHierarchicalChartJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportStartExportHierarchicalChartJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Collections.Generic.IList? parentItems = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs new file mode 100644 index 0000000000..dcd9ca2252 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IExportClient.ExportStartExportSingleSeriesChartJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// StartExportSingleSeriesChartJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportStartExportSingleSeriesChartJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? exportInfo = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartGridChartExportJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartGridChartExportJob.g.verified.cs new file mode 100644 index 0000000000..5858af07ba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.ExportStartGridChartExportJob.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IExportClient.ExportStartGridChartExportJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// StartGridChartExportJob. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportStartGridChartExportJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Collections.Generic.IList? columnLabels = default, + global::System.Collections.Generic.IList? rowLabels = default, + global::System.Collections.Generic.IList>? rows = default, + float maxCount = default, + bool colorByTotal = default, + string? extension = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.g.verified.cs new file mode 100644 index 0000000000..85f6797146 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IExportClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IExportClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IExportClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileEmailFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileEmailFile.g.verified.cs new file mode 100644 index 0000000000..6847343f7c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileEmailFile.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFileClient.FileEmailFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// EmailFile. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileEmailFileAsync( + string? token = default, + string? fileURI = default, + string? attachmentFileName = default, + string? emailAddress = default, + string? subject = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetConvertPDF2SwfResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetConvertPDF2SwfResult.g.verified.cs new file mode 100644 index 0000000000..0d60964057 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetConvertPDF2SwfResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileClient.FileGetConvertPDF2SwfResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetConvertPDF2SwfResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetConvertPDF2SwfResultAsync( + string? token = default, + global::System.Guid jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetExportJobFileURI.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetExportJobFileURI.g.verified.cs new file mode 100644 index 0000000000..553fc3d604 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetExportJobFileURI.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileClient.FileGetExportJobFileURI.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetExportJobFileURI. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetExportJobFileURIAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetFXMLDocJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetFXMLDocJobResult.g.verified.cs new file mode 100644 index 0000000000..7bfc9b289f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetFXMLDocJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileClient.FileGetFXMLDocJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetFXMLDocJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetFXMLDocJobResultAsync( + string? token = default, + global::System.Guid jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetFXMLDocXPolled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetFXMLDocXPolled.g.verified.cs new file mode 100644 index 0000000000..539fa24293 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetFXMLDocXPolled.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IFileClient.FileGetFXMLDocXPolled.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetFXMLDocXPolled. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetFXMLDocXPolledAsync( + string? token = default, + global::System.Guid projectId = default, + string? fileURL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs new file mode 100644 index 0000000000..47bb8982cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileClient.FileGetMoveFileFromTempToPermJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetMoveFileFromTempToPermJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetMoveFileFromTempToPermJobResultAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetWriteKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetWriteKey.g.verified.cs new file mode 100644 index 0000000000..4f80e755ec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileGetWriteKey.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFileClient.FileGetWriteKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetWriteKey. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetWriteKeyAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileIsJobManagerJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileIsJobManagerJobComplete.g.verified.cs new file mode 100644 index 0000000000..2975b655d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileIsJobManagerJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileClient.FileIsJobManagerJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// IsJobManagerJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileIsJobManagerJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileStartConvertPDF2Swf.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileStartConvertPDF2Swf.g.verified.cs new file mode 100644 index 0000000000..980d969856 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileStartConvertPDF2Swf.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IFileClient.FileStartConvertPDF2Swf.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// StartConvertPDF2Swf. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileStartConvertPDF2SwfAsync( + string? token = default, + global::System.Guid projectId = default, + string? pdfURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileStoreProjectFileString.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileStoreProjectFileString.g.verified.cs new file mode 100644 index 0000000000..bc11520e9e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.FileStoreProjectFileString.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFileClient.FileStoreProjectFileString.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// StoreProjectFileString. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileStoreProjectFileStringAsync( + string? token = default, + global::System.Guid projectId = default, + int fileStorageType = default, + string? extension = default, + string? text = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.g.verified.cs new file mode 100644 index 0000000000..5acb11af2d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFileClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFileClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.GetBytesFromFileStorage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.GetBytesFromFileStorage.g.verified.cs new file mode 100644 index 0000000000..dc1488430a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.GetBytesFromFileStorage.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileStorageClient.GetBytesFromFileStorage.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileStorageClient + { + /// + /// Returns file data by a data path. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBytesFromFileStorageAsync( + string? token = default, + string? dataPath = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.GetStringFromFileStorage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.GetStringFromFileStorage.g.verified.cs new file mode 100644 index 0000000000..78d34c2f37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.GetStringFromFileStorage.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileStorageClient.GetStringFromFileStorage.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileStorageClient + { + /// + /// Returns file data as string by a data path. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetStringFromFileStorageAsync( + string? token = default, + string? dataPath = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.UploadToFileStorage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.UploadToFileStorage.g.verified.cs new file mode 100644 index 0000000000..bfe66aeed7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.UploadToFileStorage.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFileStorageClient.UploadToFileStorage.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileStorageClient + { + /// + /// Returns data path. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadToFileStorageAsync( + byte[] request, + string? token = default, + string? name = default, + global::System.Guid projectId = default, + int uploadType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.g.verified.cs new file mode 100644 index 0000000000..349271cc68 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IFileStorageClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFileStorageClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFileStorageClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.CreateLogin.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.CreateLogin.g.verified.cs new file mode 100644 index 0000000000..02d7720a6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.CreateLogin.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ILoginClient.CreateLogin.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Login to Dedoose API use encrypted password. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateLoginAsync( + global::G.LoginRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Login to Dedoose API use encrypted password. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateLoginAsync( + string? username = default, + string? rsaEncryptedPassword = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetClientVersions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetClientVersions.g.verified.cs new file mode 100644 index 0000000000..9ff3b32ea8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetClientVersions.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ILoginClient.GetClientVersions.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Returns client versions. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetClientVersionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetRsa.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetRsa.g.verified.cs new file mode 100644 index 0000000000..0f861206ff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetRsa.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ILoginClient.GetRsa.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Returns RSA public information. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRsaAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetServiceMessagesController.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetServiceMessagesController.g.verified.cs new file mode 100644 index 0000000000..2c94ade48a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetServiceMessagesController.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ILoginClient.GetServiceMessagesController.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Returns service messages. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetServiceMessagesControllerAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetTopBlogPosts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetTopBlogPosts.g.verified.cs new file mode 100644 index 0000000000..e850653a99 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.GetTopBlogPosts.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ILoginClient.GetTopBlogPosts.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Returns top blog posts. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetTopBlogPostsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.UnsafeLogin.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.UnsafeLogin.g.verified.cs new file mode 100644 index 0000000000..a6df638d5c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.UnsafeLogin.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ILoginClient.UnsafeLogin.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Login to Dedoose API use raw password. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnsafeLoginAsync( + global::G.UnsafeLoginRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Login to Dedoose API use raw password. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnsafeLoginAsync( + string? username = default, + string? password = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.Validate2Factor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.Validate2Factor.g.verified.cs new file mode 100644 index 0000000000..d009117121 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.Validate2Factor.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ILoginClient.Validate2Factor.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Validates 2 factor. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Validate2FactorAsync( + string? token = default, + string? username = default, + string? authToken = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.g.verified.cs new file mode 100644 index 0000000000..cd22430bbb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ILoginClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ILoginClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILoginClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddFolder.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddFolder.g.verified.cs new file mode 100644 index 0000000000..0d601d1230 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddFolder.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IMemoClient.MemoAddFolder.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// AddFolder. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoAddFolderAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Guid parentFolderId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddMemo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddMemo.g.verified.cs new file mode 100644 index 0000000000..a49e9abafd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddMemo.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IMemoClient.MemoAddMemo.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// AddMemo. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoAddMemoAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + string? dataPath = default, + global::System.Collections.Generic.IList? folderIds = default, + global::System.Collections.Generic.IList? resources = default, + global::System.Collections.Generic.IList? excerpts = default, + global::System.Collections.Generic.IList? descriptors = default, + global::System.Collections.Generic.IList? tags = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddMemoFolderLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddMemoFolderLinks.g.verified.cs new file mode 100644 index 0000000000..324b783e3c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoAddMemoFolderLinks.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IMemoClient.MemoAddMemoFolderLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// AddMemoFolderLinks. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoAddMemoFolderLinksAsync( + string? token = default, + global::System.Guid projectId = default, + string? memoId = default, + global::System.Collections.Generic.IList? folderIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoDeleteFolder.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoDeleteFolder.g.verified.cs new file mode 100644 index 0000000000..8306300ed3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoDeleteFolder.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMemoClient.MemoDeleteFolder.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// DeleteFolder. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoDeleteFolderAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoDeleteMemo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoDeleteMemo.g.verified.cs new file mode 100644 index 0000000000..e8eb151884 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoDeleteMemo.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IMemoClient.MemoDeleteMemo.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// DeleteMemo. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoDeleteMemoAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Guid createdUserId = default, + global::System.Guid lastEditUserId = default, + global::System.DateTime createStamp = default, + global::System.DateTime lastEditStamp = default, + global::System.Guid folderId = default, + string? dataURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs new file mode 100644 index 0000000000..6baad7b7f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMemoClient.MemoGetCopyMemosToDocumentsJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// GetCopyMemosToDocumentsJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoGetCopyMemosToDocumentsJobResultAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetImportMemosXMLResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetImportMemosXMLResponse.g.verified.cs new file mode 100644 index 0000000000..81e3667893 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetImportMemosXMLResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMemoClient.MemoGetImportMemosXMLResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// GetImportMemosXMLResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoGetImportMemosXMLResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetSearchMemosJobResults.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetSearchMemosJobResults.g.verified.cs new file mode 100644 index 0000000000..712890317e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoGetSearchMemosJobResults.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMemoClient.MemoGetSearchMemosJobResults.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// GetSearchMemosJobResults. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoGetSearchMemosJobResultsAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs new file mode 100644 index 0000000000..6269b0f1a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// IsCopyMemosToDocumentsJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoIsCopyMemosToDocumentsJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLinkFoldersToMemos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLinkFoldersToMemos.g.verified.cs new file mode 100644 index 0000000000..1d32f4d237 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLinkFoldersToMemos.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IMemoClient.MemoLinkFoldersToMemos.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// LinkFoldersToMemos. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoLinkFoldersToMemosAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? folderIds = default, + global::System.Collections.Generic.IList? memoIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLinkObject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLinkObject.g.verified.cs new file mode 100644 index 0000000000..f30f490daa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLinkObject.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IMemoClient.MemoLinkObject.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// LinkObject. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoLinkObjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid memoId = default, + global::System.Guid id1 = default, + int position1 = default, + global::System.Guid id2 = default, + int position2 = default, + global::System.Guid id3 = default, + int position3 = default, + global::System.Guid id4 = default, + int position4 = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs new file mode 100644 index 0000000000..edc08d3b6c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMemoClient.MemoLoadProjectMemosFoldersAndLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// LoadProjectMemosFoldersAndLinks. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoLoadProjectMemosFoldersAndLinksAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs new file mode 100644 index 0000000000..bcadbab7c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IMemoClient.MemoStartCopyMemosToDocumentsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// StartCopyMemosToDocumentsJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoStartCopyMemosToDocumentsJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Collections.Generic.IList? memoIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartExportMemos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartExportMemos.g.verified.cs new file mode 100644 index 0000000000..8fbc585522 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartExportMemos.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IMemoClient.MemoStartExportMemos.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// StartExportMemos. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoStartExportMemosAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? memoIds = default, + string? description = default, + string? extension = default, + bool includeCodes = default, + bool includeMedia = default, + bool includeExcerpts = default, + bool includeDescriptors = default, + string? symKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartExportMemosXML.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartExportMemosXML.g.verified.cs new file mode 100644 index 0000000000..eb93e916a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartExportMemosXML.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IMemoClient.MemoStartExportMemosXML.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// StartExportMemosXML. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoStartExportMemosXMLAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? memoIds = default, + int codeSelection = default, + int mediaSelection = default, + int excerptsSelection = default, + int descriptorsSelection = default, + string? symKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartImportMemosXML.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartImportMemosXML.g.verified.cs new file mode 100644 index 0000000000..f42bb403c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartImportMemosXML.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IMemoClient.MemoStartImportMemosXML.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// StartImportMemosXML. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoStartImportMemosXMLAsync( + string? token = default, + global::System.Guid projectId = default, + string? fileURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartSearchMemosJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartSearchMemosJob.g.verified.cs new file mode 100644 index 0000000000..aad296d683 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoStartSearchMemosJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IMemoClient.MemoStartSearchMemosJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// StartSearchMemosJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoStartSearchMemosJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? searchText = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUnlinkObject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUnlinkObject.g.verified.cs new file mode 100644 index 0000000000..ab6914c9ac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUnlinkObject.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IMemoClient.MemoUnlinkObject.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// UnlinkObject. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoUnlinkObjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid memoId = default, + global::System.Guid resourceId = default, + global::System.Guid excerptId = default, + global::System.Guid descriptorId = default, + global::System.Guid tagId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUpdateFolderTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUpdateFolderTitle.g.verified.cs new file mode 100644 index 0000000000..de601a5c6d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUpdateFolderTitle.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IMemoClient.MemoUpdateFolderTitle.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// UpdateFolderTitle. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoUpdateFolderTitleAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid folderId = default, + string? title = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUpdateMemo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUpdateMemo.g.verified.cs new file mode 100644 index 0000000000..9baba1eebd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.MemoUpdateMemo.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IMemoClient.MemoUpdateMemo.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// UpdateMemo. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoUpdateMemoAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Guid createdUserId = default, + global::System.Guid lastEditUserId = default, + global::System.DateTime createStamp = default, + global::System.DateTime lastEditStamp = default, + global::System.Guid folderId = default, + string? dataURI = default, + global::System.Collections.Generic.IList? folderIds = default, + global::System.Collections.Generic.IList? resources = default, + global::System.Collections.Generic.IList? excerpts = default, + global::System.Collections.Generic.IList? descriptors = default, + global::System.Collections.Generic.IList? tags = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.g.verified.cs new file mode 100644 index 0000000000..d7d775b8b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IMemoClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IMemoClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMemoClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectAddProjectByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectAddProjectByUser.g.verified.cs new file mode 100644 index 0000000000..3251f137ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectAddProjectByUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectClient.ProjectAddProjectByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// AddProjectByUser. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectAddProjectByUserAsync( + string? token = default, + global::System.Guid userId = default, + string? title = default, + string? decription = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs new file mode 100644 index 0000000000..3b8f94f4d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IProjectClient.ProjectAddProjectEncryptedByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// AddProjectEncryptedByUser. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectAddProjectEncryptedByUserAsync( + string? token = default, + global::System.Guid userId = default, + string? title = default, + string? decription = default, + string? symKeyHash = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectCheckEncryptedData.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectCheckEncryptedData.g.verified.cs new file mode 100644 index 0000000000..b49eb64407 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectCheckEncryptedData.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IProjectClient.ProjectCheckEncryptedData.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// CheckEncryptedData. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectCheckEncryptedDataAsync( + string? token = default, + global::System.Guid projectId = default, + string? encryptedSymKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs new file mode 100644 index 0000000000..e8063f4555 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IProjectClient.ProjectGetAllProjectsForCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetAllProjectsForCurrentUser. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectGetAllProjectsForCurrentUserAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetCopyProjectStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetCopyProjectStatus.g.verified.cs new file mode 100644 index 0000000000..af0cda8e1f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetCopyProjectStatus.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetCopyProjectStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetCopyProjectStatus. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetCopyProjectStatusAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs new file mode 100644 index 0000000000..ea23010757 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetExportAccountProjectsJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetExportAccountProjectsJobId. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetExportAccountProjectsJobIdAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectById.g.verified.cs new file mode 100644 index 0000000000..197de7d424 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectById.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetProjectById.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetProjectById. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetProjectByIdAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs new file mode 100644 index 0000000000..c7b15cfd63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetProjectCopyJobProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetProjectCopyJobProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetProjectCopyJobProjectAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs new file mode 100644 index 0000000000..d3644f0af5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetProjectImportJobExceptions.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetProjectImportJobExceptions. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetProjectImportJobExceptionsAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectImportStatus.g.verified.cs new file mode 100644 index 0000000000..750d72737e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectGetProjectImportStatus.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetProjectImportStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetProjectImportStatus. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetProjectImportStatusAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs new file mode 100644 index 0000000000..78885f3f00 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectIsDeletedProjectJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// IsDeletedProjectJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectIsDeletedProjectJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectRenameProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectRenameProject.g.verified.cs new file mode 100644 index 0000000000..29b3234a5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectRenameProject.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IProjectClient.ProjectRenameProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// RenameProject. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectRenameProjectAsync( + string? token = default, + global::System.Guid projectId = default, + string? newTitle = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartCopyProjectJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartCopyProjectJob.g.verified.cs new file mode 100644 index 0000000000..a6ab3a39a9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartCopyProjectJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IProjectClient.ProjectStartCopyProjectJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// StartCopyProjectJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectStartCopyProjectJobAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + string? title = default, + string? decription = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartDeleteProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartDeleteProject.g.verified.cs new file mode 100644 index 0000000000..78a37fc72b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartDeleteProject.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IProjectClient.ProjectStartDeleteProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// StartDeleteProject. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectStartDeleteProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartProjectExportJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartProjectExportJob.g.verified.cs new file mode 100644 index 0000000000..795653fe70 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartProjectExportJob.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IProjectClient.ProjectStartProjectExportJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// StartProjectExportJob. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectStartProjectExportJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? password = default, + string? email = default, + string? extension = default, + string? encryptedSymKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartProjectImportJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartProjectImportJob.g.verified.cs new file mode 100644 index 0000000000..3a614a1d3c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectStartProjectImportJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectClient.ProjectStartProjectImportJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// StartProjectImportJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectStartProjectImportJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? fileURI = default, + string? password = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectUpdateProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectUpdateProject.g.verified.cs new file mode 100644 index 0000000000..7ce60f6ce5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.ProjectUpdateProject.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectClient.ProjectUpdateProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// UpdateProject. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectUpdateProjectAsync( + string? token = default, + global::System.Guid projectId = default, + string? updatedTitle = default, + string? updatedDescription = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.g.verified.cs new file mode 100644 index 0000000000..918cd090c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IProjectClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IProjectClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IProjectClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddAudioResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddAudioResource.g.verified.cs new file mode 100644 index 0000000000..33ad66aa0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddAudioResource.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IResourceClient.ResourceAddAudioResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// AddAudioResource. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceAddAudioResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? title = default, + string? description = default, + string? videoUploadURL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddResource.g.verified.cs new file mode 100644 index 0000000000..36d95e52b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddResource.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IResourceClient.ResourceAddResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// AddResource. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceAddResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? title = default, + string? description = default, + int resourceType = default, + string? fileURL = default, + int length = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddTranscript.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddTranscript.g.verified.cs new file mode 100644 index 0000000000..e1babc5b35 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddTranscript.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceAddTranscript.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// AddTranscript. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceAddTranscriptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid currentUserId = default, + global::System.Guid resourceId = default, + string? transcriptData = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddVideoResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddVideoResource.g.verified.cs new file mode 100644 index 0000000000..0c216954aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceAddVideoResource.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IResourceClient.ResourceAddVideoResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// AddVideoResource. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceAddVideoResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? title = default, + string? description = default, + string? videoUploadURL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceCloneDocument.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceCloneDocument.g.verified.cs new file mode 100644 index 0000000000..36ac4ae709 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceCloneDocument.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceCloneDocument.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// CloneDocument. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceCloneDocumentAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + bool cloneExcerpts = default, + bool cloneTagApps = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceDeleteResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceDeleteResource.g.verified.cs new file mode 100644 index 0000000000..8c415b1444 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceDeleteResource.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IResourceClient.ResourceDeleteResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// DeleteResource. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceDeleteResourceAsync( + string? token = default, + global::System.Guid currentProjectId = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + string? description = default, + int type = default, + string? dataPath = default, + int length = default, + global::System.DateTime createStamp = default, + global::System.Guid createByUserIDL = default, + bool isDataLocked = default, + string? metaData = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceDeleteTranscript.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceDeleteTranscript.g.verified.cs new file mode 100644 index 0000000000..4703237ce2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceDeleteTranscript.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IResourceClient.ResourceDeleteTranscript.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// DeleteTranscript. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceDeleteTranscriptAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + global::System.Guid creator = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + string? dataPath = default, + global::System.DateTime created = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs new file mode 100644 index 0000000000..148b548e57 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetAddImageResourceJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetAddImageResourceJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetAddImageResourceJobResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs new file mode 100644 index 0000000000..4aab2e96ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetAddPDFImageResourceJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetAddPDFImageResourceJobResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs new file mode 100644 index 0000000000..f7ff3882a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetAddPDFSwfResourceJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetAddPDFSwfResourceJobResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs new file mode 100644 index 0000000000..633d7d6bc4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceGetAudioResourceByJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetAudioResourceByJobId. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetAudioResourceByJobIdAsync( + string? token = default, + global::System.Guid projectId = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAudioSample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAudioSample.g.verified.cs new file mode 100644 index 0000000000..3e3c024350 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetAudioSample.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceGetAudioSample.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetAudioSample. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetAudioSampleAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs new file mode 100644 index 0000000000..e38952059d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetDocumentSearchJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetDocumentSearchJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetDocumentSearchJobResultAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetExportJobURL.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetExportJobURL.g.verified.cs new file mode 100644 index 0000000000..39000bae3d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetExportJobURL.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetExportJobURL.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetExportJobURL. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetExportJobURLAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs new file mode 100644 index 0000000000..40c6fd7e9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetExportPDFSwfJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetExportPDFSwfJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetExportPDFSwfJobResultAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetResourceSyncItems.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetResourceSyncItems.g.verified.cs new file mode 100644 index 0000000000..d69e72f5a2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetResourceSyncItems.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceGetResourceSyncItems.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetResourceSyncItems. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetResourceSyncItemsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetResourcesByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetResourcesByProject.g.verified.cs new file mode 100644 index 0000000000..7a5baee5a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetResourcesByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetResourcesByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetResourcesByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ResourceGetResourcesByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetTranscripsts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetTranscripsts.g.verified.cs new file mode 100644 index 0000000000..cd8e543f5a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetTranscripsts.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetTranscripsts.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetTranscripsts. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ResourceGetTranscripstsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs new file mode 100644 index 0000000000..3b2719be18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceGetTranscriptExportJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetTranscriptExportJobId. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetTranscriptExportJobIdAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid transcriptId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs new file mode 100644 index 0000000000..d11ffb9768 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceGetVideoResourceByJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetVideoResourceByJobId. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetVideoResourceByJobIdAsync( + string? token = default, + global::System.Guid projectId = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsJobComplete.g.verified.cs new file mode 100644 index 0000000000..a5f7e7d89e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceIsJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// IsJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceIsJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs new file mode 100644 index 0000000000..3698b19dd2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceIsResourceAudioConversionComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// IsResourceAudioConversionComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceIsResourceAudioConversionCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs new file mode 100644 index 0000000000..25c7803345 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceIsResourceVideoConversionComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// IsResourceVideoConversionComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceIsResourceVideoConversionCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceLockResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceLockResource.g.verified.cs new file mode 100644 index 0000000000..c3aadebe1c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceLockResource.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceLockResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// LockResource. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceLockResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddImageResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddImageResource.g.verified.cs new file mode 100644 index 0000000000..58418a6772 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddImageResource.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceStartAddImageResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartAddImageResource. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartAddImageResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? fileName = default, + string? fileURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs new file mode 100644 index 0000000000..81c4e8bf07 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceStartAddPDFImageResourceJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartAddPDFImageResourceJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartAddPDFImageResourceJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? fileName = default, + string? fileURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs new file mode 100644 index 0000000000..a6fd1b98d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IResourceClient.ResourceStartAddPDFSwfResourceJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartAddPDFSwfResourceJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartAddPDFSwfResourceJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + string? fileUri = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs new file mode 100644 index 0000000000..2144c1ccbe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceStartDeleteResourcesJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartDeleteResourcesJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartDeleteResourcesJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? resourceIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartDocumentSearchJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartDocumentSearchJob.g.verified.cs new file mode 100644 index 0000000000..acebf72ac6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartDocumentSearchJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceStartDocumentSearchJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartDocumentSearchJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartDocumentSearchJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? searchText = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs new file mode 100644 index 0000000000..d421cb04a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IResourceClient.ResourceStartExportDocumentJobWithRTL.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartExportDocumentJobWithRTL. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartExportDocumentJobWithRTLAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + bool includeExRegions = default, + bool rtl = default, + string? exportExtension = default, + string? encryptedSymKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs new file mode 100644 index 0000000000..01d1b3f854 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceStartExportPDFSwfJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartExportPDFSwfJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartExportPDFSwfJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportResourcesJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportResourcesJob.g.verified.cs new file mode 100644 index 0000000000..247ad1eaab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceStartExportResourcesJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceStartExportResourcesJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartExportResourcesJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartExportResourcesJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? resourceIds = default, + bool includeDescriptorInfo = default, + bool includeCodeCounts = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUnlockResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUnlockResource.g.verified.cs new file mode 100644 index 0000000000..c712210b60 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUnlockResource.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceUnlockResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// UnlockResource. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceUnlockResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs new file mode 100644 index 0000000000..2378a9b3df --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// UpdateDocumentDataAndExcerpts. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceUpdateDocumentDataAndExcerptsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + string? updatedTextDataURI = default, + int updatedLength = default, + global::System.Collections.Generic.IList? excerpts = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateResource.g.verified.cs new file mode 100644 index 0000000000..08f10fdcec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateResource.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceUpdateResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// UpdateResource. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceUpdateResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + string? title = default, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateResourceAndData.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateResourceAndData.g.verified.cs new file mode 100644 index 0000000000..30be18b069 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateResourceAndData.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IResourceClient.ResourceUpdateResourceAndData.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// UpdateResourceAndData. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceUpdateResourceAndDataAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + string? title = default, + string? description = default, + string? fileURL = default, + int length = default, + bool isLocked = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateTranscriptData.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateTranscriptData.g.verified.cs new file mode 100644 index 0000000000..aed9bad1e4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.ResourceUpdateTranscriptData.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IResourceClient.ResourceUpdateTranscriptData.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// UpdateTranscriptData. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceUpdateTranscriptDataAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + global::System.Guid creator = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + string? dataPath = default, + global::System.DateTime created = default, + string? transcriptData = default, + global::System.Collections.Generic.IList? syncItems = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.g.verified.cs new file mode 100644 index 0000000000..77098e0777 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IResourceClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IResourceClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IResourceClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityAddGroup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityAddGroup.g.verified.cs new file mode 100644 index 0000000000..0436b177d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityAddGroup.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ISecurityClient.SecurityAddGroup.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// AddGroup. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAddGroupAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Guid accessListId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityDeleteGroup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityDeleteGroup.g.verified.cs new file mode 100644 index 0000000000..243c2336e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityDeleteGroup.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ISecurityClient.SecurityDeleteGroup.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// DeleteGroup. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityDeleteGroupAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + global::System.Guid accessListIDL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetAllAccessLists.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetAllAccessLists.g.verified.cs new file mode 100644 index 0000000000..c9902e0f80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetAllAccessLists.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityGetAllAccessLists.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// GetAllAccessLists. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityGetAllAccessListsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetProjectGroupLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetProjectGroupLinks.g.verified.cs new file mode 100644 index 0000000000..0a82ac48d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetProjectGroupLinks.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ISecurityClient.SecurityGetProjectGroupLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// GetProjectGroupLinks. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityGetProjectGroupLinksAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetProjectGroups.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetProjectGroups.g.verified.cs new file mode 100644 index 0000000000..7193236cf5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetProjectGroups.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ISecurityClient.SecurityGetProjectGroups.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// GetProjectGroups. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityGetProjectGroupsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetSuperUserIds.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetSuperUserIds.g.verified.cs new file mode 100644 index 0000000000..109889c290 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetSuperUserIds.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityGetSuperUserIds.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// GetSuperUserIds. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityGetSuperUserIdsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetVersion.g.verified.cs new file mode 100644 index 0000000000..fb1f1a1c95 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityGetVersion.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityGetVersion.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// GetVersion. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityGetVersionAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityImpersonateUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityImpersonateUser.g.verified.cs new file mode 100644 index 0000000000..28816e9eff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityImpersonateUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ISecurityClient.SecurityImpersonateUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// ImpersonateUser. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityImpersonateUserAsync( + string? token = default, + string? username = default, + string? email = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityLinkUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityLinkUser.g.verified.cs new file mode 100644 index 0000000000..abd96904e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityLinkUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ISecurityClient.SecurityLinkUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// LinkUser. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityLinkUserAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Guid groupId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityLinkUserWithInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityLinkUserWithInvitation.g.verified.cs new file mode 100644 index 0000000000..f82a00ff94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityLinkUserWithInvitation.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISecurityClient.SecurityLinkUserWithInvitation.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// LinkUserWithInvitation. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityLinkUserWithInvitationAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Guid groupId = default, + global::System.Guid invitationId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs new file mode 100644 index 0000000000..d691a10063 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityResetUserPasswordByEmail.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// ResetUserPasswordByEmail. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityResetUserPasswordByEmailAsync( + string? userEmail = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs new file mode 100644 index 0000000000..388ada617a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityResetUserPasswordByUsername.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// ResetUserPasswordByUsername. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityResetUserPasswordByUsernameAsync( + string? username = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityStopImpersonation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityStopImpersonation.g.verified.cs new file mode 100644 index 0000000000..937de9c717 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityStopImpersonation.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityStopImpersonation.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// StopImpersonation. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityStopImpersonationAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityUnlinkUserFromProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityUnlinkUserFromProject.g.verified.cs new file mode 100644 index 0000000000..14f929b537 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityUnlinkUserFromProject.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ISecurityClient.SecurityUnlinkUserFromProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// UnlinkUserFromProject. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityUnlinkUserFromProjectAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityUpdateGroup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityUpdateGroup.g.verified.cs new file mode 100644 index 0000000000..411e9772d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.SecurityUpdateGroup.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ISecurityClient.SecurityUpdateGroup.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// UpdateGroup. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityUpdateGroupAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + global::System.Guid accessListIDL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.g.verified.cs new file mode 100644 index 0000000000..8d30ff8ad3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISecurityClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISecurityClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISecurityClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs new file mode 100644 index 0000000000..b906884df6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ISurveyImportClient.SurveyImportGetSurveyImportStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface ISurveyImportClient + { + /// + /// GetSurveyImportStatus. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SurveyImportGetSurveyImportStatusAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs new file mode 100644 index 0000000000..a5738724b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ISurveyImportClient.SurveyImportStartSurveyImportJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ISurveyImportClient + { + /// + /// StartSurveyImportJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SurveyImportStartSurveyImportJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? surveyUploadedFileURL = default, + string? encryptedSymKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.g.verified.cs new file mode 100644 index 0000000000..6cf87ec909 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ISurveyImportClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISurveyImportClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISurveyImportClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddExcerptTagApplication.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddExcerptTagApplication.g.verified.cs new file mode 100644 index 0000000000..49b093f195 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddExcerptTagApplication.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITagClient.TagAddExcerptTagApplication.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// AddExcerptTagApplication. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagAddExcerptTagApplicationAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Guid excerptId = default, + global::System.Guid tagId = default, + double weight = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddExcerptTagApplications.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddExcerptTagApplications.g.verified.cs new file mode 100644 index 0000000000..c6a44b9574 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddExcerptTagApplications.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITagClient.TagAddExcerptTagApplications.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// AddExcerptTagApplications. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagAddExcerptTagApplicationsAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Guid excerptId = default, + global::System.Collections.Generic.IList? tagApps = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTag.g.verified.cs new file mode 100644 index 0000000000..ea298cc008 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTag.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.ITagClient.TagAddTag.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// AddTag. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagAddTagAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + string? description = default, + bool isWeighted = default, + double weightMin = default, + double weightMax = default, + double weightDefault = default, + bool allowDecimalWeights = default, + int color = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTagLink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTagLink.g.verified.cs new file mode 100644 index 0000000000..ff2977bfab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTagLink.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITagClient.TagAddTagLink.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// AddTagLink. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagAddTagLinkAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid tag1Id = default, + global::System.Guid tag2Id = default, + bool isParentChildLink = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTagWithParent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTagWithParent.g.verified.cs new file mode 100644 index 0000000000..90e163362c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagAddTagWithParent.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ITagClient.TagAddTagWithParent.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// AddTagWithParent. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagAddTagWithParentAsync( + string? token = default, + global::System.Guid proejctId = default, + global::System.Guid parentTagId = default, + string? title = default, + string? description = default, + bool isWeighted = default, + double weightMin = default, + double weightMax = default, + double weightDefault = default, + bool allowDecimalWeights = default, + double color = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagDeleteTagByJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagDeleteTagByJob.g.verified.cs new file mode 100644 index 0000000000..59905fed6b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagDeleteTagByJob.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ITagClient.TagDeleteTagByJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// DeleteTagByJob. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagDeleteTagByJobAsync( + string? token = default, + global::System.Guid currentProjectId = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + string? description = default, + bool isWeighted = default, + double weightMin = default, + double weightMax = default, + double weightDefault = default, + int sortOrder = default, + int color = default, + bool allowDecimalWeight = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagDeleteTagLink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagDeleteTagLink.g.verified.cs new file mode 100644 index 0000000000..938a06ce89 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagDeleteTagLink.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ITagClient.TagDeleteTagLink.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// DeleteTagLink. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagDeleteTagLinkAsync( + string? token = default, + global::System.Guid currentProjectId = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + global::System.Guid tag1IDL = default, + global::System.Guid tag2IDL = default, + bool isParentChildLink = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetDeleteTagByJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetDeleteTagByJobResponse.g.verified.cs new file mode 100644 index 0000000000..d0f6508c61 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetDeleteTagByJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetDeleteTagByJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetDeleteTagByJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagGetDeleteTagByJobResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs new file mode 100644 index 0000000000..e336ff8432 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITagClient.TagGetProjectTagsExportFileURLJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetProjectTagsExportFileURLJobId. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagGetProjectTagsExportFileURLJobIdAsync( + string? token = default, + global::System.Guid projectId = default, + string? fileExtension = default, + bool includeExcerpts = default, + string? encryptedSymKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs new file mode 100644 index 0000000000..52aaac9b10 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetProjectTagsExportJobFileURL.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetProjectTagsExportJobFileURL. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagGetProjectTagsExportJobFileURLAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs new file mode 100644 index 0000000000..bb4618c1ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetRetroUpcodeJobTagApplications.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetRetroUpcodeJobTagApplications. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagGetRetroUpcodeJobTagApplicationsAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagApplicationsByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagApplicationsByProject.g.verified.cs new file mode 100644 index 0000000000..a270766420 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagApplicationsByProject.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITagClient.TagGetTagApplicationsByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetTagApplicationsByProject. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TagGetTagApplicationsByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + int page = default, + int pageSize = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagLinksByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagLinksByProject.g.verified.cs new file mode 100644 index 0000000000..617a7eddd8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagLinksByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetTagLinksByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetTagLinksByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TagGetTagLinksByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagsByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagsByProject.g.verified.cs new file mode 100644 index 0000000000..bc8b578096 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagsByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetTagsByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetTagsByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TagGetTagsByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs new file mode 100644 index 0000000000..ff94e15db7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetTagsFromSpreadsheetJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetTagsFromSpreadsheetJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagGetTagsFromSpreadsheetJobResultAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagIsJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagIsJobComplete.g.verified.cs new file mode 100644 index 0000000000..0d3ed58be2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagIsJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagIsJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// IsJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagIsJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagIsRetroUpcodeJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagIsRetroUpcodeJobComplete.g.verified.cs new file mode 100644 index 0000000000..d7fbaa7a9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagIsRetroUpcodeJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagIsRetroUpcodeJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// IsRetroUpcodeJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagIsRetroUpcodeJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagMergeTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagMergeTags.g.verified.cs new file mode 100644 index 0000000000..803bef0723 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagMergeTags.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITagClient.TagMergeTags.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// MergeTags. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagMergeTagsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid tag1Id = default, + global::System.Guid tag2Id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagRemoveTagApplication.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagRemoveTagApplication.g.verified.cs new file mode 100644 index 0000000000..0858fe6da3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagRemoveTagApplication.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITagClient.TagRemoveTagApplication.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// RemoveTagApplication. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagRemoveTagApplicationAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid tagAppId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartGetTagsFromImportJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartGetTagsFromImportJob.g.verified.cs new file mode 100644 index 0000000000..2db3a58799 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartGetTagsFromImportJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagStartGetTagsFromImportJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// StartGetTagsFromImportJob. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagStartGetTagsFromImportJobAsync( + string? token = default, + string? fileURL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartImportTagsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartImportTagsJob.g.verified.cs new file mode 100644 index 0000000000..f92dbfcabc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartImportTagsJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITagClient.TagStartImportTagsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// StartImportTagsJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagStartImportTagsJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? tagVOs = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartRetroUpcodeJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartRetroUpcodeJob.g.verified.cs new file mode 100644 index 0000000000..a236b87efd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagStartRetroUpcodeJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITagClient.TagStartRetroUpcodeJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// StartRetroUpcodeJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagStartRetroUpcodeJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTag.g.verified.cs new file mode 100644 index 0000000000..7feb0e8966 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTag.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ITagClient.TagUpdateTag.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// UpdateTag. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagUpdateTagAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + string? description = default, + bool isWeighted = default, + double weightMin = default, + double weightMax = default, + double weightDefault = default, + int sortOrder = default, + int color = default, + bool allowDecimalWeight = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagAppWeight.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagAppWeight.g.verified.cs new file mode 100644 index 0000000000..5339d2946f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagAppWeight.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITagClient.TagUpdateTagAppWeight.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// UpdateTagAppWeight. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagUpdateTagAppWeightAsync( + string? token = default, + global::System.Guid currentProjectId = default, + global::System.Guid tagAppId = default, + double newWeight = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagLink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagLink.g.verified.cs new file mode 100644 index 0000000000..f2b6275a4c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagLink.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ITagClient.TagUpdateTagLink.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// UpdateTagLink. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagUpdateTagLinkAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + global::System.Guid tag1IDL = default, + global::System.Guid tag2IDL = default, + bool isParentChildLink = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagOrders.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagOrders.g.verified.cs new file mode 100644 index 0000000000..5798a7090d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.TagUpdateTagOrders.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITagClient.TagUpdateTagOrders.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// UpdateTagOrders. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagUpdateTagOrdersAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? tags = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.g.verified.cs new file mode 100644 index 0000000000..abd202b756 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITagClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITagClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITagClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingAddTest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingAddTest.g.verified.cs new file mode 100644 index 0000000000..364c84f500 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingAddTest.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ITrainingClient.TrainingAddTest.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// AddTest. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingAddTestAsync( + string? token = default, + global::System.Guid projectId = default, + int trainingTestType = default, + string? title = default, + string? description = default, + global::System.Guid createdUserId = default, + global::System.Collections.Generic.IList? exIds = default, + global::System.Collections.Generic.IList? tagIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingDeleteTest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingDeleteTest.g.verified.cs new file mode 100644 index 0000000000..4b131ad3d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingDeleteTest.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ITrainingClient.TrainingDeleteTest.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// DeleteTest. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingDeleteTestAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + int testType = default, + string? title = default, + string? description = default, + global::System.DateTime createdOn = default, + global::System.Guid projectId = default, + int excerptCount = default, + int tagCount = default, + global::System.Guid creator = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetAddTestResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetAddTestResult.g.verified.cs new file mode 100644 index 0000000000..476a8dc82b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetAddTestResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITrainingClient.TrainingGetAddTestResult.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetAddTestResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingGetAddTestResultAsync( + string? token = default, + string? addTestWorkerId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestExcerpts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestExcerpts.g.verified.cs new file mode 100644 index 0000000000..05134ce54e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestExcerpts.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITrainingClient.TrainingGetTestExcerpts.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestExcerpts. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestExcerptsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid testId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs new file mode 100644 index 0000000000..a138a9bfa4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITrainingClient.TrainingGetTestMasterTagApplications.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestMasterTagApplications. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestMasterTagApplicationsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid testId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestResultTagApps.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestResultTagApps.g.verified.cs new file mode 100644 index 0000000000..b26b9fff6f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestResultTagApps.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITrainingClient.TrainingGetTestResultTagApps.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestResultTagApps. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestResultTagAppsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid testId = default, + global::System.Guid testResultId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestResultsByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestResultsByProject.g.verified.cs new file mode 100644 index 0000000000..9703bb4323 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestResultsByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITrainingClient.TrainingGetTestResultsByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestResultsByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestResultsByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestTags.g.verified.cs new file mode 100644 index 0000000000..f989687207 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestTags.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITrainingClient.TrainingGetTestTags.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestTags. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestTagsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid testId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestsByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestsByProject.g.verified.cs new file mode 100644 index 0000000000..05c243f198 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingGetTestsByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITrainingClient.TrainingGetTestsByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestsByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestsByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingIsTestAddComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingIsTestAddComplete.g.verified.cs new file mode 100644 index 0000000000..f5e5da6f32 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingIsTestAddComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITrainingClient.TrainingIsTestAddComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// IsTestAddComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingIsTestAddCompleteAsync( + string? token = default, + string? addTestWorkerId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingSaveTestResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingSaveTestResult.g.verified.cs new file mode 100644 index 0000000000..9845c74728 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingSaveTestResult.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITrainingClient.TrainingSaveTestResult.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// SaveTestResult. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingSaveTestResultAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid traineeUserId = default, + global::System.Guid testId = default, + double overallRating = default, + global::System.Collections.Generic.IList? traineeTagApps = default, + bool completed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingStartExportTestResultJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingStartExportTestResultJob.g.verified.cs new file mode 100644 index 0000000000..bc04236f6c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingStartExportTestResultJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITrainingClient.TrainingStartExportTestResultJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// StartExportTestResultJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingStartExportTestResultJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid testResultId = default, + string? fileExtension = default, + string? cryptoKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingUpdateTestResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingUpdateTestResult.g.verified.cs new file mode 100644 index 0000000000..d1209b01e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.TrainingUpdateTestResult.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ITrainingClient.TrainingUpdateTestResult.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// UpdateTestResult. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingUpdateTestResultAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid traineeUserId = default, + global::System.Guid testId = default, + global::System.Guid resultId = default, + double overallRating = default, + global::System.Collections.Generic.IList? traineeTagApps = default, + bool completed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.g.verified.cs new file mode 100644 index 0000000000..3d68b01054 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ITrainingClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITrainingClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITrainingClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserAcceptInvitationByCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserAcceptInvitationByCurrentUser.g.verified.cs new file mode 100644 index 0000000000..74d7fe2165 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserAcceptInvitationByCurrentUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUserClient.UserAcceptInvitationByCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// AcceptInvitationByCurrentUser. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserAcceptInvitationByCurrentUserAsync( + string? token = default, + global::System.Guid invitationId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserAddNewUserToAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserAddNewUserToAccount.g.verified.cs new file mode 100644 index 0000000000..902967588a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserAddNewUserToAccount.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IUserClient.UserAddNewUserToAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// AddNewUserToAccount. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserAddNewUserToAccountAsync( + string? token = default, + global::System.Guid projectId = default, + string? username = default, + string? firstName = default, + string? lastName = default, + string? email = default, + string? phone = default, + string? encryptedPass = default, + global::System.Guid groupId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserDoesUserEmailExist.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserDoesUserEmailExist.g.verified.cs new file mode 100644 index 0000000000..b588ed83be --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserDoesUserEmailExist.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUserClient.UserDoesUserEmailExist.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// DoesUserEmailExist. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserDoesUserEmailExistAsync( + string? email = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserDoesUserExist.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserDoesUserExist.g.verified.cs new file mode 100644 index 0000000000..4c5ea65f63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserDoesUserExist.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUserClient.UserDoesUserExist.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// DoesUserExist. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserDoesUserExistAsync( + string? username = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetCurrentAccountStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetCurrentAccountStatus.g.verified.cs new file mode 100644 index 0000000000..b0430c50c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetCurrentAccountStatus.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUserClient.UserGetCurrentAccountStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// GetCurrentAccountStatus. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserGetCurrentAccountStatusAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetCurrentUserPendingInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetCurrentUserPendingInvitations.g.verified.cs new file mode 100644 index 0000000000..8273cbea72 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetCurrentUserPendingInvitations.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUserClient.UserGetCurrentUserPendingInvitations.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// GetCurrentUserPendingInvitations. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UserGetCurrentUserPendingInvitationsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetFederationResponseForConnection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetFederationResponseForConnection.g.verified.cs new file mode 100644 index 0000000000..742927888e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetFederationResponseForConnection.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUserClient.UserGetFederationResponseForConnection.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// GetFederationResponseForConnection. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserGetFederationResponseForConnectionAsync( + string? token = default, + global::System.Guid connectionKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetFilteredUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetFilteredUsers.g.verified.cs new file mode 100644 index 0000000000..d288305473 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetFilteredUsers.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserGetFilteredUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// GetFilteredUsers. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserGetFilteredUsersAsync( + string? token = default, + global::System.Guid projectId = default, + string? filter = default, + int maxResults = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetProjectUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetProjectUsers.g.verified.cs new file mode 100644 index 0000000000..13cba5c0e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserGetProjectUsers.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUserClient.UserGetProjectUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// GetProjectUsers. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UserGetProjectUsersAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserInviteUserToProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserInviteUserToProject.g.verified.cs new file mode 100644 index 0000000000..dd36029174 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserInviteUserToProject.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserInviteUserToProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// InviteUserToProject. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserInviteUserToProjectAsync( + string? token = default, + global::System.Guid projectId = default, + string? email = default, + global::System.Guid groupId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserLinkUsertoAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserLinkUsertoAccount.g.verified.cs new file mode 100644 index 0000000000..fa0dc42065 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserLinkUsertoAccount.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUserClient.UserLinkUsertoAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// LinkUsertoAccount. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserLinkUsertoAccountAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserRegisterConnection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserRegisterConnection.g.verified.cs new file mode 100644 index 0000000000..8aa1803baf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserRegisterConnection.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUserClient.UserRegisterConnection.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// RegisterConnection. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserRegisterConnectionAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid connectionKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserRejectInvitationByCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserRejectInvitationByCurrentUser.g.verified.cs new file mode 100644 index 0000000000..4f1b1debe3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserRejectInvitationByCurrentUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUserClient.UserRejectInvitationByCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// RejectInvitationByCurrentUser. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserRejectInvitationByCurrentUserAsync( + string? token = default, + global::System.Guid invitationId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSendContactRequestEmail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSendContactRequestEmail.g.verified.cs new file mode 100644 index 0000000000..20b58ab1d8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSendContactRequestEmail.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IUserClient.UserSendContactRequestEmail.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// SendContactRequestEmail. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserSendContactRequestEmailAsync( + string? token = default, + string? firstname = default, + string? lastname = default, + string? email = default, + string? phone = default, + string? institution = default, + string? comments = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSubmitCurrentAccountPayment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSubmitCurrentAccountPayment.g.verified.cs new file mode 100644 index 0000000000..6eb6f9a118 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSubmitCurrentAccountPayment.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IUserClient.UserSubmitCurrentAccountPayment.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// SubmitCurrentAccountPayment. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserSubmitCurrentAccountPaymentAsync( + string? token = default, + double amount = default, + string? firstName = default, + string? lastName = default, + string? address1 = default, + string? address2 = default, + string? city = default, + string? state = default, + string? country = default, + string? zip = default, + int cardType = default, + string? cardNum = default, + string? cardCCV = default, + int expMonth = default, + int expYear = default, + bool saveAsReoccuring = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSubmitEula.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSubmitEula.g.verified.cs new file mode 100644 index 0000000000..d61e8e5768 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserSubmitEula.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUserClient.UserSubmitEula.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// SubmitEula. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserSubmitEulaAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateConnection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateConnection.g.verified.cs new file mode 100644 index 0000000000..bd8683e7d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateConnection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserUpdateConnection.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// UpdateConnection. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserUpdateConnectionAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid connectionKey = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateCurrentUserPassword.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateCurrentUserPassword.g.verified.cs new file mode 100644 index 0000000000..2944ea88f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateCurrentUserPassword.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUserClient.UserUpdateCurrentUserPassword.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// UpdateCurrentUserPassword. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserUpdateCurrentUserPasswordAsync( + string? token = default, + global::System.Guid userId = default, + string? encryptedPass = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateUser.g.verified.cs new file mode 100644 index 0000000000..81e43c3f05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IUserClient.UserUpdateUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// UpdateUser. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserUpdateUserAsync( + string? token = default, + global::System.Guid userId = default, + string? firstName = default, + string? lastName = default, + string? phone = default, + string? email = default, + string? password = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateUserInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateUserInfo.g.verified.cs new file mode 100644 index 0000000000..c22841667d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserUpdateUserInfo.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IUserClient.UserUpdateUserInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// UpdateUserInfo. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserUpdateUserInfoAsync( + string? token = default, + global::System.Guid userId = default, + string? firstName = default, + string? lastName = default, + string? email = default, + string? phone = default, + string? address = default, + string? city = default, + string? state = default, + string? country = default, + string? zip = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidate2Factor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidate2Factor.g.verified.cs new file mode 100644 index 0000000000..47f1c64330 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidate2Factor.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserValidate2Factor.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// Validate2Factor. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserValidate2FactorAsync( + string? token = default, + string? username = default, + global::System.Guid connectionKey = default, + string? encryptedAuthToken = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidateUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidateUser.g.verified.cs new file mode 100644 index 0000000000..68018c7476 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidateUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserValidateUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// ValidateUser. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserValidateUserAsync( + string? token = default, + string? username = default, + string? passSalt = default, + global::System.Guid connectionKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidateUser2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidateUser2.g.verified.cs new file mode 100644 index 0000000000..9d76c9fe06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.UserValidateUser2.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserValidateUser2.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// ValidateUser2. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserValidateUser2Async( + string? token = default, + string? username = default, + string? rsaEncryptedPass = default, + global::System.Guid connectionKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.g.verified.cs new file mode 100644 index 0000000000..8cd6acf0cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUserClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUserClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUserClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.GetConnectionKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.GetConnectionKey.g.verified.cs new file mode 100644 index 0000000000..d3d8302753 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.GetConnectionKey.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUsersClient.GetConnectionKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Returns current connection key. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetConnectionKeyAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.GetMe.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.GetMe.g.verified.cs new file mode 100644 index 0000000000..0879d3830b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.GetMe.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUsersClient.GetMe.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Returns current account and user data. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetMeAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.g.verified.cs new file mode 100644 index 0000000000..f650a3ca7c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.IUsersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsersClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.g.verified.cs index 8224ed4158..6c62820160 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LoginClient : global::System.IDisposable + public sealed partial class LoginClient : global::G.ILoginClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.g.verified.cs index 3b46dba41e..da8ce4b974 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MemoClient : global::System.IDisposable + public sealed partial class MemoClient : global::G.IMemoClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.g.verified.cs index 4d4775db20..f9c79f8a0b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ProjectClient : global::System.IDisposable + public sealed partial class ProjectClient : global::G.IProjectClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.g.verified.cs index 48b7bd249a..556241ad7a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ResourceClient : global::System.IDisposable + public sealed partial class ResourceClient : global::G.IResourceClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.g.verified.cs index 277fe45474..ccd4dc2272 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SecurityClient : global::System.IDisposable + public sealed partial class SecurityClient : global::G.ISecurityClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.g.verified.cs index 092920be61..df171b8c14 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SurveyImportClient : global::System.IDisposable + public sealed partial class SurveyImportClient : global::G.ISurveyImportClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.g.verified.cs index 613e748c8e..7c521a93ff 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TagClient : global::System.IDisposable + public sealed partial class TagClient : global::G.ITagClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.g.verified.cs index 758329abf2..3ef1dccf5e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TrainingClient : global::System.IDisposable + public sealed partial class TrainingClient : global::G.ITrainingClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.g.verified.cs index 91045f89b3..150d4e5785 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UserClient : global::System.IDisposable + public sealed partial class UserClient : global::G.IUserClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.g.verified.cs index 4d964c75b3..c2d3c0036d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsersClient : global::System.IDisposable + public sealed partial class UsersClient : global::G.IUsersClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.g.verified.cs index 9b0dcb2bdc..fb8246029e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AccountClient : global::System.IDisposable + public sealed partial class AccountClient : global::G.IAccountClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.g.verified.cs index fa89128b41..bae9c0812b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AdminClient : global::System.IDisposable + public sealed partial class AdminClient : global::G.IAdminClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.Api.g.verified.cs index 31ab64dd10..66a08e84e9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.Api.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.g.verified.cs index 54c75c0cb0..c393bd525c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.g.verified.cs index dd6650204a..c111b3228b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DataSetClient : global::System.IDisposable + public sealed partial class DataSetClient : global::G.IDataSetClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.g.verified.cs index b31147151e..82c36c9570 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DescriptorClient : global::System.IDisposable + public sealed partial class DescriptorClient : global::G.IDescriptorClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ErrorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ErrorClient.g.verified.cs index 3a054f1bb7..90554e45f4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ErrorClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ErrorClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ErrorClient : global::System.IDisposable + public sealed partial class ErrorClient : global::G.IErrorClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.g.verified.cs index 791f779d92..e823f9f5a5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ExcerptClient : global::System.IDisposable + public sealed partial class ExcerptClient : global::G.IExcerptClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.g.verified.cs index 13774955b6..4693bfea7a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ExportClient : global::System.IDisposable + public sealed partial class ExportClient : global::G.IExportClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.g.verified.cs index a3b04fed75..71cb882b62 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FileClient : global::System.IDisposable + public sealed partial class FileClient : global::G.IFileClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.g.verified.cs index 7e4fa17d6f..d4afb0cca7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FileStorageClient : global::System.IDisposable + public sealed partial class FileStorageClient : global::G.IFileStorageClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountDisableRecurringPayment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountDisableRecurringPayment.g.verified.cs new file mode 100644 index 0000000000..ff667df519 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountDisableRecurringPayment.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountDisableRecurringPayment.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// DisableRecurringPayment. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountDisableRecurringPaymentAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs new file mode 100644 index 0000000000..0b311c57e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAccountClient.AccountGetAccountBillingLogsForCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetAccountBillingLogsForCurrentUser. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountGetAccountBillingLogsForCurrentUserAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs new file mode 100644 index 0000000000..59ff15bef1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAccountClient.AccountGetAccountDetailsForCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetAccountDetailsForCurrentUser. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountGetAccountDetailsForCurrentUserAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountForCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountForCurrentUser.g.verified.cs new file mode 100644 index 0000000000..216c89ad37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountForCurrentUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAccountClient.AccountGetAccountForCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetAccountForCurrentUser. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountGetAccountForCurrentUserAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs new file mode 100644 index 0000000000..1b76ef0d64 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountGetAccountProjectInfoJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetAccountProjectInfoJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AccountGetAccountProjectInfoJobResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs new file mode 100644 index 0000000000..37ebbad1cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountGetExportStorageMetricsJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetExportStorageMetricsJobId. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountGetExportStorageMetricsJobIdAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs new file mode 100644 index 0000000000..43cd407bee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountGetProjectAccessDetailsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetProjectAccessDetailsForUser. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AccountGetProjectAccessDetailsForUserAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs new file mode 100644 index 0000000000..ac4ffa440e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountGetProjectAccessDetailsForUser2.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GetProjectAccessDetailsForUser. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AccountGetProjectAccessDetailsForUser2Async( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGrantAdmin.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGrantAdmin.g.verified.cs new file mode 100644 index 0000000000..216e9fe3cd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountGrantAdmin.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAccountClient.AccountGrantAdmin.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// GrantAdmin. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountGrantAdminAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs new file mode 100644 index 0000000000..dcb821902e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountRemoveUserFromCurrentAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// RemoveUserFromCurrentAccount. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountRemoveUserFromCurrentAccountAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountRevokeAdmin.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountRevokeAdmin.g.verified.cs new file mode 100644 index 0000000000..3e5053ea40 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountRevokeAdmin.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAccountClient.AccountRevokeAdmin.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// RevokeAdmin. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountRevokeAdminAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountSendPaymentReceipt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountSendPaymentReceipt.g.verified.cs new file mode 100644 index 0000000000..144136e98f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountSendPaymentReceipt.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAccountClient.AccountSendPaymentReceipt.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// SendPaymentReceipt. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountSendPaymentReceiptAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Guid transactionId = default, + string? email = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountChargesJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountChargesJob.g.verified.cs new file mode 100644 index 0000000000..cb4b329d6e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountChargesJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountStartExportAccountChargesJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// StartExportAccountChargesJob. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountStartExportAccountChargesJobAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs new file mode 100644 index 0000000000..588716367b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountStartExportAccountPaymentsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// StartExportAccountPaymentsJob. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountStartExportAccountPaymentsJobAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs new file mode 100644 index 0000000000..556a826166 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountStartExportAccountProjectSummaryJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// StartExportAccountProjectSummaryJob. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountStartExportAccountProjectSummaryJobAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs new file mode 100644 index 0000000000..688562737c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAccountClient.AccountStartGetAccountProjectInfoJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// StartGetAccountProjectInfoJob. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountStartGetAccountProjectInfoJobAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountUpdateAccountPWPolicy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountUpdateAccountPWPolicy.g.verified.cs new file mode 100644 index 0000000000..9eac546f0a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountUpdateAccountPWPolicy.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IAccountClient.AccountUpdateAccountPWPolicy.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// UpdateAccountPWPolicy. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountUpdateAccountPWPolicyAsync( + string? token = default, + global::System.Guid accountId = default, + bool enforcePolicy = default, + int minLength = default, + bool requireChar = default, + bool requireUpper = default, + bool requireNumber = default, + bool requireSymbol = default, + double maxAgeInDays = default, + bool require2Auth = default, + bool relogin2Auth = default, + int idleTimeoutInMinutes = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountUpdateAccountUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountUpdateAccountUser.g.verified.cs new file mode 100644 index 0000000000..3700ab4b0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.AccountUpdateAccountUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAccountClient.AccountUpdateAccountUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAccountClient + { + /// + /// UpdateAccountUser. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AccountUpdateAccountUserAsync( + string? token = default, + global::System.Guid userId = default, + string? firstName = default, + string? lastName = default, + string? phone = default, + string? email = default, + bool active = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.g.verified.cs new file mode 100644 index 0000000000..fcda87a124 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAccountClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAccountClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAccountClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddCreditsToAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddCreditsToAccount.g.verified.cs new file mode 100644 index 0000000000..a46b32837e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddCreditsToAccount.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminAddCreditsToAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// AddCreditsToAccount. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminAddCreditsToAccountAsync( + string? token = default, + global::System.Guid accountId = default, + double credits = default, + string? reason = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddGroupToProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddGroupToProject.g.verified.cs new file mode 100644 index 0000000000..62403517b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddGroupToProject.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminAddGroupToProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// AddGroupToProject. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminAddGroupToProjectAsync( + string? token = default, + global::System.Guid projectId = default, + string? groupTitle = default, + global::System.Guid groupACLId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddNewUserToAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddNewUserToAccount.g.verified.cs new file mode 100644 index 0000000000..164a819fc5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddNewUserToAccount.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAdminClient.AdminAddNewUserToAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// AddNewUserToAccount. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminAddNewUserToAccountAsync( + string? token = default, + global::System.Guid accountId = default, + string? username = default, + string? firstName = default, + string? lastName = default, + string? email = default, + string? phone = default, + string? encryptedPass = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddUserToAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddUserToAccount.g.verified.cs new file mode 100644 index 0000000000..cf6bd997e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddUserToAccount.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminAddUserToAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// AddUserToAccount. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminAddUserToAccountAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddUserToGroup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddUserToGroup.g.verified.cs new file mode 100644 index 0000000000..6805e42324 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminAddUserToGroup.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminAddUserToGroup.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// AddUserToGroup. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminAddUserToGroupAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid groupId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminCreateAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminCreateAccount.g.verified.cs new file mode 100644 index 0000000000..1f6091a6c0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminCreateAccount.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminCreateAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// CreateAccount. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminCreateAccountAsync( + string? token = default, + global::System.Guid adminId = default, + double credits = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetAccountTransactions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetAccountTransactions.g.verified.cs new file mode 100644 index 0000000000..94b3caba31 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetAccountTransactions.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminGetAccountTransactions.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetAccountTransactions. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetAccountTransactionsAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetActiveUserInfos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetActiveUserInfos.g.verified.cs new file mode 100644 index 0000000000..b8142b9719 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetActiveUserInfos.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminGetActiveUserInfos.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetActiveUserInfos. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetActiveUserInfosAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetActivityMetrics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetActivityMetrics.g.verified.cs new file mode 100644 index 0000000000..e5a3f4529c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetActivityMetrics.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminGetActivityMetrics.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetActivityMetrics. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetActivityMetricsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredProjects.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredProjects.g.verified.cs new file mode 100644 index 0000000000..26b3036a0a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredProjects.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminGetFilteredProjects.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetFilteredProjects. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetFilteredProjectsAsync( + string? token = default, + string? filter = default, + int maxResults = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs new file mode 100644 index 0000000000..6e4a0c88a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminGetFilteredProjectsAndUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetFilteredProjectsAndUsers. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetFilteredProjectsAndUsersAsync( + string? token = default, + string? filter = default, + int maxResults = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredUsers.g.verified.cs new file mode 100644 index 0000000000..53b4875f10 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetFilteredUsers.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminGetFilteredUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetFilteredUsers. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetFilteredUsersAsync( + string? token = default, + string? filter = default, + int maxResults = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetMergeStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetMergeStatus.g.verified.cs new file mode 100644 index 0000000000..71baf52368 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetMergeStatus.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminGetMergeStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetMergeStatus. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetMergeStatusAsync( + string? token = default, + global::System.Guid mergedProjectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetProjectSecurityInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetProjectSecurityInfo.g.verified.cs new file mode 100644 index 0000000000..30e0a372ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetProjectSecurityInfo.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminGetProjectSecurityInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetProjectSecurityInfo. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetProjectSecurityInfoAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetRevenueSegments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetRevenueSegments.g.verified.cs new file mode 100644 index 0000000000..d60c63fa72 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetRevenueSegments.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminGetRevenueSegments.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetRevenueSegments. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetRevenueSegmentsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetSignupSegments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetSignupSegments.g.verified.cs new file mode 100644 index 0000000000..02ff5aa433 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetSignupSegments.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminGetSignupSegments.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetSignupSegments. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetSignupSegmentsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetUserFullDetailsByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetUserFullDetailsByUser.g.verified.cs new file mode 100644 index 0000000000..a8db8ae745 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminGetUserFullDetailsByUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminGetUserFullDetailsByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// GetUserFullDetailsByUser. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminGetUserFullDetailsByUserAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminMergeProjects.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminMergeProjects.g.verified.cs new file mode 100644 index 0000000000..43b2b45c49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminMergeProjects.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAdminClient.AdminMergeProjects.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// MergeProjects. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminMergeProjectsAsync( + string? token = default, + global::System.Guid project1Id = default, + global::System.Guid project2Id = default, + string? newTitle = default, + string? newDescription = default, + global::System.Guid creatorId = default, + bool mergeCodes = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminMigrateUserToAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminMigrateUserToAccount.g.verified.cs new file mode 100644 index 0000000000..f0837d00b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminMigrateUserToAccount.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminMigrateUserToAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// MigrateUserToAccount. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminMigrateUserToAccountAsync( + string? token = default, + global::System.Guid userToBeMovedId = default, + global::System.Guid accountIdToMoveTo = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminOverrideVerify.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminOverrideVerify.g.verified.cs new file mode 100644 index 0000000000..4b6c9d5435 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminOverrideVerify.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminOverrideVerify.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// OverrideVerify. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminOverrideVerifyAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminProcessPayment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminProcessPayment.g.verified.cs new file mode 100644 index 0000000000..67126544e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminProcessPayment.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminProcessPayment.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// ProcessPayment. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminProcessPaymentAsync( + string? token = default, + global::System.Guid accountId = default, + double amount = default, + string? memo = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSendAllClientsMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSendAllClientsMessage.g.verified.cs new file mode 100644 index 0000000000..d776504083 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSendAllClientsMessage.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminSendAllClientsMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SendAllClientsMessage. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSendAllClientsMessageAsync( + string? token = default, + string? title = default, + string? message = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountCPUPMOverride.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountCPUPMOverride.g.verified.cs new file mode 100644 index 0000000000..9908ec8353 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountCPUPMOverride.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminSetAccountCPUPMOverride.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SetAccountCPUPMOverride. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSetAccountCPUPMOverrideAsync( + string? token = default, + global::System.Guid accountId = default, + double cpupmOverride = default, + global::System.DateTime endDate = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountGroupDiscount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountGroupDiscount.g.verified.cs new file mode 100644 index 0000000000..fc4ae7d445 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountGroupDiscount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminSetAccountGroupDiscount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SetAccountGroupDiscount. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSetAccountGroupDiscountAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountStudentDiscount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountStudentDiscount.g.verified.cs new file mode 100644 index 0000000000..60253fb871 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountStudentDiscount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminSetAccountStudentDiscount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SetAccountStudentDiscount. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSetAccountStudentDiscountAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountUserAdminStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountUserAdminStatus.g.verified.cs new file mode 100644 index 0000000000..68a0d8194e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetAccountUserAdminStatus.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminSetAccountUserAdminStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SetAccountUserAdminStatus. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSetAccountUserAdminStatusAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Guid userId = default, + bool isAdmin = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetUserPassword.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetUserPassword.g.verified.cs new file mode 100644 index 0000000000..71ec2a6e94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSetUserPassword.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminSetUserPassword.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SetUserPassword. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSetUserPasswordAsync( + string? token = default, + global::System.Guid userId = default, + string? rsaEncrptedPass = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartAddDemoProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartAddDemoProject.g.verified.cs new file mode 100644 index 0000000000..c7d229c42b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartAddDemoProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAdminClient.AdminStartAddDemoProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// StartAddDemoProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminStartAddDemoProjectAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartExportAccountsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartExportAccountsJob.g.verified.cs new file mode 100644 index 0000000000..976da8f42d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartExportAccountsJob.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminStartExportAccountsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// StartExportAccountsJob. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminStartExportAccountsJobAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartExportUsersJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartExportUsersJob.g.verified.cs new file mode 100644 index 0000000000..1219de8d31 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminStartExportUsersJob.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAdminClient.AdminStartExportUsersJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// StartExportUsersJob. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminStartExportUsersJobAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSubmitPayment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSubmitPayment.g.verified.cs new file mode 100644 index 0000000000..823bf614ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminSubmitPayment.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IAdminClient.AdminSubmitPayment.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// SubmitPayment. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminSubmitPaymentAsync( + string? token = default, + global::System.Guid accountId = default, + double amount = default, + string? firstName = default, + string? lastName = default, + string? address1 = default, + string? address2 = default, + string? city = default, + string? state = default, + string? country = default, + string? zip = default, + int cardType = default, + string? cardNum = default, + string? cardCCV = default, + int expMonth = default, + int expYear = default, + bool saveAsReoccuring = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUnlinkUserFromProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUnlinkUserFromProject.g.verified.cs new file mode 100644 index 0000000000..40bc50e078 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUnlinkUserFromProject.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAdminClient.AdminUnlinkUserFromProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// UnlinkUserFromProject. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminUnlinkUserFromProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateProject.g.verified.cs new file mode 100644 index 0000000000..484e810524 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateProject.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IAdminClient.AdminUpdateProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// UpdateProject. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminUpdateProjectAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Guid adminId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateUserGroup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateUserGroup.g.verified.cs new file mode 100644 index 0000000000..33f098bf68 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateUserGroup.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAdminClient.AdminUpdateUserGroup.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// UpdateUserGroup. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminUpdateUserGroupAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + global::System.Guid accessListIDL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateUserInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateUserInfo.g.verified.cs new file mode 100644 index 0000000000..97271ec637 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.AdminUpdateUserInfo.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAdminClient.AdminUpdateUserInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdminClient + { + /// + /// UpdateUserInfo. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AdminUpdateUserInfoAsync( + string? token = default, + global::System.Guid userId = default, + string? username = default, + string? email = default, + string? phone = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.g.verified.cs new file mode 100644 index 0000000000..ce6ecfdfde --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IAdminClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAdminClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAdminClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..2c74e5409c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,125 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// + /// + public AccountClient Account { get; } + + /// + /// + /// + public AdminClient Admin { get; } + + /// + /// + /// + public ChatClient Chat { get; } + + /// + /// + /// + public DataSetClient DataSet { get; } + + /// + /// + /// + public DescriptorClient Descriptor { get; } + + /// + /// + /// + public ErrorClient Error { get; } + + /// + /// + /// + public ExcerptClient Excerpt { get; } + + /// + /// + /// + public ExportClient Export { get; } + + /// + /// + /// + public FileClient File { get; } + + /// + /// + /// + public FileStorageClient FileStorage { get; } + + /// + /// + /// + public LoginClient Login { get; } + + /// + /// + /// + public UsersClient Users { get; } + + /// + /// + /// + public MemoClient Memo { get; } + + /// + /// + /// + public ProjectClient Project { get; } + + /// + /// + /// + public ResourceClient Resource { get; } + + /// + /// + /// + public SecurityClient Security { get; } + + /// + /// + /// + public SurveyImportClient SurveyImport { get; } + + /// + /// + /// + public TagClient Tag { get; } + + /// + /// + /// + public TrainingClient Training { get; } + + /// + /// + /// + public UserClient User { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatGetChatMessages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatGetChatMessages.g.verified.cs new file mode 100644 index 0000000000..655e4c9f5e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatGetChatMessages.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChatClient.ChatGetChatMessages.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// GetChatMessages. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ChatGetChatMessagesAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Guid lastRevievedProjectMessageId = default, + global::System.Guid lastRecievedGlobalMessageId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatGetProjectChatUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatGetProjectChatUsers.g.verified.cs new file mode 100644 index 0000000000..0831216e14 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatGetProjectChatUsers.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IChatClient.ChatGetProjectChatUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// GetProjectChatUsers. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ChatGetProjectChatUsersAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatSubmitProjectChatMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatSubmitProjectChatMessage.g.verified.cs new file mode 100644 index 0000000000..22edb5f25b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.ChatSubmitProjectChatMessage.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IChatClient.ChatSubmitProjectChatMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// SubmitProjectChatMessage. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChatSubmitProjectChatMessageAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? message = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..9aab131919 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetAddDataSet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetAddDataSet.g.verified.cs new file mode 100644 index 0000000000..3d3cd3cc6d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetAddDataSet.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IDataSetClient.DataSetAddDataSet.g.cs +#nullable enable + +namespace G +{ + public partial interface IDataSetClient + { + /// + /// AddDataSet. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DataSetAddDataSetAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? title = default, + string? description = default, + bool areExcerptsFiltered = default, + bool areResourcesFiltered = default, + bool areDescriptorsFiltered = default, + bool areTagsFiltered = default, + bool areUsersFiltered = default, + global::System.Collections.Generic.IList? excerptIds = default, + global::System.Collections.Generic.IList? descriptorIds = default, + global::System.Collections.Generic.IList? userIds = default, + global::System.Collections.Generic.IList? resourceIds = default, + global::System.Collections.Generic.IList? tagIds = default, + global::System.Collections.Generic.IList? excludedExcerptIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetDeleteDataSet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetDeleteDataSet.g.verified.cs new file mode 100644 index 0000000000..45212b5025 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetDeleteDataSet.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IDataSetClient.DataSetDeleteDataSet.g.cs +#nullable enable + +namespace G +{ + public partial interface IDataSetClient + { + /// + /// DeleteDataSet. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DataSetDeleteDataSetAsync( + string? token = default, + global::System.Guid id = default, + global::System.Guid projectId = default, + string? projectIdKey = default, + global::System.Guid createdById = default, + global::System.DateTime createStamp = default, + string? title = default, + string? desciption = default, + global::System.Collections.Generic.IList? objectIdListsIncludedTagIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedDescriptorIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedResourceIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedExcerptIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedUserIds = default, + global::System.Collections.Generic.IList? objectIdListsExcludedExcerptIds = default, + bool areExcerptsFiltered = default, + bool areResourcesFiltered = default, + bool areTagsFiltered = default, + bool areUsersFiltered = default, + bool areDescriptorsFiltered = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetGetDataSetsByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetGetDataSetsByProject.g.verified.cs new file mode 100644 index 0000000000..33100aebd1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetGetDataSetsByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDataSetClient.DataSetGetDataSetsByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IDataSetClient + { + /// + /// GetDataSetsByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DataSetGetDataSetsByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetUpdateDataSet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetUpdateDataSet.g.verified.cs new file mode 100644 index 0000000000..2e7a789ee8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.DataSetUpdateDataSet.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IDataSetClient.DataSetUpdateDataSet.g.cs +#nullable enable + +namespace G +{ + public partial interface IDataSetClient + { + /// + /// UpdateDataSet. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DataSetUpdateDataSetAsync( + string? token = default, + global::System.Guid id = default, + global::System.Guid projectId = default, + string? projectIdKey = default, + global::System.Guid createdById = default, + global::System.DateTime createStamp = default, + string? title = default, + string? desciption = default, + global::System.Collections.Generic.IList? objectIdListsIncludedTagIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedDescriptorIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedResourceIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedExcerptIds = default, + global::System.Collections.Generic.IList? objectIdListsIncludedUserIds = default, + global::System.Collections.Generic.IList? objectIdListsExcludedExcerptIds = default, + bool areExcerptsFiltered = default, + bool areResourcesFiltered = default, + bool areTagsFiltered = default, + bool areUsersFiltered = default, + bool areDescriptorsFiltered = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.g.verified.cs new file mode 100644 index 0000000000..204678045f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDataSetClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDataSetClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDataSetClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptor.g.verified.cs new file mode 100644 index 0000000000..b359ccc051 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptor.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorAddDescriptor.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddDescriptor. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddDescriptorAsync( + global::System.Collections.Generic.IList request, + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid setId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorField.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorField.g.verified.cs new file mode 100644 index 0000000000..6e64c8e12e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorField.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IDescriptorClient.DescriptorAddDescriptorField.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddDescriptorField. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddDescriptorFieldAsync( + global::System.Collections.Generic.IList request, + string? token = default, + global::System.Guid projectId = default, + string? title = default, + string? description = default, + double type = default, + bool isDynamic = default, + global::System.Guid setId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorLink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorLink.g.verified.cs new file mode 100644 index 0000000000..432b15f56b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorLink.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorAddDescriptorLink.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddDescriptorLink. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddDescriptorLinkAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Guid descriptorId = default, + global::System.Collections.Generic.IList? dynamicValues = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorSet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorSet.g.verified.cs new file mode 100644 index 0000000000..80c19e5a26 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDescriptorSet.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorAddDescriptorSet.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddDescriptorSet. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddDescriptorSetAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + string? description = default, + global::System.Guid createByUserId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDynamicValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDynamicValue.g.verified.cs new file mode 100644 index 0000000000..c4aa42d346 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddDynamicValue.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IDescriptorClient.DescriptorAddDynamicValue.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddDynamicValue. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddDynamicValueAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid setId = default, + global::System.Guid descriptorId = default, + global::System.Guid fieldId = default, + global::System.Guid resourceId = default, + string? data = default, + global::System.Guid optionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddLinks.g.verified.cs new file mode 100644 index 0000000000..a0ae143414 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddLinks.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorAddLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddLinks. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddLinksAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? links = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs new file mode 100644 index 0000000000..577eb1011d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IDescriptorClient.DescriptorAddOrUpdateDynamicValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// AddOrUpdateDynamicValues. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorAddOrUpdateDynamicValuesAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Guid setId = default, + global::System.Guid descriptorId = default, + global::System.Collections.Generic.IList? values = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptor.g.verified.cs new file mode 100644 index 0000000000..f97c97fb2b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptor.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDescriptorClient.DescriptorDeleteDescriptor.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// DeleteDescriptor. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorDeleteDescriptorAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + global::System.DateTime createStamp = default, + global::System.Guid createByIDL = default, + global::System.Guid descriptorSetIDL = default, + byte[]? valuesData = default, + byte[]? dynamicValuesData = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs new file mode 100644 index 0000000000..aeb666a648 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IDescriptorClient.DescriptorDeleteDescriptorField.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// DeleteDescriptorField. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorDeleteDescriptorFieldAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + global::System.Guid descriptorSetIDL = default, + int type = default, + string? title = default, + string? description = default, + bool isDynamicField = default, + int sortOrder = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptors.g.verified.cs new file mode 100644 index 0000000000..bca4eac208 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteDescriptors.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorDeleteDescriptors.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// DeleteDescriptors. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorDeleteDescriptorsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? descriptorsIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteLink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteLink.g.verified.cs new file mode 100644 index 0000000000..28e86be6ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorDeleteLink.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDescriptorClient.DescriptorDeleteLink.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// DeleteLink. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorDeleteLinkAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Guid descriptorId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs new file mode 100644 index 0000000000..b0abef7806 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// ForceDeleteDescriptorSetPolled. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorForceDeleteDescriptorSetPolledAsync( + string? token = default, + global::System.Guid projectIDL = default, + global::System.Guid descriptorSetId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs new file mode 100644 index 0000000000..b98c586748 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetConvertFieldTypeJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetConvertFieldTypeJobResponseAsync( + string? token = default, + global::System.Guid jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs new file mode 100644 index 0000000000..21adbd45bb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetDesDataFromFileJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetDesDataFromFileJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetDesDataFromFileJobResultAsync( + string? token = default, + global::System.Guid jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs new file mode 100644 index 0000000000..cc72252ad7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetDesFieldImportDataFromFile. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetDesFieldImportDataFromFileAsync( + string? token = default, + string? relativeFileURL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs new file mode 100644 index 0000000000..d65da41ca7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetDynamicValuesByProjectId.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetDynamicValuesByProjectId. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetDynamicValuesByProjectIdAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs new file mode 100644 index 0000000000..b2fcf8c773 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetProjectDescriptorFieldValues. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DescriptorGetProjectDescriptorFieldValuesAsync( + string? token = default, + global::System.Guid projectId = default, + int page = default, + int pageSize = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs new file mode 100644 index 0000000000..f6b59226f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetProjectDescriptorLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetProjectDescriptorLinks. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DescriptorGetProjectDescriptorLinksAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs new file mode 100644 index 0000000000..161c598252 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorGetProjectDescriptorProps.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetProjectDescriptorProps. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetProjectDescriptorPropsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs new file mode 100644 index 0000000000..524edca5b1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDescriptorClient.DescriptorGetProjectDescriptorsPaged.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetProjectDescriptorsPaged. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DescriptorGetProjectDescriptorsPagedAsync( + string? token = default, + global::System.Guid projectId = default, + int page = default, + int pageSize = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetResourceLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetResourceLinks.g.verified.cs new file mode 100644 index 0000000000..64507b0c77 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorGetResourceLinks.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorGetResourceLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// GetResourceLinks. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorGetResourceLinksAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorImportFields.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorImportFields.g.verified.cs new file mode 100644 index 0000000000..a404f29d31 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorImportFields.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IDescriptorClient.DescriptorImportFields.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// ImportFields. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorImportFieldsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Collections.Generic.IList? fieldInfos = default, + global::System.Guid existingSetId = default, + string? newSetTitle = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs new file mode 100644 index 0000000000..af8ca829f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IDescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// IsForceDeleteDescriptorSetPolledComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorIsForceDeleteDescriptorSetPolledCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs new file mode 100644 index 0000000000..6ab07830af --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorStartConvertFieldTypeJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// StartConvertFieldTypeJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorStartConvertFieldTypeJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid setId = default, + global::System.Guid fieldId = default, + int newFieldType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs new file mode 100644 index 0000000000..5a9f772502 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorStartExportDescriptorsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// StartExportDescriptorsJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorStartExportDescriptorsJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid setId = default, + global::System.Collections.Generic.IList? descriptorIds = default, + string? fileExtension = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs new file mode 100644 index 0000000000..ff69b6e85b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDescriptorClient.DescriptorStartExportFieldsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// StartExportFieldsJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorStartExportFieldsJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid setId = default, + string? fileExtension = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs new file mode 100644 index 0000000000..7682142064 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDescriptorClient.DescriptorStartGetDesDataFromFileJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// StartGetDesDataFromFileJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorStartGetDesDataFromFileJobAsync( + string? token = default, + string? localFileURL = default, + global::System.Guid setId = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs new file mode 100644 index 0000000000..b5f96ce9bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDescriptorClient.DescriptorStartImportDescriptorsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// StartImportDescriptorsJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorStartImportDescriptorsJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid setId = default, + global::System.Collections.Generic.IList? descriptorInfos = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs new file mode 100644 index 0000000000..bbc4981e89 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IDescriptorClient.DescriptorUpdateDescriptorSet.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// UpdateDescriptorSet. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorUpdateDescriptorSetAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + string? description = default, + global::System.DateTime createStamp = default, + global::System.Guid createdByUserId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs new file mode 100644 index 0000000000..53f6ab1336 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IDescriptorClient.DescriptorUpdateFieldAndOptions.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// UpdateFieldAndOptions. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorUpdateFieldAndOptionsAsync( + global::System.Collections.Generic.IList request, + string? token = default, + global::System.Guid projectId = default, + global::System.Guid fieldId = default, + string? title = default, + string? description = default, + global::System.Collections.Generic.IList? deletedOptionIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs new file mode 100644 index 0000000000..846de13cbf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorUpdateFieldOrders.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// UpdateFieldOrders. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorUpdateFieldOrdersAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? fields = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateValues.g.verified.cs new file mode 100644 index 0000000000..c051b0ede5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.DescriptorUpdateValues.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDescriptorClient.DescriptorUpdateValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IDescriptorClient + { + /// + /// UpdateValues. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DescriptorUpdateValuesAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? values = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.g.verified.cs new file mode 100644 index 0000000000..90d8e04b28 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IDescriptorClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDescriptorClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDescriptorClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IErrorClient.ErrorProcessUIError.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IErrorClient.ErrorProcessUIError.g.verified.cs new file mode 100644 index 0000000000..c0dfab9140 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IErrorClient.ErrorProcessUIError.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IErrorClient.ErrorProcessUIError.g.cs +#nullable enable + +namespace G +{ + public partial interface IErrorClient + { + /// + /// ProcessUIError. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ErrorProcessUIErrorAsync( + string? token = default, + string? projectId = default, + string? userId = default, + string? workspace = default, + string? errorCode = default, + string? message = default, + string? currentTarget = default, + string? stacktrace = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IErrorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IErrorClient.g.verified.cs new file mode 100644 index 0000000000..7869928c16 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IErrorClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IErrorClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IErrorClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs new file mode 100644 index 0000000000..d3f6c0f065 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IExcerptClient.ExcerptAddDocumentExcerptWithTags.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddDocumentExcerptWithTags. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddDocumentExcerptWithTagsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + string? title = default, + string? description = default, + int startIndex = default, + int endIndex = default, + string? excerptText = default, + global::System.Collections.Generic.IList? tagApps = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddImageExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddImageExcerpt.g.verified.cs new file mode 100644 index 0000000000..4590c7bc0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddImageExcerpt.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IExcerptClient.ExcerptAddImageExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddImageExcerpt. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddImageExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + int start = default, + int end = default, + global::System.Collections.Generic.IList? tagIdsToApply = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs new file mode 100644 index 0000000000..41cd44b266 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IExcerptClient.ExcerptAddPDFImageExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddPDFImageExcerpt. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddPDFImageExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + int start = default, + int end = default, + global::System.Collections.Generic.IList? tagIdsToApply = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs new file mode 100644 index 0000000000..45a9f46cdf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddPDFSwfImageExcerpt. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddPDFSwfImageExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + int start = default, + int end = default, + global::System.Collections.Generic.IList? tagIdsToApply = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs new file mode 100644 index 0000000000..7763f5430a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddPDFSwfTextExcerpt. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddPDFSwfTextExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + int pageIndex = default, + int start = default, + int end = default, + string? text = default, + global::System.Collections.Generic.IList? tagApps = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs new file mode 100644 index 0000000000..c195497e38 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IExcerptClient.ExcerptAddVideoExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// AddVideoExcerpt. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptAddVideoExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + int start = default, + int end = default, + global::System.Collections.Generic.IList? tagIdsToApply = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptDeleteExcerpt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptDeleteExcerpt.g.verified.cs new file mode 100644 index 0000000000..cfabc01dfc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptDeleteExcerpt.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IExcerptClient.ExcerptDeleteExcerpt.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// DeleteExcerpt. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptDeleteExcerptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid excerptId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs new file mode 100644 index 0000000000..c4c0066803 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IExcerptClient.ExcerptGetExcerptsByProjectId.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// GetExcerptsByProjectId. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ExcerptGetExcerptsByProjectIdAsync( + string? token = default, + global::System.Guid projectId = default, + int page = default, + int pageSize = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs new file mode 100644 index 0000000000..1fa223f7ba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExcerptClient.ExcerptGetSearchExcerptsJobResults.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// GetSearchExcerptsJobResults. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ExcerptGetSearchExcerptsJobResultsAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs new file mode 100644 index 0000000000..f38e2bcbb9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// IsDeleteExcerptsJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptIsDeleteExcerptsJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs new file mode 100644 index 0000000000..99c7526909 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IExcerptClient.ExcerptStartDeleteExcerptsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// StartDeleteExcerptsJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptStartDeleteExcerptsJobAsync( + string? token = default, + global::System.Guid currentProjectId = default, + global::System.Collections.Generic.IList? excerptIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs new file mode 100644 index 0000000000..25f778b187 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IExcerptClient.ExcerptStartSearchExcerptsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// StartSearchExcerptsJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptStartSearchExcerptsJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? searchText = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs new file mode 100644 index 0000000000..bf810d54c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IExcerptClient.ExcerptUpdateExcerptRange.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// UpdateExcerptRange. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptUpdateExcerptRangeAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid excerptId = default, + int newStart = default, + int newEnd = default, + string? updatedTextURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateExcerptText.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateExcerptText.g.verified.cs new file mode 100644 index 0000000000..52e4c37ee2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateExcerptText.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IExcerptClient.ExcerptUpdateExcerptText.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// UpdateExcerptText. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptUpdateExcerptTextAsync( + string? token = default, + global::System.Guid projectIDL = default, + global::System.Guid excerptId = default, + string? text = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs new file mode 100644 index 0000000000..fc092dec5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IExcerptClient.ExcerptUpdateImageExcerptRegion.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// UpdateImageExcerptRegion. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptUpdateImageExcerptRegionAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid excerptId = default, + int start = default, + int end = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs new file mode 100644 index 0000000000..c601ef9772 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.cs +#nullable enable + +namespace G +{ + public partial interface IExcerptClient + { + /// + /// UpdatePDFSwfImageExcerptRegion. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExcerptUpdatePDFSwfImageExcerptRegionAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid currentUserId = default, + global::System.Guid excerptId = default, + int newStart = default, + int newEnd = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.g.verified.cs new file mode 100644 index 0000000000..ef1bf4e5f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExcerptClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IExcerptClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IExcerptClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExcerptsExportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExcerptsExportStatus.g.verified.cs new file mode 100644 index 0000000000..abb2fb7719 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExcerptsExportStatus.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExportClient.ExportGetExcerptsExportStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// GetExcerptsExportStatus. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportGetExcerptsExportStatusAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExcerptsExportURL.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExcerptsExportURL.g.verified.cs new file mode 100644 index 0000000000..b1a8621e34 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExcerptsExportURL.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExportClient.ExportGetExcerptsExportURL.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// GetExcerptsExportURL. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportGetExcerptsExportURLAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExportJobURI.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExportJobURI.g.verified.cs new file mode 100644 index 0000000000..8352a100ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportGetExportJobURI.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExportClient.ExportGetExportJobURI.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// GetExportJobURI. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportGetExportJobURIAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportIsExportJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportIsExportJobComplete.g.verified.cs new file mode 100644 index 0000000000..393af712c7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportIsExportJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IExportClient.ExportIsExportJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// IsExportJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportIsExportJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExcerptsExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExcerptsExport.g.verified.cs new file mode 100644 index 0000000000..ca7a7288f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExcerptsExport.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IExportClient.ExportStartExcerptsExport.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// StartExcerptsExport. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportStartExcerptsExportAsync( + global::System.Collections.Generic.IList request, + string? token = default, + global::System.Guid projectId = default, + string? fileExtension = default, + int exCopyMode = default, + int sortMode = default, + bool exRange = default, + bool exCreator = default, + bool exDate = default, + bool desInfo = default, + bool docTitle = default, + bool docCreator = default, + bool docDate = default, + bool tagApplied = default, + bool tagWeight = default, + bool tagRange = default, + bool memos = default, + string? symKeyEncrypted = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportBubbleChartJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportBubbleChartJob.g.verified.cs new file mode 100644 index 0000000000..9a6619a8ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportBubbleChartJob.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IExportClient.ExportStartExportBubbleChartJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// StartExportBubbleChartJob. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportStartExportBubbleChartJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Collections.Generic.IList? columnLabels = default, + global::System.Collections.Generic.IList? rowLabels = default, + global::System.Collections.Generic.IList>? rows = default, + float maxCount = default, + bool colorByTotal = default, + string? extension = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs new file mode 100644 index 0000000000..fa05dc30e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IExportClient.ExportStartExportHierarchicalChartJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// StartExportHierarchicalChartJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportStartExportHierarchicalChartJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Collections.Generic.IList? parentItems = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs new file mode 100644 index 0000000000..dcd9ca2252 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IExportClient.ExportStartExportSingleSeriesChartJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// StartExportSingleSeriesChartJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportStartExportSingleSeriesChartJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? exportInfo = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartGridChartExportJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartGridChartExportJob.g.verified.cs new file mode 100644 index 0000000000..5858af07ba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.ExportStartGridChartExportJob.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IExportClient.ExportStartGridChartExportJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IExportClient + { + /// + /// StartGridChartExportJob. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExportStartGridChartExportJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Collections.Generic.IList? columnLabels = default, + global::System.Collections.Generic.IList? rowLabels = default, + global::System.Collections.Generic.IList>? rows = default, + float maxCount = default, + bool colorByTotal = default, + string? extension = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.g.verified.cs new file mode 100644 index 0000000000..1f817fdfea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IExportClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IExportClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IExportClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileEmailFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileEmailFile.g.verified.cs new file mode 100644 index 0000000000..6847343f7c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileEmailFile.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFileClient.FileEmailFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// EmailFile. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileEmailFileAsync( + string? token = default, + string? fileURI = default, + string? attachmentFileName = default, + string? emailAddress = default, + string? subject = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetConvertPDF2SwfResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetConvertPDF2SwfResult.g.verified.cs new file mode 100644 index 0000000000..0d60964057 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetConvertPDF2SwfResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileClient.FileGetConvertPDF2SwfResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetConvertPDF2SwfResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetConvertPDF2SwfResultAsync( + string? token = default, + global::System.Guid jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetExportJobFileURI.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetExportJobFileURI.g.verified.cs new file mode 100644 index 0000000000..553fc3d604 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetExportJobFileURI.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileClient.FileGetExportJobFileURI.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetExportJobFileURI. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetExportJobFileURIAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetFXMLDocJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetFXMLDocJobResult.g.verified.cs new file mode 100644 index 0000000000..7bfc9b289f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetFXMLDocJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileClient.FileGetFXMLDocJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetFXMLDocJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetFXMLDocJobResultAsync( + string? token = default, + global::System.Guid jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetFXMLDocXPolled.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetFXMLDocXPolled.g.verified.cs new file mode 100644 index 0000000000..539fa24293 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetFXMLDocXPolled.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IFileClient.FileGetFXMLDocXPolled.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetFXMLDocXPolled. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetFXMLDocXPolledAsync( + string? token = default, + global::System.Guid projectId = default, + string? fileURL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs new file mode 100644 index 0000000000..47bb8982cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileClient.FileGetMoveFileFromTempToPermJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetMoveFileFromTempToPermJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetMoveFileFromTempToPermJobResultAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetWriteKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetWriteKey.g.verified.cs new file mode 100644 index 0000000000..4f80e755ec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileGetWriteKey.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFileClient.FileGetWriteKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// GetWriteKey. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileGetWriteKeyAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileIsJobManagerJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileIsJobManagerJobComplete.g.verified.cs new file mode 100644 index 0000000000..2975b655d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileIsJobManagerJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileClient.FileIsJobManagerJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// IsJobManagerJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileIsJobManagerJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileStartConvertPDF2Swf.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileStartConvertPDF2Swf.g.verified.cs new file mode 100644 index 0000000000..980d969856 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileStartConvertPDF2Swf.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IFileClient.FileStartConvertPDF2Swf.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// StartConvertPDF2Swf. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileStartConvertPDF2SwfAsync( + string? token = default, + global::System.Guid projectId = default, + string? pdfURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileStoreProjectFileString.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileStoreProjectFileString.g.verified.cs new file mode 100644 index 0000000000..bc11520e9e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.FileStoreProjectFileString.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFileClient.FileStoreProjectFileString.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileClient + { + /// + /// StoreProjectFileString. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task FileStoreProjectFileStringAsync( + string? token = default, + global::System.Guid projectId = default, + int fileStorageType = default, + string? extension = default, + string? text = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.g.verified.cs new file mode 100644 index 0000000000..e8f52fb63e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFileClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFileClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.GetBytesFromFileStorage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.GetBytesFromFileStorage.g.verified.cs new file mode 100644 index 0000000000..dc1488430a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.GetBytesFromFileStorage.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileStorageClient.GetBytesFromFileStorage.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileStorageClient + { + /// + /// Returns file data by a data path. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBytesFromFileStorageAsync( + string? token = default, + string? dataPath = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.GetStringFromFileStorage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.GetStringFromFileStorage.g.verified.cs new file mode 100644 index 0000000000..78d34c2f37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.GetStringFromFileStorage.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFileStorageClient.GetStringFromFileStorage.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileStorageClient + { + /// + /// Returns file data as string by a data path. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetStringFromFileStorageAsync( + string? token = default, + string? dataPath = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.UploadToFileStorage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.UploadToFileStorage.g.verified.cs new file mode 100644 index 0000000000..bfe66aeed7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.UploadToFileStorage.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFileStorageClient.UploadToFileStorage.g.cs +#nullable enable + +namespace G +{ + public partial interface IFileStorageClient + { + /// + /// Returns data path. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadToFileStorageAsync( + byte[] request, + string? token = default, + string? name = default, + global::System.Guid projectId = default, + int uploadType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.g.verified.cs new file mode 100644 index 0000000000..ddf76500d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IFileStorageClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFileStorageClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFileStorageClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.CreateLogin.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.CreateLogin.g.verified.cs new file mode 100644 index 0000000000..02d7720a6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.CreateLogin.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ILoginClient.CreateLogin.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Login to Dedoose API use encrypted password. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateLoginAsync( + global::G.LoginRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Login to Dedoose API use encrypted password. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateLoginAsync( + string? username = default, + string? rsaEncryptedPassword = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetClientVersions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetClientVersions.g.verified.cs new file mode 100644 index 0000000000..9ff3b32ea8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetClientVersions.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ILoginClient.GetClientVersions.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Returns client versions. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetClientVersionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetRsa.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetRsa.g.verified.cs new file mode 100644 index 0000000000..0f861206ff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetRsa.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ILoginClient.GetRsa.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Returns RSA public information. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRsaAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetServiceMessagesController.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetServiceMessagesController.g.verified.cs new file mode 100644 index 0000000000..2c94ade48a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetServiceMessagesController.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ILoginClient.GetServiceMessagesController.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Returns service messages. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetServiceMessagesControllerAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetTopBlogPosts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetTopBlogPosts.g.verified.cs new file mode 100644 index 0000000000..e850653a99 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.GetTopBlogPosts.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ILoginClient.GetTopBlogPosts.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Returns top blog posts. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetTopBlogPostsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.UnsafeLogin.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.UnsafeLogin.g.verified.cs new file mode 100644 index 0000000000..a6df638d5c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.UnsafeLogin.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ILoginClient.UnsafeLogin.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Login to Dedoose API use raw password. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnsafeLoginAsync( + global::G.UnsafeLoginRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Login to Dedoose API use raw password. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnsafeLoginAsync( + string? username = default, + string? password = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.Validate2Factor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.Validate2Factor.g.verified.cs new file mode 100644 index 0000000000..d009117121 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.Validate2Factor.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ILoginClient.Validate2Factor.g.cs +#nullable enable + +namespace G +{ + public partial interface ILoginClient + { + /// + /// Validates 2 factor. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Validate2FactorAsync( + string? token = default, + string? username = default, + string? authToken = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.g.verified.cs new file mode 100644 index 0000000000..be783706de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ILoginClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ILoginClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILoginClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddFolder.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddFolder.g.verified.cs new file mode 100644 index 0000000000..0d601d1230 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddFolder.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IMemoClient.MemoAddFolder.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// AddFolder. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoAddFolderAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Guid parentFolderId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddMemo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddMemo.g.verified.cs new file mode 100644 index 0000000000..a49e9abafd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddMemo.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IMemoClient.MemoAddMemo.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// AddMemo. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoAddMemoAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + string? dataPath = default, + global::System.Collections.Generic.IList? folderIds = default, + global::System.Collections.Generic.IList? resources = default, + global::System.Collections.Generic.IList? excerpts = default, + global::System.Collections.Generic.IList? descriptors = default, + global::System.Collections.Generic.IList? tags = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddMemoFolderLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddMemoFolderLinks.g.verified.cs new file mode 100644 index 0000000000..324b783e3c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoAddMemoFolderLinks.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IMemoClient.MemoAddMemoFolderLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// AddMemoFolderLinks. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoAddMemoFolderLinksAsync( + string? token = default, + global::System.Guid projectId = default, + string? memoId = default, + global::System.Collections.Generic.IList? folderIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoDeleteFolder.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoDeleteFolder.g.verified.cs new file mode 100644 index 0000000000..8306300ed3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoDeleteFolder.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMemoClient.MemoDeleteFolder.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// DeleteFolder. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoDeleteFolderAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoDeleteMemo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoDeleteMemo.g.verified.cs new file mode 100644 index 0000000000..e8eb151884 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoDeleteMemo.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IMemoClient.MemoDeleteMemo.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// DeleteMemo. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoDeleteMemoAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Guid createdUserId = default, + global::System.Guid lastEditUserId = default, + global::System.DateTime createStamp = default, + global::System.DateTime lastEditStamp = default, + global::System.Guid folderId = default, + string? dataURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs new file mode 100644 index 0000000000..6baad7b7f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMemoClient.MemoGetCopyMemosToDocumentsJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// GetCopyMemosToDocumentsJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoGetCopyMemosToDocumentsJobResultAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetImportMemosXMLResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetImportMemosXMLResponse.g.verified.cs new file mode 100644 index 0000000000..81e3667893 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetImportMemosXMLResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMemoClient.MemoGetImportMemosXMLResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// GetImportMemosXMLResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoGetImportMemosXMLResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetSearchMemosJobResults.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetSearchMemosJobResults.g.verified.cs new file mode 100644 index 0000000000..712890317e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoGetSearchMemosJobResults.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMemoClient.MemoGetSearchMemosJobResults.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// GetSearchMemosJobResults. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoGetSearchMemosJobResultsAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs new file mode 100644 index 0000000000..6269b0f1a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// IsCopyMemosToDocumentsJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoIsCopyMemosToDocumentsJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLinkFoldersToMemos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLinkFoldersToMemos.g.verified.cs new file mode 100644 index 0000000000..1d32f4d237 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLinkFoldersToMemos.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IMemoClient.MemoLinkFoldersToMemos.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// LinkFoldersToMemos. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoLinkFoldersToMemosAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? folderIds = default, + global::System.Collections.Generic.IList? memoIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLinkObject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLinkObject.g.verified.cs new file mode 100644 index 0000000000..f30f490daa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLinkObject.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IMemoClient.MemoLinkObject.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// LinkObject. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoLinkObjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid memoId = default, + global::System.Guid id1 = default, + int position1 = default, + global::System.Guid id2 = default, + int position2 = default, + global::System.Guid id3 = default, + int position3 = default, + global::System.Guid id4 = default, + int position4 = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs new file mode 100644 index 0000000000..edc08d3b6c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMemoClient.MemoLoadProjectMemosFoldersAndLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// LoadProjectMemosFoldersAndLinks. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoLoadProjectMemosFoldersAndLinksAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs new file mode 100644 index 0000000000..bcadbab7c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IMemoClient.MemoStartCopyMemosToDocumentsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// StartCopyMemosToDocumentsJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoStartCopyMemosToDocumentsJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Collections.Generic.IList? memoIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartExportMemos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartExportMemos.g.verified.cs new file mode 100644 index 0000000000..8fbc585522 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartExportMemos.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IMemoClient.MemoStartExportMemos.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// StartExportMemos. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoStartExportMemosAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? memoIds = default, + string? description = default, + string? extension = default, + bool includeCodes = default, + bool includeMedia = default, + bool includeExcerpts = default, + bool includeDescriptors = default, + string? symKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartExportMemosXML.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartExportMemosXML.g.verified.cs new file mode 100644 index 0000000000..eb93e916a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartExportMemosXML.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IMemoClient.MemoStartExportMemosXML.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// StartExportMemosXML. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoStartExportMemosXMLAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? memoIds = default, + int codeSelection = default, + int mediaSelection = default, + int excerptsSelection = default, + int descriptorsSelection = default, + string? symKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartImportMemosXML.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartImportMemosXML.g.verified.cs new file mode 100644 index 0000000000..f42bb403c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartImportMemosXML.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IMemoClient.MemoStartImportMemosXML.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// StartImportMemosXML. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoStartImportMemosXMLAsync( + string? token = default, + global::System.Guid projectId = default, + string? fileURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartSearchMemosJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartSearchMemosJob.g.verified.cs new file mode 100644 index 0000000000..aad296d683 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoStartSearchMemosJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IMemoClient.MemoStartSearchMemosJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// StartSearchMemosJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoStartSearchMemosJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? searchText = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUnlinkObject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUnlinkObject.g.verified.cs new file mode 100644 index 0000000000..ab6914c9ac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUnlinkObject.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IMemoClient.MemoUnlinkObject.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// UnlinkObject. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoUnlinkObjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid memoId = default, + global::System.Guid resourceId = default, + global::System.Guid excerptId = default, + global::System.Guid descriptorId = default, + global::System.Guid tagId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUpdateFolderTitle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUpdateFolderTitle.g.verified.cs new file mode 100644 index 0000000000..de601a5c6d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUpdateFolderTitle.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IMemoClient.MemoUpdateFolderTitle.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// UpdateFolderTitle. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoUpdateFolderTitleAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid folderId = default, + string? title = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUpdateMemo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUpdateMemo.g.verified.cs new file mode 100644 index 0000000000..9baba1eebd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.MemoUpdateMemo.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IMemoClient.MemoUpdateMemo.g.cs +#nullable enable + +namespace G +{ + public partial interface IMemoClient + { + /// + /// UpdateMemo. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MemoUpdateMemoAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Guid createdUserId = default, + global::System.Guid lastEditUserId = default, + global::System.DateTime createStamp = default, + global::System.DateTime lastEditStamp = default, + global::System.Guid folderId = default, + string? dataURI = default, + global::System.Collections.Generic.IList? folderIds = default, + global::System.Collections.Generic.IList? resources = default, + global::System.Collections.Generic.IList? excerpts = default, + global::System.Collections.Generic.IList? descriptors = default, + global::System.Collections.Generic.IList? tags = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.g.verified.cs new file mode 100644 index 0000000000..3047356ac6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IMemoClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IMemoClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMemoClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectAddProjectByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectAddProjectByUser.g.verified.cs new file mode 100644 index 0000000000..3251f137ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectAddProjectByUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectClient.ProjectAddProjectByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// AddProjectByUser. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectAddProjectByUserAsync( + string? token = default, + global::System.Guid userId = default, + string? title = default, + string? decription = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs new file mode 100644 index 0000000000..3b8f94f4d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IProjectClient.ProjectAddProjectEncryptedByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// AddProjectEncryptedByUser. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectAddProjectEncryptedByUserAsync( + string? token = default, + global::System.Guid userId = default, + string? title = default, + string? decription = default, + string? symKeyHash = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectCheckEncryptedData.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectCheckEncryptedData.g.verified.cs new file mode 100644 index 0000000000..b49eb64407 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectCheckEncryptedData.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IProjectClient.ProjectCheckEncryptedData.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// CheckEncryptedData. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectCheckEncryptedDataAsync( + string? token = default, + global::System.Guid projectId = default, + string? encryptedSymKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs new file mode 100644 index 0000000000..e8063f4555 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IProjectClient.ProjectGetAllProjectsForCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetAllProjectsForCurrentUser. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectGetAllProjectsForCurrentUserAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetCopyProjectStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetCopyProjectStatus.g.verified.cs new file mode 100644 index 0000000000..af0cda8e1f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetCopyProjectStatus.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetCopyProjectStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetCopyProjectStatus. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetCopyProjectStatusAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs new file mode 100644 index 0000000000..ea23010757 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetExportAccountProjectsJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetExportAccountProjectsJobId. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetExportAccountProjectsJobIdAsync( + string? token = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectById.g.verified.cs new file mode 100644 index 0000000000..197de7d424 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectById.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetProjectById.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetProjectById. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetProjectByIdAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs new file mode 100644 index 0000000000..c7b15cfd63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetProjectCopyJobProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetProjectCopyJobProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetProjectCopyJobProjectAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs new file mode 100644 index 0000000000..d3644f0af5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetProjectImportJobExceptions.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetProjectImportJobExceptions. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetProjectImportJobExceptionsAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectImportStatus.g.verified.cs new file mode 100644 index 0000000000..750d72737e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectGetProjectImportStatus.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectGetProjectImportStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// GetProjectImportStatus. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectGetProjectImportStatusAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs new file mode 100644 index 0000000000..78885f3f00 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectClient.ProjectIsDeletedProjectJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// IsDeletedProjectJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectIsDeletedProjectJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectRenameProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectRenameProject.g.verified.cs new file mode 100644 index 0000000000..29b3234a5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectRenameProject.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IProjectClient.ProjectRenameProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// RenameProject. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectRenameProjectAsync( + string? token = default, + global::System.Guid projectId = default, + string? newTitle = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartCopyProjectJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartCopyProjectJob.g.verified.cs new file mode 100644 index 0000000000..a6ab3a39a9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartCopyProjectJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IProjectClient.ProjectStartCopyProjectJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// StartCopyProjectJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectStartCopyProjectJobAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + string? title = default, + string? decription = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartDeleteProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartDeleteProject.g.verified.cs new file mode 100644 index 0000000000..78a37fc72b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartDeleteProject.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IProjectClient.ProjectStartDeleteProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// StartDeleteProject. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectStartDeleteProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartProjectExportJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartProjectExportJob.g.verified.cs new file mode 100644 index 0000000000..795653fe70 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartProjectExportJob.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IProjectClient.ProjectStartProjectExportJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// StartProjectExportJob. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectStartProjectExportJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? password = default, + string? email = default, + string? extension = default, + string? encryptedSymKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartProjectImportJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartProjectImportJob.g.verified.cs new file mode 100644 index 0000000000..3a614a1d3c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectStartProjectImportJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectClient.ProjectStartProjectImportJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// StartProjectImportJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectStartProjectImportJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? fileURI = default, + string? password = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectUpdateProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectUpdateProject.g.verified.cs new file mode 100644 index 0000000000..7ce60f6ce5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.ProjectUpdateProject.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectClient.ProjectUpdateProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectClient + { + /// + /// UpdateProject. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectUpdateProjectAsync( + string? token = default, + global::System.Guid projectId = default, + string? updatedTitle = default, + string? updatedDescription = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.g.verified.cs new file mode 100644 index 0000000000..198db4d08a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IProjectClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IProjectClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IProjectClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddAudioResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddAudioResource.g.verified.cs new file mode 100644 index 0000000000..33ad66aa0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddAudioResource.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IResourceClient.ResourceAddAudioResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// AddAudioResource. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceAddAudioResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? title = default, + string? description = default, + string? videoUploadURL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddResource.g.verified.cs new file mode 100644 index 0000000000..36d95e52b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddResource.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IResourceClient.ResourceAddResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// AddResource. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceAddResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? title = default, + string? description = default, + int resourceType = default, + string? fileURL = default, + int length = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddTranscript.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddTranscript.g.verified.cs new file mode 100644 index 0000000000..e1babc5b35 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddTranscript.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceAddTranscript.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// AddTranscript. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceAddTranscriptAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid currentUserId = default, + global::System.Guid resourceId = default, + string? transcriptData = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddVideoResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddVideoResource.g.verified.cs new file mode 100644 index 0000000000..0c216954aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceAddVideoResource.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IResourceClient.ResourceAddVideoResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// AddVideoResource. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceAddVideoResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? title = default, + string? description = default, + string? videoUploadURL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceCloneDocument.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceCloneDocument.g.verified.cs new file mode 100644 index 0000000000..36ac4ae709 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceCloneDocument.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceCloneDocument.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// CloneDocument. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceCloneDocumentAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + bool cloneExcerpts = default, + bool cloneTagApps = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceDeleteResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceDeleteResource.g.verified.cs new file mode 100644 index 0000000000..8c415b1444 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceDeleteResource.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IResourceClient.ResourceDeleteResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// DeleteResource. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceDeleteResourceAsync( + string? token = default, + global::System.Guid currentProjectId = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + string? description = default, + int type = default, + string? dataPath = default, + int length = default, + global::System.DateTime createStamp = default, + global::System.Guid createByUserIDL = default, + bool isDataLocked = default, + string? metaData = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceDeleteTranscript.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceDeleteTranscript.g.verified.cs new file mode 100644 index 0000000000..4703237ce2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceDeleteTranscript.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IResourceClient.ResourceDeleteTranscript.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// DeleteTranscript. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceDeleteTranscriptAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + global::System.Guid creator = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + string? dataPath = default, + global::System.DateTime created = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs new file mode 100644 index 0000000000..148b548e57 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetAddImageResourceJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetAddImageResourceJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetAddImageResourceJobResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs new file mode 100644 index 0000000000..4aab2e96ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetAddPDFImageResourceJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetAddPDFImageResourceJobResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs new file mode 100644 index 0000000000..f7ff3882a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetAddPDFSwfResourceJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetAddPDFSwfResourceJobResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs new file mode 100644 index 0000000000..633d7d6bc4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceGetAudioResourceByJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetAudioResourceByJobId. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetAudioResourceByJobIdAsync( + string? token = default, + global::System.Guid projectId = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAudioSample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAudioSample.g.verified.cs new file mode 100644 index 0000000000..3e3c024350 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetAudioSample.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceGetAudioSample.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetAudioSample. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetAudioSampleAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs new file mode 100644 index 0000000000..e38952059d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetDocumentSearchJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetDocumentSearchJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetDocumentSearchJobResultAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetExportJobURL.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetExportJobURL.g.verified.cs new file mode 100644 index 0000000000..39000bae3d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetExportJobURL.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetExportJobURL.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetExportJobURL. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetExportJobURLAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs new file mode 100644 index 0000000000..40c6fd7e9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetExportPDFSwfJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetExportPDFSwfJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetExportPDFSwfJobResultAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetResourceSyncItems.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetResourceSyncItems.g.verified.cs new file mode 100644 index 0000000000..d69e72f5a2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetResourceSyncItems.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceGetResourceSyncItems.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetResourceSyncItems. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetResourceSyncItemsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetResourcesByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetResourcesByProject.g.verified.cs new file mode 100644 index 0000000000..7a5baee5a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetResourcesByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetResourcesByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetResourcesByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ResourceGetResourcesByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetTranscripsts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetTranscripsts.g.verified.cs new file mode 100644 index 0000000000..cd8e543f5a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetTranscripsts.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceGetTranscripsts.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetTranscripsts. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ResourceGetTranscripstsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs new file mode 100644 index 0000000000..3b2719be18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceGetTranscriptExportJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetTranscriptExportJobId. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetTranscriptExportJobIdAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid transcriptId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs new file mode 100644 index 0000000000..d11ffb9768 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceGetVideoResourceByJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// GetVideoResourceByJobId. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceGetVideoResourceByJobIdAsync( + string? token = default, + global::System.Guid projectId = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsJobComplete.g.verified.cs new file mode 100644 index 0000000000..a5f7e7d89e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceIsJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// IsJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceIsJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs new file mode 100644 index 0000000000..3698b19dd2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceIsResourceAudioConversionComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// IsResourceAudioConversionComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceIsResourceAudioConversionCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs new file mode 100644 index 0000000000..25c7803345 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IResourceClient.ResourceIsResourceVideoConversionComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// IsResourceVideoConversionComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceIsResourceVideoConversionCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceLockResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceLockResource.g.verified.cs new file mode 100644 index 0000000000..c3aadebe1c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceLockResource.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceLockResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// LockResource. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceLockResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddImageResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddImageResource.g.verified.cs new file mode 100644 index 0000000000..58418a6772 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddImageResource.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceStartAddImageResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartAddImageResource. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartAddImageResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? fileName = default, + string? fileURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs new file mode 100644 index 0000000000..81c4e8bf07 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceStartAddPDFImageResourceJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartAddPDFImageResourceJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartAddPDFImageResourceJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + string? fileName = default, + string? fileURI = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs new file mode 100644 index 0000000000..a6fd1b98d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IResourceClient.ResourceStartAddPDFSwfResourceJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartAddPDFSwfResourceJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartAddPDFSwfResourceJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + string? fileUri = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs new file mode 100644 index 0000000000..2144c1ccbe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceStartDeleteResourcesJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartDeleteResourcesJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartDeleteResourcesJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? resourceIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartDocumentSearchJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartDocumentSearchJob.g.verified.cs new file mode 100644 index 0000000000..acebf72ac6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartDocumentSearchJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceStartDocumentSearchJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartDocumentSearchJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartDocumentSearchJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? searchText = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs new file mode 100644 index 0000000000..d421cb04a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IResourceClient.ResourceStartExportDocumentJobWithRTL.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartExportDocumentJobWithRTL. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartExportDocumentJobWithRTLAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + bool includeExRegions = default, + bool rtl = default, + string? exportExtension = default, + string? encryptedSymKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs new file mode 100644 index 0000000000..01d1b3f854 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceStartExportPDFSwfJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartExportPDFSwfJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartExportPDFSwfJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportResourcesJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportResourcesJob.g.verified.cs new file mode 100644 index 0000000000..247ad1eaab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceStartExportResourcesJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceStartExportResourcesJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// StartExportResourcesJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceStartExportResourcesJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? resourceIds = default, + bool includeDescriptorInfo = default, + bool includeCodeCounts = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUnlockResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUnlockResource.g.verified.cs new file mode 100644 index 0000000000..c712210b60 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUnlockResource.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IResourceClient.ResourceUnlockResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// UnlockResource. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceUnlockResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs new file mode 100644 index 0000000000..2378a9b3df --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// UpdateDocumentDataAndExcerpts. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceUpdateDocumentDataAndExcerptsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Guid resourceId = default, + string? updatedTextDataURI = default, + int updatedLength = default, + global::System.Collections.Generic.IList? excerpts = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateResource.g.verified.cs new file mode 100644 index 0000000000..08f10fdcec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateResource.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IResourceClient.ResourceUpdateResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// UpdateResource. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceUpdateResourceAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + string? title = default, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateResourceAndData.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateResourceAndData.g.verified.cs new file mode 100644 index 0000000000..30be18b069 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateResourceAndData.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IResourceClient.ResourceUpdateResourceAndData.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// UpdateResourceAndData. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceUpdateResourceAndDataAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + string? title = default, + string? description = default, + string? fileURL = default, + int length = default, + bool isLocked = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateTranscriptData.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateTranscriptData.g.verified.cs new file mode 100644 index 0000000000..aed9bad1e4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.ResourceUpdateTranscriptData.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IResourceClient.ResourceUpdateTranscriptData.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourceClient + { + /// + /// UpdateTranscriptData. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResourceUpdateTranscriptDataAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + global::System.Guid creator = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + string? dataPath = default, + global::System.DateTime created = default, + string? transcriptData = default, + global::System.Collections.Generic.IList? syncItems = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.g.verified.cs new file mode 100644 index 0000000000..73f30f82cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IResourceClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IResourceClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IResourceClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityAddGroup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityAddGroup.g.verified.cs new file mode 100644 index 0000000000..0436b177d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityAddGroup.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ISecurityClient.SecurityAddGroup.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// AddGroup. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAddGroupAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + global::System.Guid accessListId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityDeleteGroup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityDeleteGroup.g.verified.cs new file mode 100644 index 0000000000..243c2336e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityDeleteGroup.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ISecurityClient.SecurityDeleteGroup.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// DeleteGroup. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityDeleteGroupAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + global::System.Guid accessListIDL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetAllAccessLists.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetAllAccessLists.g.verified.cs new file mode 100644 index 0000000000..c9902e0f80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetAllAccessLists.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityGetAllAccessLists.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// GetAllAccessLists. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityGetAllAccessListsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetProjectGroupLinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetProjectGroupLinks.g.verified.cs new file mode 100644 index 0000000000..0a82ac48d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetProjectGroupLinks.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ISecurityClient.SecurityGetProjectGroupLinks.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// GetProjectGroupLinks. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityGetProjectGroupLinksAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetProjectGroups.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetProjectGroups.g.verified.cs new file mode 100644 index 0000000000..7193236cf5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetProjectGroups.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ISecurityClient.SecurityGetProjectGroups.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// GetProjectGroups. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityGetProjectGroupsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetSuperUserIds.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetSuperUserIds.g.verified.cs new file mode 100644 index 0000000000..109889c290 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetSuperUserIds.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityGetSuperUserIds.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// GetSuperUserIds. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityGetSuperUserIdsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetVersion.g.verified.cs new file mode 100644 index 0000000000..fb1f1a1c95 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityGetVersion.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityGetVersion.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// GetVersion. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityGetVersionAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityImpersonateUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityImpersonateUser.g.verified.cs new file mode 100644 index 0000000000..28816e9eff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityImpersonateUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ISecurityClient.SecurityImpersonateUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// ImpersonateUser. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityImpersonateUserAsync( + string? token = default, + string? username = default, + string? email = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityLinkUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityLinkUser.g.verified.cs new file mode 100644 index 0000000000..abd96904e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityLinkUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ISecurityClient.SecurityLinkUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// LinkUser. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityLinkUserAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Guid groupId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityLinkUserWithInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityLinkUserWithInvitation.g.verified.cs new file mode 100644 index 0000000000..f82a00ff94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityLinkUserWithInvitation.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISecurityClient.SecurityLinkUserWithInvitation.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// LinkUserWithInvitation. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityLinkUserWithInvitationAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Guid groupId = default, + global::System.Guid invitationId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs new file mode 100644 index 0000000000..d691a10063 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityResetUserPasswordByEmail.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// ResetUserPasswordByEmail. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityResetUserPasswordByEmailAsync( + string? userEmail = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs new file mode 100644 index 0000000000..388ada617a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityResetUserPasswordByUsername.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// ResetUserPasswordByUsername. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityResetUserPasswordByUsernameAsync( + string? username = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityStopImpersonation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityStopImpersonation.g.verified.cs new file mode 100644 index 0000000000..937de9c717 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityStopImpersonation.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ISecurityClient.SecurityStopImpersonation.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// StopImpersonation. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityStopImpersonationAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityUnlinkUserFromProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityUnlinkUserFromProject.g.verified.cs new file mode 100644 index 0000000000..14f929b537 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityUnlinkUserFromProject.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ISecurityClient.SecurityUnlinkUserFromProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// UnlinkUserFromProject. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityUnlinkUserFromProjectAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityUpdateGroup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityUpdateGroup.g.verified.cs new file mode 100644 index 0000000000..411e9772d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.SecurityUpdateGroup.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ISecurityClient.SecurityUpdateGroup.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityClient + { + /// + /// UpdateGroup. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityUpdateGroupAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + global::System.Guid accessListIDL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.g.verified.cs new file mode 100644 index 0000000000..1b58ae4e79 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISecurityClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISecurityClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISecurityClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs new file mode 100644 index 0000000000..b906884df6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ISurveyImportClient.SurveyImportGetSurveyImportStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface ISurveyImportClient + { + /// + /// GetSurveyImportStatus. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SurveyImportGetSurveyImportStatusAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs new file mode 100644 index 0000000000..a5738724b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ISurveyImportClient.SurveyImportStartSurveyImportJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ISurveyImportClient + { + /// + /// StartSurveyImportJob. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SurveyImportStartSurveyImportJobAsync( + string? token = default, + global::System.Guid projectId = default, + string? surveyUploadedFileURL = default, + string? encryptedSymKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.g.verified.cs new file mode 100644 index 0000000000..e11a8fd0ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ISurveyImportClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISurveyImportClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISurveyImportClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddExcerptTagApplication.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddExcerptTagApplication.g.verified.cs new file mode 100644 index 0000000000..49b093f195 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddExcerptTagApplication.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITagClient.TagAddExcerptTagApplication.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// AddExcerptTagApplication. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagAddExcerptTagApplicationAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Guid excerptId = default, + global::System.Guid tagId = default, + double weight = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddExcerptTagApplications.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddExcerptTagApplications.g.verified.cs new file mode 100644 index 0000000000..c6a44b9574 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddExcerptTagApplications.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITagClient.TagAddExcerptTagApplications.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// AddExcerptTagApplications. + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagAddExcerptTagApplicationsAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid projectId = default, + global::System.Guid resourceId = default, + global::System.Guid excerptId = default, + global::System.Collections.Generic.IList? tagApps = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTag.g.verified.cs new file mode 100644 index 0000000000..ea298cc008 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTag.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.ITagClient.TagAddTag.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// AddTag. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagAddTagAsync( + string? token = default, + global::System.Guid projectId = default, + string? title = default, + string? description = default, + bool isWeighted = default, + double weightMin = default, + double weightMax = default, + double weightDefault = default, + bool allowDecimalWeights = default, + int color = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTagLink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTagLink.g.verified.cs new file mode 100644 index 0000000000..ff2977bfab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTagLink.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITagClient.TagAddTagLink.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// AddTagLink. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagAddTagLinkAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid tag1Id = default, + global::System.Guid tag2Id = default, + bool isParentChildLink = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTagWithParent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTagWithParent.g.verified.cs new file mode 100644 index 0000000000..90e163362c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagAddTagWithParent.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ITagClient.TagAddTagWithParent.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// AddTagWithParent. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagAddTagWithParentAsync( + string? token = default, + global::System.Guid proejctId = default, + global::System.Guid parentTagId = default, + string? title = default, + string? description = default, + bool isWeighted = default, + double weightMin = default, + double weightMax = default, + double weightDefault = default, + bool allowDecimalWeights = default, + double color = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagDeleteTagByJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagDeleteTagByJob.g.verified.cs new file mode 100644 index 0000000000..59905fed6b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagDeleteTagByJob.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ITagClient.TagDeleteTagByJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// DeleteTagByJob. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagDeleteTagByJobAsync( + string? token = default, + global::System.Guid currentProjectId = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + string? description = default, + bool isWeighted = default, + double weightMin = default, + double weightMax = default, + double weightDefault = default, + int sortOrder = default, + int color = default, + bool allowDecimalWeight = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagDeleteTagLink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagDeleteTagLink.g.verified.cs new file mode 100644 index 0000000000..938a06ce89 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagDeleteTagLink.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ITagClient.TagDeleteTagLink.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// DeleteTagLink. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagDeleteTagLinkAsync( + string? token = default, + global::System.Guid currentProjectId = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + global::System.Guid tag1IDL = default, + global::System.Guid tag2IDL = default, + bool isParentChildLink = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetDeleteTagByJobResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetDeleteTagByJobResponse.g.verified.cs new file mode 100644 index 0000000000..d0f6508c61 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetDeleteTagByJobResponse.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetDeleteTagByJobResponse.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetDeleteTagByJobResponse. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagGetDeleteTagByJobResponseAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs new file mode 100644 index 0000000000..e336ff8432 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITagClient.TagGetProjectTagsExportFileURLJobId.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetProjectTagsExportFileURLJobId. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagGetProjectTagsExportFileURLJobIdAsync( + string? token = default, + global::System.Guid projectId = default, + string? fileExtension = default, + bool includeExcerpts = default, + string? encryptedSymKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs new file mode 100644 index 0000000000..52aaac9b10 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetProjectTagsExportJobFileURL.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetProjectTagsExportJobFileURL. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagGetProjectTagsExportJobFileURLAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs new file mode 100644 index 0000000000..bb4618c1ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetRetroUpcodeJobTagApplications.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetRetroUpcodeJobTagApplications. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagGetRetroUpcodeJobTagApplicationsAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagApplicationsByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagApplicationsByProject.g.verified.cs new file mode 100644 index 0000000000..a270766420 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagApplicationsByProject.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITagClient.TagGetTagApplicationsByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetTagApplicationsByProject. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TagGetTagApplicationsByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + int page = default, + int pageSize = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagLinksByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagLinksByProject.g.verified.cs new file mode 100644 index 0000000000..617a7eddd8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagLinksByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetTagLinksByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetTagLinksByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TagGetTagLinksByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagsByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagsByProject.g.verified.cs new file mode 100644 index 0000000000..bc8b578096 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagsByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetTagsByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetTagsByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TagGetTagsByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs new file mode 100644 index 0000000000..ff94e15db7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagGetTagsFromSpreadsheetJobResult.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// GetTagsFromSpreadsheetJobResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagGetTagsFromSpreadsheetJobResultAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagIsJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagIsJobComplete.g.verified.cs new file mode 100644 index 0000000000..0d3ed58be2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagIsJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagIsJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// IsJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagIsJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagIsRetroUpcodeJobComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagIsRetroUpcodeJobComplete.g.verified.cs new file mode 100644 index 0000000000..d7fbaa7a9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagIsRetroUpcodeJobComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagIsRetroUpcodeJobComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// IsRetroUpcodeJobComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagIsRetroUpcodeJobCompleteAsync( + string? token = default, + string? jobId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagMergeTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagMergeTags.g.verified.cs new file mode 100644 index 0000000000..803bef0723 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagMergeTags.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITagClient.TagMergeTags.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// MergeTags. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagMergeTagsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid tag1Id = default, + global::System.Guid tag2Id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagRemoveTagApplication.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagRemoveTagApplication.g.verified.cs new file mode 100644 index 0000000000..0858fe6da3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagRemoveTagApplication.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITagClient.TagRemoveTagApplication.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// RemoveTagApplication. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagRemoveTagApplicationAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid tagAppId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartGetTagsFromImportJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartGetTagsFromImportJob.g.verified.cs new file mode 100644 index 0000000000..2db3a58799 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartGetTagsFromImportJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITagClient.TagStartGetTagsFromImportJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// StartGetTagsFromImportJob. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagStartGetTagsFromImportJobAsync( + string? token = default, + string? fileURL = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartImportTagsJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartImportTagsJob.g.verified.cs new file mode 100644 index 0000000000..f92dbfcabc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartImportTagsJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITagClient.TagStartImportTagsJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// StartImportTagsJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagStartImportTagsJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? tagVOs = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartRetroUpcodeJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartRetroUpcodeJob.g.verified.cs new file mode 100644 index 0000000000..a236b87efd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagStartRetroUpcodeJob.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITagClient.TagStartRetroUpcodeJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// StartRetroUpcodeJob. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagStartRetroUpcodeJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTag.g.verified.cs new file mode 100644 index 0000000000..7feb0e8966 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTag.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ITagClient.TagUpdateTag.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// UpdateTag. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagUpdateTagAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + string? title = default, + string? description = default, + bool isWeighted = default, + double weightMin = default, + double weightMax = default, + double weightDefault = default, + int sortOrder = default, + int color = default, + bool allowDecimalWeight = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagAppWeight.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagAppWeight.g.verified.cs new file mode 100644 index 0000000000..5339d2946f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagAppWeight.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITagClient.TagUpdateTagAppWeight.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// UpdateTagAppWeight. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagUpdateTagAppWeightAsync( + string? token = default, + global::System.Guid currentProjectId = default, + global::System.Guid tagAppId = default, + double newWeight = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagLink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagLink.g.verified.cs new file mode 100644 index 0000000000..f2b6275a4c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagLink.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ITagClient.TagUpdateTagLink.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// UpdateTagLink. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagUpdateTagLinkAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid projectId = default, + global::System.Guid id = default, + global::System.Guid projectIDL = default, + global::System.Guid tag1IDL = default, + global::System.Guid tag2IDL = default, + bool isParentChildLink = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagOrders.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagOrders.g.verified.cs new file mode 100644 index 0000000000..5798a7090d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.TagUpdateTagOrders.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITagClient.TagUpdateTagOrders.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagClient + { + /// + /// UpdateTagOrders. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TagUpdateTagOrdersAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Collections.Generic.IList? tags = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.g.verified.cs new file mode 100644 index 0000000000..d053275311 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITagClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITagClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITagClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingAddTest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingAddTest.g.verified.cs new file mode 100644 index 0000000000..364c84f500 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingAddTest.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ITrainingClient.TrainingAddTest.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// AddTest. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingAddTestAsync( + string? token = default, + global::System.Guid projectId = default, + int trainingTestType = default, + string? title = default, + string? description = default, + global::System.Guid createdUserId = default, + global::System.Collections.Generic.IList? exIds = default, + global::System.Collections.Generic.IList? tagIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingDeleteTest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingDeleteTest.g.verified.cs new file mode 100644 index 0000000000..4b131ad3d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingDeleteTest.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ITrainingClient.TrainingDeleteTest.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// DeleteTest. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingDeleteTestAsync( + string? token = default, + string? projectIdKey = default, + global::System.Guid id = default, + int testType = default, + string? title = default, + string? description = default, + global::System.DateTime createdOn = default, + global::System.Guid projectId = default, + int excerptCount = default, + int tagCount = default, + global::System.Guid creator = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetAddTestResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetAddTestResult.g.verified.cs new file mode 100644 index 0000000000..476a8dc82b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetAddTestResult.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITrainingClient.TrainingGetAddTestResult.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetAddTestResult. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingGetAddTestResultAsync( + string? token = default, + string? addTestWorkerId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestExcerpts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestExcerpts.g.verified.cs new file mode 100644 index 0000000000..05134ce54e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestExcerpts.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITrainingClient.TrainingGetTestExcerpts.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestExcerpts. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestExcerptsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid testId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs new file mode 100644 index 0000000000..a138a9bfa4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITrainingClient.TrainingGetTestMasterTagApplications.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestMasterTagApplications. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestMasterTagApplicationsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid testId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestResultTagApps.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestResultTagApps.g.verified.cs new file mode 100644 index 0000000000..b26b9fff6f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestResultTagApps.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITrainingClient.TrainingGetTestResultTagApps.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestResultTagApps. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestResultTagAppsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid testId = default, + global::System.Guid testResultId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestResultsByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestResultsByProject.g.verified.cs new file mode 100644 index 0000000000..9703bb4323 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestResultsByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITrainingClient.TrainingGetTestResultsByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestResultsByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestResultsByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestTags.g.verified.cs new file mode 100644 index 0000000000..f989687207 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestTags.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITrainingClient.TrainingGetTestTags.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestTags. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestTagsAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid testId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestsByProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestsByProject.g.verified.cs new file mode 100644 index 0000000000..05c243f198 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingGetTestsByProject.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITrainingClient.TrainingGetTestsByProject.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// GetTestsByProject. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TrainingGetTestsByProjectAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingIsTestAddComplete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingIsTestAddComplete.g.verified.cs new file mode 100644 index 0000000000..f5e5da6f32 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingIsTestAddComplete.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITrainingClient.TrainingIsTestAddComplete.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// IsTestAddComplete. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingIsTestAddCompleteAsync( + string? token = default, + string? addTestWorkerId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingSaveTestResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingSaveTestResult.g.verified.cs new file mode 100644 index 0000000000..9845c74728 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingSaveTestResult.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITrainingClient.TrainingSaveTestResult.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// SaveTestResult. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingSaveTestResultAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid traineeUserId = default, + global::System.Guid testId = default, + double overallRating = default, + global::System.Collections.Generic.IList? traineeTagApps = default, + bool completed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingStartExportTestResultJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingStartExportTestResultJob.g.verified.cs new file mode 100644 index 0000000000..bc04236f6c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingStartExportTestResultJob.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITrainingClient.TrainingStartExportTestResultJob.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// StartExportTestResultJob. + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingStartExportTestResultJobAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid testResultId = default, + string? fileExtension = default, + string? cryptoKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingUpdateTestResult.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingUpdateTestResult.g.verified.cs new file mode 100644 index 0000000000..d1209b01e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.TrainingUpdateTestResult.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ITrainingClient.TrainingUpdateTestResult.g.cs +#nullable enable + +namespace G +{ + public partial interface ITrainingClient + { + /// + /// UpdateTestResult. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TrainingUpdateTestResultAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Guid traineeUserId = default, + global::System.Guid testId = default, + global::System.Guid resultId = default, + double overallRating = default, + global::System.Collections.Generic.IList? traineeTagApps = default, + bool completed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.g.verified.cs new file mode 100644 index 0000000000..1a89394de8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ITrainingClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITrainingClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITrainingClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserAcceptInvitationByCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserAcceptInvitationByCurrentUser.g.verified.cs new file mode 100644 index 0000000000..74d7fe2165 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserAcceptInvitationByCurrentUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUserClient.UserAcceptInvitationByCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// AcceptInvitationByCurrentUser. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserAcceptInvitationByCurrentUserAsync( + string? token = default, + global::System.Guid invitationId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserAddNewUserToAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserAddNewUserToAccount.g.verified.cs new file mode 100644 index 0000000000..902967588a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserAddNewUserToAccount.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IUserClient.UserAddNewUserToAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// AddNewUserToAccount. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserAddNewUserToAccountAsync( + string? token = default, + global::System.Guid projectId = default, + string? username = default, + string? firstName = default, + string? lastName = default, + string? email = default, + string? phone = default, + string? encryptedPass = default, + global::System.Guid groupId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserDoesUserEmailExist.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserDoesUserEmailExist.g.verified.cs new file mode 100644 index 0000000000..b588ed83be --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserDoesUserEmailExist.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUserClient.UserDoesUserEmailExist.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// DoesUserEmailExist. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserDoesUserEmailExistAsync( + string? email = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserDoesUserExist.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserDoesUserExist.g.verified.cs new file mode 100644 index 0000000000..4c5ea65f63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserDoesUserExist.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUserClient.UserDoesUserExist.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// DoesUserExist. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserDoesUserExistAsync( + string? username = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetCurrentAccountStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetCurrentAccountStatus.g.verified.cs new file mode 100644 index 0000000000..b0430c50c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetCurrentAccountStatus.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUserClient.UserGetCurrentAccountStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// GetCurrentAccountStatus. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserGetCurrentAccountStatusAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetCurrentUserPendingInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetCurrentUserPendingInvitations.g.verified.cs new file mode 100644 index 0000000000..8273cbea72 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetCurrentUserPendingInvitations.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUserClient.UserGetCurrentUserPendingInvitations.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// GetCurrentUserPendingInvitations. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UserGetCurrentUserPendingInvitationsAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetFederationResponseForConnection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetFederationResponseForConnection.g.verified.cs new file mode 100644 index 0000000000..742927888e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetFederationResponseForConnection.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUserClient.UserGetFederationResponseForConnection.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// GetFederationResponseForConnection. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserGetFederationResponseForConnectionAsync( + string? token = default, + global::System.Guid connectionKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetFilteredUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetFilteredUsers.g.verified.cs new file mode 100644 index 0000000000..d288305473 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetFilteredUsers.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserGetFilteredUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// GetFilteredUsers. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserGetFilteredUsersAsync( + string? token = default, + global::System.Guid projectId = default, + string? filter = default, + int maxResults = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetProjectUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetProjectUsers.g.verified.cs new file mode 100644 index 0000000000..13cba5c0e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserGetProjectUsers.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUserClient.UserGetProjectUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// GetProjectUsers. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UserGetProjectUsersAsync( + string? token = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserInviteUserToProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserInviteUserToProject.g.verified.cs new file mode 100644 index 0000000000..dd36029174 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserInviteUserToProject.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserInviteUserToProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// InviteUserToProject. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserInviteUserToProjectAsync( + string? token = default, + global::System.Guid projectId = default, + string? email = default, + global::System.Guid groupId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserLinkUsertoAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserLinkUsertoAccount.g.verified.cs new file mode 100644 index 0000000000..fa0dc42065 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserLinkUsertoAccount.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUserClient.UserLinkUsertoAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// LinkUsertoAccount. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserLinkUsertoAccountAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid accountId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserRegisterConnection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserRegisterConnection.g.verified.cs new file mode 100644 index 0000000000..8aa1803baf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserRegisterConnection.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUserClient.UserRegisterConnection.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// RegisterConnection. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserRegisterConnectionAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid connectionKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserRejectInvitationByCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserRejectInvitationByCurrentUser.g.verified.cs new file mode 100644 index 0000000000..4f1b1debe3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserRejectInvitationByCurrentUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUserClient.UserRejectInvitationByCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// RejectInvitationByCurrentUser. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserRejectInvitationByCurrentUserAsync( + string? token = default, + global::System.Guid invitationId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSendContactRequestEmail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSendContactRequestEmail.g.verified.cs new file mode 100644 index 0000000000..20b58ab1d8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSendContactRequestEmail.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IUserClient.UserSendContactRequestEmail.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// SendContactRequestEmail. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserSendContactRequestEmailAsync( + string? token = default, + string? firstname = default, + string? lastname = default, + string? email = default, + string? phone = default, + string? institution = default, + string? comments = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSubmitCurrentAccountPayment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSubmitCurrentAccountPayment.g.verified.cs new file mode 100644 index 0000000000..6eb6f9a118 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSubmitCurrentAccountPayment.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IUserClient.UserSubmitCurrentAccountPayment.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// SubmitCurrentAccountPayment. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserSubmitCurrentAccountPaymentAsync( + string? token = default, + double amount = default, + string? firstName = default, + string? lastName = default, + string? address1 = default, + string? address2 = default, + string? city = default, + string? state = default, + string? country = default, + string? zip = default, + int cardType = default, + string? cardNum = default, + string? cardCCV = default, + int expMonth = default, + int expYear = default, + bool saveAsReoccuring = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSubmitEula.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSubmitEula.g.verified.cs new file mode 100644 index 0000000000..d61e8e5768 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserSubmitEula.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUserClient.UserSubmitEula.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// SubmitEula. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserSubmitEulaAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateConnection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateConnection.g.verified.cs new file mode 100644 index 0000000000..bd8683e7d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateConnection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserUpdateConnection.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// UpdateConnection. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserUpdateConnectionAsync( + string? token = default, + global::System.Guid userId = default, + global::System.Guid connectionKey = default, + global::System.Guid projectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateCurrentUserPassword.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateCurrentUserPassword.g.verified.cs new file mode 100644 index 0000000000..2944ea88f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateCurrentUserPassword.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUserClient.UserUpdateCurrentUserPassword.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// UpdateCurrentUserPassword. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserUpdateCurrentUserPasswordAsync( + string? token = default, + global::System.Guid userId = default, + string? encryptedPass = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateUser.g.verified.cs new file mode 100644 index 0000000000..81e43c3f05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IUserClient.UserUpdateUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// UpdateUser. + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserUpdateUserAsync( + string? token = default, + global::System.Guid userId = default, + string? firstName = default, + string? lastName = default, + string? phone = default, + string? email = default, + string? password = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateUserInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateUserInfo.g.verified.cs new file mode 100644 index 0000000000..c22841667d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserUpdateUserInfo.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IUserClient.UserUpdateUserInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// UpdateUserInfo. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserUpdateUserInfoAsync( + string? token = default, + global::System.Guid userId = default, + string? firstName = default, + string? lastName = default, + string? email = default, + string? phone = default, + string? address = default, + string? city = default, + string? state = default, + string? country = default, + string? zip = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidate2Factor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidate2Factor.g.verified.cs new file mode 100644 index 0000000000..47f1c64330 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidate2Factor.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserValidate2Factor.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// Validate2Factor. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserValidate2FactorAsync( + string? token = default, + string? username = default, + global::System.Guid connectionKey = default, + string? encryptedAuthToken = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidateUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidateUser.g.verified.cs new file mode 100644 index 0000000000..68018c7476 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidateUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserValidateUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// ValidateUser. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserValidateUserAsync( + string? token = default, + string? username = default, + string? passSalt = default, + global::System.Guid connectionKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidateUser2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidateUser2.g.verified.cs new file mode 100644 index 0000000000..9d76c9fe06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.UserValidateUser2.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUserClient.UserValidateUser2.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// ValidateUser2. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UserValidateUser2Async( + string? token = default, + string? username = default, + string? rsaEncryptedPass = default, + global::System.Guid connectionKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.g.verified.cs new file mode 100644 index 0000000000..d73c14fc9e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUserClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUserClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUserClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.GetConnectionKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.GetConnectionKey.g.verified.cs new file mode 100644 index 0000000000..d3d8302753 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.GetConnectionKey.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUsersClient.GetConnectionKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Returns current connection key. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetConnectionKeyAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.GetMe.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.GetMe.g.verified.cs new file mode 100644 index 0000000000..0879d3830b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.GetMe.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUsersClient.GetMe.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Returns current account and user data. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetMeAsync( + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.g.verified.cs new file mode 100644 index 0000000000..8f9afef97f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.IUsersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsersClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.g.verified.cs index a7dff96b64..103e39e72e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LoginClient : global::System.IDisposable + public sealed partial class LoginClient : global::G.ILoginClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.g.verified.cs index 4b927ff7e5..e4f7f6a6a2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MemoClient : global::System.IDisposable + public sealed partial class MemoClient : global::G.IMemoClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.g.verified.cs index 2224aa6425..6cf122466f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ProjectClient : global::System.IDisposable + public sealed partial class ProjectClient : global::G.IProjectClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.g.verified.cs index c34e51f1bc..cd30602d6d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ResourceClient : global::System.IDisposable + public sealed partial class ResourceClient : global::G.IResourceClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.g.verified.cs index 308b84829e..46f31a2dad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SecurityClient : global::System.IDisposable + public sealed partial class SecurityClient : global::G.ISecurityClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.g.verified.cs index 9660756e5e..4835f135e1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SurveyImportClient : global::System.IDisposable + public sealed partial class SurveyImportClient : global::G.ISurveyImportClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.g.verified.cs index 17f5c4f5a5..6fdf5d7f29 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TagClient : global::System.IDisposable + public sealed partial class TagClient : global::G.ITagClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.g.verified.cs index 1a4033e096..91d3e6fea9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TrainingClient : global::System.IDisposable + public sealed partial class TrainingClient : global::G.ITrainingClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.g.verified.cs index b2bda1d2f0..d308d665cd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UserClient : global::System.IDisposable + public sealed partial class UserClient : global::G.IUserClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.g.verified.cs index b72e86aef3..f0d6aaa939 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsersClient : global::System.IDisposable + public sealed partial class UsersClient : global::G.IUsersClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Api.g.verified.cs index af50522d56..b476be21ba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..8c4ece7aa9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// GitHub's v3 REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// Move projects to or from GitHub. + /// + public MigrationsClient Migrations { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs new file mode 100644 index 0000000000..c95db2100e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsCancelImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Cancel an import
+ /// Stop an import for a repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsCancelImportAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..24381d2c17 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Delete a user migration archive
+ /// Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDeleteArchiveForAuthenticatedUserAsync( + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs new file mode 100644 index 0000000000..9f2bb19a7d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Delete an organization migration archive
+ /// Deletes a previous migration archive. Migration archives are automatically deleted after seven days. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDeleteArchiveForOrgAsync( + string org, + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs new file mode 100644 index 0000000000..d4e474bc4c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Download an organization migration archive
+ /// Fetches the URL to a migration archive. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDownloadArchiveForOrgAsync( + string org, + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..818c7c8ebb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Download a user migration archive
+ /// Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:
+ /// * attachments
+ /// * bases
+ /// * commit\_comments
+ /// * issue\_comments
+ /// * issue\_events
+ /// * issues
+ /// * milestones
+ /// * organizations
+ /// * projects
+ /// * protected\_branches
+ /// * pull\_request\_reviews
+ /// * pull\_requests
+ /// * releases
+ /// * repositories
+ /// * review\_comments
+ /// * schema
+ /// * users
+ /// The archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetArchiveForAuthenticatedUserAsync( + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs new file mode 100644 index 0000000000..a3786ce418 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.MigrationsGetCommitAuthors.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get commit authors
+ /// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
+ /// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> MigrationsGetCommitAuthorsAsync( + string owner, + string repo, + int since = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs new file mode 100644 index 0000000000..5eb3cebe21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IMigrationsClient.MigrationsGetImportStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get an import status
+ /// View the progress of an import.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// **Import status**
+ /// This section includes details about the possible values of the `status` field of the Import Progress response.
+ /// An import that does not have errors will progress through these steps:
+ /// * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.
+ /// * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).
+ /// * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.
+ /// * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects".
+ /// * `complete` - the import is complete, and the repository is ready on GitHub.
+ /// If there are problems, you will see one of these in the `status` field:
+ /// * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api) for more information.
+ /// * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/migrations/source-imports#cancel-an-import) and [retry](https://docs.github.com/rest/migrations/source-imports#start-an-import) with the correct URL.
+ /// * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// **The project_choices field**
+ /// When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.
+ /// **Git LFS related fields**
+ /// This section includes details about Git LFS related fields that may be present in the Import Progress response.
+ /// * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.
+ /// * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.
+ /// * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.
+ /// * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsGetImportStatusAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs new file mode 100644 index 0000000000..879bffef5a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsGetLargeFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get large files
+ /// List files larger than 100MB found during the import
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> MigrationsGetLargeFilesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..cfe9f66aae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get a user migration status
+ /// Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:
+ /// * `pending` - the migration hasn't started yet.
+ /// * `exporting` - the migration is in progress.
+ /// * `exported` - the migration finished successfully.
+ /// * `failed` - the migration failed.
+ /// Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/migrations/users#download-a-user-migration-archive). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetStatusForAuthenticatedUserAsync( + int migrationId, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs new file mode 100644 index 0000000000..a8d584e29a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IMigrationsClient.MigrationsGetStatusForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get an organization migration status
+ /// Fetches the status of a migration.
+ /// The `state` of a migration can be one of the following values:
+ /// * `pending`, which means the migration hasn't started yet.
+ /// * `exporting`, which means the migration is in progress.
+ /// * `exported`, which means the migration finished successfully.
+ /// * `failed`, which means the migration failed. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetStatusForOrgAsync( + string org, + int migrationId, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ccf703b9ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List user migrations
+ /// Lists all migrations a user has started. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs new file mode 100644 index 0000000000..a0fb2f0624 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IMigrationsClient.MigrationsListForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List organization migrations
+ /// Lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).
+ /// A list of `repositories` is only returned for export migrations. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListForOrgAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6a20be9968 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List repositories for a user migration
+ /// Lists all the repositories for this user migration. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListReposForAuthenticatedUserAsync( + int migrationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs new file mode 100644 index 0000000000..c2509a4717 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IMigrationsClient.MigrationsListReposForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List repositories in an organization migration
+ /// List all the repositories for this organization migration. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListReposForOrgAsync( + string org, + int migrationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs new file mode 100644 index 0000000000..08c055fcfb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IMigrationsClient.MigrationsMapCommitAuthor.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Map a commit author
+ /// Update an author's identity for the import. Your application can continue updating authors any time before you push
+ /// new commits to the repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsMapCommitAuthorAsync( + string owner, + string repo, + int authorId, + global::G.MigrationsMapCommitAuthorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Map a commit author
+ /// Update an author's identity for the import. Your application can continue updating authors any time before you push
+ /// new commits to the repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// + /// The new Git author email. + /// + /// + /// The new Git author name. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsMapCommitAuthorAsync( + string owner, + string repo, + int authorId, + string? email = default, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs new file mode 100644 index 0000000000..6816e0daad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IMigrationsClient.MigrationsSetLfsPreference.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Update Git LFS preference
+ /// You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability
+ /// is powered by [Git LFS](https://git-lfs.com).
+ /// You can learn more about our LFS feature and working with large files [on our help
+ /// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsSetLfsPreferenceAsync( + string owner, + string repo, + global::G.MigrationsSetLfsPreferenceRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Git LFS preference
+ /// You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability
+ /// is powered by [Git LFS](https://git-lfs.com).
+ /// You can learn more about our LFS feature and working with large files [on our help
+ /// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// Whether to store large files during the import. `opt_in` means large files will be stored using Git LFS. `opt_out` means large files will be removed during the import. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsSetLfsPreferenceAsync( + string owner, + string repo, + global::G.MigrationsSetLfsPreferenceRequestUseLfs useLfs, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..8ed92b0e33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs @@ -0,0 +1,71 @@ +//HintName: G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start a user migration
+ /// Initiates the generation of a user migration archive. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForAuthenticatedUserAsync( + global::G.MigrationsStartForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start a user migration
+ /// Initiates the generation of a user migration archive. + ///
+ /// + /// Lock the repositories being migrated at the start of the migration
+ /// Example: true + /// + /// + /// Indicates whether metadata should be excluded and only git source should be included for the migration.
+ /// Example: true + /// + /// + /// Indicates whether the repository git data should be excluded from the migration.
+ /// Example: true + /// + /// + /// Do not include attachments in the migration
+ /// Example: true + /// + /// + /// Do not include releases in the migration
+ /// Example: true + /// + /// + /// Indicates whether projects owned by the organization or users should be excluded.
+ /// Example: true + /// + /// + /// Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Exclude attributes from the API response to improve performance
+ /// Example: [repositories] + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForAuthenticatedUserAsync( + global::System.Collections.Generic.IList repositories, + bool lockRepositories = default, + bool excludeMetadata = default, + bool excludeGitData = default, + bool excludeAttachments = default, + bool excludeReleases = default, + bool excludeOwnerProjects = default, + bool orgMetadataOnly = false, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs new file mode 100644 index 0000000000..38f9eb75ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.IMigrationsClient.MigrationsStartForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start an organization migration
+ /// Initiates the generation of a migration archive. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForOrgAsync( + string org, + global::G.MigrationsStartForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start an organization migration
+ /// Initiates the generation of a migration archive. + ///
+ /// + /// + /// A list of arrays indicating which repositories should be migrated. + /// + /// + /// Indicates whether repositories should be locked (to prevent manipulation) while migrating data.
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether metadata should be excluded and only git source should be included for the migration.
+ /// Default Value: false + /// + /// + /// Indicates whether the repository git data should be excluded from the migration.
+ /// Default Value: false + /// + /// + /// Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether releases should be excluded from the migration (to reduce migration archive file size).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether projects owned by the organization or users should be excluded. from the migration.
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Exclude related items from being returned in the response in order to improve performance of the request. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForOrgAsync( + string org, + global::System.Collections.Generic.IList repositories, + bool lockRepositories = false, + bool excludeMetadata = false, + bool excludeGitData = false, + bool excludeAttachments = false, + bool excludeReleases = false, + bool excludeOwnerProjects = false, + bool orgMetadataOnly = false, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs new file mode 100644 index 0000000000..06d4649a91 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IMigrationsClient.MigrationsStartImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start an import
+ /// Start a source import to a GitHub repository using GitHub Importer.
+ /// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
+ /// return a status `422 Unprocessable Entity` response.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsStartImportAsync( + string owner, + string repo, + global::G.MigrationsStartImportRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start an import
+ /// Start a source import to a GitHub repository using GitHub Importer.
+ /// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
+ /// return a status `422 Unprocessable Entity` response.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The URL of the originating repository. + /// + /// + /// The originating VCS type. Without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response. + /// + /// + /// If authentication is required, the username to provide to `vcs_url`. + /// + /// + /// If authentication is required, the password to provide to `vcs_url`. + /// + /// + /// For a tfvc import, the name of the project that is being imported. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsStartImportAsync( + string owner, + string repo, + string vcsUrl, + global::G.MigrationsStartImportRequestVcs? vcs = default, + string? vcsUsername = default, + string? vcsPassword = default, + string? tfvcProject = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..0e5694d4c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Unlock a user repository
+ /// Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsUnlockRepoForAuthenticatedUserAsync( + int migrationId, + string repoName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs new file mode 100644 index 0000000000..cf0e0bafd6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Unlock an organization repository
+ /// Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsUnlockRepoForOrgAsync( + string org, + int migrationId, + string repoName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs new file mode 100644 index 0000000000..96fcf17ef2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IMigrationsClient.MigrationsUpdateImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Update an import
+ /// An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API
+ /// request. If no parameters are provided, the import will be restarted.
+ /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
+ /// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
+ /// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsUpdateImportAsync( + string owner, + string repo, + global::G.MigrationsUpdateImportRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an import
+ /// An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API
+ /// request. If no parameters are provided, the import will be restarted.
+ /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
+ /// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
+ /// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The username to provide to the originating repository. + /// + /// + /// The password to provide to the originating repository. + /// + /// + /// The type of version control system you are migrating from.
+ /// Example: "git" + /// + /// + /// For a tfvc import, the name of the project that is being imported.
+ /// Example: "project1" + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsUpdateImportAsync( + string owner, + string repo, + string? vcsUsername = default, + string? vcsPassword = default, + global::G.MigrationsUpdateImportRequestVcs? vcs = default, + string? tfvcProject = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.g.verified.cs new file mode 100644 index 0000000000..2a399ccd6d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.IMigrationsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Move projects to or from GitHub.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMigrationsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.g.verified.cs index b3646aec04..3e74f659c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MigrationsClient : global::System.IDisposable + public sealed partial class MigrationsClient : global::G.IMigrationsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs index ef552556a2..58fba5b469 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..835a8a8b66 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// GitHub's v3 REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// Move projects to or from GitHub. + /// + public MigrationsClient Migrations { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs new file mode 100644 index 0000000000..c95db2100e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsCancelImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Cancel an import
+ /// Stop an import for a repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsCancelImportAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..24381d2c17 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Delete a user migration archive
+ /// Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDeleteArchiveForAuthenticatedUserAsync( + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs new file mode 100644 index 0000000000..9f2bb19a7d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Delete an organization migration archive
+ /// Deletes a previous migration archive. Migration archives are automatically deleted after seven days. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDeleteArchiveForOrgAsync( + string org, + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs new file mode 100644 index 0000000000..d4e474bc4c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Download an organization migration archive
+ /// Fetches the URL to a migration archive. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDownloadArchiveForOrgAsync( + string org, + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..818c7c8ebb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Download a user migration archive
+ /// Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:
+ /// * attachments
+ /// * bases
+ /// * commit\_comments
+ /// * issue\_comments
+ /// * issue\_events
+ /// * issues
+ /// * milestones
+ /// * organizations
+ /// * projects
+ /// * protected\_branches
+ /// * pull\_request\_reviews
+ /// * pull\_requests
+ /// * releases
+ /// * repositories
+ /// * review\_comments
+ /// * schema
+ /// * users
+ /// The archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetArchiveForAuthenticatedUserAsync( + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs new file mode 100644 index 0000000000..a3786ce418 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.MigrationsGetCommitAuthors.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get commit authors
+ /// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
+ /// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> MigrationsGetCommitAuthorsAsync( + string owner, + string repo, + int since = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs new file mode 100644 index 0000000000..5eb3cebe21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IMigrationsClient.MigrationsGetImportStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get an import status
+ /// View the progress of an import.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// **Import status**
+ /// This section includes details about the possible values of the `status` field of the Import Progress response.
+ /// An import that does not have errors will progress through these steps:
+ /// * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.
+ /// * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).
+ /// * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.
+ /// * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects".
+ /// * `complete` - the import is complete, and the repository is ready on GitHub.
+ /// If there are problems, you will see one of these in the `status` field:
+ /// * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api) for more information.
+ /// * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/migrations/source-imports#cancel-an-import) and [retry](https://docs.github.com/rest/migrations/source-imports#start-an-import) with the correct URL.
+ /// * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// **The project_choices field**
+ /// When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.
+ /// **Git LFS related fields**
+ /// This section includes details about Git LFS related fields that may be present in the Import Progress response.
+ /// * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.
+ /// * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.
+ /// * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.
+ /// * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsGetImportStatusAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs new file mode 100644 index 0000000000..879bffef5a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsGetLargeFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get large files
+ /// List files larger than 100MB found during the import
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> MigrationsGetLargeFilesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..cfe9f66aae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get a user migration status
+ /// Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:
+ /// * `pending` - the migration hasn't started yet.
+ /// * `exporting` - the migration is in progress.
+ /// * `exported` - the migration finished successfully.
+ /// * `failed` - the migration failed.
+ /// Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/migrations/users#download-a-user-migration-archive). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetStatusForAuthenticatedUserAsync( + int migrationId, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs new file mode 100644 index 0000000000..a8d584e29a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IMigrationsClient.MigrationsGetStatusForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get an organization migration status
+ /// Fetches the status of a migration.
+ /// The `state` of a migration can be one of the following values:
+ /// * `pending`, which means the migration hasn't started yet.
+ /// * `exporting`, which means the migration is in progress.
+ /// * `exported`, which means the migration finished successfully.
+ /// * `failed`, which means the migration failed. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetStatusForOrgAsync( + string org, + int migrationId, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ccf703b9ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List user migrations
+ /// Lists all migrations a user has started. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs new file mode 100644 index 0000000000..a0fb2f0624 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IMigrationsClient.MigrationsListForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List organization migrations
+ /// Lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).
+ /// A list of `repositories` is only returned for export migrations. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListForOrgAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6a20be9968 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List repositories for a user migration
+ /// Lists all the repositories for this user migration. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListReposForAuthenticatedUserAsync( + int migrationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs new file mode 100644 index 0000000000..c2509a4717 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IMigrationsClient.MigrationsListReposForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List repositories in an organization migration
+ /// List all the repositories for this organization migration. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListReposForOrgAsync( + string org, + int migrationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs new file mode 100644 index 0000000000..08c055fcfb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IMigrationsClient.MigrationsMapCommitAuthor.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Map a commit author
+ /// Update an author's identity for the import. Your application can continue updating authors any time before you push
+ /// new commits to the repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsMapCommitAuthorAsync( + string owner, + string repo, + int authorId, + global::G.MigrationsMapCommitAuthorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Map a commit author
+ /// Update an author's identity for the import. Your application can continue updating authors any time before you push
+ /// new commits to the repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// + /// The new Git author email. + /// + /// + /// The new Git author name. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsMapCommitAuthorAsync( + string owner, + string repo, + int authorId, + string? email = default, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs new file mode 100644 index 0000000000..6816e0daad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IMigrationsClient.MigrationsSetLfsPreference.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Update Git LFS preference
+ /// You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability
+ /// is powered by [Git LFS](https://git-lfs.com).
+ /// You can learn more about our LFS feature and working with large files [on our help
+ /// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsSetLfsPreferenceAsync( + string owner, + string repo, + global::G.MigrationsSetLfsPreferenceRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Git LFS preference
+ /// You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability
+ /// is powered by [Git LFS](https://git-lfs.com).
+ /// You can learn more about our LFS feature and working with large files [on our help
+ /// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// Whether to store large files during the import. `opt_in` means large files will be stored using Git LFS. `opt_out` means large files will be removed during the import. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsSetLfsPreferenceAsync( + string owner, + string repo, + global::G.MigrationsSetLfsPreferenceRequestUseLfs useLfs, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..8ed92b0e33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs @@ -0,0 +1,71 @@ +//HintName: G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start a user migration
+ /// Initiates the generation of a user migration archive. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForAuthenticatedUserAsync( + global::G.MigrationsStartForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start a user migration
+ /// Initiates the generation of a user migration archive. + ///
+ /// + /// Lock the repositories being migrated at the start of the migration
+ /// Example: true + /// + /// + /// Indicates whether metadata should be excluded and only git source should be included for the migration.
+ /// Example: true + /// + /// + /// Indicates whether the repository git data should be excluded from the migration.
+ /// Example: true + /// + /// + /// Do not include attachments in the migration
+ /// Example: true + /// + /// + /// Do not include releases in the migration
+ /// Example: true + /// + /// + /// Indicates whether projects owned by the organization or users should be excluded.
+ /// Example: true + /// + /// + /// Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Exclude attributes from the API response to improve performance
+ /// Example: [repositories] + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForAuthenticatedUserAsync( + global::System.Collections.Generic.IList repositories, + bool lockRepositories = default, + bool excludeMetadata = default, + bool excludeGitData = default, + bool excludeAttachments = default, + bool excludeReleases = default, + bool excludeOwnerProjects = default, + bool orgMetadataOnly = false, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs new file mode 100644 index 0000000000..38f9eb75ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.IMigrationsClient.MigrationsStartForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start an organization migration
+ /// Initiates the generation of a migration archive. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForOrgAsync( + string org, + global::G.MigrationsStartForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start an organization migration
+ /// Initiates the generation of a migration archive. + ///
+ /// + /// + /// A list of arrays indicating which repositories should be migrated. + /// + /// + /// Indicates whether repositories should be locked (to prevent manipulation) while migrating data.
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether metadata should be excluded and only git source should be included for the migration.
+ /// Default Value: false + /// + /// + /// Indicates whether the repository git data should be excluded from the migration.
+ /// Default Value: false + /// + /// + /// Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether releases should be excluded from the migration (to reduce migration archive file size).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether projects owned by the organization or users should be excluded. from the migration.
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Exclude related items from being returned in the response in order to improve performance of the request. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForOrgAsync( + string org, + global::System.Collections.Generic.IList repositories, + bool lockRepositories = false, + bool excludeMetadata = false, + bool excludeGitData = false, + bool excludeAttachments = false, + bool excludeReleases = false, + bool excludeOwnerProjects = false, + bool orgMetadataOnly = false, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs new file mode 100644 index 0000000000..06d4649a91 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IMigrationsClient.MigrationsStartImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start an import
+ /// Start a source import to a GitHub repository using GitHub Importer.
+ /// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
+ /// return a status `422 Unprocessable Entity` response.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsStartImportAsync( + string owner, + string repo, + global::G.MigrationsStartImportRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start an import
+ /// Start a source import to a GitHub repository using GitHub Importer.
+ /// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
+ /// return a status `422 Unprocessable Entity` response.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The URL of the originating repository. + /// + /// + /// The originating VCS type. Without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response. + /// + /// + /// If authentication is required, the username to provide to `vcs_url`. + /// + /// + /// If authentication is required, the password to provide to `vcs_url`. + /// + /// + /// For a tfvc import, the name of the project that is being imported. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsStartImportAsync( + string owner, + string repo, + string vcsUrl, + global::G.MigrationsStartImportRequestVcs? vcs = default, + string? vcsUsername = default, + string? vcsPassword = default, + string? tfvcProject = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..0e5694d4c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Unlock a user repository
+ /// Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsUnlockRepoForAuthenticatedUserAsync( + int migrationId, + string repoName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs new file mode 100644 index 0000000000..cf0e0bafd6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Unlock an organization repository
+ /// Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsUnlockRepoForOrgAsync( + string org, + int migrationId, + string repoName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs new file mode 100644 index 0000000000..96fcf17ef2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IMigrationsClient.MigrationsUpdateImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Update an import
+ /// An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API
+ /// request. If no parameters are provided, the import will be restarted.
+ /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
+ /// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
+ /// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsUpdateImportAsync( + string owner, + string repo, + global::G.MigrationsUpdateImportRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an import
+ /// An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API
+ /// request. If no parameters are provided, the import will be restarted.
+ /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
+ /// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
+ /// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The username to provide to the originating repository. + /// + /// + /// The password to provide to the originating repository. + /// + /// + /// The type of version control system you are migrating from.
+ /// Example: "git" + /// + /// + /// For a tfvc import, the name of the project that is being imported.
+ /// Example: "project1" + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsUpdateImportAsync( + string owner, + string repo, + string? vcsUsername = default, + string? vcsPassword = default, + global::G.MigrationsUpdateImportRequestVcs? vcs = default, + string? tfvcProject = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.g.verified.cs new file mode 100644 index 0000000000..10bdc24b53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.IMigrationsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Move projects to or from GitHub.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMigrationsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.g.verified.cs index bc6c6b8a63..aaa6a249bc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MigrationsClient : global::System.IDisposable + public sealed partial class MigrationsClient : global::G.IMigrationsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.g.verified.cs index 40836e2c29..bf65e8ac6f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActionsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ActionsClient : global::System.IDisposable + public sealed partial class ActionsClient : global::G.IActionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.g.verified.cs index e73ff5e2f6..02fd28a55d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ActivityClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ActivityClient : global::System.IDisposable + public sealed partial class ActivityClient : global::G.IActivityClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Api.g.verified.cs index 91ffb57ea7..0d5fd96432 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.g.verified.cs index 62a76c77ae..d1c7dbfa71 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.AppsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AppsClient : global::System.IDisposable + public sealed partial class AppsClient : global::G.IAppsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.BillingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.BillingClient.g.verified.cs index cbae252a3d..53d6f79164 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.BillingClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.BillingClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class BillingClient : global::System.IDisposable + public sealed partial class BillingClient : global::G.IBillingClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.g.verified.cs index 162c0b02d3..92ce8c0ec0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ChecksClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChecksClient : global::System.IDisposable + public sealed partial class ChecksClient : global::G.IChecksClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ClassroomClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ClassroomClient.g.verified.cs index 4e865bf2c4..bc0dc75ab1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ClassroomClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ClassroomClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ClassroomClient : global::System.IDisposable + public sealed partial class ClassroomClient : global::G.IClassroomClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.g.verified.cs index 51f7a5b109..9302d8d0d0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodeScanningClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CodeScanningClient : global::System.IDisposable + public sealed partial class CodeScanningClient : global::G.ICodeScanningClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodesOfConductClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodesOfConductClient.g.verified.cs index 0fde9b2277..159278efd5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodesOfConductClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodesOfConductClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CodesOfConductClient : global::System.IDisposable + public sealed partial class CodesOfConductClient : global::G.ICodesOfConductClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodespacesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodespacesClient.g.verified.cs index 3cdb2543d7..71443f8c21 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodespacesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CodespacesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CodespacesClient : global::System.IDisposable + public sealed partial class CodespacesClient : global::G.ICodespacesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.g.verified.cs index c9bf6a30a2..2866172eaa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.CopilotClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CopilotClient : global::System.IDisposable + public sealed partial class CopilotClient : global::G.ICopilotClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DependabotClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DependabotClient.g.verified.cs index ccba41e250..aceb519d37 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DependabotClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DependabotClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DependabotClient : global::System.IDisposable + public sealed partial class DependabotClient : global::G.IDependabotClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DependencyGraphClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DependencyGraphClient.g.verified.cs index 43ada64b4f..efeb11a6d5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DependencyGraphClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DependencyGraphClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DependencyGraphClient : global::System.IDisposable + public sealed partial class DependencyGraphClient : global::G.IDependencyGraphClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DesktopClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DesktopClient.g.verified.cs index 4e7ff435f1..b76259aa33 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DesktopClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.DesktopClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DesktopClient : global::System.IDisposable + public sealed partial class DesktopClient : global::G.IDesktopClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.EmojisClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.EmojisClient.g.verified.cs index c6b3692ca4..4eb994e5e7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.EmojisClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.EmojisClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EmojisClient : global::System.IDisposable + public sealed partial class EmojisClient : global::G.IEmojisClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.EnterpriseTeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.EnterpriseTeamsClient.g.verified.cs index caaa6e16b1..184a92dcfc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.EnterpriseTeamsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.EnterpriseTeamsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EnterpriseTeamsClient : global::System.IDisposable + public sealed partial class EnterpriseTeamsClient : global::G.IEnterpriseTeamsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.g.verified.cs index 8b82f6a125..2e79adcc22 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GistsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GistsClient : global::System.IDisposable + public sealed partial class GistsClient : global::G.IGistsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.g.verified.cs index d1dfb0a49a..469d068cd0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GitClient : global::System.IDisposable + public sealed partial class GitClient : global::G.IGitClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitignoreClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitignoreClient.g.verified.cs index 099756505f..b5b102fc13 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitignoreClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.GitignoreClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GitignoreClient : global::System.IDisposable + public sealed partial class GitignoreClient : global::G.IGitignoreClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..d0248f85c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add custom labels to a self-hosted runner for an organization
+ /// Adds custom labels to a self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddCustomLabelsToSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::G.ActionsAddCustomLabelsToSelfHostedRunnerForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add custom labels to a self-hosted runner for an organization
+ /// Adds custom labels to a self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The names of the custom labels to add to the runner. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddCustomLabelsToSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::System.Collections.Generic.IList labels, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..750bb3c54e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add custom labels to a self-hosted runner for a repository
+ /// Adds custom labels to a self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddCustomLabelsToSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::G.ActionsAddCustomLabelsToSelfHostedRunnerForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add custom labels to a self-hosted runner for a repository
+ /// Adds custom labels to a self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The names of the custom labels to add to the runner. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddCustomLabelsToSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Collections.Generic.IList labels, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgSecret.g.verified.cs new file mode 100644 index 0000000000..b37ae330bc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgSecret.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsAddSelectedRepoToOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add selected repository to an organization secret
+ /// Adds a repository to an organization secret when the `visibility` for
+ /// repository access is set to `selected`. For more information about setting the visibility, see [Create or
+ /// update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddSelectedRepoToOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgVariable.g.verified.cs new file mode 100644 index 0000000000..11460641b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgVariable.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsAddSelectedRepoToOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add selected repository to an organization variable
+ /// Adds a repository to an organization variable that is available to selected repositories.
+ /// Organization variables that are available to selected repositories have their `visibility` field set to `selected`.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddSelectedRepoToOrgVariableAsync( + string org, + string name, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsApproveWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsApproveWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..dee8429c2e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsApproveWorkflowRun.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsApproveWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Approve a workflow run for a fork pull request
+ /// Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see ["Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)."
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsApproveWorkflowRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCancelWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCancelWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..a70de6efe2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCancelWorkflowRun.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsCancelWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Cancel a workflow run
+ /// Cancels a workflow run using its `id`.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCancelWorkflowRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateEnvironmentVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateEnvironmentVariable.g.verified.cs new file mode 100644 index 0000000000..f2b4230985 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateEnvironmentVariable.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IActionsClient.ActionsCreateEnvironmentVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create an environment variable
+ /// Create an environment variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateEnvironmentVariableAsync( + string owner, + string repo, + string environmentName, + global::G.ActionsCreateEnvironmentVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an environment variable
+ /// Create an environment variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateEnvironmentVariableAsync( + string owner, + string repo, + string environmentName, + string name, + string value, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateEnvironmentSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateEnvironmentSecret.g.verified.cs new file mode 100644 index 0000000000..e60c943238 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateEnvironmentSecret.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IActionsClient.ActionsCreateOrUpdateEnvironmentSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create or update an environment secret
+ /// Creates or updates an environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateEnvironmentSecretAsync( + string owner, + string repo, + string environmentName, + string secretName, + global::G.ActionsCreateOrUpdateEnvironmentSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update an environment secret
+ /// Creates or updates an environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/rest/actions/secrets#get-an-environment-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateEnvironmentSecretAsync( + string owner, + string repo, + string environmentName, + string secretName, + string encryptedValue, + string keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateOrgSecret.g.verified.cs new file mode 100644 index 0000000000..050e3545a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateOrgSecret.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IActionsClient.ActionsCreateOrUpdateOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create or update an organization secret
+ /// Creates or updates an organization secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.ActionsCreateOrUpdateOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update an organization secret
+ /// Creates or updates an organization secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/actions/secrets#get-an-organization-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// + /// Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret. + /// + /// + /// 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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.ActionsCreateOrUpdateOrgSecretRequestVisibility visibility, + string? encryptedValue = default, + string? keyId = default, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateRepoSecret.g.verified.cs new file mode 100644 index 0000000000..4bd8c73b4e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrUpdateRepoSecret.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IActionsClient.ActionsCreateOrUpdateRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create or update a repository secret
+ /// Creates or updates a repository secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + global::G.ActionsCreateOrUpdateRepoSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update a repository secret
+ /// Creates or updates a repository secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/actions/secrets#get-a-repository-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + string? encryptedValue = default, + string? keyId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrgVariable.g.verified.cs new file mode 100644 index 0000000000..df0d64b238 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateOrgVariable.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IActionsClient.ActionsCreateOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create an organization variable
+ /// Creates an organization variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrgVariableAsync( + string org, + global::G.ActionsCreateOrgVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization variable
+ /// Creates an organization variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// + /// The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable. + /// + /// + /// An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrgVariableAsync( + string org, + string name, + string value, + global::G.ActionsCreateOrgVariableRequestVisibility visibility, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForOrg.g.verified.cs new file mode 100644 index 0000000000..a7539f0e8e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForOrg.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsCreateRegistrationTokenForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a registration token for an organization
+ /// Returns a token that you can pass to the `config` script. The token expires after one hour.
+ /// For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to configure your self-hosted runner:
+ /// ```
+ /// ./config.sh --url https://github.com/octo-org --token TOKEN
+ /// ```
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRegistrationTokenForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForRepo.g.verified.cs new file mode 100644 index 0000000000..dd5e08d549 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForRepo.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsCreateRegistrationTokenForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a registration token for a repository
+ /// Returns a token that you can pass to the `config` script. The token expires after one hour.
+ /// For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to configure your self-hosted runner:
+ /// ```
+ /// ./config.sh --url https://github.com/octo-org --token TOKEN
+ /// ```
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRegistrationTokenForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRemoveTokenForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRemoveTokenForOrg.g.verified.cs new file mode 100644 index 0000000000..f5b33a7ab4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRemoveTokenForOrg.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsCreateRemoveTokenForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a remove token for an organization
+ /// Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.
+ /// For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to remove your self-hosted runner from an organization:
+ /// ```
+ /// ./config.sh remove --token TOKEN
+ /// ```
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRemoveTokenForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRemoveTokenForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRemoveTokenForRepo.g.verified.cs new file mode 100644 index 0000000000..1b56a34444 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRemoveTokenForRepo.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsCreateRemoveTokenForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a remove token for a repository
+ /// Returns a token that you can pass to the `config` script to remove a self-hosted runner from an repository. The token expires after one hour.
+ /// For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to remove your self-hosted runner from an organization:
+ /// ```
+ /// ./config.sh remove --token TOKEN
+ /// ```
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRemoveTokenForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRepoVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRepoVariable.g.verified.cs new file mode 100644 index 0000000000..ec0151ea7d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateRepoVariable.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IActionsClient.ActionsCreateRepoVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a repository variable
+ /// Creates a repository variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRepoVariableAsync( + string owner, + string repo, + global::G.ActionsCreateRepoVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository variable
+ /// Creates a repository variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRepoVariableAsync( + string owner, + string repo, + string name, + string value, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateWorkflowDispatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateWorkflowDispatch.g.verified.cs new file mode 100644 index 0000000000..05929ef925 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsCreateWorkflowDispatch.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IActionsClient.ActionsCreateWorkflowDispatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a workflow dispatch event
+ /// You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
+ /// You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)."
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateWorkflowDispatchAsync( + string owner, + string repo, + global::G.OneOf workflowId, + global::G.ActionsCreateWorkflowDispatchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a workflow dispatch event
+ /// You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
+ /// You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)."
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The git reference for the workflow. The reference can be a branch or tag name. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateWorkflowDispatchAsync( + string owner, + string repo, + global::G.OneOf workflowId, + string @ref, + global::G.ActionsCreateWorkflowDispatchRequestInputs? inputs = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteActionsCacheById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteActionsCacheById.g.verified.cs new file mode 100644 index 0000000000..632ffacbc6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteActionsCacheById.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsDeleteActionsCacheById.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a GitHub Actions cache for a repository (using a cache ID)
+ /// Deletes a GitHub Actions cache for a repository, using a cache ID.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteActionsCacheByIdAsync( + string owner, + string repo, + int cacheId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteActionsCacheByKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteActionsCacheByKey.g.verified.cs new file mode 100644 index 0000000000..afe39a7ac2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteActionsCacheByKey.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsDeleteActionsCacheByKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete GitHub Actions caches for a repository (using a cache key)
+ /// Deletes one or more GitHub Actions caches for a repository, using a complete cache key. By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteActionsCacheByKeyAsync( + string owner, + string repo, + string key, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteArtifact.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteArtifact.g.verified.cs new file mode 100644 index 0000000000..d8ed6eefa9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteArtifact.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsDeleteArtifact.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete an artifact
+ /// Deletes an artifact for a workflow run.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteArtifactAsync( + string owner, + string repo, + int artifactId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteEnvironmentSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteEnvironmentSecret.g.verified.cs new file mode 100644 index 0000000000..6f4e0418a2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteEnvironmentSecret.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsDeleteEnvironmentSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete an environment secret
+ /// Deletes a secret in an environment using the secret name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteEnvironmentSecretAsync( + string owner, + string repo, + string environmentName, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteEnvironmentVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteEnvironmentVariable.g.verified.cs new file mode 100644 index 0000000000..78725ae037 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteEnvironmentVariable.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsDeleteEnvironmentVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete an environment variable
+ /// Deletes an environment variable using the variable name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteEnvironmentVariableAsync( + string owner, + string repo, + string name, + string environmentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteOrgSecret.g.verified.cs new file mode 100644 index 0000000000..d19e745569 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteOrgSecret.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsDeleteOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete an organization secret
+ /// Deletes a secret in an organization using the secret name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteOrgVariable.g.verified.cs new file mode 100644 index 0000000000..97fc86fbce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteOrgVariable.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsDeleteOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete an organization variable
+ /// Deletes an organization variable using the variable name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteOrgVariableAsync( + string org, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteRepoSecret.g.verified.cs new file mode 100644 index 0000000000..19df4a291a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteRepoSecret.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsDeleteRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a repository secret
+ /// Deletes a secret in a repository using the secret name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteRepoVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteRepoVariable.g.verified.cs new file mode 100644 index 0000000000..c74d33944e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteRepoVariable.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsDeleteRepoVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a repository variable
+ /// Deletes a repository variable using the variable name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteRepoVariableAsync( + string owner, + string repo, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromOrg.g.verified.cs new file mode 100644 index 0000000000..d35b781bfd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsDeleteSelfHostedRunnerFromOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a self-hosted runner from an organization
+ /// Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteSelfHostedRunnerFromOrgAsync( + string org, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromRepo.g.verified.cs new file mode 100644 index 0000000000..ac7dd22631 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromRepo.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsDeleteSelfHostedRunnerFromRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a self-hosted runner from a repository
+ /// Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteSelfHostedRunnerFromRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..2bbbdc4368 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteWorkflowRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsDeleteWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a workflow run
+ /// Deletes a specific workflow run.
+ /// Anyone with write access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteWorkflowRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteWorkflowRunLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteWorkflowRunLogs.g.verified.cs new file mode 100644 index 0000000000..4f9ef5bbda --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDeleteWorkflowRunLogs.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsDeleteWorkflowRunLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete workflow run logs
+ /// Deletes all logs for a workflow run.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteWorkflowRunLogsAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDisableSelectedRepositoryGithubActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDisableSelectedRepositoryGithubActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..b8bfeece49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDisableSelectedRepositoryGithubActionsOrganization.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsDisableSelectedRepositoryGithubActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Disable a selected repository for GitHub Actions in an organization
+ /// Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDisableSelectedRepositoryGithubActionsOrganizationAsync( + string org, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDisableWorkflow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDisableWorkflow.g.verified.cs new file mode 100644 index 0000000000..fb10e641a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDisableWorkflow.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsDisableWorkflow.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Disable a workflow
+ /// Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDisableWorkflowAsync( + string owner, + string repo, + global::G.OneOf workflowId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadArtifact.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadArtifact.g.verified.cs new file mode 100644 index 0000000000..2a6231731c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadArtifact.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsDownloadArtifact.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Download an artifact
+ /// Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in
+ /// the response header to find the URL for the download. The `:archive_format` must be `zip`.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDownloadArtifactAsync( + string owner, + string repo, + int artifactId, + string archiveFormat, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadJobLogsForWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadJobLogsForWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..56dfd52a75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadJobLogsForWorkflowRun.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsDownloadJobLogsForWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Download job logs for a workflow run
+ /// Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look
+ /// for `Location:` in the response header to find the URL for the download.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDownloadJobLogsForWorkflowRunAsync( + string owner, + string repo, + int jobId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadWorkflowRunAttemptLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadWorkflowRunAttemptLogs.g.verified.cs new file mode 100644 index 0000000000..e0159cf35f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadWorkflowRunAttemptLogs.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IActionsClient.ActionsDownloadWorkflowRunAttemptLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Download workflow run attempt logs
+ /// Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after
+ /// 1 minute. Look for `Location:` in the response header to find the URL for the download.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDownloadWorkflowRunAttemptLogsAsync( + string owner, + string repo, + int runId, + int attemptNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadWorkflowRunLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadWorkflowRunLogs.g.verified.cs new file mode 100644 index 0000000000..ae76ca2e7a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsDownloadWorkflowRunLogs.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsDownloadWorkflowRunLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Download workflow run logs
+ /// Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for
+ /// `Location:` in the response header to find the URL for the download.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDownloadWorkflowRunLogsAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsEnableSelectedRepositoryGithubActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsEnableSelectedRepositoryGithubActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..a59672a15c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsEnableSelectedRepositoryGithubActionsOrganization.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsEnableSelectedRepositoryGithubActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Enable a selected repository for GitHub Actions in an organization
+ /// Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsEnableSelectedRepositoryGithubActionsOrganizationAsync( + string org, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsEnableWorkflow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsEnableWorkflow.g.verified.cs new file mode 100644 index 0000000000..a218f31a0c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsEnableWorkflow.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsEnableWorkflow.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Enable a workflow
+ /// Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsEnableWorkflowAsync( + string owner, + string repo, + global::G.OneOf workflowId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsForceCancelWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsForceCancelWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..133db5192f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsForceCancelWorkflowRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsForceCancelWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Force cancel a workflow run
+ /// Cancels a workflow run and bypasses conditions that would otherwise cause a workflow execution to continue, such as an `always()` condition on a job.
+ /// You should only use this endpoint to cancel a workflow run when the workflow run is not responding to [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel`](/rest/actions/workflow-runs#cancel-a-workflow-run).
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsForceCancelWorkflowRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForOrg.g.verified.cs new file mode 100644 index 0000000000..48a829b619 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForOrg.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IActionsClient.ActionsGenerateRunnerJitconfigForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create configuration for a just-in-time runner for an organization
+ /// Generates a configuration that can be passed to the runner application at startup.
+ /// The authenticated user must have admin access to the organization.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGenerateRunnerJitconfigForOrgAsync( + string org, + global::G.ActionsGenerateRunnerJitconfigForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create configuration for a just-in-time runner for an organization
+ /// Generates a configuration that can be passed to the runner application at startup.
+ /// The authenticated user must have admin access to the organization.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The name of the new runner. + /// + /// + /// The ID of the runner group to register the runner to. + /// + /// + /// The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. + /// + /// + /// The working directory to be used for job execution, relative to the runner install directory.
+ /// Default Value: _work + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGenerateRunnerJitconfigForOrgAsync( + string org, + string name, + int runnerGroupId, + global::System.Collections.Generic.IList labels, + string? workFolder = "_work", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForRepo.g.verified.cs new file mode 100644 index 0000000000..f4260d2017 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForRepo.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.IActionsClient.ActionsGenerateRunnerJitconfigForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create configuration for a just-in-time runner for a repository
+ /// Generates a configuration that can be passed to the runner application at startup.
+ /// The authenticated user must have admin access to the repository.
+ /// OAuth tokens and personal access tokens (classic) need the`repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGenerateRunnerJitconfigForRepoAsync( + string owner, + string repo, + global::G.ActionsGenerateRunnerJitconfigForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create configuration for a just-in-time runner for a repository
+ /// Generates a configuration that can be passed to the runner application at startup.
+ /// The authenticated user must have admin access to the repository.
+ /// OAuth tokens and personal access tokens (classic) need the`repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The name of the new runner. + /// + /// + /// The ID of the runner group to register the runner to. + /// + /// + /// The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. + /// + /// + /// The working directory to be used for job execution, relative to the runner install directory.
+ /// Default Value: _work + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGenerateRunnerJitconfigForRepoAsync( + string owner, + string repo, + string name, + int runnerGroupId, + global::System.Collections.Generic.IList labels, + string? workFolder = "_work", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheList.g.verified.cs new file mode 100644 index 0000000000..60aedfcf11 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheList.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IActionsClient.ActionsGetActionsCacheList.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List GitHub Actions caches for a repository
+ /// Lists the GitHub Actions caches for a repository.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// + /// Default Value: last_accessed_at + /// + /// + /// Default Value: desc + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetActionsCacheListAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + string? @ref = default, + string? key = default, + global::G.ActionsGetActionsCacheListSort? sort = global::G.ActionsGetActionsCacheListSort.LastAccessedAt, + global::G.ActionsGetActionsCacheListDirection? direction = global::G.ActionsGetActionsCacheListDirection.Desc, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsage.g.verified.cs new file mode 100644 index 0000000000..8854993868 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsage.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsGetActionsCacheUsage.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get GitHub Actions cache usage for a repository
+ /// Gets GitHub Actions cache usage for a repository.
+ /// The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetActionsCacheUsageAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsageByRepoForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsageByRepoForOrg.g.verified.cs new file mode 100644 index 0000000000..2dfab2e6fd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsageByRepoForOrg.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActionsClient.ActionsGetActionsCacheUsageByRepoForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repositories with GitHub Actions cache usage for an organization
+ /// Lists repositories and their GitHub Actions cache usage for an organization.
+ /// The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.
+ /// OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetActionsCacheUsageByRepoForOrgAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsageForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsageForOrg.g.verified.cs new file mode 100644 index 0000000000..5529287c53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetActionsCacheUsageForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActionsClient.ActionsGetActionsCacheUsageForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get GitHub Actions cache usage for an organization
+ /// Gets the total GitHub Actions cache usage for an organization.
+ /// The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.
+ /// OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetActionsCacheUsageForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetAllowedActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetAllowedActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..5f10edc1eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetAllowedActionsOrganization.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IActionsClient.ActionsGetAllowedActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get allowed actions and reusable workflows for an organization
+ /// Gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetAllowedActionsOrganizationAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetAllowedActionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetAllowedActionsRepository.g.verified.cs new file mode 100644 index 0000000000..8227bb2f49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetAllowedActionsRepository.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetAllowedActionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get allowed actions and reusable workflows for a repository
+ /// Gets the settings for selected actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetAllowedActionsRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetArtifact.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetArtifact.g.verified.cs new file mode 100644 index 0000000000..321d0d424b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetArtifact.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetArtifact.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an artifact
+ /// Gets a specific artifact for a workflow run.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetArtifactAsync( + string owner, + string repo, + int artifactId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetCustomOidcSubClaimForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetCustomOidcSubClaimForRepo.g.verified.cs new file mode 100644 index 0000000000..db1969078b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetCustomOidcSubClaimForRepo.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetCustomOidcSubClaimForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get the customization template for an OIDC subject claim for a repository
+ /// Gets the customization template for an OpenID Connect (OIDC) subject claim.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetCustomOidcSubClaimForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentPublicKey.g.verified.cs new file mode 100644 index 0000000000..1272c2e762 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentPublicKey.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsGetEnvironmentPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an environment public key
+ /// Get the public key for an environment, which you need to encrypt environment
+ /// secrets. You need to encrypt a secret before you can create or update secrets.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetEnvironmentPublicKeyAsync( + string owner, + string repo, + string environmentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentSecret.g.verified.cs new file mode 100644 index 0000000000..c8e544dfb3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentSecret.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsGetEnvironmentSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an environment secret
+ /// Gets a single environment secret without revealing its encrypted value.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetEnvironmentSecretAsync( + string owner, + string repo, + string environmentName, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentVariable.g.verified.cs new file mode 100644 index 0000000000..51479ff37b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetEnvironmentVariable.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsGetEnvironmentVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an environment variable
+ /// Gets a specific variable in an environment.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetEnvironmentVariableAsync( + string owner, + string repo, + string environmentName, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs new file mode 100644 index 0000000000..96435f71e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get default workflow permissions for an organization
+ /// Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,
+ /// as well as whether GitHub Actions can submit approving pull request reviews. For more information, see
+ /// "[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetGithubActionsDefaultWorkflowPermissionsOrganizationAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs new file mode 100644 index 0000000000..5ef8c2be9e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get default workflow permissions for a repository
+ /// Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository,
+ /// as well as if GitHub Actions can submit approving pull request reviews.
+ /// For more information, see "[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)."
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetGithubActionsDefaultWorkflowPermissionsRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsOrganization.g.verified.cs new file mode 100644 index 0000000000..6546c7a04f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsOrganization.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IActionsClient.ActionsGetGithubActionsPermissionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get GitHub Actions permissions for an organization
+ /// Gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetGithubActionsPermissionsOrganizationAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsRepository.g.verified.cs new file mode 100644 index 0000000000..4bfa19595d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsRepository.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetGithubActionsPermissionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get GitHub Actions permissions for a repository
+ /// Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions and reusable workflows allowed to run in the repository.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetGithubActionsPermissionsRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetJobForWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetJobForWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..2e3a42ad42 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetJobForWorkflowRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetJobForWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a job for a workflow run
+ /// Gets a specific job in a workflow run.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetJobForWorkflowRunAsync( + string owner, + string repo, + int jobId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgPublicKey.g.verified.cs new file mode 100644 index 0000000000..4be1271dcd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgPublicKey.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetOrgPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an organization public key
+ /// Gets your public key, which you need to encrypt secrets. You need to
+ /// encrypt a secret before you can create or update secrets.
+ /// The authenticated user must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetOrgPublicKeyAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgSecret.g.verified.cs new file mode 100644 index 0000000000..e05ede64c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgSecret.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsGetOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an organization secret
+ /// Gets a single organization secret without revealing its encrypted value.
+ /// The authenticated user must have collaborator access to a repository to create, update, or read secrets
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgVariable.g.verified.cs new file mode 100644 index 0000000000..f1ecfea067 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetOrgVariable.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsGetOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an organization variable
+ /// Gets a specific variable in an organization.
+ /// The authenticated user must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetOrgVariableAsync( + string org, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetPendingDeploymentsForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetPendingDeploymentsForRun.g.verified.cs new file mode 100644 index 0000000000..08778402c5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetPendingDeploymentsForRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetPendingDeploymentsForRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get pending deployments for a workflow run
+ /// Get all deployment environments for a workflow run that are waiting for protection rules to pass.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsGetPendingDeploymentsForRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoPublicKey.g.verified.cs new file mode 100644 index 0000000000..c001c49957 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoPublicKey.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsGetRepoPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a repository public key
+ /// Gets your public key, which you need to encrypt secrets. You need to
+ /// encrypt a secret before you can create or update secrets.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetRepoPublicKeyAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoSecret.g.verified.cs new file mode 100644 index 0000000000..b68a83113c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoSecret.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a repository secret
+ /// Gets a single repository secret without revealing its encrypted value.
+ /// The authenticated user must have collaborator access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoVariable.g.verified.cs new file mode 100644 index 0000000000..40f972c6a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetRepoVariable.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetRepoVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a repository variable
+ /// Gets a specific variable in a repository.
+ /// The authenticated user must have collaborator access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetRepoVariableAsync( + string owner, + string repo, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetReviewsForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetReviewsForRun.g.verified.cs new file mode 100644 index 0000000000..0862a2a448 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetReviewsForRun.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsGetReviewsForRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get the review history for a workflow run
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsGetReviewsForRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..1eff534595 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsGetSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a self-hosted runner for an organization
+ /// Gets a specific self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..6b468f88ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a self-hosted runner for a repository
+ /// Gets a specific self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflow.g.verified.cs new file mode 100644 index 0000000000..5d035db797 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflow.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsGetWorkflow.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a workflow
+ /// Gets a specific workflow. You can replace `workflow_id` with the workflow
+ /// file name. For example, you could use `main.yaml`.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowAsync( + string owner, + string repo, + global::G.OneOf workflowId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowAccessToRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowAccessToRepository.g.verified.cs new file mode 100644 index 0000000000..50504a0d91 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowAccessToRepository.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsGetWorkflowAccessToRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get the level of access for workflows outside of the repository
+ /// Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.
+ /// This endpoint only applies to private repositories.
+ /// For more information, see "[Allowing access to components in a private repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowAccessToRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..141bc71704 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRun.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActionsClient.ActionsGetWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a workflow run
+ /// Gets a specific workflow run.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowRunAsync( + string owner, + string repo, + int runId, + bool excludePullRequests = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRunAttempt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRunAttempt.g.verified.cs new file mode 100644 index 0000000000..5bae0c881a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRunAttempt.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActionsClient.ActionsGetWorkflowRunAttempt.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a workflow run attempt
+ /// Gets a specific workflow run attempt.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowRunAttemptAsync( + string owner, + string repo, + int runId, + int attemptNumber, + bool excludePullRequests = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRunUsage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRunUsage.g.verified.cs new file mode 100644 index 0000000000..ec0899a501 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowRunUsage.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetWorkflowRunUsage.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get workflow run usage
+ /// Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowRunUsageAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowUsage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowUsage.g.verified.cs new file mode 100644 index 0000000000..f0e77c9b65 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsGetWorkflowUsage.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsGetWorkflowUsage.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get workflow usage
+ /// Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
+ /// You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowUsageAsync( + string owner, + string repo, + global::G.OneOf workflowId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListArtifactsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListArtifactsForRepo.g.verified.cs new file mode 100644 index 0000000000..61aae36455 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListArtifactsForRepo.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IActionsClient.ActionsListArtifactsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List artifacts for a repository
+ /// Lists all artifacts for a repository.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListArtifactsForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListEnvironmentSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListEnvironmentSecrets.g.verified.cs new file mode 100644 index 0000000000..66ad835cc2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListEnvironmentSecrets.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IActionsClient.ActionsListEnvironmentSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List environment secrets
+ /// Lists all secrets available in an environment without revealing their
+ /// encrypted values.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListEnvironmentSecretsAsync( + string owner, + string repo, + string environmentName, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListEnvironmentVariables.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListEnvironmentVariables.g.verified.cs new file mode 100644 index 0000000000..91196eb559 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListEnvironmentVariables.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IActionsClient.ActionsListEnvironmentVariables.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List environment variables
+ /// Lists all environment variables.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 10 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListEnvironmentVariablesAsync( + string owner, + string repo, + string environmentName, + int perPage = 10, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListJobsForWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListJobsForWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..ddae5e911e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListJobsForWorkflowRun.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IActionsClient.ActionsListJobsForWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List jobs for a workflow run
+ /// Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information
+ /// about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: latest + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListJobsForWorkflowRunAsync( + string owner, + string repo, + int runId, + global::G.ActionsListJobsForWorkflowRunFilter? filter = global::G.ActionsListJobsForWorkflowRunFilter.Latest, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListJobsForWorkflowRunAttempt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListJobsForWorkflowRunAttempt.g.verified.cs new file mode 100644 index 0000000000..f0a9351431 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListJobsForWorkflowRunAttempt.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IActionsClient.ActionsListJobsForWorkflowRunAttempt.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List jobs for a workflow run attempt
+ /// Lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more information
+ /// about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListJobsForWorkflowRunAttemptAsync( + string owner, + string repo, + int runId, + int attemptNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..1fd4c81b94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List labels for a self-hosted runner for an organization
+ /// Lists all labels for a self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListLabelsForSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..14577edaeb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List labels for a self-hosted runner for a repository
+ /// Lists all labels for a self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListLabelsForSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListOrgSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListOrgSecrets.g.verified.cs new file mode 100644 index 0000000000..bb847d5c1c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListOrgSecrets.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IActionsClient.ActionsListOrgSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List organization secrets
+ /// Lists all secrets available in an organization without revealing their
+ /// encrypted values.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListOrgSecretsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListOrgVariables.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListOrgVariables.g.verified.cs new file mode 100644 index 0000000000..7b012ca9a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListOrgVariables.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActionsClient.ActionsListOrgVariables.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List organization variables
+ /// Lists all organization variables.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// Default Value: 10 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListOrgVariablesAsync( + string org, + int perPage = 10, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoOrganizationSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoOrganizationSecrets.g.verified.cs new file mode 100644 index 0000000000..476cc98aee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoOrganizationSecrets.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IActionsClient.ActionsListRepoOrganizationSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository organization secrets
+ /// Lists all organization secrets shared with a repository without revealing their encrypted
+ /// values.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoOrganizationSecretsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoOrganizationVariables.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoOrganizationVariables.g.verified.cs new file mode 100644 index 0000000000..40a7d0054b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoOrganizationVariables.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActionsClient.ActionsListRepoOrganizationVariables.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository organization variables
+ /// Lists all organization variables shared with a repository.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 10 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoOrganizationVariablesAsync( + string owner, + string repo, + int perPage = 10, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoSecrets.g.verified.cs new file mode 100644 index 0000000000..aed76f9210 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoSecrets.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IActionsClient.ActionsListRepoSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository secrets
+ /// Lists all secrets available in a repository without revealing their encrypted
+ /// values.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoSecretsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoVariables.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoVariables.g.verified.cs new file mode 100644 index 0000000000..48f7413b2a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoVariables.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActionsClient.ActionsListRepoVariables.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository variables
+ /// Lists all repository variables.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 10 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoVariablesAsync( + string owner, + string repo, + int perPage = 10, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoWorkflows.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoWorkflows.g.verified.cs new file mode 100644 index 0000000000..612d15dfe2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRepoWorkflows.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActionsClient.ActionsListRepoWorkflows.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository workflows
+ /// Lists the workflows in a repository.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoWorkflowsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRunnerApplicationsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRunnerApplicationsForOrg.g.verified.cs new file mode 100644 index 0000000000..3cacca700b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRunnerApplicationsForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActionsClient.ActionsListRunnerApplicationsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List runner applications for an organization
+ /// Lists binaries for the runner application that you can download and run.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsListRunnerApplicationsForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRunnerApplicationsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRunnerApplicationsForRepo.g.verified.cs new file mode 100644 index 0000000000..ff567342f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListRunnerApplicationsForRepo.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsListRunnerApplicationsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List runner applications for a repository
+ /// Lists binaries for the runner application that you can download and run.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsListRunnerApplicationsForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..05c94e8946 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IActionsClient.ActionsListSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List selected repositories for an organization secret
+ /// Lists all repositories that have been selected when the `visibility`
+ /// for repository access to a secret is set to `selected`.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelectedReposForOrgSecretAsync( + string org, + string secretName, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedReposForOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedReposForOrgVariable.g.verified.cs new file mode 100644 index 0000000000..432d99e249 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedReposForOrgVariable.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IActionsClient.ActionsListSelectedReposForOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List selected repositories for an organization variable
+ /// Lists all repositories that can access an organization variable
+ /// that is available to selected repositories.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelectedReposForOrgVariableAsync( + string org, + string name, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..8c08c223cd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IActionsClient.ActionsListSelectedRepositoriesEnabledGithubActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List selected repositories enabled for GitHub Actions in an organization
+ /// Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForOrg.g.verified.cs new file mode 100644 index 0000000000..1021567c1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForOrg.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActionsClient.ActionsListSelfHostedRunnersForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List self-hosted runners for an organization
+ /// Lists all self-hosted runners configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelfHostedRunnersForOrgAsync( + string org, + string? name = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForRepo.g.verified.cs new file mode 100644 index 0000000000..a80f0994f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForRepo.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IActionsClient.ActionsListSelfHostedRunnersForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List self-hosted runners for a repository
+ /// Lists all self-hosted runners configured in a repository.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelfHostedRunnersForRepoAsync( + string owner, + string repo, + string? name = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRunArtifacts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRunArtifacts.g.verified.cs new file mode 100644 index 0000000000..4c607d9850 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRunArtifacts.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IActionsClient.ActionsListWorkflowRunArtifacts.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List workflow run artifacts
+ /// Lists artifacts for a workflow run.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListWorkflowRunArtifactsAsync( + string owner, + string repo, + int runId, + int perPage = 30, + int page = 1, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRuns.g.verified.cs new file mode 100644 index 0000000000..6617077f20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRuns.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IActionsClient.ActionsListWorkflowRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List workflow runs for a workflow
+ /// List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).
+ /// Anyone with read access to the repository can use this endpoint
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListWorkflowRunsAsync( + string owner, + string repo, + global::G.OneOf workflowId, + string? actor = default, + string? branch = default, + string? @event = default, + global::G.ActionsListWorkflowRunsStatus? status = default, + int perPage = 30, + int page = 1, + global::System.DateTime created = default, + bool excludePullRequests = false, + int checkSuiteId = default, + string? headSha = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRunsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRunsForRepo.g.verified.cs new file mode 100644 index 0000000000..f644b43838 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsListWorkflowRunsForRepo.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IActionsClient.ActionsListWorkflowRunsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List workflow runs for a repository
+ /// Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
+ /// This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListWorkflowRunsForRepoAsync( + string owner, + string repo, + string? actor = default, + string? branch = default, + string? @event = default, + global::G.ActionsListWorkflowRunsForRepoStatus? status = default, + int perPage = 30, + int page = 1, + global::System.DateTime created = default, + bool excludePullRequests = false, + int checkSuiteId = default, + string? headSha = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunJobForWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunJobForWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..f5e5cd2adb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunJobForWorkflowRun.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IActionsClient.ActionsReRunJobForWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Re-run a job from a workflow run
+ /// Re-run a job and its dependent jobs in a workflow run.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunJobForWorkflowRunAsync( + string owner, + string repo, + int jobId, + global::G.ActionsReRunJobForWorkflowRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Re-run a job from a workflow run
+ /// Re-run a job and its dependent jobs in a workflow run.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Whether to enable debug logging for the re-run.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunJobForWorkflowRunAsync( + string owner, + string repo, + int jobId, + bool enableDebugLogging = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunWorkflow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunWorkflow.g.verified.cs new file mode 100644 index 0000000000..66cbeeb9b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunWorkflow.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IActionsClient.ActionsReRunWorkflow.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Re-run a workflow
+ /// Re-runs your workflow run using its `id`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunWorkflowAsync( + string owner, + string repo, + int runId, + global::G.ActionsReRunWorkflowRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Re-run a workflow
+ /// Re-runs your workflow run using its `id`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Whether to enable debug logging for the re-run.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunWorkflowAsync( + string owner, + string repo, + int runId, + bool enableDebugLogging = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunWorkflowFailedJobs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunWorkflowFailedJobs.g.verified.cs new file mode 100644 index 0000000000..9ffe9e1179 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReRunWorkflowFailedJobs.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IActionsClient.ActionsReRunWorkflowFailedJobs.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Re-run failed jobs from a workflow run
+ /// Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunWorkflowFailedJobsAsync( + string owner, + string repo, + int runId, + global::G.ActionsReRunWorkflowFailedJobsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Re-run failed jobs from a workflow run
+ /// Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Whether to enable debug logging for the re-run.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunWorkflowFailedJobsAsync( + string owner, + string repo, + int runId, + bool enableDebugLogging = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..a20ab210a2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove all custom labels from a self-hosted runner for an organization
+ /// Remove all custom labels from a self-hosted runner configured in an
+ /// organization. Returns the remaining read-only labels from the runner.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..fb06d073ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove all custom labels from a self-hosted runner for a repository
+ /// Remove all custom labels from a self-hosted runner configured in a
+ /// repository. Returns the remaining read-only labels from the runner.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..dc3ad5d562 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove a custom label from a self-hosted runner for an organization
+ /// Remove a custom label from a self-hosted runner configured
+ /// in an organization. Returns the remaining labels from the runner.
+ /// This endpoint returns a `404 Not Found` status if the custom label is not
+ /// present on the runner.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveCustomLabelFromSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..4151074d76 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove a custom label from a self-hosted runner for a repository
+ /// Remove a custom label from a self-hosted runner configured
+ /// in a repository. Returns the remaining labels from the runner.
+ /// This endpoint returns a `404 Not Found` status if the custom label is not
+ /// present on the runner.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveCustomLabelFromSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgSecret.g.verified.cs new file mode 100644 index 0000000000..b8e636d4c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgSecret.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsRemoveSelectedRepoFromOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove selected repository from an organization secret
+ /// Removes a repository from an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveSelectedRepoFromOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgVariable.g.verified.cs new file mode 100644 index 0000000000..37ea6269b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgVariable.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsRemoveSelectedRepoFromOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove selected repository from an organization variable
+ /// Removes a repository from an organization variable that is
+ /// available to selected repositories. Organization variables that are available to
+ /// selected repositories have their `visibility` field set to `selected`.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveSelectedRepoFromOrgVariableAsync( + string org, + string name, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs new file mode 100644 index 0000000000..ed909fc187 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IActionsClient.ActionsReviewCustomGatesForRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Review custom deployment protection rules for a workflow run
+ /// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
+ /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
+ /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReviewCustomGatesForRunAsync( + string owner, + string repo, + int runId, + global::G.AnyOf request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Review custom deployment protection rules for a workflow run
+ /// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
+ /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
+ /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReviewCustomGatesForRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewPendingDeploymentsForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewPendingDeploymentsForRun.g.verified.cs new file mode 100644 index 0000000000..6f0c2aa5ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsReviewPendingDeploymentsForRun.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IActionsClient.ActionsReviewPendingDeploymentsForRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Review pending deployments for a workflow run
+ /// Approve or reject pending deployments that are waiting on approval by a required reviewer.
+ /// Required reviewers with read access to the repository contents and deployments can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsReviewPendingDeploymentsForRunAsync( + string owner, + string repo, + int runId, + global::G.ActionsReviewPendingDeploymentsForRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Review pending deployments for a workflow run
+ /// Approve or reject pending deployments that are waiting on approval by a required reviewer.
+ /// Required reviewers with read access to the repository contents and deployments can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The list of environment ids to approve or reject
+ /// Example: [161171787, 161171795] + /// + /// + /// Whether to approve or reject deployment to the specified environments.
+ /// Example: approved + /// + /// + /// A comment to accompany the deployment review
+ /// Example: Ship it! + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsReviewPendingDeploymentsForRunAsync( + string owner, + string repo, + int runId, + global::System.Collections.Generic.IList environmentIds, + global::G.ActionsReviewPendingDeploymentsForRunRequestState state, + string comment, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..4d64a3ccca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IActionsClient.ActionsSetAllowedActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set allowed actions and reusable workflows for an organization
+ /// Sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetAllowedActionsOrganizationAsync( + string org, + global::G.SelectedActions request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set allowed actions and reusable workflows for an organization
+ /// Sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization. + /// + /// + /// Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators. + /// + /// + /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
+ /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetAllowedActionsOrganizationAsync( + string org, + bool githubOwnedAllowed = default, + bool verifiedAllowed = default, + global::System.Collections.Generic.IList? patternsAllowed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs new file mode 100644 index 0000000000..bcf89ae06f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IActionsClient.ActionsSetAllowedActionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set allowed actions and reusable workflows for a repository
+ /// Sets the actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetAllowedActionsRepositoryAsync( + string owner, + string repo, + global::G.SelectedActions request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set allowed actions and reusable workflows for a repository
+ /// Sets the actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization. + /// + /// + /// Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators. + /// + /// + /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
+ /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetAllowedActionsRepositoryAsync( + string owner, + string repo, + bool githubOwnedAllowed = default, + bool verifiedAllowed = default, + global::System.Collections.Generic.IList? patternsAllowed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..e363f52128 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set custom labels for a self-hosted runner for an organization
+ /// Remove all previous custom labels and set the new custom labels for a specific
+ /// self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomLabelsForSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::G.ActionsSetCustomLabelsForSelfHostedRunnerForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set custom labels for a self-hosted runner for an organization
+ /// Remove all previous custom labels and set the new custom labels for a specific
+ /// self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomLabelsForSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::System.Collections.Generic.IList labels, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..404f4e3a0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set custom labels for a self-hosted runner for a repository
+ /// Remove all previous custom labels and set the new custom labels for a specific
+ /// self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomLabelsForSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::G.ActionsSetCustomLabelsForSelfHostedRunnerForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set custom labels for a self-hosted runner for a repository
+ /// Remove all previous custom labels and set the new custom labels for a specific
+ /// self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomLabelsForSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Collections.Generic.IList labels, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.verified.cs new file mode 100644 index 0000000000..6a98d3dc71 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set the customization template for an OIDC subject claim for a repository
+ /// Sets the customization template and `opt-in` or `opt-out` flag for an OpenID Connect (OIDC) subject claim for a repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomOidcSubClaimForRepoAsync( + string owner, + string repo, + global::G.ActionsSetCustomOidcSubClaimForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set the customization template for an OIDC subject claim for a repository
+ /// Sets the customization template and `opt-in` or `opt-out` flag for an OpenID Connect (OIDC) subject claim for a repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored. + /// + /// + /// Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomOidcSubClaimForRepoAsync( + string owner, + string repo, + bool useDefault, + global::System.Collections.Generic.IList? includeClaimKeys = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs new file mode 100644 index 0000000000..d5b6993fbd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set default workflow permissions for an organization
+ /// Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions
+ /// can submit approving pull request reviews. For more information, see
+ /// "[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsDefaultWorkflowPermissionsOrganizationAsync( + string org, + global::G.ActionsSetDefaultWorkflowPermissions request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set default workflow permissions for an organization
+ /// Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions
+ /// can submit approving pull request reviews. For more information, see
+ /// "[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The default workflow permissions granted to the GITHUB_TOKEN when running workflows. + /// + /// + /// Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsDefaultWorkflowPermissionsOrganizationAsync( + string org, + global::G.ActionsDefaultWorkflowPermissions? defaultWorkflowPermissions = default, + bool canApprovePullRequestReviews = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs new file mode 100644 index 0000000000..bbbf02c846 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set default workflow permissions for a repository
+ /// Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actions
+ /// can submit approving pull request reviews.
+ /// For more information, see "[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsDefaultWorkflowPermissionsRepositoryAsync( + string owner, + string repo, + global::G.ActionsSetDefaultWorkflowPermissions request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set default workflow permissions for a repository
+ /// Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actions
+ /// can submit approving pull request reviews.
+ /// For more information, see "[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The default workflow permissions granted to the GITHUB_TOKEN when running workflows. + /// + /// + /// Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsDefaultWorkflowPermissionsRepositoryAsync( + string owner, + string repo, + global::G.ActionsDefaultWorkflowPermissions? defaultWorkflowPermissions = default, + bool canApprovePullRequestReviews = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsOrganization.g.verified.cs new file mode 100644 index 0000000000..dcd4f4db5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsOrganization.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IActionsClient.ActionsSetGithubActionsPermissionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set GitHub Actions permissions for an organization
+ /// Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsPermissionsOrganizationAsync( + string org, + global::G.ActionsSetGithubActionsPermissionsOrganizationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set GitHub Actions permissions for an organization
+ /// Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The policy that controls the repositories in the organization that are allowed to run GitHub Actions. + /// + /// + /// The permissions policy that controls the actions and reusable workflows that are allowed to run. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsPermissionsOrganizationAsync( + string org, + global::G.EnabledRepositories enabledRepositories, + global::G.AllowedActions? allowedActions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsRepository.g.verified.cs new file mode 100644 index 0000000000..747b2b5c6e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsRepository.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IActionsClient.ActionsSetGithubActionsPermissionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set GitHub Actions permissions for a repository
+ /// Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions and reusable workflows in the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsPermissionsRepositoryAsync( + string owner, + string repo, + global::G.ActionsSetGithubActionsPermissionsRepositoryRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set GitHub Actions permissions for a repository
+ /// Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions and reusable workflows in the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Whether GitHub Actions is enabled on the repository. + /// + /// + /// The permissions policy that controls the actions and reusable workflows that are allowed to run. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsPermissionsRepositoryAsync( + string owner, + string repo, + bool enabled, + global::G.AllowedActions? allowedActions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..90cdae717a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IActionsClient.ActionsSetSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::G.ActionsSetSelectedReposForOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// 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 add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgVariable.g.verified.cs new file mode 100644 index 0000000000..fab36084c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgVariable.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IActionsClient.ActionsSetSelectedReposForOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set selected repositories for an organization variable
+ /// Replaces all repositories for an organization variable that is available
+ /// to selected repositories. Organization variables that are available to selected
+ /// repositories have their `visibility` field set to `selected`.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedReposForOrgVariableAsync( + string org, + string name, + global::G.ActionsSetSelectedReposForOrgVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories for an organization variable
+ /// Replaces all repositories for an organization variable that is available
+ /// to selected repositories. Organization variables that are available to selected
+ /// repositories have their `visibility` field set to `selected`.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The IDs of the repositories that can access the organization variable. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedReposForOrgVariableAsync( + string org, + string name, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..fed3c4deee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IActionsClient.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set selected repositories enabled for GitHub Actions in an organization
+ /// Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationAsync( + string org, + global::G.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories enabled for GitHub Actions in an organization
+ /// Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// List of repository IDs to enable for GitHub Actions. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationAsync( + string org, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetWorkflowAccessToRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetWorkflowAccessToRepository.g.verified.cs new file mode 100644 index 0000000000..93b0fc9416 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsSetWorkflowAccessToRepository.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IActionsClient.ActionsSetWorkflowAccessToRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set the level of access for workflows outside of the repository
+ /// Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.
+ /// This endpoint only applies to private repositories.
+ /// For more information, see "[Allowing access to components in a private repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)".
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetWorkflowAccessToRepositoryAsync( + string owner, + string repo, + global::G.ActionsWorkflowAccessToRepository request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set the level of access for workflows outside of the repository
+ /// Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.
+ /// This endpoint only applies to private repositories.
+ /// For more information, see "[Allowing access to components in a private repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)".
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the
+ /// repository.
+ /// `none` means the access is only possible from workflows in this repository. `user` level access allows sharing across user owned private repositories only. `organization` level access allows sharing across the organization. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetWorkflowAccessToRepositoryAsync( + string owner, + string repo, + global::G.ActionsWorkflowAccessToRepositoryAccessLevel accessLevel, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateEnvironmentVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateEnvironmentVariable.g.verified.cs new file mode 100644 index 0000000000..2be5809655 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateEnvironmentVariable.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IActionsClient.ActionsUpdateEnvironmentVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Update an environment variable
+ /// Updates an environment variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateEnvironmentVariableAsync( + string owner, + string repo, + string name, + string environmentName, + global::G.ActionsUpdateEnvironmentVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an environment variable
+ /// Updates an environment variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateEnvironmentVariableAsync( + string owner, + string repo, + string name, + string environmentName, + string? requestName = default, + string? value = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateOrgVariable.g.verified.cs new file mode 100644 index 0000000000..7a9dceb079 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateOrgVariable.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IActionsClient.ActionsUpdateOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Update an organization variable
+ /// Updates an organization variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateOrgVariableAsync( + string org, + string name, + global::G.ActionsUpdateOrgVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an organization variable
+ /// Updates an organization variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// + /// The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable. + /// + /// + /// An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateOrgVariableAsync( + string org, + string name, + string? requestName = default, + string? value = default, + global::G.ActionsUpdateOrgVariableRequestVisibility? visibility = default, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateRepoVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateRepoVariable.g.verified.cs new file mode 100644 index 0000000000..9e846e086e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.ActionsUpdateRepoVariable.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IActionsClient.ActionsUpdateRepoVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Update a repository variable
+ /// Updates a repository variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateRepoVariableAsync( + string owner, + string repo, + string name, + global::G.ActionsUpdateRepoVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository variable
+ /// Updates a repository variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateRepoVariableAsync( + string owner, + string repo, + string name, + string? requestName = default, + string? value = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.g.verified.cs new file mode 100644 index 0000000000..a9a800a1dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActionsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage GitHub Actions using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IActionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityCheckRepoIsStarredByAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityCheckRepoIsStarredByAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..96eaf13014 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityCheckRepoIsStarredByAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActivityClient.ActivityCheckRepoIsStarredByAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Check if a repository is starred by the authenticated user
+ /// Whether the authenticated user has starred the repository. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityCheckRepoIsStarredByAuthenticatedUserAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityDeleteRepoSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityDeleteRepoSubscription.g.verified.cs new file mode 100644 index 0000000000..a8a23b159b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityDeleteRepoSubscription.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActivityClient.ActivityDeleteRepoSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Delete a repository subscription
+ /// This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/rest/activity/watching#set-a-repository-subscription). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityDeleteRepoSubscriptionAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityDeleteThreadSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityDeleteThreadSubscription.g.verified.cs new file mode 100644 index 0000000000..0fc0de1f06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityDeleteThreadSubscription.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IActivityClient.ActivityDeleteThreadSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Delete a thread subscription
+ /// Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/rest/activity/notifications#set-a-thread-subscription) endpoint and set `ignore` to `true`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityDeleteThreadSubscriptionAsync( + int threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs new file mode 100644 index 0000000000..7f0a29758b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActivityClient.ActivityGetFeeds.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Get feeds
+ /// Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs.
+ /// * **Timeline**: The GitHub global public timeline
+ /// * **User**: The public timeline for any user, using `uri_template`. For more information, see "[Hypermedia](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."
+ /// * **Current user public**: The public timeline for the authenticated user
+ /// * **Current user**: The private timeline for the authenticated user
+ /// * **Current user actor**: The private timeline for activity created by the authenticated user
+ /// * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.
+ /// * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.
+ /// By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityGetFeedsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetRepoSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetRepoSubscription.g.verified.cs new file mode 100644 index 0000000000..cf785a2f88 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetRepoSubscription.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActivityClient.ActivityGetRepoSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Get a repository subscription
+ /// Gets information about whether the authenticated user is subscribed to the repository. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityGetRepoSubscriptionAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetThread.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetThread.g.verified.cs new file mode 100644 index 0000000000..15e52f2d31 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetThread.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IActivityClient.ActivityGetThread.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Get a thread
+ /// Gets information about a notification thread. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityGetThreadAsync( + int threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetThreadSubscriptionForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetThreadSubscriptionForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..c575dbb889 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityGetThreadSubscriptionForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IActivityClient.ActivityGetThreadSubscriptionForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Get a thread subscription for the authenticated user
+ /// This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/rest/activity/watching#get-a-repository-subscription).
+ /// Note that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityGetThreadSubscriptionForAuthenticatedUserAsync( + int threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..e053d1f939 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List events for the authenticated user
+ /// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListEventsForAuthenticatedUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListNotificationsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListNotificationsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..df567961c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListNotificationsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IActivityClient.ActivityListNotificationsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List notifications for the authenticated user
+ /// List all notifications for the current user, sorted by most recently updated. + ///
+ /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 50 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListNotificationsForAuthenticatedUserAsync( + bool all = false, + bool participating = false, + global::System.DateTime since = default, + global::System.DateTime before = default, + int page = 1, + int perPage = 50, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..8cce1148dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List organization events for the authenticated user
+ /// This is the user's organization dashboard. You must be authenticated as the user to view this. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListOrgEventsForAuthenticatedUserAsync( + string username, + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs new file mode 100644 index 0000000000..0f38a5fb23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActivityClient.ActivityListPublicEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List public events
+ /// We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListPublicEventsAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs new file mode 100644 index 0000000000..bfe15cf2ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List public events for a network of repositories + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListPublicEventsForRepoNetworkAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs new file mode 100644 index 0000000000..24979b1c1e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActivityClient.ActivityListPublicEventsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List public events for a user + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListPublicEventsForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs new file mode 100644 index 0000000000..9b4f7956ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActivityClient.ActivityListPublicOrgEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List public organization events + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListPublicOrgEventsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs new file mode 100644 index 0000000000..ecc26a3425 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActivityClient.ActivityListReceivedEventsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List events received by the authenticated user
+ /// These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListReceivedEventsForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs new file mode 100644 index 0000000000..499d713ced --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List public events received by a user + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListReceivedPublicEventsForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs new file mode 100644 index 0000000000..8eb172968f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActivityClient.ActivityListRepoEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repository events
+ /// **Note**: This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListRepoEventsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoNotificationsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoNotificationsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..7fda225078 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListRepoNotificationsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IActivityClient.ActivityListRepoNotificationsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repository notifications for the authenticated user
+ /// Lists all notifications for the current user in the specified repository. + ///
+ /// + /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListRepoNotificationsForAuthenticatedUserAsync( + string owner, + string repo, + bool all = false, + bool participating = false, + global::System.DateTime since = default, + global::System.DateTime before = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposStarredByAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposStarredByAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ae7177be3d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposStarredByAuthenticatedUser.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IActivityClient.ActivityListReposStarredByAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repositories starred by the authenticated user
+ /// Lists repositories the authenticated user has starred.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created. + ///
+ /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListReposStarredByAuthenticatedUserAsync( + global::G.ActivityListReposStarredByAuthenticatedUserSort? sort = global::G.ActivityListReposStarredByAuthenticatedUserSort.Created, + global::G.ActivityListReposStarredByAuthenticatedUserDirection? direction = global::G.ActivityListReposStarredByAuthenticatedUserDirection.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposStarredByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposStarredByUser.g.verified.cs new file mode 100644 index 0000000000..f9f1e9b6ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposStarredByUser.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IActivityClient.ActivityListReposStarredByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repositories starred by a user
+ /// Lists repositories a user has starred.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created. + ///
+ /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ActivityListReposStarredByUserAsync( + string username, + global::G.ActivityListReposStarredByUserSort? sort = global::G.ActivityListReposStarredByUserSort.Created, + global::G.ActivityListReposStarredByUserDirection? direction = global::G.ActivityListReposStarredByUserDirection.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposWatchedByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposWatchedByUser.g.verified.cs new file mode 100644 index 0000000000..ab65b7a6da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListReposWatchedByUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActivityClient.ActivityListReposWatchedByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repositories watched by a user
+ /// Lists repositories a user is watching. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListReposWatchedByUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListStargazersForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListStargazersForRepo.g.verified.cs new file mode 100644 index 0000000000..9418f4c9bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListStargazersForRepo.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActivityClient.ActivityListStargazersForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List stargazers
+ /// Lists the people that have starred the repository.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ActivityListStargazersForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListWatchedReposForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListWatchedReposForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..822923af1b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListWatchedReposForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActivityClient.ActivityListWatchedReposForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repositories watched by the authenticated user
+ /// Lists repositories the authenticated user is watching. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListWatchedReposForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListWatchersForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListWatchersForRepo.g.verified.cs new file mode 100644 index 0000000000..8d6aa14b88 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityListWatchersForRepo.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActivityClient.ActivityListWatchersForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List watchers
+ /// Lists the people watching the specified repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListWatchersForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkNotificationsAsRead.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkNotificationsAsRead.g.verified.cs new file mode 100644 index 0000000000..2587daba6e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkNotificationsAsRead.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IActivityClient.ActivityMarkNotificationsAsRead.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Mark notifications as read
+ /// Marks all notifications as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkNotificationsAsReadAsync( + global::G.ActivityMarkNotificationsAsReadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Mark notifications as read
+ /// Marks all notifications as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. + ///
+ /// + /// Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. + /// + /// + /// Whether the notification has been read. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkNotificationsAsReadAsync( + global::System.DateTime lastReadAt = default, + bool read = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkRepoNotificationsAsRead.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkRepoNotificationsAsRead.g.verified.cs new file mode 100644 index 0000000000..155127f690 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkRepoNotificationsAsRead.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IActivityClient.ActivityMarkRepoNotificationsAsRead.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Mark repository notifications as read
+ /// Marks all notifications in a repository as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkRepoNotificationsAsReadAsync( + string owner, + string repo, + global::G.ActivityMarkRepoNotificationsAsReadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Mark repository notifications as read
+ /// Marks all notifications in a repository as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. + ///
+ /// + /// + /// + /// Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkRepoNotificationsAsReadAsync( + string owner, + string repo, + global::System.DateTime lastReadAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkThreadAsDone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkThreadAsDone.g.verified.cs new file mode 100644 index 0000000000..f555d327d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkThreadAsDone.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IActivityClient.ActivityMarkThreadAsDone.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Mark a thread as done
+ /// Marks a thread as "done." Marking a thread as "done" is equivalent to marking a notification in your notification inbox on GitHub as done: https://github.com/notifications. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkThreadAsDoneAsync( + int threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkThreadAsRead.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkThreadAsRead.g.verified.cs new file mode 100644 index 0000000000..8b8e747344 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityMarkThreadAsRead.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IActivityClient.ActivityMarkThreadAsRead.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Mark a thread as read
+ /// Marks a thread as "read." Marking a thread as "read" is equivalent to clicking a notification in your notification inbox on GitHub: https://github.com/notifications. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkThreadAsReadAsync( + int threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivitySetRepoSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivitySetRepoSubscription.g.verified.cs new file mode 100644 index 0000000000..969013e83c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivitySetRepoSubscription.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IActivityClient.ActivitySetRepoSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Set a repository subscription
+ /// If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/activity/watching#delete-a-repository-subscription) completely. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivitySetRepoSubscriptionAsync( + string owner, + string repo, + global::G.ActivitySetRepoSubscriptionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set a repository subscription
+ /// If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/activity/watching#delete-a-repository-subscription) completely. + ///
+ /// + /// + /// + /// Determines if notifications should be received from this repository. + /// + /// + /// Determines if all notifications should be blocked from this repository. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivitySetRepoSubscriptionAsync( + string owner, + string repo, + bool subscribed = default, + bool ignored = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivitySetThreadSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivitySetThreadSubscription.g.verified.cs new file mode 100644 index 0000000000..813ce91d83 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivitySetThreadSubscription.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IActivityClient.ActivitySetThreadSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Set a thread subscription
+ /// If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.
+ /// You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.
+ /// Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription) endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivitySetThreadSubscriptionAsync( + int threadId, + global::G.ActivitySetThreadSubscriptionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set a thread subscription
+ /// If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.
+ /// You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.
+ /// Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription) endpoint. + ///
+ /// + /// + /// Whether to block all notifications from a thread.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivitySetThreadSubscriptionAsync( + int threadId, + bool ignored = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityStarRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityStarRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..376a7722ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityStarRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActivityClient.ActivityStarRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Star a repository for the authenticated user
+ /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityStarRepoForAuthenticatedUserAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityUnstarRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityUnstarRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..4c5059d491 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.ActivityUnstarRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActivityClient.ActivityUnstarRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Unstar a repository for the authenticated user
+ /// Unstar a repository that the authenticated user has previously starred. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityUnstarRepoForAuthenticatedUserAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.g.verified.cs new file mode 100644 index 0000000000..8179b88f8a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IActivityClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActivityClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Activity APIs provide access to notifications, subscriptions, and timelines.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IActivityClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..260b575713 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,216 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// GitHub's v3 REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// Endpoints to manage GitHub Actions using the REST API. + /// + public ActionsClient Actions { get; } + + /// + /// Activity APIs provide access to notifications, subscriptions, and timelines. + /// + public ActivityClient Activity { get; } + + /// + /// Information for integrations and installations. + /// + public AppsClient Apps { get; } + + /// + /// Monitor charges and usage from Actions and Packages. + /// + public BillingClient Billing { get; } + + /// + /// Rich interactions with checks run by your integrations. + /// + public ChecksClient Checks { get; } + + /// + /// Retrieve code scanning alerts from a repository. + /// + public CodeScanningClient CodeScanning { get; } + + /// + /// Insight into codes of conduct for your communities. + /// + public CodesOfConductClient CodesOfConduct { get; } + + /// + /// List emojis available to use on GitHub. + /// + public EmojisClient Emojis { get; } + + /// + /// Endpoints to manage Dependabot. + /// + public DependabotClient Dependabot { get; } + + /// + /// Endpoints to access Dependency Graph features. + /// + public DependencyGraphClient DependencyGraph { get; } + + /// + /// View, modify your gists. + /// + public GistsClient Gists { get; } + + /// + /// Raw Git functionality. + /// + public GitClient Git { get; } + + /// + /// View gitignore templates + /// + public GitignoreClient Gitignore { get; } + + /// + /// Interact with GitHub Issues. + /// + public IssuesClient Issues { get; } + + /// + /// View various OSS licenses. + /// + public LicensesClient Licenses { get; } + + /// + /// Render GitHub flavored markdown + /// + public MarkdownClient Markdown { get; } + + /// + /// Interact with GitHub Merge Queues. + /// + public MergeQueueClient MergeQueue { get; } + + /// + /// Endpoints that give information about the API. + /// + public MetaClient Meta { get; } + + /// + /// Move projects to or from GitHub. + /// + public MigrationsClient Migrations { get; } + + /// + /// Endpoints to manage GitHub OIDC configuration using the REST API. + /// + public OidcClient Oidc { get; } + + /// + /// Interact with GitHub Orgs. + /// + public OrgsClient Orgs { get; } + + /// + /// Manage packages for authenticated users and organizations. + /// + public PackagesClient Packages { get; } + + /// + /// Interact with GitHub Projects. + /// + public ProjectsClient Projects { get; } + + /// + /// Interact with GitHub Pull Requests. + /// + public PullsClient Pulls { get; } + + /// + /// Check your current rate limit status + /// + public RateLimitClient RateLimit { get; } + + /// + /// Interact with reactions to various GitHub entities. + /// + public ReactionsClient Reactions { get; } + + /// + /// Interact with GitHub Repos. + /// + public ReposClient Repos { get; } + + /// + /// Look for stuff on GitHub. + /// + public SearchClient Search { get; } + + /// + /// Retrieve secret scanning alerts from a repository. + /// + public SecretScanningClient SecretScanning { get; } + + /// + /// Interact with GitHub Teams. + /// + public TeamsClient Teams { get; } + + /// + /// Interact with and view information about users and also current user. + /// + public UsersClient Users { get; } + + /// + /// Endpoints to manage Codespaces using the REST API. + /// + public CodespacesClient Codespaces { get; } + + /// + /// Endpoints to manage Copilot using the REST API. + /// + public CopilotClient Copilot { get; } + + /// + /// Manage security advisories. + /// + public SecurityAdvisoriesClient SecurityAdvisories { get; } + + /// + /// Owner or admin management of users interactions. + /// + public InteractionsClient Interactions { get; } + + /// + /// Interact with GitHub Classroom. + /// + public ClassroomClient Classroom { get; } + + /// + /// Desktop specific endpoints. + /// + public DesktopClient Desktop { get; } + + /// + /// Endpoints to manage GitHub Enterprise Teams. + /// + public EnterpriseTeamsClient EnterpriseTeams { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..b9e9641f0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Add a repository to an app installation
+ /// Add a single repository to an installation. The authenticated user must have admin access to the repository. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsAddRepoToInstallationForAuthenticatedUserAsync( + int installationId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs new file mode 100644 index 0000000000..d4d671df0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IAppsClient.AppsCheckToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Check a token
+ /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsCheckTokenAsync( + string clientId, + global::G.AppsCheckTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Check a token
+ /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + ///
+ /// + /// + /// The access_token of the OAuth or GitHub application. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsCheckTokenAsync( + string clientId, + string accessToken, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCreateFromManifest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCreateFromManifest.g.verified.cs new file mode 100644 index 0000000000..ec3467eb6f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCreateFromManifest.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IAppsClient.AppsCreateFromManifest.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Create a GitHub App from a manifest
+ /// Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsCreateFromManifestAsync( + string code, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCreateInstallationAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCreateInstallationAccessToken.g.verified.cs new file mode 100644 index 0000000000..556beeef63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsCreateInstallationAccessToken.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IAppsClient.AppsCreateInstallationAccessToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Create an installation access token for an app
+ /// Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.
+ /// Optionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.
+ /// Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.
+ /// When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsCreateInstallationAccessTokenAsync( + int installationId, + global::G.AppsCreateInstallationAccessTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an installation access token for an app
+ /// Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.
+ /// Optionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.
+ /// Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.
+ /// When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// + /// List of repository names that the token should have access to + /// + /// + /// List of repository IDs that the token should have access to
+ /// Example: [1] + /// + /// + /// The permissions granted to the user access token. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsCreateInstallationAccessTokenAsync( + int installationId, + global::System.Collections.Generic.IList? repositories = default, + global::System.Collections.Generic.IList? repositoryIds = default, + global::G.AppPermissions? permissions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs new file mode 100644 index 0000000000..ce116757b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAppsClient.AppsDeleteAuthorization.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Delete an app authorization
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsDeleteAuthorizationAsync( + string clientId, + global::G.AppsDeleteAuthorizationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete an app authorization
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). + ///
+ /// + /// + /// The OAuth access token used to authenticate to the GitHub API. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsDeleteAuthorizationAsync( + string clientId, + string accessToken, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteInstallation.g.verified.cs new file mode 100644 index 0000000000..0d62b3a5d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsDeleteInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Delete an installation for the authenticated app
+ /// Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsDeleteInstallationAsync( + int installationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs new file mode 100644 index 0000000000..05c7048ded --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IAppsClient.AppsDeleteToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Delete an app token
+ /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsDeleteTokenAsync( + string clientId, + global::G.AppsDeleteTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete an app token
+ /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + ///
+ /// + /// + /// The OAuth access token used to authenticate to the GitHub API. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsDeleteTokenAsync( + string clientId, + string accessToken, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetAuthenticated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetAuthenticated.g.verified.cs new file mode 100644 index 0000000000..06f769fd70 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetAuthenticated.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAppsClient.AppsGetAuthenticated.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get the authenticated app
+ /// Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the "[List installations for the authenticated app](https://docs.github.com/rest/apps/apps#list-installations-for-the-authenticated-app)" endpoint.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetAuthenticatedAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs new file mode 100644 index 0000000000..57d56ac9af --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IAppsClient.AppsGetBySlug.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get an app
+ /// **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetBySlugAsync( + string appSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetInstallation.g.verified.cs new file mode 100644 index 0000000000..4dc5b756b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get an installation for the authenticated app
+ /// Enables an authenticated GitHub App to find an installation's information using the installation id.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetInstallationAsync( + int installationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetOrgInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetOrgInstallation.g.verified.cs new file mode 100644 index 0000000000..f8bd8a4b0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetOrgInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetOrgInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get an organization installation for the authenticated app
+ /// Enables an authenticated GitHub App to find the organization's installation information.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetOrgInstallationAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetRepoInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetRepoInstallation.g.verified.cs new file mode 100644 index 0000000000..255dc0e4a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetRepoInstallation.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAppsClient.AppsGetRepoInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a repository installation for the authenticated app
+ /// Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetRepoInstallationAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs new file mode 100644 index 0000000000..989742138a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a subscription plan for an account
+ /// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetSubscriptionPlanForAccountAsync( + int accountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs new file mode 100644 index 0000000000..84822cb219 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a subscription plan for an account (stubbed)
+ /// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetSubscriptionPlanForAccountStubbedAsync( + int accountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetUserInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetUserInstallation.g.verified.cs new file mode 100644 index 0000000000..2fd86e4afd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetUserInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetUserInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a user installation for the authenticated app
+ /// Enables an authenticated GitHub App to find the user’s installation information.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetUserInstallationAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetWebhookConfigForApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetWebhookConfigForApp.g.verified.cs new file mode 100644 index 0000000000..e28524618d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetWebhookConfigForApp.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAppsClient.AppsGetWebhookConfigForApp.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a webhook configuration for an app
+ /// Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetWebhookConfigForAppAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..fd1f790122 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsGetWebhookDelivery.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a delivery for an app webhook
+ /// Returns a delivery for the webhook configured for a GitHub App.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetWebhookDeliveryAsync( + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs new file mode 100644 index 0000000000..fd8870e748 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IAppsClient.AppsListAccountsForPlan.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List accounts for a plan
+ /// Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// + /// Default Value: created + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListAccountsForPlanAsync( + int planId, + global::G.AppsListAccountsForPlanSort? sort = global::G.AppsListAccountsForPlanSort.Created, + global::G.AppsListAccountsForPlanDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs new file mode 100644 index 0000000000..f377d686c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IAppsClient.AppsListAccountsForPlanStubbed.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List accounts for a plan (stubbed)
+ /// Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// + /// Default Value: created + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListAccountsForPlanStubbedAsync( + int planId, + global::G.AppsListAccountsForPlanStubbedSort? sort = global::G.AppsListAccountsForPlanStubbedSort.Created, + global::G.AppsListAccountsForPlanStubbedDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationReposForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationReposForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..83f4803606 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationReposForAuthenticatedUser.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IAppsClient.AppsListInstallationReposForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List repositories accessible to the user access token
+ /// List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.
+ /// The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
+ /// The access the user has to each repository is included in the hash under the `permissions` key. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsListInstallationReposForAuthenticatedUserAsync( + int installationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationRequestsForAuthenticatedApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationRequestsForAuthenticatedApp.g.verified.cs new file mode 100644 index 0000000000..7fcf8e5bba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationRequestsForAuthenticatedApp.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAppsClient.AppsListInstallationRequestsForAuthenticatedApp.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List installation requests for the authenticated app
+ /// Lists all the pending installation requests for the authenticated GitHub App. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListInstallationRequestsForAuthenticatedAppAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallations.g.verified.cs new file mode 100644 index 0000000000..05460fef58 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallations.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAppsClient.AppsListInstallations.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List installations for the authenticated app
+ /// The permissions the installation has are included under the `permissions` key.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListInstallationsAsync( + int perPage = 30, + int page = 1, + global::System.DateTime since = default, + string? outdated = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..abf39cda3e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListInstallationsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IAppsClient.AppsListInstallationsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List app installations accessible to the user access token
+ /// Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.
+ /// The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
+ /// You can find the permissions for the installation under the `permissions` key. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsListInstallationsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlans.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlans.g.verified.cs new file mode 100644 index 0000000000..0c623dc4c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlans.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAppsClient.AppsListPlans.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List plans
+ /// Lists all plans that are part of your GitHub Marketplace listing.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListPlansAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs new file mode 100644 index 0000000000..75ee9f2feb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAppsClient.AppsListPlansStubbed.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List plans (stubbed)
+ /// Lists all plans that are part of your GitHub Marketplace listing.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListPlansStubbedAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListReposAccessibleToInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListReposAccessibleToInstallation.g.verified.cs new file mode 100644 index 0000000000..2c76c2135a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListReposAccessibleToInstallation.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAppsClient.AppsListReposAccessibleToInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List repositories accessible to the app installation
+ /// List repositories that an app installation can access. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsListReposAccessibleToInstallationAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6328b98e39 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAppsClient.AppsListSubscriptionsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List subscriptions for the authenticated user
+ /// Lists the active subscriptions for the authenticated user. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListSubscriptionsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUserStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUserStubbed.g.verified.cs new file mode 100644 index 0000000000..4fd7fb3f3c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUserStubbed.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAppsClient.AppsListSubscriptionsForAuthenticatedUserStubbed.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List subscriptions for the authenticated user (stubbed)
+ /// Lists the active subscriptions for the authenticated user. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListSubscriptionsForAuthenticatedUserStubbedAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListWebhookDeliveries.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListWebhookDeliveries.g.verified.cs new file mode 100644 index 0000000000..a8c1856334 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsListWebhookDeliveries.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAppsClient.AppsListWebhookDeliveries.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List deliveries for an app webhook
+ /// Returns a list of webhook deliveries for the webhook configured for a GitHub App.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListWebhookDeliveriesAsync( + int perPage = 30, + string? cursor = default, + bool redelivery = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRedeliverWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRedeliverWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..56169fa50b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRedeliverWebhookDelivery.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsRedeliverWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Redeliver a delivery for an app webhook
+ /// Redeliver a delivery for the webhook configured for a GitHub App.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsRedeliverWebhookDeliveryAsync( + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..db45142b53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Remove a repository from an app installation
+ /// Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsRemoveRepoFromInstallationForAuthenticatedUserAsync( + int installationId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsResetToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsResetToken.g.verified.cs new file mode 100644 index 0000000000..50e90da1e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsResetToken.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IAppsClient.AppsResetToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Reset a token
+ /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsResetTokenAsync( + string clientId, + global::G.AppsResetTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Reset a token
+ /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + ///
+ /// + /// + /// The access_token of the OAuth or GitHub application. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsResetTokenAsync( + string clientId, + string accessToken, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRevokeInstallationAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRevokeInstallationAccessToken.g.verified.cs new file mode 100644 index 0000000000..a8f662f33b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsRevokeInstallationAccessToken.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAppsClient.AppsRevokeInstallationAccessToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Revoke an installation access token
+ /// Revokes the installation token you're using to authenticate as an installation and access this endpoint.
+ /// Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://docs.github.com/rest/apps/apps#create-an-installation-access-token-for-an-app)" endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsRevokeInstallationAccessTokenAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs new file mode 100644 index 0000000000..f0042fd188 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IAppsClient.AppsScopeToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Create a scoped access token
+ /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
+ /// which repositories the token can access and which permissions are granted to the
+ /// token.
+ /// Invalid tokens will return `404 NOT FOUND`.
+ /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
+ /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
+ /// as the username and password. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsScopeTokenAsync( + string clientId, + global::G.AppsScopeTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a scoped access token
+ /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
+ /// which repositories the token can access and which permissions are granted to the
+ /// token.
+ /// Invalid tokens will return `404 NOT FOUND`.
+ /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
+ /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
+ /// as the username and password. + ///
+ /// + /// + /// The access token used to authenticate to the GitHub API.
+ /// Example: e72e16c7e42f292c6912e7710c838347ae178b4a + /// + /// + /// The name of the user or organization to scope the user access token to. **Required** unless `target_id` is specified.
+ /// Example: octocat + /// + /// + /// The ID of the user or organization to scope the user access token to. **Required** unless `target` is specified.
+ /// Example: 1 + /// + /// + /// The list of repository names to scope the user access token to. `repositories` may not be specified if `repository_ids` is specified. + /// + /// + /// The list of repository IDs to scope the user access token to. `repository_ids` may not be specified if `repositories` is specified.
+ /// Example: [1] + /// + /// + /// The permissions granted to the user access token. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsScopeTokenAsync( + string clientId, + string accessToken, + string? target = default, + int targetId = default, + global::System.Collections.Generic.IList? repositories = default, + global::System.Collections.Generic.IList? repositoryIds = default, + global::G.AppPermissions? permissions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsSuspendInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsSuspendInstallation.g.verified.cs new file mode 100644 index 0000000000..e02be627db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsSuspendInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsSuspendInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Suspend an app installation
+ /// Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsSuspendInstallationAsync( + int installationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsUnsuspendInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsUnsuspendInstallation.g.verified.cs new file mode 100644 index 0000000000..c755a7a55d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsUnsuspendInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsUnsuspendInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Unsuspend an app installation
+ /// Removes a GitHub App installation suspension.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsUnsuspendInstallationAsync( + int installationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsUpdateWebhookConfigForApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsUpdateWebhookConfigForApp.g.verified.cs new file mode 100644 index 0000000000..439f81b044 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.AppsUpdateWebhookConfigForApp.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IAppsClient.AppsUpdateWebhookConfigForApp.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Update a webhook configuration for an app
+ /// Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsUpdateWebhookConfigForAppAsync( + global::G.AppsUpdateWebhookConfigForAppRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a webhook configuration for an app
+ /// Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The URL to which the payloads will be delivered.
+ /// Example: https://example.com/webhook + /// + /// + /// The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
+ /// Example: "json" + /// + /// + /// 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).
+ /// Example: "********" + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsUpdateWebhookConfigForAppAsync( + string? url = default, + string? contentType = default, + string? secret = default, + global::G.WebhookConfigInsecureSsl? insecureSsl = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.g.verified.cs new file mode 100644 index 0000000000..0920d008a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IAppsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAppsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Information for integrations and installations.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAppsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubActionsBillingOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubActionsBillingOrg.g.verified.cs new file mode 100644 index 0000000000..605733061c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubActionsBillingOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetGithubActionsBillingOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get GitHub Actions billing for an organization
+ /// Gets the summary of the free and paid GitHub Actions minutes used.
+ /// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetGithubActionsBillingOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubActionsBillingUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubActionsBillingUser.g.verified.cs new file mode 100644 index 0000000000..08ed05cfe7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubActionsBillingUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetGithubActionsBillingUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get GitHub Actions billing for a user
+ /// Gets the summary of the free and paid GitHub Actions minutes used.
+ /// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetGithubActionsBillingUserAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubPackagesBillingOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubPackagesBillingOrg.g.verified.cs new file mode 100644 index 0000000000..993697f7bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubPackagesBillingOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetGithubPackagesBillingOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get GitHub Packages billing for an organization
+ /// Gets the free and paid storage used for GitHub Packages in gigabytes.
+ /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetGithubPackagesBillingOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubPackagesBillingUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubPackagesBillingUser.g.verified.cs new file mode 100644 index 0000000000..16341800fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetGithubPackagesBillingUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetGithubPackagesBillingUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get GitHub Packages billing for a user
+ /// Gets the free and paid storage used for GitHub Packages in gigabytes.
+ /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetGithubPackagesBillingUserAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetSharedStorageBillingOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetSharedStorageBillingOrg.g.verified.cs new file mode 100644 index 0000000000..202e5cd701 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetSharedStorageBillingOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetSharedStorageBillingOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get shared storage billing for an organization
+ /// Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.
+ /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetSharedStorageBillingOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetSharedStorageBillingUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetSharedStorageBillingUser.g.verified.cs new file mode 100644 index 0000000000..0eec79e0a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.BillingGetSharedStorageBillingUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetSharedStorageBillingUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get shared storage billing for a user
+ /// Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.
+ /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetSharedStorageBillingUserAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.g.verified.cs new file mode 100644 index 0000000000..6de3eb2a4b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IBillingClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IBillingClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Monitor charges and usage from Actions and Packages.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBillingClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreate.g.verified.cs new file mode 100644 index 0000000000..b9f5ab8807 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreate.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.IChecksClient.ChecksCreate.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Create a check run
+ /// Creates a new check run for a specific commit in a repository.
+ /// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
+ /// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksCreateAsync( + string owner, + string repo, + global::G.ChecksCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a check run
+ /// Creates a new check run for a specific commit in a repository.
+ /// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
+ /// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + ///
+ /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task ChecksCreateAsync( + string owner, + string repo, + string name, + string headSha, + string? detailsUrl = default, + string? externalId = default, + global::G.ChecksCreateRequestStatus? status = global::G.ChecksCreateRequestStatus.Queued, + global::System.DateTime startedAt = default, + global::G.ChecksCreateRequestConclusion? conclusion = default, + global::System.DateTime completedAt = default, + global::G.ChecksCreateRequestOutput? output = default, + global::System.Collections.Generic.IList? actions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs new file mode 100644 index 0000000000..06db3816df --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IChecksClient.ChecksCreateSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Create a check suite
+ /// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksCreateSuiteAsync( + string owner, + string repo, + global::G.ChecksCreateSuiteRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a check suite
+ /// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// The sha of the head commit. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksCreateSuiteAsync( + string owner, + string repo, + string headSha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGet.g.verified.cs new file mode 100644 index 0000000000..0e6b3cbd3e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGet.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChecksClient.ChecksGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Get a check run
+ /// Gets a single check run using its `id`.
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksGetAsync( + string owner, + string repo, + int checkRunId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs new file mode 100644 index 0000000000..413c0ba6fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChecksClient.ChecksGetSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Get a check suite
+ /// Gets a single check suite using its `id`.
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksGetSuiteAsync( + string owner, + string repo, + int checkSuiteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListAnnotations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListAnnotations.g.verified.cs new file mode 100644 index 0000000000..535bcfcdf4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListAnnotations.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IChecksClient.ChecksListAnnotations.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// List check run annotations
+ /// Lists annotations for a check run using the annotation `id`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ChecksListAnnotationsAsync( + string owner, + string repo, + int checkRunId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs new file mode 100644 index 0000000000..b468371270 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IChecksClient.ChecksListForRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// List check runs for a Git reference
+ /// Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.
+ /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: latest + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksListForRefAsync( + string owner, + string repo, + string @ref, + string? checkName = default, + global::G.ChecksListForRefStatus? status = default, + global::G.ChecksListForRefFilter? filter = global::G.ChecksListForRefFilter.Latest, + int perPage = 30, + int page = 1, + int appId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs new file mode 100644 index 0000000000..6aed1f0699 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IChecksClient.ChecksListForSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// List check runs in a check suite
+ /// Lists check runs for a check suite using its `id`.
+ /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: latest + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksListForSuiteAsync( + string owner, + string repo, + int checkSuiteId, + string? checkName = default, + global::G.ChecksListForSuiteStatus? status = default, + global::G.ChecksListForSuiteFilter? filter = global::G.ChecksListForSuiteFilter.Latest, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs new file mode 100644 index 0000000000..59a004cba4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IChecksClient.ChecksListSuitesForRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// List check suites for a Git reference
+ /// Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name.
+ /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksListSuitesForRefAsync( + string owner, + string repo, + string @ref, + int appId = default, + string? checkName = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksRerequestRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksRerequestRun.g.verified.cs new file mode 100644 index 0000000000..210458298e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksRerequestRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChecksClient.ChecksRerequestRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Rerequest a check run
+ /// Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
+ /// For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksRerequestRunAsync( + string owner, + string repo, + int checkRunId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksRerequestSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksRerequestSuite.g.verified.cs new file mode 100644 index 0000000000..f77b151131 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksRerequestSuite.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IChecksClient.ChecksRerequestSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Rerequest a check suite
+ /// Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksRerequestSuiteAsync( + string owner, + string repo, + int checkSuiteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksSetSuitesPreferences.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksSetSuitesPreferences.g.verified.cs new file mode 100644 index 0000000000..846b7dc39c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksSetSuitesPreferences.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IChecksClient.ChecksSetSuitesPreferences.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Update repository preferences for check suites
+ /// Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/checks/suites#create-a-check-suite).
+ /// You must have admin permissions in the repository to set preferences for check suites. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksSetSuitesPreferencesAsync( + string owner, + string repo, + global::G.ChecksSetSuitesPreferencesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update repository preferences for check suites
+ /// Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/checks/suites#create-a-check-suite).
+ /// You must have admin permissions in the repository to set preferences for check suites. + ///
+ /// + /// + /// + /// Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksSetSuitesPreferencesAsync( + string owner, + string repo, + global::System.Collections.Generic.IList? autoTriggerChecks = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs new file mode 100644 index 0000000000..ed428325ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs @@ -0,0 +1,81 @@ +//HintName: G.IChecksClient.ChecksUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Update a check run
+ /// Updates a check run for a specific commit in a repository.
+ /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksUpdateAsync( + string owner, + string repo, + int checkRunId, + global::G.ChecksUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a check run
+ /// Updates a check run for a specific commit in a repository.
+ /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// + /// 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 + /// + 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::G.ChecksUpdateRequestStatus? status = default, + global::G.ChecksUpdateRequestConclusion? conclusion = default, + global::System.DateTime completedAt = default, + global::G.ChecksUpdateRequestOutput? output = default, + global::System.Collections.Generic.IList? actions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.g.verified.cs new file mode 100644 index 0000000000..02dbbb744a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IChecksClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChecksClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Rich interactions with checks run by your integrations.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChecksClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAClassroom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAClassroom.g.verified.cs new file mode 100644 index 0000000000..6df4b72852 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAClassroom.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IClassroomClient.ClassroomGetAClassroom.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// Get a classroom
+ /// Gets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClassroomGetAClassroomAsync( + int classroomId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAnAssignment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAnAssignment.g.verified.cs new file mode 100644 index 0000000000..0400d1567e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAnAssignment.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IClassroomClient.ClassroomGetAnAssignment.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// Get an assignment
+ /// Gets a GitHub Classroom assignment. Assignment will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClassroomGetAnAssignmentAsync( + int assignmentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAssignmentGrades.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAssignmentGrades.g.verified.cs new file mode 100644 index 0000000000..c5edbd3a69 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomGetAssignmentGrades.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IClassroomClient.ClassroomGetAssignmentGrades.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// Get assignment grades
+ /// Gets grades for a GitHub Classroom assignment. Grades will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ClassroomGetAssignmentGradesAsync( + int assignmentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs new file mode 100644 index 0000000000..28c09e2885 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// List accepted assignments for an assignment
+ /// Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. + ///
+ /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ClassroomListAcceptedAssigmentsForAnAssignmentAsync( + int assignmentId, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAssignmentsForAClassroom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAssignmentsForAClassroom.g.verified.cs new file mode 100644 index 0000000000..5de3c7ce53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListAssignmentsForAClassroom.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IClassroomClient.ClassroomListAssignmentsForAClassroom.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// List assignments for a classroom
+ /// Lists GitHub Classroom assignments for a classroom. Assignments will only be returned if the current user is an administrator of the GitHub Classroom. + ///
+ /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ClassroomListAssignmentsForAClassroomAsync( + int classroomId, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListClassrooms.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListClassrooms.g.verified.cs new file mode 100644 index 0000000000..0848f7c5bb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.ClassroomListClassrooms.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IClassroomClient.ClassroomListClassrooms.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// List classrooms
+ /// Lists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms. + ///
+ /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ClassroomListClassroomsAsync( + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.g.verified.cs new file mode 100644 index 0000000000..cb36ef25c5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IClassroomClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IClassroomClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Classroom.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IClassroomClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningCreateVariantAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningCreateVariantAnalysis.g.verified.cs new file mode 100644 index 0000000000..1e39f367dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningCreateVariantAnalysis.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.ICodeScanningClient.CodeScanningCreateVariantAnalysis.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Create a CodeQL variant analysis
+ /// Creates a new CodeQL variant analysis, which will run a CodeQL query against one or more repositories.
+ /// Get started by learning more about [running CodeQL queries at scale with Multi-Repository Variant Analysis](https://docs.github.com/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/running-codeql-queries-at-scale-with-multi-repository-variant-analysis).
+ /// Use the `owner` and `repo` parameters in the URL to specify the controller repository that
+ /// will be used for running GitHub Actions workflows and storing the results of the CodeQL variant analysis.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningCreateVariantAnalysisAsync( + string owner, + string repo, + global::G.CodeScanningCreateVariantAnalysisRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a CodeQL variant analysis
+ /// Creates a new CodeQL variant analysis, which will run a CodeQL query against one or more repositories.
+ /// Get started by learning more about [running CodeQL queries at scale with Multi-Repository Variant Analysis](https://docs.github.com/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/running-codeql-queries-at-scale-with-multi-repository-variant-analysis).
+ /// Use the `owner` and `repo` parameters in the URL to specify the controller repository that
+ /// will be used for running GitHub Actions workflows and storing the results of the CodeQL variant analysis.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task CodeScanningCreateVariantAnalysisAsync( + string owner, + string repo, + global::G.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); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningDeleteAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningDeleteAnalysis.g.verified.cs new file mode 100644 index 0000000000..826cfbb7d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningDeleteAnalysis.g.verified.cs @@ -0,0 +1,75 @@ +//HintName: G.ICodeScanningClient.CodeScanningDeleteAnalysis.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Delete a code scanning analysis from a repository
+ /// Deletes a specified code scanning analysis from a repository.
+ /// You can delete one analysis at a time.
+ /// To delete a series of analyses, start with the most recent analysis and work backwards.
+ /// Conceptually, the process is similar to the undo function in a text editor.
+ /// When you list the analyses for a repository,
+ /// one or more will be identified as deletable in the response:
+ /// ```
+ /// "deletable": true
+ /// ```
+ /// An analysis is deletable when it's the most recent in a set of analyses.
+ /// Typically, a repository will have multiple sets of analyses
+ /// for each enabled code scanning tool,
+ /// where a set is determined by a unique combination of analysis values:
+ /// * `ref`
+ /// * `tool`
+ /// * `category`
+ /// If you attempt to delete an analysis that is not the most recent in a set,
+ /// you'll get a 400 response with the message:
+ /// ```
+ /// Analysis specified is not deletable.
+ /// ```
+ /// The response from a successful `DELETE` operation provides you with
+ /// two alternative URLs for deleting the next analysis in the set:
+ /// `next_analysis_url` and `confirm_delete_url`.
+ /// Use the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis
+ /// in a set. This is a useful option if you want to preserve at least one analysis
+ /// for the specified tool in your repository.
+ /// Use the `confirm_delete_url` URL if you are content to remove all analyses for a tool.
+ /// When you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`
+ /// in the 200 response is `null`.
+ /// As an example of the deletion process,
+ /// let's imagine that you added a workflow that configured a particular code scanning tool
+ /// to analyze the code in a repository. This tool has added 15 analyses:
+ /// 10 on the default branch, and another 5 on a topic branch.
+ /// You therefore have two separate sets of analyses for this tool.
+ /// You've now decided that you want to remove all of the analyses for the tool.
+ /// To do this you must make 15 separate deletion requests.
+ /// To start, you must find an analysis that's identified as deletable.
+ /// Each set of analyses always has one that's identified as deletable.
+ /// Having found the deletable analysis for one of the two sets,
+ /// delete this analysis and then continue deleting the next analysis in the set until they're all deleted.
+ /// Then repeat the process for the second set.
+ /// The procedure therefore consists of a nested loop:
+ /// **Outer loop**:
+ /// * List the analyses for the repository, filtered by tool.
+ /// * Parse this list to find a deletable analysis. If found:
+ /// **Inner loop**:
+ /// * Delete the identified analysis.
+ /// * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.
+ /// The above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningDeleteAnalysisAsync( + string owner, + string repo, + int analysisId, + string? confirmDelete = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetAlert.g.verified.cs new file mode 100644 index 0000000000..38d045edf5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetAlert.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get a code scanning alert
+ /// Gets a single code scanning alert.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetAlertAsync( + string owner, + string repo, + int alertNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetAnalysis.g.verified.cs new file mode 100644 index 0000000000..d2a2df7533 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetAnalysis.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetAnalysis.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get a code scanning analysis for a repository
+ /// Gets a specified code scanning analysis for a repository.
+ /// The default JSON response contains fields that describe the analysis.
+ /// This includes the Git reference and commit SHA to which the analysis relates,
+ /// the datetime of the analysis, the name of the code scanning tool,
+ /// and the number of alerts.
+ /// The `rules_count` field in the default response give the number of rules
+ /// that were run in the analysis.
+ /// For very old analyses this data is not available,
+ /// and `0` is returned in this field.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/sarif+json`**: Instead of returning a summary of the analysis, this endpoint returns a subset of the analysis data that was uploaded. The data is formatted as [SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html). It also returns additional data such as the `github/alertNumber` and `github/alertUrl` properties.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetAnalysisAsync( + string owner, + string repo, + int analysisId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs new file mode 100644 index 0000000000..5d5acb2ac3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get a CodeQL database for a repository
+ /// Gets a CodeQL database for a language in a repository.
+ /// By default this endpoint returns JSON metadata about the CodeQL database. To
+ /// download the CodeQL database binary content, set the `Accept` header of the request
+ /// to [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure
+ /// your HTTP client is configured to follow redirects or use the `Location` header
+ /// to make a second request to get the redirect URL.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetCodeqlDatabaseAsync( + string owner, + string repo, + string language, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..d7ede7dbee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetDefaultSetup.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetDefaultSetup.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get a code scanning default setup configuration
+ /// Gets a code scanning default setup configuration.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetDefaultSetupAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetSarif.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetSarif.g.verified.cs new file mode 100644 index 0000000000..5d463133c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetSarif.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetSarif.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get information about a SARIF upload
+ /// Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see "[Get a code scanning analysis for a repository](/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetSarifAsync( + string owner, + string repo, + string sarifId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysis.g.verified.cs new file mode 100644 index 0000000000..3e32a467fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysis.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetVariantAnalysis.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get the summary of a CodeQL variant analysis
+ /// Gets the summary of a CodeQL variant analysis.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetVariantAnalysisAsync( + string owner, + string repo, + int codeqlVariantAnalysisId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysisRepoTask.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysisRepoTask.g.verified.cs new file mode 100644 index 0000000000..6314f230eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysisRepoTask.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetVariantAnalysisRepoTask.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get the analysis status of a repository in a CodeQL variant analysis
+ /// Gets the analysis status of a repository in a CodeQL variant analysis.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetVariantAnalysisRepoTaskAsync( + string owner, + string repo, + int codeqlVariantAnalysisId, + string repoOwner, + string repoName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs new file mode 100644 index 0000000000..a2606e97d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.ICodeScanningClient.CodeScanningListAlertInstances.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// List instances of a code scanning alert
+ /// Lists all instances of the specified code scanning alert.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
+ /// `refs/heads/<branch name>` or simply `<branch name>`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeScanningListAlertInstancesAsync( + string owner, + string repo, + int alertNumber, + int page = 1, + int perPage = 30, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForOrg.g.verified.cs new file mode 100644 index 0000000000..781ca965a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForOrg.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.ICodeScanningClient.CodeScanningListAlertsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// List code scanning alerts for an organization
+ /// Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// The authenticated user must be an owner or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` or `repo`s cope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// The name of the tool used to generate the code scanning analysis. + /// + /// + /// The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: desc + /// + /// + /// State of a code scanning alert. + /// + /// + /// Default Value: created + /// + /// + /// Severity of a code scanning alert. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeScanningListAlertsForOrgAsync( + string org, + string? toolName = default, + string? toolGuid = default, + string? before = default, + string? after = default, + int page = 1, + int perPage = 30, + global::G.CodeScanningListAlertsForOrgDirection? direction = global::G.CodeScanningListAlertsForOrgDirection.Desc, + global::G.CodeScanningAlertStateQuery? state = default, + global::G.CodeScanningListAlertsForOrgSort? sort = global::G.CodeScanningListAlertsForOrgSort.Created, + global::G.CodeScanningAlertSeverity? severity = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs new file mode 100644 index 0000000000..bf90cefd21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// List code scanning alerts for a repository
+ /// Lists code scanning alerts.
+ /// The response includes a `most_recent_instance` object.
+ /// This provides details of the most recent instance of this alert
+ /// for the default branch (or for the specified Git reference if you used `ref` in the request).
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The name of the tool used to generate the code scanning analysis. + /// + /// + /// The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
+ /// `refs/heads/<branch name>` or simply `<branch name>`. + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: created + /// + /// + /// State of a code scanning alert. + /// + /// + /// Severity of a code scanning alert. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeScanningListAlertsForRepoAsync( + string owner, + string repo, + string? toolName = default, + string? toolGuid = default, + int page = 1, + int perPage = 30, + string? @ref = default, + global::G.CodeScanningListAlertsForRepoDirection? direction = global::G.CodeScanningListAlertsForRepoDirection.Desc, + global::G.CodeScanningListAlertsForRepoSort? sort = global::G.CodeScanningListAlertsForRepoSort.Created, + global::G.CodeScanningAlertStateQuery? state = default, + global::G.CodeScanningAlertSeverity? severity = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListCodeqlDatabases.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListCodeqlDatabases.g.verified.cs new file mode 100644 index 0000000000..d55285b04a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListCodeqlDatabases.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICodeScanningClient.CodeScanningListCodeqlDatabases.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// List CodeQL databases for a repository
+ /// Lists the CodeQL databases that are available in a repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeScanningListCodeqlDatabasesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs new file mode 100644 index 0000000000..49ab45ef41 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// List code scanning analyses for a repository
+ /// Lists the details of all code scanning analyses for a repository,
+ /// starting with the most recent.
+ /// The response is paginated and you can use the `page` and `per_page` parameters
+ /// to list the analyses you're interested in.
+ /// By default 30 analyses are listed per page.
+ /// The `rules_count` field in the response give the number of rules
+ /// that were run in the analysis.
+ /// For very old analyses this data is not available,
+ /// and `0` is returned in this field.
+ /// **Deprecation notice**:
+ /// The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The name of the tool used to generate the code scanning analysis. + /// + /// + /// The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
+ /// `refs/heads/<branch name>` or simply `<branch name>`. + /// + /// + /// An identifier for the upload.
+ /// Example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: created + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeScanningListRecentAnalysesAsync( + string owner, + string repo, + string? toolName = default, + string? toolGuid = default, + int page = 1, + int perPage = 30, + string? @ref = default, + string? sarifId = default, + global::G.CodeScanningListRecentAnalysesDirection? direction = global::G.CodeScanningListRecentAnalysesDirection.Desc, + global::G.CodeScanningListRecentAnalysesSort? sort = global::G.CodeScanningListRecentAnalysesSort.Created, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUpdateAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUpdateAlert.g.verified.cs new file mode 100644 index 0000000000..8c109dca0a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUpdateAlert.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.ICodeScanningClient.CodeScanningUpdateAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Update a code scanning alert
+ /// Updates the status of a single code scanning alert.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.CodeScanningUpdateAlertRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a code scanning alert
+ /// Updates the status of a single code scanning alert.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// Sets the state of the code scanning alert. You must provide `dismissed_reason` when you set the state to `dismissed`. + /// + /// + /// **Required when the state is dismissed.** The reason for dismissing or closing the alert. + /// + /// + /// The dismissal comment associated with the dismissal of the alert. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.CodeScanningAlertSetState state, + global::G.CodeScanningAlertDismissedReason? dismissedReason = default, + string? dismissedComment = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUpdateDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUpdateDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..8dea94ce1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUpdateDefaultSetup.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ICodeScanningClient.CodeScanningUpdateDefaultSetup.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Update a code scanning default setup configuration
+ /// Updates a code scanning default setup configuration.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUpdateDefaultSetupAsync( + string owner, + string repo, + global::G.CodeScanningDefaultSetupUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a code scanning default setup configuration
+ /// Updates a code scanning default setup configuration.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The desired state of code scanning default setup. + /// + /// + /// CodeQL query suite to be used. + /// + /// + /// CodeQL languages to be analyzed. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUpdateDefaultSetupAsync( + string owner, + string repo, + global::G.CodeScanningDefaultSetupUpdateState? state = default, + global::G.CodeScanningDefaultSetupUpdateQuerySuite? querySuite = default, + global::System.Collections.Generic.IList? languages = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUploadSarif.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUploadSarif.g.verified.cs new file mode 100644 index 0000000000..d79cb7308f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.CodeScanningUploadSarif.g.verified.cs @@ -0,0 +1,115 @@ +//HintName: G.ICodeScanningClient.CodeScanningUploadSarif.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Upload an analysis as SARIF data
+ /// Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. For troubleshooting information, see "[Troubleshooting SARIF uploads](https://docs.github.com/code-security/code-scanning/troubleshooting-sarif)."
+ /// There are two places where you can upload code scanning results.
+ /// - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)."
+ /// - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see "[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)."
+ /// You must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:
+ /// ```
+ /// gzip -c analysis-data.sarif | base64 -w0
+ /// ```
+ /// SARIF upload supports a maximum number of entries per the following data objects, and an analysis will be rejected if any of these objects is above its maximum value. For some objects, there are additional values over which the entries will be ignored while keeping the most important entries whenever applicable.
+ /// To get the most out of your analysis when it includes data above the supported limits, try to optimize the analysis configuration. For example, for the CodeQL tool, identify and remove the most noisy queries. For more information, see "[SARIF results exceed one or more limits](https://docs.github.com/code-security/code-scanning/troubleshooting-sarif/results-exceed-limit)."
+ /// | **SARIF data** | **Maximum values** | **Additional limits** |
+ /// |----------------------------------|:------------------:|----------------------------------------------------------------------------------|
+ /// | Runs per file | 20 | |
+ /// | Results per run | 25,000 | Only the top 5,000 results will be included, prioritized by severity. |
+ /// | Rules per run | 25,000 | |
+ /// | Tool extensions per run | 100 | |
+ /// | Thread Flow Locations per result | 10,000 | Only the top 1,000 Thread Flow Locations will be included, using prioritization. |
+ /// | Location per result | 1,000 | Only 100 locations will be included. |
+ /// | Tags per rule | 20 | Only 10 tags will be included. |
+ /// The `202 Accepted` response includes an `id` value.
+ /// You can use this ID to check the status of the upload by using it in the `/sarifs/{sarif_id}` endpoint.
+ /// For more information, see "[Get information about a SARIF upload](/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload)."
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
+ /// This endpoint is limited to 1,000 requests per hour for each user or app installation calling it. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUploadSarifAsync( + string owner, + string repo, + global::G.CodeScanningUploadSarifRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload an analysis as SARIF data
+ /// Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. For troubleshooting information, see "[Troubleshooting SARIF uploads](https://docs.github.com/code-security/code-scanning/troubleshooting-sarif)."
+ /// There are two places where you can upload code scanning results.
+ /// - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)."
+ /// - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see "[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)."
+ /// You must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:
+ /// ```
+ /// gzip -c analysis-data.sarif | base64 -w0
+ /// ```
+ /// SARIF upload supports a maximum number of entries per the following data objects, and an analysis will be rejected if any of these objects is above its maximum value. For some objects, there are additional values over which the entries will be ignored while keeping the most important entries whenever applicable.
+ /// To get the most out of your analysis when it includes data above the supported limits, try to optimize the analysis configuration. For example, for the CodeQL tool, identify and remove the most noisy queries. For more information, see "[SARIF results exceed one or more limits](https://docs.github.com/code-security/code-scanning/troubleshooting-sarif/results-exceed-limit)."
+ /// | **SARIF data** | **Maximum values** | **Additional limits** |
+ /// |----------------------------------|:------------------:|----------------------------------------------------------------------------------|
+ /// | Runs per file | 20 | |
+ /// | Results per run | 25,000 | Only the top 5,000 results will be included, prioritized by severity. |
+ /// | Rules per run | 25,000 | |
+ /// | Tool extensions per run | 100 | |
+ /// | Thread Flow Locations per result | 10,000 | Only the top 1,000 Thread Flow Locations will be included, using prioritization. |
+ /// | Location per result | 1,000 | Only 100 locations will be included. |
+ /// | Tags per rule | 20 | Only 10 tags will be included. |
+ /// The `202 Accepted` response includes an `id` value.
+ /// You can use this ID to check the status of the upload by using it in the `/sarifs/{sarif_id}` endpoint.
+ /// For more information, see "[Get information about a SARIF upload](/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload)."
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
+ /// This endpoint is limited to 1,000 requests per hour for each user or app installation calling it. + ///
+ /// + /// + /// + /// The SHA of the commit to which the analysis you are uploading relates. + /// + /// + /// The full Git reference, formatted as `refs/heads/<branch name>`,
+ /// `refs/tags/<tag>`, `refs/pull/<number>/merge`, or `refs/pull/<number>/head`.
+ /// Example: refs/heads/main + /// + /// + /// A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see "[SARIF support for code scanning](https://docs.github.com/code-security/secure-coding/sarif-support-for-code-scanning)." + /// + /// + /// The base directory used in the analysis, as it appears in the SARIF file.
+ /// This property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository.
+ /// Example: file:///github/workspace/ + /// + /// + /// The time that the analysis run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + /// + /// The name of the tool used to generate the code scanning analysis. If this parameter is not used, the tool name defaults to "API". If the uploaded SARIF contains a tool GUID, this will be available for filtering using the `tool_guid` parameter of operations such as `GET /repos/{owner}/{repo}/code-scanning/alerts`. + /// + /// + /// Whether the SARIF file will be validated according to the code scanning specifications.
+ /// This parameter is intended to help integrators ensure that the uploaded SARIF files are correctly rendered by code scanning. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUploadSarifAsync( + string owner, + string repo, + string commitSha, + string @ref, + string sarif, + string? checkoutUri = default, + global::System.DateTime startedAt = default, + string? toolName = default, + bool validate = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.g.verified.cs new file mode 100644 index 0000000000..d2465cf367 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodeScanningClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICodeScanningClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Retrieve code scanning alerts from a repository.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICodeScanningClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.CodesOfConductGetAllCodesOfConduct.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.CodesOfConductGetAllCodesOfConduct.g.verified.cs new file mode 100644 index 0000000000..593a6c20ea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.CodesOfConductGetAllCodesOfConduct.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ICodesOfConductClient.CodesOfConductGetAllCodesOfConduct.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodesOfConductClient + { + /// + /// Get all codes of conduct
+ /// Returns array of all GitHub's codes of conduct. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodesOfConductGetAllCodesOfConductAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.CodesOfConductGetConductCode.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.CodesOfConductGetConductCode.g.verified.cs new file mode 100644 index 0000000000..11e500a316 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.CodesOfConductGetConductCode.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ICodesOfConductClient.CodesOfConductGetConductCode.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodesOfConductClient + { + /// + /// Get a code of conduct
+ /// Returns information about the specified GitHub code of conduct. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodesOfConductGetConductCodeAsync( + string key, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.g.verified.cs new file mode 100644 index 0000000000..e47a2472f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodesOfConductClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICodesOfConductClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Insight into codes of conduct for your communities.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICodesOfConductClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesAddRepositoryForSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesAddRepositoryForSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..547b6a9e08 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesAddRepositoryForSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ICodespacesClient.CodespacesAddRepositoryForSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Add a selected repository to a user secret
+ /// Adds a repository to the selected repositories for a user's development environment secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesAddRepositoryForSecretForAuthenticatedUserAsync( + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesAddSelectedRepoToOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesAddSelectedRepoToOrgSecret.g.verified.cs new file mode 100644 index 0000000000..a078e9621d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesAddSelectedRepoToOrgSecret.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesAddSelectedRepoToOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Add selected repository to an organization secret
+ /// Adds a repository to an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesAddSelectedRepoToOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCheckPermissionsForDevcontainer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCheckPermissionsForDevcontainer.g.verified.cs new file mode 100644 index 0000000000..bc1a888da9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCheckPermissionsForDevcontainer.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICodespacesClient.CodespacesCheckPermissionsForDevcontainer.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Check if permissions defined by a devcontainer have been accepted by the authenticated user
+ /// Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// Example: master + /// + /// + /// Example: .devcontainer/example/devcontainer.json + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCheckPermissionsForDevcontainerAsync( + string owner, + string repo, + string @ref, + string devcontainerPath, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCodespaceMachinesForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCodespaceMachinesForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..711d22d038 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCodespaceMachinesForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesCodespaceMachinesForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List machine types for a codespace
+ /// List the machine types a codespace can transition to use.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCodespaceMachinesForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ea44cc22bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateForAuthenticatedUser.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ICodespacesClient.CodespacesCreateForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create a codespace for the authenticated user
+ /// Creates a new codespace, owned by the authenticated user.
+ /// 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. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateForAuthenticatedUserAsync( + global::G.OneOf request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a codespace for the authenticated user
+ /// Creates a new codespace, owned by the authenticated user.
+ /// 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. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateOrgSecret.g.verified.cs new file mode 100644 index 0000000000..98bfa7cb12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateOrgSecret.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.ICodespacesClient.CodespacesCreateOrUpdateOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create or update an organization secret
+ /// Creates or updates an organization development environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.CodespacesCreateOrUpdateOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update an organization secret
+ /// Creates or updates an organization development environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key) endpoint. + /// + /// + /// The ID of the key you used to encrypt the secret. + /// + /// + /// Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret. + /// + /// + /// 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/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.CodespacesCreateOrUpdateOrgSecretRequestVisibility visibility, + string? encryptedValue = default, + string? keyId = default, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateRepoSecret.g.verified.cs new file mode 100644 index 0000000000..84616f9a5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateRepoSecret.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.ICodespacesClient.CodespacesCreateOrUpdateRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create or update a repository secret
+ /// Creates or updates a repository development environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + global::G.CodespacesCreateOrUpdateRepoSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update a repository secret
+ /// Creates or updates a repository development environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + string? encryptedValue = default, + string? keyId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..7cd0f5d3f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ICodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create or update a secret for the authenticated user
+ /// Creates or updates a development environment secret for a user's codespace with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateSecretForAuthenticatedUserAsync( + string secretName, + global::G.CodespacesCreateOrUpdateSecretForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update a secret for the authenticated user
+ /// Creates or updates a development environment secret for a user's codespace with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get the public key for the authenticated user](https://docs.github.com/rest/codespaces/secrets#get-public-key-for-the-authenticated-user) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateSecretForAuthenticatedUserAsync( + string secretName, + string keyId, + string? encryptedValue = default, + global::System.Collections.Generic.IList>? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateWithPrForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateWithPrForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..d89d7fb7c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateWithPrForAuthenticatedUser.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.ICodespacesClient.CodespacesCreateWithPrForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create a codespace from a pull request
+ /// Creates a codespace owned by the authenticated user for the specified pull request.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateWithPrForAuthenticatedUserAsync( + string owner, + string repo, + int pullNumber, + global::G.CodespacesCreateWithPrForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a codespace from a pull request
+ /// Creates a codespace owned by the authenticated user for the specified pull request.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task CodespacesCreateWithPrForAuthenticatedUserAsync( + string owner, + string repo, + int pullNumber, + string? location = default, + global::G.CodespacesCreateWithPrForAuthenticatedUserRequestGeo? 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); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateWithRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateWithRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..1f4224fbc0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesCreateWithRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.ICodespacesClient.CodespacesCreateWithRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create a codespace in a repository
+ /// Creates a codespace owned by the authenticated user in the specified repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateWithRepoForAuthenticatedUserAsync( + string owner, + string repo, + global::G.CodespacesCreateWithRepoForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a codespace in a repository
+ /// Creates a codespace owned by the authenticated user in the specified repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task CodespacesCreateWithRepoForAuthenticatedUserAsync( + string owner, + string repo, + string? @ref = default, + string? location = default, + global::G.CodespacesCreateWithRepoForAuthenticatedUserRequestGeo? 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); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteCodespacesAccessUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteCodespacesAccessUsers.g.verified.cs new file mode 100644 index 0000000000..9b20b002b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteCodespacesAccessUsers.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteCodespacesAccessUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Remove users from Codespaces access for an organization
+ /// Codespaces for the specified users will no longer be billed to the organization.
+ /// To use this endpoint, the access settings for the organization must be set to `selected_members`.
+ /// For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesDeleteCodespacesAccessUsersAsync( + string org, + global::G.CodespacesDeleteCodespacesAccessUsersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove users from Codespaces access for an organization
+ /// Codespaces for the specified users will no longer be billed to the organization.
+ /// To use this endpoint, the access settings for the organization must be set to `selected_members`.
+ /// For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The usernames of the organization members whose codespaces should not be billed to the organization. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesDeleteCodespacesAccessUsersAsync( + string org, + global::System.Collections.Generic.IList selectedUsernames, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..d8284be769 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Delete a codespace for the authenticated user
+ /// Deletes a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesDeleteForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteFromOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteFromOrganization.g.verified.cs new file mode 100644 index 0000000000..bbdffe2fdd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteFromOrganization.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteFromOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Delete a codespace from the organization
+ /// Deletes a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesDeleteFromOrganizationAsync( + string org, + string username, + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteOrgSecret.g.verified.cs new file mode 100644 index 0000000000..0c86627d42 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteOrgSecret.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Delete an organization secret
+ /// Deletes an organization development environment secret using the secret name.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesDeleteOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteRepoSecret.g.verified.cs new file mode 100644 index 0000000000..6413a66402 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteRepoSecret.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Delete a repository secret
+ /// Deletes a development environment secret in a repository using the secret name.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesDeleteRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..158367086c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesDeleteSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Delete a secret for the authenticated user
+ /// Deletes a development environment secret from a user's codespaces using the secret name. Deleting the secret will remove access from all codespaces that were allowed to access the secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesDeleteSecretForAuthenticatedUserAsync( + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesExportForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesExportForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..1c7a6c1bdf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesExportForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodespacesClient.CodespacesExportForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Export a codespace for the authenticated user
+ /// Triggers an export of the specified codespace and returns a URL and ID where the status of the export can be monitored.
+ /// If changes cannot be pushed to the codespace's repository, they will be pushed to a new or previously-existing fork instead.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesExportForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetCodespacesForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetCodespacesForUserInOrg.g.verified.cs new file mode 100644 index 0000000000..97151022c0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetCodespacesForUserInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICodespacesClient.CodespacesGetCodespacesForUserInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List codespaces for a user in organization
+ /// Lists the codespaces that a member of an organization has for repositories in that organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetCodespacesForUserInOrgAsync( + string org, + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetExportDetailsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetExportDetailsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..aa384d3e99 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetExportDetailsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICodespacesClient.CodespacesGetExportDetailsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get details about a codespace export
+ /// Gets information about an export of a codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetExportDetailsForAuthenticatedUserAsync( + string codespaceName, + string exportId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..bb80a51cf9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesGetForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get a codespace for the authenticated user
+ /// Gets information about a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetOrgPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetOrgPublicKey.g.verified.cs new file mode 100644 index 0000000000..8920e18066 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetOrgPublicKey.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesGetOrgPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get an organization public key
+ /// Gets a public key for an organization, which is required in order to encrypt secrets. You need to encrypt the value of a secret before you can create or update secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetOrgPublicKeyAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetOrgSecret.g.verified.cs new file mode 100644 index 0000000000..551ad8aaf1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetOrgSecret.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICodespacesClient.CodespacesGetOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get an organization secret
+ /// Gets an organization development environment secret without revealing its encrypted value.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetPublicKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetPublicKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..5a032acbc3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetPublicKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ICodespacesClient.CodespacesGetPublicKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get public key for the authenticated user
+ /// Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetPublicKeyForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs new file mode 100644 index 0000000000..ce8d255286 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesGetRepoPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get a repository public key
+ /// Gets your public key, which you need to encrypt secrets. You need to
+ /// encrypt a secret before you can create or update secrets.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetRepoPublicKeyAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoSecret.g.verified.cs new file mode 100644 index 0000000000..bece2f4b5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetRepoSecret.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesGetRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get a repository secret
+ /// Gets a single repository development environment secret without revealing its encrypted value.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..fc0b623742 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesGetSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodespacesClient.CodespacesGetSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get a secret for the authenticated user
+ /// Gets a development environment secret available to a user's codespaces without revealing its encrypted value.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetSecretForAuthenticatedUserAsync( + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListDevcontainersInRepositoryForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListDevcontainersInRepositoryForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..fa40769a7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListDevcontainersInRepositoryForAuthenticatedUser.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.ICodespacesClient.CodespacesListDevcontainersInRepositoryForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List devcontainer configurations in a repository for the authenticated user
+ /// Lists the devcontainer.json files associated with a specified repository and the authenticated user. These files
+ /// specify launchpoint configurations for codespaces created within the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListDevcontainersInRepositoryForAuthenticatedUserAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..edef2cf851 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICodespacesClient.CodespacesListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List codespaces for the authenticated user
+ /// Lists the authenticated user's codespaces.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + int repositoryId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListInOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListInOrganization.g.verified.cs new file mode 100644 index 0000000000..c593b695b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListInOrganization.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICodespacesClient.CodespacesListInOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List codespaces for the organization
+ /// Lists the codespaces associated to a specified organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListInOrganizationAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListInRepositoryForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListInRepositoryForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..8a2b350200 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListInRepositoryForAuthenticatedUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICodespacesClient.CodespacesListInRepositoryForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List codespaces in a repository for the authenticated user
+ /// Lists the codespaces associated to a specified repository and the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListInRepositoryForAuthenticatedUserAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListOrgSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListOrgSecrets.g.verified.cs new file mode 100644 index 0000000000..e05f8fef80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListOrgSecrets.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ICodespacesClient.CodespacesListOrgSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List organization secrets
+ /// Lists all Codespaces development environment secrets available at the organization-level without revealing their encrypted
+ /// values.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListOrgSecretsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListRepoSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListRepoSecrets.g.verified.cs new file mode 100644 index 0000000000..545a7b97be --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListRepoSecrets.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.ICodespacesClient.CodespacesListRepoSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List repository secrets
+ /// Lists all development environment secrets available in a repository without revealing their encrypted
+ /// values.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListRepoSecretsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListRepositoriesForSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListRepositoriesForSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..67e3334b18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListRepositoriesForSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodespacesClient.CodespacesListRepositoriesForSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List selected repositories for a user secret
+ /// List the repositories that have been granted the ability to use a user's development environment secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListRepositoriesForSecretForAuthenticatedUserAsync( + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListSecretsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListSecretsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..3a0837c332 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListSecretsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICodespacesClient.CodespacesListSecretsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List secrets for the authenticated user
+ /// Lists all development environment secrets available for a user's codespaces without revealing their
+ /// encrypted values.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListSecretsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..fec35ed2d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesListSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.ICodespacesClient.CodespacesListSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List selected repositories for an organization secret
+ /// Lists all repositories that have been selected when the `visibility`
+ /// for repository access to a secret is set to `selected`.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListSelectedReposForOrgSecretAsync( + string org, + string secretName, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..25393f4797 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get default attributes for a codespace
+ /// Gets the default attributes for codespaces created by the user with the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// Example: main + /// + /// + /// Example: 1.2.3.4 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesPreFlightWithRepoForAuthenticatedUserAsync( + string owner, + string repo, + string? @ref = default, + string? clientIp = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesPublishForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesPublishForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..fba4526656 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesPublishForAuthenticatedUser.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.ICodespacesClient.CodespacesPublishForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create a repository from an unpublished codespace
+ /// Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.
+ /// The codespace's token is granted write permissions to the repository, allowing the user to push their changes.
+ /// This will fail for a codespace that is already published, meaning it has an associated repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesPublishForAuthenticatedUserAsync( + string codespaceName, + global::G.CodespacesPublishForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository from an unpublished codespace
+ /// Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.
+ /// The codespace's token is granted write permissions to the repository, allowing the user to push their changes.
+ /// This will fail for a codespace that is already published, meaning it has an associated repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// A name for the new repository. + /// + /// + /// Whether the new repository should be private.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesPublishForAuthenticatedUserAsync( + string codespaceName, + string? name = default, + bool @private = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRemoveRepositoryForSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRemoveRepositoryForSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..85803992a9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRemoveRepositoryForSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ICodespacesClient.CodespacesRemoveRepositoryForSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Remove a selected repository from a user secret
+ /// Removes a repository from the selected repositories for a user's development environment secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesRemoveRepositoryForSecretForAuthenticatedUserAsync( + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRemoveSelectedRepoFromOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRemoveSelectedRepoFromOrgSecret.g.verified.cs new file mode 100644 index 0000000000..5a5745f18f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRemoveSelectedRepoFromOrgSecret.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICodespacesClient.CodespacesRemoveSelectedRepoFromOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Remove selected repository from an organization secret
+ /// Removes a repository from an organization development environment secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesRemoveSelectedRepoFromOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..70116c2347 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ICodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List available machine types for a repository
+ /// List the machine types available for a given repository based on its configuration.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// Example: WestUs2 + /// + /// + /// + /// Example: main + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesRepoMachinesForAuthenticatedUserAsync( + string owner, + string repo, + string? location = default, + string? clientIp = default, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccess.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccess.g.verified.cs new file mode 100644 index 0000000000..7fe4437831 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccess.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ICodespacesClient.CodespacesSetCodespacesAccess.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Manage access control for organization codespaces
+ /// Sets which users can access codespaces in an organization. This is synonymous with granting or revoking codespaces access permissions for users according to the visibility.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesSetCodespacesAccessAsync( + string org, + global::G.CodespacesSetCodespacesAccessRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Manage access control for organization codespaces
+ /// Sets which users can access codespaces in an organization. This is synonymous with granting or revoking codespaces access permissions for users according to the visibility.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Which users can access codespaces in the organization. `disabled` means that no users can access codespaces in the organization. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesSetCodespacesAccessAsync( + string org, + global::G.CodespacesSetCodespacesAccessRequestVisibility visibility, + global::System.Collections.Generic.IList? selectedUsernames = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccessUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccessUsers.g.verified.cs new file mode 100644 index 0000000000..779a543228 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccessUsers.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ICodespacesClient.CodespacesSetCodespacesAccessUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Add users to Codespaces access for an organization
+ /// Codespaces for the specified users will be billed to the organization.
+ /// To use this endpoint, the access settings for the organization must be set to `selected_members`.
+ /// For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesSetCodespacesAccessUsersAsync( + string org, + global::G.CodespacesSetCodespacesAccessUsersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add users to Codespaces access for an organization
+ /// Codespaces for the specified users will be billed to the organization.
+ /// To use this endpoint, the access settings for the organization must be set to `selected_members`.
+ /// For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The usernames of the organization members whose codespaces be billed to the organization. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesSetCodespacesAccessUsersAsync( + string org, + global::System.Collections.Generic.IList selectedUsernames, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetRepositoriesForSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetRepositoriesForSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..d34ce81099 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetRepositoriesForSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.ICodespacesClient.CodespacesSetRepositoriesForSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Set selected repositories for a user secret
+ /// Select the repositories that will use a user's development environment secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesSetRepositoriesForSecretForAuthenticatedUserAsync( + string secretName, + global::G.CodespacesSetRepositoriesForSecretForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories for a user secret
+ /// Select the repositories that will use a user's development environment secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// An array of repository ids for which a codespace can access the 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), [Add a selected repository to a user secret](https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesSetRepositoriesForSecretForAuthenticatedUserAsync( + string secretName, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..1f836d5d41 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesSetSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ICodespacesClient.CodespacesSetSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization development environment secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::G.CodespacesSetSelectedReposForOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization development environment secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStartForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStartForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..27489888ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStartForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesStartForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Start a codespace for the authenticated user
+ /// Starts a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesStartForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStopForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStopForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..0b707ec63b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStopForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesStopForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Stop a codespace for the authenticated user
+ /// Stops a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesStopForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStopInOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStopInOrganization.g.verified.cs new file mode 100644 index 0000000000..4e078ec597 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesStopInOrganization.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesStopInOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Stop a codespace for an organization user
+ /// Stops a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesStopInOrganizationAsync( + string org, + string username, + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesUpdateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesUpdateForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..516eaecdbe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.CodespacesUpdateForAuthenticatedUser.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ICodespacesClient.CodespacesUpdateForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Update a codespace for the authenticated user
+ /// Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.
+ /// If you specify a new machine type it will be applied the next time your codespace is started.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesUpdateForAuthenticatedUserAsync( + string codespaceName, + global::G.CodespacesUpdateForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a codespace for the authenticated user
+ /// Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.
+ /// If you specify a new machine type it will be applied the next time your codespace is started.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// A valid machine to transition this codespace to. + /// + /// + /// Display name for this codespace + /// + /// + /// Recently opened folders inside the codespace. It is currently used by the clients to determine the folder path to load the codespace in. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesUpdateForAuthenticatedUserAsync( + string codespaceName, + string? machine = default, + string? displayName = default, + global::System.Collections.Generic.IList? recentFolders = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.g.verified.cs new file mode 100644 index 0000000000..5296b0cb66 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICodespacesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICodespacesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage Codespaces using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICodespacesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs new file mode 100644 index 0000000000..f192581ef3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Add teams to the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Purchases a GitHub Copilot seat for all users within each specified team.
+ /// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
+ /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
+ /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotAddCopilotSeatsForTeamsAsync( + string org, + global::G.CopilotAddCopilotSeatsForTeamsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add teams to the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Purchases a GitHub Copilot seat for all users within each specified team.
+ /// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
+ /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
+ /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// List of team names within the organization to which to grant access to GitHub Copilot. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotAddCopilotSeatsForTeamsAsync( + string org, + global::System.Collections.Generic.IList selectedTeams, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs new file mode 100644 index 0000000000..c5f89c67f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Add users to the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Purchases a GitHub Copilot seat for each user specified.
+ /// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
+ /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
+ /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotAddCopilotSeatsForUsersAsync( + string org, + global::G.CopilotAddCopilotSeatsForUsersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add users to the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Purchases a GitHub Copilot seat for each user specified.
+ /// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
+ /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
+ /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The usernames of the organization members to be granted access to GitHub Copilot. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotAddCopilotSeatsForUsersAsync( + string org, + global::System.Collections.Generic.IList selectedUsernames, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs new file mode 100644 index 0000000000..0186d5213c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Remove teams from the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Cancels the Copilot seat assignment for all members of each team specified.
+ /// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
+ /// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotCancelCopilotSeatAssignmentForTeamsAsync( + string org, + global::G.CopilotCancelCopilotSeatAssignmentForTeamsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove teams from the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Cancels the Copilot seat assignment for all members of each team specified.
+ /// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
+ /// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The names of teams from which to revoke access to GitHub Copilot. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotCancelCopilotSeatAssignmentForTeamsAsync( + string org, + global::System.Collections.Generic.IList selectedTeams, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs new file mode 100644 index 0000000000..c81a0627d3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Remove users from the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Cancels the Copilot seat assignment for each user specified.
+ /// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
+ /// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotCancelCopilotSeatAssignmentForUsersAsync( + string org, + global::G.CopilotCancelCopilotSeatAssignmentForUsersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove users from the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Cancels the Copilot seat assignment for each user specified.
+ /// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
+ /// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The usernames of the organization members for which to revoke access to GitHub Copilot. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotCancelCopilotSeatAssignmentForUsersAsync( + string org, + global::System.Collections.Generic.IList selectedUsernames, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs new file mode 100644 index 0000000000..75198024f5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get Copilot seat information and settings for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Gets information about an organization's Copilot subscription, including seat breakdown
+ /// and code matching policies. To configure these settings, go to your organization's settings on GitHub.com.
+ /// For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)".
+ /// Only organization owners can configure and view details about the organization's Copilot Business subscription.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotGetCopilotOrganizationDetailsAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs new file mode 100644 index 0000000000..c7bc5cc889 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get Copilot seat assignment details for a user
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.
+ /// Organization owners can view GitHub Copilot seat assignment details for members in their organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotGetCopilotSeatDetailsForUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs new file mode 100644 index 0000000000..52fb545fff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICopilotClient.CopilotListCopilotSeats.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// List all Copilot seat assignments for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).
+ /// Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 50 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotListCopilotSeatsAsync( + string org, + int page = 1, + int perPage = 50, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs new file mode 100644 index 0000000000..7c7c3accd0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get a summary of Copilot usage for enterprise members
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,
+ /// and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage
+ /// metrics for the enterprise.
+ /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CopilotUsageMetricsForEnterpriseAsync( + string enterprise, + string? since = default, + string? until = default, + int page = 1, + int perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs new file mode 100644 index 0000000000..d111a03a94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.ICopilotClient.CopilotUsageMetricsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get a summary of Copilot usage for organization members
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
+ /// See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view
+ /// Copilot usage metrics.
+ /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CopilotUsageMetricsForOrgAsync( + string org, + string? since = default, + string? until = default, + int page = 1, + int perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.g.verified.cs new file mode 100644 index 0000000000..4d70fbda62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ICopilotClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICopilotClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage Copilot using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICopilotClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotAddSelectedRepoToOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotAddSelectedRepoToOrgSecret.g.verified.cs new file mode 100644 index 0000000000..0328cc3983 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotAddSelectedRepoToOrgSecret.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDependabotClient.DependabotAddSelectedRepoToOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Add selected repository to an organization secret
+ /// Adds a repository to an organization secret when the `visibility` for
+ /// repository access is set to `selected`. The visibility is set when you [Create or
+ /// update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotAddSelectedRepoToOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotCreateOrUpdateOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotCreateOrUpdateOrgSecret.g.verified.cs new file mode 100644 index 0000000000..768d8cef75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotCreateOrUpdateOrgSecret.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IDependabotClient.DependabotCreateOrUpdateOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Create or update an organization secret
+ /// Creates or updates an organization secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.DependabotCreateOrUpdateOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update an organization secret
+ /// Creates or updates an organization secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// + /// Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.DependabotCreateOrUpdateOrgSecretRequestVisibility visibility, + string? encryptedValue = default, + string? keyId = default, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotCreateOrUpdateRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotCreateOrUpdateRepoSecret.g.verified.cs new file mode 100644 index 0000000000..fd54e8f9e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotCreateOrUpdateRepoSecret.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IDependabotClient.DependabotCreateOrUpdateRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Create or update a repository secret
+ /// Creates or updates a repository secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + global::G.DependabotCreateOrUpdateRepoSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update a repository secret
+ /// Creates or updates a repository secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + string? encryptedValue = default, + string? keyId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotDeleteOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotDeleteOrgSecret.g.verified.cs new file mode 100644 index 0000000000..f971d36ad9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotDeleteOrgSecret.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDependabotClient.DependabotDeleteOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Delete an organization secret
+ /// Deletes a secret in an organization using the secret name.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotDeleteOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotDeleteRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotDeleteRepoSecret.g.verified.cs new file mode 100644 index 0000000000..ab43b3fabb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotDeleteRepoSecret.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDependabotClient.DependabotDeleteRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Delete a repository secret
+ /// Deletes a secret in a repository using the secret name.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotDeleteRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetAlert.g.verified.cs new file mode 100644 index 0000000000..d62f06abf2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetAlert.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDependabotClient.DependabotGetAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Get a Dependabot alert
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotGetAlertAsync( + string owner, + string repo, + int alertNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetOrgPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetOrgPublicKey.g.verified.cs new file mode 100644 index 0000000000..e824019a97 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetOrgPublicKey.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IDependabotClient.DependabotGetOrgPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Get an organization public key
+ /// Gets your public key, which you need to encrypt secrets. You need to
+ /// encrypt a secret before you can create or update secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotGetOrgPublicKeyAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetOrgSecret.g.verified.cs new file mode 100644 index 0000000000..b030c94760 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetOrgSecret.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDependabotClient.DependabotGetOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Get an organization secret
+ /// Gets a single organization secret without revealing its encrypted value.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotGetOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetRepoPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetRepoPublicKey.g.verified.cs new file mode 100644 index 0000000000..9d9167da12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetRepoPublicKey.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDependabotClient.DependabotGetRepoPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Get a repository public key
+ /// Gets your public key, which you need to encrypt secrets. You need to
+ /// encrypt a secret before you can create or update secrets. Anyone with read access
+ /// to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the repository is private. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotGetRepoPublicKeyAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetRepoSecret.g.verified.cs new file mode 100644 index 0000000000..d4bccab28f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotGetRepoSecret.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDependabotClient.DependabotGetRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Get a repository secret
+ /// Gets a single repository secret without revealing its encrypted value.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotGetRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForEnterprise.g.verified.cs new file mode 100644 index 0000000000..31ce8a1f15 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForEnterprise.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IDependabotClient.DependabotListAlertsForEnterprise.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List Dependabot alerts for an enterprise
+ /// Lists Dependabot alerts for repositories that are owned by the specified enterprise.
+ /// The authenticated user must be a member of the enterprise to use this endpoint.
+ /// Alerts are only returned for organizations in the enterprise for which you are an organization owner or a security manager. For more information about security managers, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DependabotListAlertsForEnterpriseAsync( + string enterprise, + string? state = default, + string? severity = default, + string? ecosystem = default, + string? package = default, + global::G.DependabotListAlertsForEnterpriseScope? scope = default, + global::G.DependabotListAlertsForEnterpriseSort? sort = global::G.DependabotListAlertsForEnterpriseSort.Created, + global::G.DependabotListAlertsForEnterpriseDirection? direction = global::G.DependabotListAlertsForEnterpriseDirection.Desc, + string? before = default, + string? after = default, + int first = 30, + int last = default, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForOrg.g.verified.cs new file mode 100644 index 0000000000..88a8688740 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForOrg.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IDependabotClient.DependabotListAlertsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List Dependabot alerts for an organization
+ /// Lists Dependabot alerts for an organization.
+ /// The authenticated user must be an owner or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DependabotListAlertsForOrgAsync( + string org, + string? state = default, + string? severity = default, + string? ecosystem = default, + string? package = default, + global::G.DependabotListAlertsForOrgScope? scope = default, + global::G.DependabotListAlertsForOrgSort? sort = global::G.DependabotListAlertsForOrgSort.Created, + global::G.DependabotListAlertsForOrgDirection? direction = global::G.DependabotListAlertsForOrgDirection.Desc, + string? before = default, + string? after = default, + int first = 30, + int last = default, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForRepo.g.verified.cs new file mode 100644 index 0000000000..f34f70e7f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListAlertsForRepo.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IDependabotClient.DependabotListAlertsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List Dependabot alerts for a repository
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DependabotListAlertsForRepoAsync( + string owner, + string repo, + string? state = default, + string? severity = default, + string? ecosystem = default, + string? package = default, + string? manifest = default, + global::G.DependabotListAlertsForRepoScope? scope = default, + global::G.DependabotListAlertsForRepoSort? sort = global::G.DependabotListAlertsForRepoSort.Created, + global::G.DependabotListAlertsForRepoDirection? direction = global::G.DependabotListAlertsForRepoDirection.Desc, + int page = 1, + int perPage = 30, + string? before = default, + string? after = default, + int first = 30, + int last = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListOrgSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListOrgSecrets.g.verified.cs new file mode 100644 index 0000000000..7677fc2e10 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListOrgSecrets.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IDependabotClient.DependabotListOrgSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List organization secrets
+ /// Lists all secrets available in an organization without revealing their
+ /// encrypted values.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotListOrgSecretsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListRepoSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListRepoSecrets.g.verified.cs new file mode 100644 index 0000000000..a4bc077649 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListRepoSecrets.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IDependabotClient.DependabotListRepoSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List repository secrets
+ /// Lists all secrets available in a repository without revealing their encrypted
+ /// values.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotListRepoSecretsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..43c2f31373 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotListSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IDependabotClient.DependabotListSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List selected repositories for an organization secret
+ /// Lists all repositories that have been selected when the `visibility`
+ /// for repository access to a secret is set to `selected`.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotListSelectedReposForOrgSecretAsync( + string org, + string secretName, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotRemoveSelectedRepoFromOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotRemoveSelectedRepoFromOrgSecret.g.verified.cs new file mode 100644 index 0000000000..1f20e3c4fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotRemoveSelectedRepoFromOrgSecret.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDependabotClient.DependabotRemoveSelectedRepoFromOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Remove selected repository from an organization secret
+ /// Removes a repository from an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotRemoveSelectedRepoFromOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotSetSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotSetSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..9f888b936a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotSetSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IDependabotClient.DependabotSetSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::G.DependabotSetSelectedReposForOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 add and remove individual repositories using the [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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotUpdateAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotUpdateAlert.g.verified.cs new file mode 100644 index 0000000000..66669ae939 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.DependabotUpdateAlert.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IDependabotClient.DependabotUpdateAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Update a Dependabot alert
+ /// The authenticated user must have access to security alerts for the repository to use this endpoint. For more information, see "[Granting access to security alerts](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts)."
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.DependabotUpdateAlertRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a Dependabot alert
+ /// The authenticated user must have access to security alerts for the repository to use this endpoint. For more information, see "[Granting access to security alerts](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts)."
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// The state of the Dependabot alert.
+ /// A `dismissed_reason` must be provided when setting the state to `dismissed`. + /// + /// + /// **Required when `state` is `dismissed`.** A reason for dismissing the alert. + /// + /// + /// An optional comment associated with dismissing the alert. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.DependabotUpdateAlertRequestState state, + global::G.DependabotUpdateAlertRequestDismissedReason? dismissedReason = default, + string? dismissedComment = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.g.verified.cs new file mode 100644 index 0000000000..f3dc1debc5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependabotClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDependabotClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage Dependabot.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDependabotClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.verified.cs new file mode 100644 index 0000000000..8664fb052b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IDependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependencyGraphClient + { + /// + /// Create a snapshot of dependencies for a repository
+ /// Create a new snapshot of a repository's dependencies.
+ /// The authenticated user must have access to the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependencyGraphCreateRepositorySnapshotAsync( + string owner, + string repo, + global::G.Snapshot request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a snapshot of dependencies for a repository
+ /// Create a new snapshot of a repository's dependencies.
+ /// The authenticated user must have access to the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The version of the repository snapshot submission. + /// + /// + /// + /// The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.
+ /// Example: ddc951f4b1293222421f2c8df679786153acf689 + /// + /// + /// The repository branch that triggered this snapshot.
+ /// Example: refs/heads/main + /// + /// + /// A description of the detector used. + /// + /// + /// User-defined metadata to store domain-specific information limited to 8 keys with scalar values. + /// + /// + /// A collection of package manifests, which are a collection of related dependencies declared in a file or representing a logical group of dependencies. + /// + /// + /// The time at which the snapshot was scanned. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependencyGraphCreateRepositorySnapshotAsync( + string owner, + string repo, + int version, + global::G.SnapshotJob job, + string sha, + string @ref, + global::G.SnapshotDetector detector, + global::System.DateTime scanned, + global::G.Metadata? metadata = default, + global::G.SnapshotManifests? manifests = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphDiffRange.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphDiffRange.g.verified.cs new file mode 100644 index 0000000000..ab8a0470e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphDiffRange.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDependencyGraphClient.DependencyGraphDiffRange.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependencyGraphClient + { + /// + /// Get a diff of the dependencies between commits
+ /// Gets the diff of the dependency changes between two commits of a repository, based on the changes to the dependency manifests made in those commits. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DependencyGraphDiffRangeAsync( + string owner, + string repo, + string basehead, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphExportSbom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphExportSbom.g.verified.cs new file mode 100644 index 0000000000..b167825d44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.DependencyGraphExportSbom.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IDependencyGraphClient.DependencyGraphExportSbom.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependencyGraphClient + { + /// + /// Export a software bill of materials (SBOM) for a repository.
+ /// Exports the software bill of materials (SBOM) for a repository in SPDX JSON format. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependencyGraphExportSbomAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.g.verified.cs new file mode 100644 index 0000000000..1754eb879f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDependencyGraphClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDependencyGraphClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to access Dependency Graph features.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDependencyGraphClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDesktopClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDesktopClient.g.verified.cs new file mode 100644 index 0000000000..aa853e3e7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IDesktopClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDesktopClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Desktop specific endpoints.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDesktopClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEmojisClient.EmojisGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEmojisClient.EmojisGet.g.verified.cs new file mode 100644 index 0000000000..bd6a38c866 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEmojisClient.EmojisGet.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IEmojisClient.EmojisGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmojisClient + { + /// + /// Get emojis
+ /// Lists all the emojis available to use on GitHub. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EmojisGetAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEmojisClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEmojisClient.g.verified.cs new file mode 100644 index 0000000000..867c60a628 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEmojisClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IEmojisClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// List emojis available to use on GitHub.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEmojisClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEnterpriseTeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEnterpriseTeamsClient.g.verified.cs new file mode 100644 index 0000000000..c8a5ce61e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IEnterpriseTeamsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IEnterpriseTeamsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage GitHub Enterprise Teams.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEnterpriseTeamsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCheckIsStarred.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCheckIsStarred.g.verified.cs new file mode 100644 index 0000000000..53732b56c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCheckIsStarred.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IGistsClient.GistsCheckIsStarred.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Check if a gist is starred + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsCheckIsStarredAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreate.g.verified.cs new file mode 100644 index 0000000000..a6303583b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreate.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IGistsClient.GistsCreate.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Create a gist
+ /// Allows you to add a new gist with one or more files.
+ /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsCreateAsync( + global::G.GistsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a gist
+ /// Allows you to add a new gist with one or more files.
+ /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + ///
+ /// + /// Description of the gist
+ /// Example: Example Ruby script + /// + /// + /// Names and content for the files that make up the gist + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsCreateAsync( + global::G.GistsCreateRequestFiles files, + string? description = default, + global::G.OneOf? @public = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreateComment.g.verified.cs new file mode 100644 index 0000000000..aa7bab02c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsCreateComment.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IGistsClient.GistsCreateComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Create a gist comment
+ /// Creates a comment on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsCreateCommentAsync( + string gistId, + global::G.GistsCreateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a gist comment
+ /// Creates a comment on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The comment text.
+ /// Example: Body of the attachment + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsCreateCommentAsync( + string gistId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDelete.g.verified.cs new file mode 100644 index 0000000000..032c3f53a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDelete.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IGistsClient.GistsDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Delete a gist + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsDeleteAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs new file mode 100644 index 0000000000..01ceba6268 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IGistsClient.GistsDeleteComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Delete a gist comment + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsDeleteCommentAsync( + string gistId, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsFork.g.verified.cs new file mode 100644 index 0000000000..d42980a4c0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsFork.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IGistsClient.GistsFork.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Fork a gist + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsForkAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGet.g.verified.cs new file mode 100644 index 0000000000..ae1556d964 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGet.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IGistsClient.GistsGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Get a gist
+ /// Gets a specified gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsGetAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetComment.g.verified.cs new file mode 100644 index 0000000000..2f441b2870 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetComment.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGistsClient.GistsGetComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Get a gist comment
+ /// Gets a comment on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsGetCommentAsync( + string gistId, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetRevision.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetRevision.g.verified.cs new file mode 100644 index 0000000000..9dcc45754b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsGetRevision.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGistsClient.GistsGetRevision.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Get a gist revision
+ /// Gets a specified gist revision.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsGetRevisionAsync( + string gistId, + string sha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsList.g.verified.cs new file mode 100644 index 0000000000..b3783683ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsList.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IGistsClient.GistsList.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List gists for the authenticated user
+ /// Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists: + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListAsync( + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListComments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListComments.g.verified.cs new file mode 100644 index 0000000000..55eec16509 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListComments.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IGistsClient.GistsListComments.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List gist comments
+ /// Lists the comments on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListCommentsAsync( + string gistId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListCommits.g.verified.cs new file mode 100644 index 0000000000..8854c2995b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListCommits.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGistsClient.GistsListCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List gist commits + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListCommitsAsync( + string gistId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListForUser.g.verified.cs new file mode 100644 index 0000000000..76ca2b0bf6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListForUser.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IGistsClient.GistsListForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List gists for a user
+ /// Lists public gists for the specified user: + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListForUserAsync( + string username, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListForks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListForks.g.verified.cs new file mode 100644 index 0000000000..809a0daff0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListForks.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGistsClient.GistsListForks.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List gist forks + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListForksAsync( + string gistId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListPublic.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListPublic.g.verified.cs new file mode 100644 index 0000000000..80d73f19f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListPublic.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IGistsClient.GistsListPublic.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List public gists
+ /// List public gists sorted by most recently updated to least recently updated.
+ /// Note: With [pagination](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListPublicAsync( + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListStarred.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListStarred.g.verified.cs new file mode 100644 index 0000000000..387cd40c04 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsListStarred.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IGistsClient.GistsListStarred.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List starred gists
+ /// List the authenticated user's starred gists: + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListStarredAsync( + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsStar.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsStar.g.verified.cs new file mode 100644 index 0000000000..aedbdbbb68 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsStar.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IGistsClient.GistsStar.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Star a gist
+ /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsStarAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUnstar.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUnstar.g.verified.cs new file mode 100644 index 0000000000..32864900da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUnstar.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IGistsClient.GistsUnstar.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Unstar a gist + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsUnstarAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdate.g.verified.cs new file mode 100644 index 0000000000..6bd549f0b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdate.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IGistsClient.GistsUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Update a gist
+ /// Allows you to update a gist's description and to update, delete, or rename gist files. Files
+ /// from the previous version of the gist that aren't explicitly changed during an edit
+ /// are unchanged.
+ /// At least one of `description` or `files` is required.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsUpdateAsync( + string gistId, + global::G.GistsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a gist
+ /// Allows you to update a gist's description and to update, delete, or rename gist files. Files
+ /// from the previous version of the gist that aren't explicitly changed during an edit
+ /// are unchanged.
+ /// At least one of `description` or `files` is required.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The description of the gist.
+ /// Example: Example Ruby script + /// + /// + /// 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`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsUpdateAsync( + string gistId, + string? description = default, + global::G.GistsUpdateRequestFiles? files = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs new file mode 100644 index 0000000000..23f9d85970 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IGistsClient.GistsUpdateComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Update a gist comment
+ /// Updates a comment on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsUpdateCommentAsync( + string gistId, + int commentId, + global::G.GistsUpdateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a gist comment
+ /// Updates a comment on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// + /// The comment text.
+ /// Example: Body of the attachment + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsUpdateCommentAsync( + string gistId, + int commentId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.g.verified.cs new file mode 100644 index 0000000000..b759735597 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGistsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGistsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// View, modify your gists.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGistsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateBlob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateBlob.g.verified.cs new file mode 100644 index 0000000000..4e00ee1d25 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateBlob.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IGitClient.GitCreateBlob.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Create a blob + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateBlobAsync( + string owner, + string repo, + global::G.GitCreateBlobRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a blob + /// + /// + /// + /// + /// The new blob's content. + /// + /// + /// The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported.
+ /// Default Value: utf-8 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateBlobAsync( + string owner, + string repo, + string content, + string? encoding = "utf-8", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateCommit.g.verified.cs new file mode 100644 index 0000000000..a27839e750 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateCommit.g.verified.cs @@ -0,0 +1,108 @@ +//HintName: G.IGitClient.GitCreateCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Create a commit
+ /// Creates a new Git [commit object](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects).
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateCommitAsync( + string owner, + string repo, + global::G.GitCreateCommitRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a commit
+ /// Creates a new Git [commit object](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects).
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The commit message + /// + /// + /// The SHA of the tree object this commit points to + /// + /// + /// The 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. + /// + /// + /// 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. + /// + /// + /// Information about the person who is making the commit. By default, `committer` will use the information set in `author`. See the `author` and `committer` object below for details. + /// + /// + /// The [PGP signature](https://en.wikipedia.org/wiki/Pretty_Good_Privacy) of the commit. GitHub adds the signature to the `gpgsig` header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database. To pass a `signature` parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to [use the command line](https://git-scm.com/book/id/v2/Git-Tools-Signing-Your-Work) to create signed commits. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateCommitAsync( + string owner, + string repo, + string message, + string tree, + global::System.Collections.Generic.IList? parents = default, + global::G.GitCreateCommitRequestAuthor? author = default, + global::G.GitCreateCommitRequestCommitter? committer = default, + string? signature = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateRef.g.verified.cs new file mode 100644 index 0000000000..10e36f066f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateRef.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IGitClient.GitCreateRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Create a reference
+ /// Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateRefAsync( + string owner, + string repo, + global::G.GitCreateRefRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a reference
+ /// Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches. + ///
+ /// + /// + /// + /// The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected. + /// + /// + /// The SHA1 value for this reference. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateRefAsync( + string owner, + string repo, + string @ref, + string sha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateTag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateTag.g.verified.cs new file mode 100644 index 0000000000..17343b5ab8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateTag.g.verified.cs @@ -0,0 +1,104 @@ +//HintName: G.IGitClient.GitCreateTag.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Create a tag object
+ /// Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/git/refs#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/git/refs#create-a-reference) the tag reference - this call would be unnecessary.
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateTagAsync( + string owner, + string repo, + global::G.GitCreateTagRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a tag object
+ /// Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/git/refs#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/git/refs#create-a-reference) the tag reference - this call would be unnecessary.
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The tag's name. This is typically a version (e.g., "v0.0.1"). + /// + /// + /// The tag message. + /// + /// + /// The SHA of the git object this is tagging. + /// + /// + /// The type of the object we're tagging. Normally this is a `commit` but it can also be a `tree` or a `blob`. + /// + /// + /// An object with information about the individual creating the tag. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateTagAsync( + string owner, + string repo, + string tag, + string message, + string @object, + global::G.GitCreateTagRequestType type, + global::G.GitCreateTagRequestTagger? tagger = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateTree.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateTree.g.verified.cs new file mode 100644 index 0000000000..fc5e4a8d33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitCreateTree.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IGitClient.GitCreateTree.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Create a tree
+ /// The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.
+ /// If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see "[Create a commit](https://docs.github.com/rest/git/commits#create-a-commit)" and "[Update a reference](https://docs.github.com/rest/git/refs#update-a-reference)."
+ /// Returns an error if you try to delete a file that does not exist. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateTreeAsync( + string owner, + string repo, + global::G.GitCreateTreeRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a tree
+ /// The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.
+ /// If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see "[Create a commit](https://docs.github.com/rest/git/commits#create-a-commit)" and "[Update a reference](https://docs.github.com/rest/git/refs#update-a-reference)."
+ /// Returns an error if you try to delete a file that does not exist. + ///
+ /// + /// + /// + /// Objects (of `path`, `mode`, `type`, and `sha`) specifying a tree structure. + /// + /// + /// 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.
+ /// If not provided, GitHub will create a new Git tree object from only the entries defined in the `tree` parameter. If you create a new commit pointing to such a tree, then all files which were a part of the parent commit's tree and were not defined in the `tree` parameter will be listed as deleted by the new commit. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateTreeAsync( + string owner, + string repo, + global::System.Collections.Generic.IList tree, + string? baseTree = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitDeleteRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitDeleteRef.g.verified.cs new file mode 100644 index 0000000000..fdb6732476 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitDeleteRef.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IGitClient.GitDeleteRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Delete a reference
+ /// Deletes the provided reference. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitDeleteRefAsync( + string owner, + string repo, + string @ref, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetBlob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetBlob.g.verified.cs new file mode 100644 index 0000000000..e8932644be --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetBlob.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IGitClient.GitGetBlob.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Get a blob
+ /// The `content` in the response will always be Base64 encoded.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw blob data.
+ /// - **`application/vnd.github+json`**: Returns a JSON representation of the blob with `content` as a base64 encoded string. This is the default if no media type is specified.
+ /// **Note** This endpoint supports blobs up to 100 megabytes in size. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitGetBlobAsync( + string owner, + string repo, + string fileSha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetCommit.g.verified.cs new file mode 100644 index 0000000000..75e0fa27cd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetCommit.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IGitClient.GitGetCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Get a commit object
+ /// Gets a Git [commit object](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects).
+ /// To get the contents of a commit, see "[Get a commit](/rest/commits/commits#get-a-commit)."
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitGetCommitAsync( + string owner, + string repo, + string commitSha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetRef.g.verified.cs new file mode 100644 index 0000000000..6dc9d542f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetRef.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGitClient.GitGetRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Get a reference
+ /// Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.
+ /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitGetRefAsync( + string owner, + string repo, + string @ref, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTag.g.verified.cs new file mode 100644 index 0000000000..1c5c8dfc28 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTag.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IGitClient.GitGetTag.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Get a tag
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitGetTagAsync( + string owner, + string repo, + string tagSha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTree.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTree.g.verified.cs new file mode 100644 index 0000000000..e8b18d43b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitGetTree.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IGitClient.GitGetTree.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Get a tree
+ /// Returns a single tree using the SHA1 value or ref name for that tree.
+ /// If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.
+ /// **Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitGetTreeAsync( + string owner, + string repo, + string treeSha, + string? recursive = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs new file mode 100644 index 0000000000..172432a823 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGitClient.GitListMatchingRefs.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// List matching references
+ /// Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.
+ /// When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.
+ /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
+ /// If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GitListMatchingRefsAsync( + string owner, + string repo, + string @ref, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitUpdateRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitUpdateRef.g.verified.cs new file mode 100644 index 0000000000..a852266406 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.GitUpdateRef.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IGitClient.GitUpdateRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Update a reference
+ /// Updates the provided reference to point to a new SHA. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitUpdateRefAsync( + string owner, + string repo, + string @ref, + global::G.GitUpdateRefRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a reference
+ /// Updates the provided reference to point to a new SHA. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. + ///
+ /// + /// + /// + /// + /// The SHA1 value to set this reference to + /// + /// + /// Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitUpdateRefAsync( + string owner, + string repo, + string @ref, + string sha, + bool force = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.g.verified.cs new file mode 100644 index 0000000000..31c57b2074 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGitClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Raw Git functionality.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGitClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.GitignoreGetAllTemplates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.GitignoreGetAllTemplates.g.verified.cs new file mode 100644 index 0000000000..523f24e8f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.GitignoreGetAllTemplates.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IGitignoreClient.GitignoreGetAllTemplates.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitignoreClient + { + /// + /// Get all gitignore templates
+ /// List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/repos/repos#create-a-repository-for-the-authenticated-user). + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GitignoreGetAllTemplatesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.GitignoreGetTemplate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.GitignoreGetTemplate.g.verified.cs new file mode 100644 index 0000000000..ff62f51deb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.GitignoreGetTemplate.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IGitignoreClient.GitignoreGetTemplate.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitignoreClient + { + /// + /// Get a gitignore template
+ /// Get the content of a gitignore template.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw .gitignore contents. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitignoreGetTemplateAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.g.verified.cs new file mode 100644 index 0000000000..75449a0d38 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IGitignoreClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGitignoreClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// View gitignore templates
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGitignoreClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..9b6f3f1a61 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IInteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Get interaction restrictions for your public repositories
+ /// Shows which type of GitHub user can interact with your public repositories and when the restriction expires. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForOrg.g.verified.cs new file mode 100644 index 0000000000..77e4509bc6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForOrg.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IInteractionsClient.InteractionsGetRestrictionsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Get interaction restrictions for an organization
+ /// Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForRepo.g.verified.cs new file mode 100644 index 0000000000..0debfbb750 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForRepo.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IInteractionsClient.InteractionsGetRestrictionsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Get interaction restrictions for a repository
+ /// Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..f34883e758 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IInteractionsClient.InteractionsRemoveRestrictionsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Remove interaction restrictions from your public repositories
+ /// Removes any interaction restrictions from your public repositories. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsRemoveRestrictionsForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForOrg.g.verified.cs new file mode 100644 index 0000000000..efb52dee0b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForOrg.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IInteractionsClient.InteractionsRemoveRestrictionsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Remove interaction restrictions for an organization
+ /// Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsRemoveRestrictionsForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForRepo.g.verified.cs new file mode 100644 index 0000000000..d8b3dfcf58 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForRepo.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IInteractionsClient.InteractionsRemoveRestrictionsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Remove interaction restrictions for a repository
+ /// Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsRemoveRestrictionsForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..97246f635e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IInteractionsClient.InteractionsSetRestrictionsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Set interaction restrictions for your public repositories
+ /// Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForAuthenticatedUserAsync( + global::G.InteractionLimit request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set interaction restrictions for your public repositories
+ /// Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. + ///
+ /// + /// The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.
+ /// Example: collaborators_only + /// + /// + /// The duration of the interaction restriction. Default: `one_day`.
+ /// Example: one_month + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForAuthenticatedUserAsync( + global::G.InteractionGroup limit, + global::G.InteractionExpiry? expiry = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForOrg.g.verified.cs new file mode 100644 index 0000000000..53d4f0105f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForOrg.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IInteractionsClient.InteractionsSetRestrictionsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Set interaction restrictions for an organization
+ /// Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForOrgAsync( + string org, + global::G.InteractionLimit request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set interaction restrictions for an organization
+ /// Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization. + ///
+ /// + /// + /// The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.
+ /// Example: collaborators_only + /// + /// + /// The duration of the interaction restriction. Default: `one_day`.
+ /// Example: one_month + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForOrgAsync( + string org, + global::G.InteractionGroup limit, + global::G.InteractionExpiry? expiry = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForRepo.g.verified.cs new file mode 100644 index 0000000000..93daa9545e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForRepo.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IInteractionsClient.InteractionsSetRestrictionsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Set interaction restrictions for a repository
+ /// Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForRepoAsync( + string owner, + string repo, + global::G.InteractionLimit request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set interaction restrictions for a repository
+ /// Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. + ///
+ /// + /// + /// + /// The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.
+ /// Example: collaborators_only + /// + /// + /// The duration of the interaction restriction. Default: `one_day`.
+ /// Example: one_month + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForRepoAsync( + string owner, + string repo, + global::G.InteractionGroup limit, + global::G.InteractionExpiry? expiry = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.g.verified.cs new file mode 100644 index 0000000000..e03c7706ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IInteractionsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IInteractionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Owner or admin management of users interactions.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IInteractionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesAddAssignees.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesAddAssignees.g.verified.cs new file mode 100644 index 0000000000..4c20d39092 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesAddAssignees.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IIssuesClient.IssuesAddAssignees.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Add assignees to an issue
+ /// Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesAddAssigneesAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesAddAssigneesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add assignees to an issue
+ /// Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced. + ///
+ /// + /// + /// + /// + /// 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._ + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesAddAssigneesAsync( + string owner, + string repo, + int issueNumber, + global::System.Collections.Generic.IList? assignees = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesAddLabels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesAddLabels.g.verified.cs new file mode 100644 index 0000000000..b370f13bd5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesAddLabels.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IIssuesClient.IssuesAddLabels.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Add labels to an issue
+ /// Adds labels to an issue. If you provide an empty array of labels, all labels are removed from the issue. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesAddLabelsAsync( + string owner, + string repo, + int issueNumber, + global::G.OneOf, global::G.IssuesAddLabelsRequestVariant3, global::System.Collections.Generic.IList, string> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add labels to an issue
+ /// Adds labels to an issue. If you provide an empty array of labels, all labels are removed from the issue. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesAddLabelsAsync( + string owner, + string repo, + int issueNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssigned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssigned.g.verified.cs new file mode 100644 index 0000000000..4433541aa8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssigned.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IIssuesClient.IssuesCheckUserCanBeAssigned.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Check if a user can be assigned
+ /// Checks if a user has permission to be assigned to an issue in this repository.
+ /// If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.
+ /// Otherwise a `404` status code is returned. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCheckUserCanBeAssignedAsync( + string owner, + string repo, + string assignee, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssignedToIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssignedToIssue.g.verified.cs new file mode 100644 index 0000000000..3cafed2a57 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssignedToIssue.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IIssuesClient.IssuesCheckUserCanBeAssignedToIssue.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Check if a user can be assigned to a issue
+ /// Checks if a user has permission to be assigned to a specific issue.
+ /// If the `assignee` can be assigned to this issue, a `204` status code with no content is returned.
+ /// Otherwise a `404` status code is returned. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCheckUserCanBeAssignedToIssueAsync( + string owner, + string repo, + int issueNumber, + string assignee, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs new file mode 100644 index 0000000000..00c46db217 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IIssuesClient.IssuesCreate.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Create an issue
+ /// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateAsync( + string owner, + string repo, + global::G.IssuesCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an issue
+ /// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The title of the issue. + /// + /// + /// The contents of the issue. + /// + /// + /// Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_ + /// + /// + /// + /// Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ + /// + /// + /// 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._ + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateAsync( + string owner, + string repo, + global::G.OneOf title, + string? body = default, + string? assignee = default, + global::G.OneOf? milestone = default, + global::System.Collections.Generic.IList>? labels = default, + global::System.Collections.Generic.IList? assignees = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs new file mode 100644 index 0000000000..d8ca90e0ff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IIssuesClient.IssuesCreateComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Create an issue comment
+ /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
+ /// Creating content too quickly using this endpoint may result in secondary rate limiting.
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateCommentAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesCreateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an issue comment
+ /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
+ /// Creating content too quickly using this endpoint may result in secondary rate limiting.
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The contents of the comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateCommentAsync( + string owner, + string repo, + int issueNumber, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateLabel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateLabel.g.verified.cs new file mode 100644 index 0000000000..ec1558d513 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateLabel.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IIssuesClient.IssuesCreateLabel.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Create a label
+ /// Creates a label for the specified repository with the given name and color. The name and color parameters are required. The color must be a valid [hexadecimal color code](http://www.color-hex.com/). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateLabelAsync( + string owner, + string repo, + global::G.IssuesCreateLabelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a label
+ /// Creates a label for the specified repository with the given name and color. The name and color parameters are required. The color must be a valid [hexadecimal color code](http://www.color-hex.com/). + ///
+ /// + /// + /// + /// The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see "[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet)." + /// + /// + /// The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. + /// + /// + /// A short description of the label. Must be 100 characters or fewer. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateLabelAsync( + string owner, + string repo, + string name, + string? color = default, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateMilestone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateMilestone.g.verified.cs new file mode 100644 index 0000000000..8fb0b8234e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesCreateMilestone.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IIssuesClient.IssuesCreateMilestone.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Create a milestone
+ /// Creates a milestone. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateMilestoneAsync( + string owner, + string repo, + global::G.IssuesCreateMilestoneRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a milestone
+ /// Creates a milestone. + ///
+ /// + /// + /// + /// The title of the milestone. + /// + /// + /// The state of the milestone. Either `open` or `closed`.
+ /// Default Value: open + /// + /// + /// A description of the milestone. + /// + /// + /// The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateMilestoneAsync( + string owner, + string repo, + string title, + global::G.IssuesCreateMilestoneRequestState? state = global::G.IssuesCreateMilestoneRequestState.Open, + string? description = default, + global::System.DateTime dueOn = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs new file mode 100644 index 0000000000..900127261d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesDeleteComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Delete an issue comment
+ /// You can use the REST API to delete comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesDeleteCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteLabel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteLabel.g.verified.cs new file mode 100644 index 0000000000..fdb775a0d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteLabel.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesDeleteLabel.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Delete a label
+ /// Deletes a label using the given label name. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesDeleteLabelAsync( + string owner, + string repo, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteMilestone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteMilestone.g.verified.cs new file mode 100644 index 0000000000..1a3eecc28c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesDeleteMilestone.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesDeleteMilestone.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Delete a milestone
+ /// Deletes a milestone using the given milestone number. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesDeleteMilestoneAsync( + string owner, + string repo, + int milestoneNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGet.g.verified.cs new file mode 100644 index 0000000000..9da584afee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGet.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IIssuesClient.IssuesGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Get an issue
+ /// The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api#follow-redirects) if the issue was
+ /// [transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If
+ /// the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API
+ /// returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read
+ /// access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe
+ /// to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.
+ /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
+ /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
+ /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
+ /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesGetAsync( + string owner, + string repo, + int issueNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs new file mode 100644 index 0000000000..3d84210e80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IIssuesClient.IssuesGetComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Get an issue comment
+ /// You can use the REST API to get comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesGetCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetEvent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetEvent.g.verified.cs new file mode 100644 index 0000000000..8fc89c23b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetEvent.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesGetEvent.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Get an issue event
+ /// Gets a single event by the event id. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesGetEventAsync( + string owner, + string repo, + int eventId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetLabel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetLabel.g.verified.cs new file mode 100644 index 0000000000..619fa78e2f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetLabel.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesGetLabel.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Get a label
+ /// Gets a label using the given name. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesGetLabelAsync( + string owner, + string repo, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetMilestone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetMilestone.g.verified.cs new file mode 100644 index 0000000000..7a1ad46ec0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesGetMilestone.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesGetMilestone.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Get a milestone
+ /// Gets a milestone using the given milestone number. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesGetMilestoneAsync( + string owner, + string repo, + int milestoneNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesList.g.verified.cs new file mode 100644 index 0000000000..415b81c2fd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesList.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IIssuesClient.IssuesList.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List issues assigned to the authenticated user
+ /// List issues assigned to the authenticated user across all visible repositories including owned repositories, member
+ /// repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not
+ /// necessarily assigned to you.
+ /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
+ /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
+ /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
+ /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// Default Value: assigned + /// + /// + /// Default Value: open + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListAsync( + global::G.IssuesListFilter? filter = global::G.IssuesListFilter.Assigned, + global::G.IssuesListState? state = global::G.IssuesListState.Open, + string? labels = default, + global::G.IssuesListSort? sort = global::G.IssuesListSort.Created, + global::G.IssuesListDirection? direction = global::G.IssuesListDirection.Desc, + global::System.DateTime since = default, + bool collab = default, + bool orgs = default, + bool owned = default, + bool pulls = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListAssignees.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListAssignees.g.verified.cs new file mode 100644 index 0000000000..f0cdcd00a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListAssignees.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IIssuesClient.IssuesListAssignees.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List assignees
+ /// Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListAssigneesAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListComments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListComments.g.verified.cs new file mode 100644 index 0000000000..1d5e174818 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListComments.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IIssuesClient.IssuesListComments.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List issue comments
+ /// You can use the REST API to list comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// Issue comments are ordered by ascending ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListCommentsAsync( + string owner, + string repo, + int issueNumber, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListCommentsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListCommentsForRepo.g.verified.cs new file mode 100644 index 0000000000..608ec980e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListCommentsForRepo.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IIssuesClient.IssuesListCommentsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List issue comments for a repository
+ /// You can use the REST API to list comments on issues and pull requests for a repository. Every pull request is an issue, but not every issue is a pull request.
+ /// By default, issue comments are ordered by ascending ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// Default Value: created + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListCommentsForRepoAsync( + string owner, + string repo, + global::G.IssuesListCommentsForRepoSort? sort = global::G.IssuesListCommentsForRepoSort.Created, + global::G.IssuesListCommentsForRepoDirection? direction = default, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEvents.g.verified.cs new file mode 100644 index 0000000000..188b8779c7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEvents.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IIssuesClient.IssuesListEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List issue events
+ /// Lists all events for an issue. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListEventsAsync( + string owner, + string repo, + int issueNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEventsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEventsForRepo.g.verified.cs new file mode 100644 index 0000000000..68c82e0932 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEventsForRepo.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IIssuesClient.IssuesListEventsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List issue events for a repository
+ /// Lists events for a repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListEventsForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEventsForTimeline.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEventsForTimeline.g.verified.cs new file mode 100644 index 0000000000..6781697526 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListEventsForTimeline.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IIssuesClient.IssuesListEventsForTimeline.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List timeline events for an issue
+ /// List all timeline events for an issue. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListEventsForTimelineAsync( + string owner, + string repo, + int issueNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..400fc61b3e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IIssuesClient.IssuesListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List user account issues assigned to the authenticated user
+ /// List issues across owned and member repositories assigned to the authenticated user.
+ /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
+ /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
+ /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
+ /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// Default Value: assigned + /// + /// + /// Default Value: open + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListForAuthenticatedUserAsync( + global::G.IssuesListForAuthenticatedUserFilter? filter = global::G.IssuesListForAuthenticatedUserFilter.Assigned, + global::G.IssuesListForAuthenticatedUserState? state = global::G.IssuesListForAuthenticatedUserState.Open, + string? labels = default, + global::G.IssuesListForAuthenticatedUserSort? sort = global::G.IssuesListForAuthenticatedUserSort.Created, + global::G.IssuesListForAuthenticatedUserDirection? direction = global::G.IssuesListForAuthenticatedUserDirection.Desc, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs new file mode 100644 index 0000000000..fb237ef561 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IIssuesClient.IssuesListForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List organization issues assigned to the authenticated user
+ /// List issues in an organization assigned to the authenticated user.
+ /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
+ /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
+ /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
+ /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// Default Value: assigned + /// + /// + /// Default Value: open + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListForOrgAsync( + string org, + global::G.IssuesListForOrgFilter? filter = global::G.IssuesListForOrgFilter.Assigned, + global::G.IssuesListForOrgState? state = global::G.IssuesListForOrgState.Open, + string? labels = default, + global::G.IssuesListForOrgSort? sort = global::G.IssuesListForOrgSort.Created, + global::G.IssuesListForOrgDirection? direction = global::G.IssuesListForOrgDirection.Desc, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs new file mode 100644 index 0000000000..93aa4d712d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IIssuesClient.IssuesListForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List repository issues
+ /// List issues in a repository. Only open issues will be listed.
+ /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
+ /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
+ /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
+ /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: open + /// + /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListForRepoAsync( + string owner, + string repo, + string? milestone = default, + global::G.IssuesListForRepoState? state = global::G.IssuesListForRepoState.Open, + string? assignee = default, + string? creator = default, + string? mentioned = default, + string? labels = default, + global::G.IssuesListForRepoSort? sort = global::G.IssuesListForRepoSort.Created, + global::G.IssuesListForRepoDirection? direction = global::G.IssuesListForRepoDirection.Desc, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsForMilestone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsForMilestone.g.verified.cs new file mode 100644 index 0000000000..bc026ea578 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsForMilestone.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IIssuesClient.IssuesListLabelsForMilestone.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List labels for issues in a milestone
+ /// Lists labels for issues in a milestone. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListLabelsForMilestoneAsync( + string owner, + string repo, + int milestoneNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsForRepo.g.verified.cs new file mode 100644 index 0000000000..4722bb06ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsForRepo.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IIssuesClient.IssuesListLabelsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List labels for a repository
+ /// Lists all labels for a repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListLabelsForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsOnIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsOnIssue.g.verified.cs new file mode 100644 index 0000000000..5ef649278d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListLabelsOnIssue.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IIssuesClient.IssuesListLabelsOnIssue.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List labels for an issue
+ /// Lists all labels for an issue. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListLabelsOnIssueAsync( + string owner, + string repo, + int issueNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListMilestones.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListMilestones.g.verified.cs new file mode 100644 index 0000000000..d581552c17 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesListMilestones.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IIssuesClient.IssuesListMilestones.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List milestones
+ /// Lists milestones for a repository. + ///
+ /// + /// + /// + /// Default Value: open + /// + /// + /// Default Value: due_on + /// + /// + /// Default Value: asc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListMilestonesAsync( + string owner, + string repo, + global::G.IssuesListMilestonesState? state = global::G.IssuesListMilestonesState.Open, + global::G.IssuesListMilestonesSort? sort = global::G.IssuesListMilestonesSort.DueOn, + global::G.IssuesListMilestonesDirection? direction = global::G.IssuesListMilestonesDirection.Asc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesLock.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesLock.g.verified.cs new file mode 100644 index 0000000000..7bf39a8154 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesLock.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IIssuesClient.IssuesLock.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Lock an issue
+ /// Users with push access can lock an issue or pull request's conversation.
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesLockAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesLockRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Lock an issue
+ /// Users with push access can lock an issue or pull request's conversation.
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// + /// + /// The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons:
+ /// * `off-topic`
+ /// * `too heated`
+ /// * `resolved`
+ /// * `spam` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesLockAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesLockRequestLockReason? lockReason = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveAllLabels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveAllLabels.g.verified.cs new file mode 100644 index 0000000000..47a0fd4515 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveAllLabels.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesRemoveAllLabels.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Remove all labels from an issue
+ /// Removes all labels from an issue. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesRemoveAllLabelsAsync( + string owner, + string repo, + int issueNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveAssignees.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveAssignees.g.verified.cs new file mode 100644 index 0000000000..49f423d28f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveAssignees.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IIssuesClient.IssuesRemoveAssignees.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Remove assignees from an issue
+ /// Removes one or more assignees from an issue. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesRemoveAssigneesAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesRemoveAssigneesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove assignees from an issue
+ /// Removes one or more assignees from an issue. + ///
+ /// + /// + /// + /// + /// 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._ + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesRemoveAssigneesAsync( + string owner, + string repo, + int issueNumber, + global::System.Collections.Generic.IList? assignees = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveLabel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveLabel.g.verified.cs new file mode 100644 index 0000000000..4c2d768b51 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesRemoveLabel.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IIssuesClient.IssuesRemoveLabel.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Remove a label from an issue
+ /// Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesRemoveLabelAsync( + string owner, + string repo, + int issueNumber, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesSetLabels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesSetLabels.g.verified.cs new file mode 100644 index 0000000000..f424722a3a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesSetLabels.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IIssuesClient.IssuesSetLabels.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Set labels for an issue
+ /// Removes any previous labels and sets the new labels for an issue. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesSetLabelsAsync( + string owner, + string repo, + int issueNumber, + global::G.OneOf, global::G.IssuesSetLabelsRequestVariant3, global::System.Collections.Generic.IList, string> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set labels for an issue
+ /// Removes any previous labels and sets the new labels for an issue. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesSetLabelsAsync( + string owner, + string repo, + int issueNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUnlock.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUnlock.g.verified.cs new file mode 100644 index 0000000000..a82926006c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUnlock.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesUnlock.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Unlock an issue
+ /// Users with push access can unlock an issue's conversation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUnlockAsync( + string owner, + string repo, + int issueNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs new file mode 100644 index 0000000000..c389cad572 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs @@ -0,0 +1,81 @@ +//HintName: G.IIssuesClient.IssuesUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Update an issue
+ /// Issue owners and users with push access can edit an issue.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an issue
+ /// Issue owners and users with push access can edit an issue.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The title of the issue. + /// + /// + /// The contents of the issue. + /// + /// + /// Username to assign to this issue. **This field is deprecated.** + /// + /// + /// The open or closed state of the issue. + /// + /// + /// The reason for the state change. Ignored unless `state` is changed.
+ /// Example: not_planned + /// + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateAsync( + string owner, + string repo, + int issueNumber, + global::G.OneOf? title = default, + string? body = default, + string? assignee = default, + global::G.IssuesUpdateRequestState? state = default, + global::G.IssuesUpdateRequestStateReason? stateReason = default, + global::G.OneOf? milestone = default, + global::System.Collections.Generic.IList>? labels = default, + global::System.Collections.Generic.IList? assignees = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs new file mode 100644 index 0000000000..d6779891e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IIssuesClient.IssuesUpdateComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Update an issue comment
+ /// You can use the REST API to update comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( + string owner, + string repo, + int commentId, + global::G.IssuesUpdateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an issue comment
+ /// You can use the REST API to update comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The contents of the comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( + string owner, + string repo, + int commentId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateLabel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateLabel.g.verified.cs new file mode 100644 index 0000000000..35d5c2466b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateLabel.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IIssuesClient.IssuesUpdateLabel.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Update a label
+ /// Updates a label using the given label name. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateLabelAsync( + string owner, + string repo, + string name, + global::G.IssuesUpdateLabelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a label
+ /// Updates a label using the given label name. + ///
+ /// + /// + /// + /// + /// The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see "[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet)." + /// + /// + /// The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. + /// + /// + /// A short description of the label. Must be 100 characters or fewer. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateLabelAsync( + string owner, + string repo, + string name, + string? newName = default, + string? color = default, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateMilestone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateMilestone.g.verified.cs new file mode 100644 index 0000000000..b26a8100f8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.IssuesUpdateMilestone.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.IIssuesClient.IssuesUpdateMilestone.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Update a milestone + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateMilestoneAsync( + string owner, + string repo, + int milestoneNumber, + global::G.IssuesUpdateMilestoneRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a milestone + /// + /// + /// + /// + /// + /// The title of the milestone. + /// + /// + /// The state of the milestone. Either `open` or `closed`.
+ /// Default Value: open + /// + /// + /// A description of the milestone. + /// + /// + /// The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateMilestoneAsync( + string owner, + string repo, + int milestoneNumber, + string? title = default, + global::G.IssuesUpdateMilestoneRequestState? state = global::G.IssuesUpdateMilestoneRequestState.Open, + string? description = default, + global::System.DateTime dueOn = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.g.verified.cs new file mode 100644 index 0000000000..9db944c53b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IIssuesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IIssuesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Issues.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IIssuesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGet.g.verified.cs new file mode 100644 index 0000000000..434436a853 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGet.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ILicensesClient.LicensesGet.g.cs +#nullable enable + +namespace G +{ + public partial interface ILicensesClient + { + /// + /// Get a license
+ /// Gets information about a specific license. For more information, see "[Licensing a repository ](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository)." + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LicensesGetAsync( + string license, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGetAllCommonlyUsed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGetAllCommonlyUsed.g.verified.cs new file mode 100644 index 0000000000..be3f4341d3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGetAllCommonlyUsed.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ILicensesClient.LicensesGetAllCommonlyUsed.g.cs +#nullable enable + +namespace G +{ + public partial interface ILicensesClient + { + /// + /// Get all commonly used licenses
+ /// Lists the most commonly used licenses on GitHub. For more information, see "[Licensing a repository ](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository)." + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> LicensesGetAllCommonlyUsedAsync( + bool featured = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGetForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGetForRepo.g.verified.cs new file mode 100644 index 0000000000..4034b094b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.LicensesGetForRepo.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ILicensesClient.LicensesGetForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface ILicensesClient + { + /// + /// Get the license for a repository
+ /// This method returns the contents of the repository's license file, if one is detected.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw contents of the license.
+ /// - **`application/vnd.github.html+json`**: Returns the license contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). + ///
+ /// + /// + /// + /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
+ /// `refs/heads/<branch name>` or simply `<branch name>`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LicensesGetForRepoAsync( + string owner, + string repo, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.g.verified.cs new file mode 100644 index 0000000000..1636ba3ec2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ILicensesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ILicensesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// View various OSS licenses.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILicensesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.MarkdownRender.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.MarkdownRender.g.verified.cs new file mode 100644 index 0000000000..315294e822 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.MarkdownRender.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IMarkdownClient.MarkdownRender.g.cs +#nullable enable + +namespace G +{ + public partial interface IMarkdownClient + { + /// + /// Render a Markdown document + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MarkdownRenderAsync( + global::G.MarkdownRenderRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Render a Markdown document + /// + /// + /// The Markdown text to render in HTML. + /// + /// + /// The rendering mode.
+ /// Default Value: markdown
+ /// Example: markdown + /// + /// + /// The repository context to use when creating references in `gfm` mode. For example, setting `context` to `octo-org/octo-repo` will change the text `#42` into an HTML link to issue 42 in the `octo-org/octo-repo` repository. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MarkdownRenderAsync( + string text, + global::G.MarkdownRenderRequestMode? mode = global::G.MarkdownRenderRequestMode.Markdown, + string? context = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.MarkdownRenderRaw.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.MarkdownRenderRaw.g.verified.cs new file mode 100644 index 0000000000..2db747fcc2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.MarkdownRenderRaw.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IMarkdownClient.MarkdownRenderRaw.g.cs +#nullable enable + +namespace G +{ + public partial interface IMarkdownClient + { + /// + /// 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 + /// + global::System.Threading.Tasks.Task MarkdownRenderRawAsync( + string request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.g.verified.cs new file mode 100644 index 0000000000..93738c5c8e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMarkdownClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMarkdownClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Render GitHub flavored markdown
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMarkdownClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMergeQueueClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMergeQueueClient.g.verified.cs new file mode 100644 index 0000000000..a301eba9b8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMergeQueueClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMergeQueueClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Merge Queues.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMergeQueueClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGet.g.verified.cs new file mode 100644 index 0000000000..d8f9536f78 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGet.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMetaClient.MetaGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetaClient + { + /// + /// Get GitHub meta information
+ /// Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)."
+ /// The API's response also includes a list of GitHub's domain names.
+ /// The values shown in the documentation's response are example values. You must always query the API directly to get the latest values.
+ /// **Note:** This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MetaGetAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetAllVersions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetAllVersions.g.verified.cs new file mode 100644 index 0000000000..15b39a97e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetAllVersions.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IMetaClient.MetaGetAllVersions.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetaClient + { + /// + /// Get all API versions
+ /// Get all supported GitHub API versions. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MetaGetAllVersionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetOctocat.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetOctocat.g.verified.cs new file mode 100644 index 0000000000..adf8d56c09 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetOctocat.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IMetaClient.MetaGetOctocat.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetaClient + { + /// + /// Get Octocat
+ /// Get the octocat as ASCII art + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MetaGetOctocatAsync( + string? s = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetZen.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetZen.g.verified.cs new file mode 100644 index 0000000000..36dafd931f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaGetZen.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IMetaClient.MetaGetZen.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetaClient + { + /// + /// Get the Zen of GitHub
+ /// Get a random sentence from the Zen of GitHub + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MetaGetZenAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaRoot.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaRoot.g.verified.cs new file mode 100644 index 0000000000..72ebbbda98 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.MetaRoot.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IMetaClient.MetaRoot.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetaClient + { + /// + /// GitHub API Root
+ /// Get Hypermedia links to resources accessible in GitHub's REST API + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MetaRootAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.g.verified.cs new file mode 100644 index 0000000000..3e930ac0ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMetaClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMetaClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints that give information about the API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMetaClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs new file mode 100644 index 0000000000..c95db2100e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsCancelImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Cancel an import
+ /// Stop an import for a repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsCancelImportAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..24381d2c17 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Delete a user migration archive
+ /// Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDeleteArchiveForAuthenticatedUserAsync( + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs new file mode 100644 index 0000000000..9f2bb19a7d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Delete an organization migration archive
+ /// Deletes a previous migration archive. Migration archives are automatically deleted after seven days. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDeleteArchiveForOrgAsync( + string org, + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs new file mode 100644 index 0000000000..d4e474bc4c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Download an organization migration archive
+ /// Fetches the URL to a migration archive. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDownloadArchiveForOrgAsync( + string org, + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..818c7c8ebb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Download a user migration archive
+ /// Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:
+ /// * attachments
+ /// * bases
+ /// * commit\_comments
+ /// * issue\_comments
+ /// * issue\_events
+ /// * issues
+ /// * milestones
+ /// * organizations
+ /// * projects
+ /// * protected\_branches
+ /// * pull\_request\_reviews
+ /// * pull\_requests
+ /// * releases
+ /// * repositories
+ /// * review\_comments
+ /// * schema
+ /// * users
+ /// The archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetArchiveForAuthenticatedUserAsync( + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs new file mode 100644 index 0000000000..a3786ce418 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.MigrationsGetCommitAuthors.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get commit authors
+ /// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
+ /// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> MigrationsGetCommitAuthorsAsync( + string owner, + string repo, + int since = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs new file mode 100644 index 0000000000..5eb3cebe21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IMigrationsClient.MigrationsGetImportStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get an import status
+ /// View the progress of an import.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// **Import status**
+ /// This section includes details about the possible values of the `status` field of the Import Progress response.
+ /// An import that does not have errors will progress through these steps:
+ /// * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.
+ /// * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).
+ /// * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.
+ /// * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects".
+ /// * `complete` - the import is complete, and the repository is ready on GitHub.
+ /// If there are problems, you will see one of these in the `status` field:
+ /// * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api) for more information.
+ /// * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/migrations/source-imports#cancel-an-import) and [retry](https://docs.github.com/rest/migrations/source-imports#start-an-import) with the correct URL.
+ /// * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// **The project_choices field**
+ /// When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.
+ /// **Git LFS related fields**
+ /// This section includes details about Git LFS related fields that may be present in the Import Progress response.
+ /// * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.
+ /// * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.
+ /// * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.
+ /// * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsGetImportStatusAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs new file mode 100644 index 0000000000..879bffef5a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsGetLargeFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get large files
+ /// List files larger than 100MB found during the import
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> MigrationsGetLargeFilesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..cfe9f66aae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get a user migration status
+ /// Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:
+ /// * `pending` - the migration hasn't started yet.
+ /// * `exporting` - the migration is in progress.
+ /// * `exported` - the migration finished successfully.
+ /// * `failed` - the migration failed.
+ /// Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/migrations/users#download-a-user-migration-archive). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetStatusForAuthenticatedUserAsync( + int migrationId, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs new file mode 100644 index 0000000000..a8d584e29a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IMigrationsClient.MigrationsGetStatusForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get an organization migration status
+ /// Fetches the status of a migration.
+ /// The `state` of a migration can be one of the following values:
+ /// * `pending`, which means the migration hasn't started yet.
+ /// * `exporting`, which means the migration is in progress.
+ /// * `exported`, which means the migration finished successfully.
+ /// * `failed`, which means the migration failed. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetStatusForOrgAsync( + string org, + int migrationId, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ccf703b9ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List user migrations
+ /// Lists all migrations a user has started. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs new file mode 100644 index 0000000000..a0fb2f0624 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IMigrationsClient.MigrationsListForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List organization migrations
+ /// Lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).
+ /// A list of `repositories` is only returned for export migrations. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListForOrgAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6a20be9968 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List repositories for a user migration
+ /// Lists all the repositories for this user migration. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListReposForAuthenticatedUserAsync( + int migrationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs new file mode 100644 index 0000000000..c2509a4717 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IMigrationsClient.MigrationsListReposForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List repositories in an organization migration
+ /// List all the repositories for this organization migration. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListReposForOrgAsync( + string org, + int migrationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs new file mode 100644 index 0000000000..08c055fcfb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IMigrationsClient.MigrationsMapCommitAuthor.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Map a commit author
+ /// Update an author's identity for the import. Your application can continue updating authors any time before you push
+ /// new commits to the repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsMapCommitAuthorAsync( + string owner, + string repo, + int authorId, + global::G.MigrationsMapCommitAuthorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Map a commit author
+ /// Update an author's identity for the import. Your application can continue updating authors any time before you push
+ /// new commits to the repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// + /// The new Git author email. + /// + /// + /// The new Git author name. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsMapCommitAuthorAsync( + string owner, + string repo, + int authorId, + string? email = default, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs new file mode 100644 index 0000000000..6816e0daad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IMigrationsClient.MigrationsSetLfsPreference.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Update Git LFS preference
+ /// You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability
+ /// is powered by [Git LFS](https://git-lfs.com).
+ /// You can learn more about our LFS feature and working with large files [on our help
+ /// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsSetLfsPreferenceAsync( + string owner, + string repo, + global::G.MigrationsSetLfsPreferenceRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Git LFS preference
+ /// You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability
+ /// is powered by [Git LFS](https://git-lfs.com).
+ /// You can learn more about our LFS feature and working with large files [on our help
+ /// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// Whether to store large files during the import. `opt_in` means large files will be stored using Git LFS. `opt_out` means large files will be removed during the import. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsSetLfsPreferenceAsync( + string owner, + string repo, + global::G.MigrationsSetLfsPreferenceRequestUseLfs useLfs, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..8ed92b0e33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs @@ -0,0 +1,71 @@ +//HintName: G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start a user migration
+ /// Initiates the generation of a user migration archive. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForAuthenticatedUserAsync( + global::G.MigrationsStartForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start a user migration
+ /// Initiates the generation of a user migration archive. + ///
+ /// + /// Lock the repositories being migrated at the start of the migration
+ /// Example: true + /// + /// + /// Indicates whether metadata should be excluded and only git source should be included for the migration.
+ /// Example: true + /// + /// + /// Indicates whether the repository git data should be excluded from the migration.
+ /// Example: true + /// + /// + /// Do not include attachments in the migration
+ /// Example: true + /// + /// + /// Do not include releases in the migration
+ /// Example: true + /// + /// + /// Indicates whether projects owned by the organization or users should be excluded.
+ /// Example: true + /// + /// + /// Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Exclude attributes from the API response to improve performance
+ /// Example: [repositories] + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForAuthenticatedUserAsync( + global::System.Collections.Generic.IList repositories, + bool lockRepositories = default, + bool excludeMetadata = default, + bool excludeGitData = default, + bool excludeAttachments = default, + bool excludeReleases = default, + bool excludeOwnerProjects = default, + bool orgMetadataOnly = false, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs new file mode 100644 index 0000000000..38f9eb75ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.IMigrationsClient.MigrationsStartForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start an organization migration
+ /// Initiates the generation of a migration archive. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForOrgAsync( + string org, + global::G.MigrationsStartForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start an organization migration
+ /// Initiates the generation of a migration archive. + ///
+ /// + /// + /// A list of arrays indicating which repositories should be migrated. + /// + /// + /// Indicates whether repositories should be locked (to prevent manipulation) while migrating data.
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether metadata should be excluded and only git source should be included for the migration.
+ /// Default Value: false + /// + /// + /// Indicates whether the repository git data should be excluded from the migration.
+ /// Default Value: false + /// + /// + /// Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether releases should be excluded from the migration (to reduce migration archive file size).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether projects owned by the organization or users should be excluded. from the migration.
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Exclude related items from being returned in the response in order to improve performance of the request. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForOrgAsync( + string org, + global::System.Collections.Generic.IList repositories, + bool lockRepositories = false, + bool excludeMetadata = false, + bool excludeGitData = false, + bool excludeAttachments = false, + bool excludeReleases = false, + bool excludeOwnerProjects = false, + bool orgMetadataOnly = false, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs new file mode 100644 index 0000000000..06d4649a91 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IMigrationsClient.MigrationsStartImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start an import
+ /// Start a source import to a GitHub repository using GitHub Importer.
+ /// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
+ /// return a status `422 Unprocessable Entity` response.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsStartImportAsync( + string owner, + string repo, + global::G.MigrationsStartImportRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start an import
+ /// Start a source import to a GitHub repository using GitHub Importer.
+ /// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
+ /// return a status `422 Unprocessable Entity` response.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The URL of the originating repository. + /// + /// + /// The originating VCS type. Without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response. + /// + /// + /// If authentication is required, the username to provide to `vcs_url`. + /// + /// + /// If authentication is required, the password to provide to `vcs_url`. + /// + /// + /// For a tfvc import, the name of the project that is being imported. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsStartImportAsync( + string owner, + string repo, + string vcsUrl, + global::G.MigrationsStartImportRequestVcs? vcs = default, + string? vcsUsername = default, + string? vcsPassword = default, + string? tfvcProject = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..0e5694d4c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Unlock a user repository
+ /// Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsUnlockRepoForAuthenticatedUserAsync( + int migrationId, + string repoName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs new file mode 100644 index 0000000000..cf0e0bafd6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Unlock an organization repository
+ /// Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsUnlockRepoForOrgAsync( + string org, + int migrationId, + string repoName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs new file mode 100644 index 0000000000..96fcf17ef2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IMigrationsClient.MigrationsUpdateImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Update an import
+ /// An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API
+ /// request. If no parameters are provided, the import will be restarted.
+ /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
+ /// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
+ /// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsUpdateImportAsync( + string owner, + string repo, + global::G.MigrationsUpdateImportRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an import
+ /// An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API
+ /// request. If no parameters are provided, the import will be restarted.
+ /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
+ /// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
+ /// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The username to provide to the originating repository. + /// + /// + /// The password to provide to the originating repository. + /// + /// + /// The type of version control system you are migrating from.
+ /// Example: "git" + /// + /// + /// For a tfvc import, the name of the project that is being imported.
+ /// Example: "project1" + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsUpdateImportAsync( + string owner, + string repo, + string? vcsUsername = default, + string? vcsPassword = default, + global::G.MigrationsUpdateImportRequestVcs? vcs = default, + string? tfvcProject = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.g.verified.cs new file mode 100644 index 0000000000..2a399ccd6d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IMigrationsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Move projects to or from GitHub.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMigrationsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.OidcGetOidcCustomSubTemplateForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.OidcGetOidcCustomSubTemplateForOrg.g.verified.cs new file mode 100644 index 0000000000..e832d4729b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.OidcGetOidcCustomSubTemplateForOrg.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IOidcClient.OidcGetOidcCustomSubTemplateForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOidcClient + { + /// + /// Get the customization template for an OIDC subject claim for an organization
+ /// Gets the customization template for an OpenID Connect (OIDC) subject claim.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OidcGetOidcCustomSubTemplateForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.OidcUpdateOidcCustomSubTemplateForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.OidcUpdateOidcCustomSubTemplateForOrg.g.verified.cs new file mode 100644 index 0000000000..2281b9f491 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.OidcUpdateOidcCustomSubTemplateForOrg.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IOidcClient.OidcUpdateOidcCustomSubTemplateForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOidcClient + { + /// + /// Set the customization template for an OIDC subject claim for an organization
+ /// Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OidcUpdateOidcCustomSubTemplateForOrgAsync( + string org, + global::G.OidcCustomSub request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set the customization template for an OIDC subject claim for an organization
+ /// Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OidcUpdateOidcCustomSubTemplateForOrgAsync( + string org, + global::System.Collections.Generic.IList includeClaimKeys, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.g.verified.cs new file mode 100644 index 0000000000..16674390e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOidcClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IOidcClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage GitHub OIDC configuration using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IOidcClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAddSecurityManagerTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAddSecurityManagerTeam.g.verified.cs new file mode 100644 index 0000000000..83f3f05c94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAddSecurityManagerTeam.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsAddSecurityManagerTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Add a security manager team
+ /// Adds a team as a security manager for an organization. For more information, see "[Managing security for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsAddSecurityManagerTeamAsync( + string org, + string teamSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs new file mode 100644 index 0000000000..4a291714d3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsAssignTeamToOrgRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Assign an organization role to a team
+ /// Assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsAssignTeamToOrgRoleAsync( + string org, + string teamSlug, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs new file mode 100644 index 0000000000..25f9c75cec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsAssignUserToOrgRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Assign an organization role to a user
+ /// Assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsAssignUserToOrgRoleAsync( + string org, + string username, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsBlockUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsBlockUser.g.verified.cs new file mode 100644 index 0000000000..c56b253323 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsBlockUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsBlockUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Block a user from an organization
+ /// Blocks the given user on behalf of the specified organization and returns a 204. If the organization cannot block the given user a 422 is returned. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsBlockUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCancelInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCancelInvitation.g.verified.cs new file mode 100644 index 0000000000..d539cd49fb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCancelInvitation.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.OrgsCancelInvitation.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Cancel an organization invitation
+ /// Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCancelInvitationAsync( + string org, + int invitationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckBlockedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckBlockedUser.g.verified.cs new file mode 100644 index 0000000000..38cd6e0b49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckBlockedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsCheckBlockedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Check if a user is blocked by an organization
+ /// Returns a 204 if the given user is blocked by the given organization. Returns a 404 if the organization is not blocking the user, or if the user account has been identified as spam by GitHub. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCheckBlockedUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckMembershipForUser.g.verified.cs new file mode 100644 index 0000000000..29719bb8c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckMembershipForUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsCheckMembershipForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Check organization membership for a user
+ /// Check if a user is, publicly or privately, a member of the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCheckMembershipForUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckPublicMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckPublicMembershipForUser.g.verified.cs new file mode 100644 index 0000000000..28d808ed3e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCheckPublicMembershipForUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsCheckPublicMembershipForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Check public organization membership for a user
+ /// Check if the provided user is a public member of the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCheckPublicMembershipForUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsConvertMemberToOutsideCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsConvertMemberToOutsideCollaborator.g.verified.cs new file mode 100644 index 0000000000..2a4ddfbaf4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsConvertMemberToOutsideCollaborator.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IOrgsClient.OrgsConvertMemberToOutsideCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Convert an organization member to outside collaborator
+ /// When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsConvertMemberToOutsideCollaboratorAsync( + string org, + string username, + global::G.OrgsConvertMemberToOutsideCollaboratorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Convert an organization member to outside collaborator
+ /// When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." + ///
+ /// + /// + /// + /// When set to `true`, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsConvertMemberToOutsideCollaboratorAsync( + string org, + string username, + bool async = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs new file mode 100644 index 0000000000..2417fd9e95 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create a custom organization role
+ /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( + string org, + global::G.OrgsCreateCustomOrganizationRoleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a custom organization role
+ /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The name of the custom role. + /// + /// + /// A short description about the intended usage of this role or what permissions it grants. + /// + /// + /// A list of additional permissions included in this role. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( + string org, + string name, + global::System.Collections.Generic.IList permissions, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs new file mode 100644 index 0000000000..05b807cf53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.IOrgsClient.OrgsCreateInvitation.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create an organization invitation
+ /// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateInvitationAsync( + string org, + global::G.OrgsCreateInvitationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization invitation
+ /// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// **Required unless you provide `email`**. GitHub user ID for the person you are inviting. + /// + /// + /// **Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user. + /// + /// + /// The role for the new member.
+ /// * `admin` - Organization owners with full administrative rights to the organization and complete access to all repositories and teams.
+ /// * `direct_member` - Non-owner organization members with ability to see other members and join teams by invitation.
+ /// * `billing_manager` - Non-owner organization members with ability to manage the billing settings of your organization.
+ /// * `reinstate` - The previous role assigned to the invitee before they were removed from your organization. Can be one of the roles listed above. Only works if the invitee was previously part of your organization.
+ /// Default Value: direct_member + /// + /// + /// Specify IDs for the teams you want to invite new members to. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateInvitationAsync( + string org, + int inviteeId = default, + string? email = default, + global::G.OrgsCreateInvitationRequestRole? role = global::G.OrgsCreateInvitationRequestRole.DirectMember, + global::System.Collections.Generic.IList? teamIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs new file mode 100644 index 0000000000..6761ca281e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create or update custom properties for an organization
+ /// Creates new or updates existing custom properties defined for an organization in a batch.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + string org, + global::G.OrgsCreateOrUpdateCustomPropertiesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update custom properties for an organization
+ /// Creates new or updates existing custom properties defined for an organization in a batch.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. + ///
+ /// + /// + /// The array of custom properties to create or update. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + string org, + global::System.Collections.Generic.IList properties, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.verified.cs new file mode 100644 index 0000000000..7fb1cb57b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IOrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create or update custom property values for organization repositories
+ /// Create new or update existing custom property values for repositories in a batch that belong to an organization.
+ /// Each target repository will have its custom property values updated to match the values provided in the request.
+ /// A maximum of 30 repositories can be updated in a single request.
+ /// Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_values_editor` in the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertiesValuesForReposAsync( + string org, + global::G.OrgsCreateOrUpdateCustomPropertiesValuesForReposRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update custom property values for organization repositories
+ /// Create new or update existing custom property values for repositories in a batch that belong to an organization.
+ /// Each target repository will have its custom property values updated to match the values provided in the request.
+ /// A maximum of 30 repositories can be updated in a single request.
+ /// Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_values_editor` in the organization. + ///
+ /// + /// + /// The names of repositories that the custom property values will be applied to. + /// + /// + /// List of custom property names and associated values to apply to the repositories. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertiesValuesForReposAsync( + string org, + global::System.Collections.Generic.IList repositoryNames, + global::System.Collections.Generic.IList properties, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs new file mode 100644 index 0000000000..e4d51b14f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create or update a custom property for an organization
+ /// Creates a new or updates an existing custom property that is defined for an organization.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + string org, + string customPropertyName, + global::G.OrgsCreateOrUpdateCustomPropertyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update a custom property for an organization
+ /// Creates a new or updates an existing custom property that is defined for an organization.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. + ///
+ /// + /// + /// + /// The type of the value for the property
+ /// Example: single_select + /// + /// + /// Whether the property is required. + /// + /// + /// Default value of the property + /// + /// + /// Short description of the property + /// + /// + /// An ordered list of the allowed values of the property.
+ /// The property can have up to 200 allowed values. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + string org, + string customPropertyName, + global::G.OrgsCreateOrUpdateCustomPropertyRequestValueType valueType, + bool required = default, + global::G.OneOf>? defaultValue = default, + string? description = default, + global::System.Collections.Generic.IList? allowedValues = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateWebhook.g.verified.cs new file mode 100644 index 0000000000..d461bef1ea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsCreateWebhook.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IOrgsClient.OrgsCreateWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create an organization webhook
+ /// Create a hook that posts payloads in JSON format.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or
+ /// edit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateWebhookAsync( + string org, + global::G.OrgsCreateWebhookRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization webhook
+ /// Create a hook that posts payloads in JSON format.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or
+ /// edit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// Must be passed as "web". + /// + /// + /// Key/value pairs to provide settings for this webhook. + /// + /// + /// Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. Set to `["*"]` to receive all possible events.
+ /// Default Value: [push] + /// + /// + /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateWebhookAsync( + string org, + string name, + global::G.OrgsCreateWebhookRequestConfig config, + global::System.Collections.Generic.IList? events = default, + bool active = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDelete.g.verified.cs new file mode 100644 index 0000000000..df53314076 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDelete.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.OrgsDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete an organization
+ /// Deletes an organization and all its repositories.
+ /// The organization login will be unavailable for 90 days after deletion.
+ /// Please review the Terms of Service regarding account deletion before using this endpoint:
+ /// https://docs.github.com/site-policy/github-terms/github-terms-of-service + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsDeleteAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs new file mode 100644 index 0000000000..da48da95a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete a custom organization role.
+ /// Deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsDeleteCustomOrganizationRoleAsync( + string org, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDeleteWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDeleteWebhook.g.verified.cs new file mode 100644 index 0000000000..0f3f6c1d75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsDeleteWebhook.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsDeleteWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete an organization webhook
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsDeleteWebhookAsync( + string org, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs new file mode 100644 index 0000000000..9da08a4632 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Enable or disable a security feature for an organization
+ /// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( + string org, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablement enablement, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Enable or disable a security feature for an organization
+ /// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// 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.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( + string org, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablement enablement, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite? querySuite = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGet.g.verified.cs new file mode 100644 index 0000000000..6782bce131 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGet.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IOrgsClient.OrgsGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get an organization
+ /// Gets information about an organization.
+ /// When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).
+ /// To see the full details about an organization, the authenticated user must be an organization owner.
+ /// The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration:
+ /// - advanced_security_enabled_for_new_repositories
+ /// - dependabot_alerts_enabled_for_new_repositories
+ /// - dependabot_security_updates_enabled_for_new_repositories
+ /// - dependency_graph_enabled_for_new_repositories
+ /// - secret_scanning_enabled_for_new_repositories
+ /// - secret_scanning_push_protection_enabled_for_new_repositories
+ /// For more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.
+ /// To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs new file mode 100644 index 0000000000..037f306c6b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IOrgsClient.OrgsGetAllCustomProperties.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get all custom properties for an organization
+ /// Gets all custom properties defined for an organization.
+ /// Organization members can read these properties. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsGetAllCustomPropertiesAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs new file mode 100644 index 0000000000..a19338abe7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.OrgsGetCustomProperty.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get a custom property for an organization
+ /// Gets a custom property that is defined for an organization.
+ /// Organization members can read these properties. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetCustomPropertyAsync( + string org, + string customPropertyName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetMembershipForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetMembershipForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..b65ab36d3c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetMembershipForAuthenticatedUser.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.OrgsGetMembershipForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get an organization membership for the authenticated user
+ /// If the authenticated user is an active or pending member of the organization, this endpoint will return the user's membership. If the authenticated user is not affiliated with the organization, a `404` is returned. This endpoint will return a `403` if the request is made by a GitHub App that is blocked by the organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetMembershipForAuthenticatedUserAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetMembershipForUser.g.verified.cs new file mode 100644 index 0000000000..e8fbab6fde --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetMembershipForUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsGetMembershipForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get organization membership for a user
+ /// In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetMembershipForUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs new file mode 100644 index 0000000000..092643e63e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsGetOrgRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get an organization role
+ /// Gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetOrgRoleAsync( + string org, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhook.g.verified.cs new file mode 100644 index 0000000000..4e213812f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhook.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsGetWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get an organization webhook
+ /// Returns a webhook configured in an organization. To get only the webhook
+ /// `config` properties, see "[Get a webhook configuration for an organization](/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization).
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetWebhookAsync( + string org, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhookConfigForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhookConfigForOrg.g.verified.cs new file mode 100644 index 0000000000..7d80ef019a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhookConfigForOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IOrgsClient.OrgsGetWebhookConfigForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get a webhook configuration for an organization
+ /// Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/orgs/webhooks#get-an-organization-webhook)."
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetWebhookConfigForOrgAsync( + string org, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..beceaed064 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsGetWebhookDelivery.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IOrgsClient.OrgsGetWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get a webhook delivery for an organization webhook
+ /// Returns a delivery for a webhook configured in an organization.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetWebhookDeliveryAsync( + string org, + int hookId, + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsList.g.verified.cs new file mode 100644 index 0000000000..f032c0e402 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsList.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IOrgsClient.OrgsList.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organizations
+ /// Lists all organizations, in the order that they were created.
+ /// **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. + ///
+ /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListAsync( + int since = default, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListAppInstallations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListAppInstallations.g.verified.cs new file mode 100644 index 0000000000..2a9017b5e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListAppInstallations.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.OrgsListAppInstallations.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List app installations for an organization
+ /// Lists all GitHub Apps in an organization. The installation count includes
+ /// all GitHub Apps installed on repositories in the organization.
+ /// The authenticated user must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:read` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListAppInstallationsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListBlockedUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListBlockedUsers.g.verified.cs new file mode 100644 index 0000000000..858028bd7f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListBlockedUsers.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IOrgsClient.OrgsListBlockedUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List users blocked by an organization
+ /// List the users blocked by an organization. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListBlockedUsersAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListCustomPropertiesValuesForRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListCustomPropertiesValuesForRepos.g.verified.cs new file mode 100644 index 0000000000..2d04ed4ac1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListCustomPropertiesValuesForRepos.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.OrgsListCustomPropertiesValuesForRepos.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List custom property values for organization repositories
+ /// Lists organization repositories with all of their custom property values.
+ /// Organization members can read these properties. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListCustomPropertiesValuesForReposAsync( + string org, + int perPage = 30, + int page = 1, + string? repositoryQuery = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListFailedInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListFailedInvitations.g.verified.cs new file mode 100644 index 0000000000..35b4a42bcf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListFailedInvitations.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IOrgsClient.OrgsListFailedInvitations.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List failed organization invitations
+ /// The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListFailedInvitationsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..723fe66563 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IOrgsClient.OrgsListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organizations for the authenticated user
+ /// List organizations for the authenticated user.
+ /// For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListForUser.g.verified.cs new file mode 100644 index 0000000000..b827bba8f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListForUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IOrgsClient.OrgsListForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organizations for a user
+ /// List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.
+ /// This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListInvitationTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListInvitationTeams.g.verified.cs new file mode 100644 index 0000000000..9a6282c236 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListInvitationTeams.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IOrgsClient.OrgsListInvitationTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organization invitation teams
+ /// List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListInvitationTeamsAsync( + string org, + int invitationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListMembers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListMembers.g.verified.cs new file mode 100644 index 0000000000..4cd185c38c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListMembers.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IOrgsClient.OrgsListMembers.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organization members
+ /// List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListMembersAsync( + string org, + global::G.OrgsListMembersFilter? filter = global::G.OrgsListMembersFilter.All, + global::G.OrgsListMembersRole? role = global::G.OrgsListMembersRole.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListMembershipsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListMembershipsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..c67fe09a01 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListMembershipsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IOrgsClient.OrgsListMembershipsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organization memberships for the authenticated user
+ /// Lists all of the authenticated user's organization memberships. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListMembershipsForAuthenticatedUserAsync( + global::G.OrgsListMembershipsForAuthenticatedUserState? state = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs new file mode 100644 index 0000000000..f3f21100bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IOrgsClient.OrgsListOrgRoleTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List teams that are assigned to an organization role
+ /// Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, you must be an administrator for the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListOrgRoleTeamsAsync( + string org, + int roleId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs new file mode 100644 index 0000000000..e253364c29 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IOrgsClient.OrgsListOrgRoleUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List users that are assigned to an organization role
+ /// Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, you must be an administrator for the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListOrgRoleUsersAsync( + string org, + int roleId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs new file mode 100644 index 0000000000..1c6e50745a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsListOrgRoles.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get all organization roles for an organization
+ /// Lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListOrgRolesAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs new file mode 100644 index 0000000000..5e9922a0bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organization fine-grained permissions for an organization
+ /// Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListOrganizationFineGrainedPermissionsAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOutsideCollaborators.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOutsideCollaborators.g.verified.cs new file mode 100644 index 0000000000..2363fdc456 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListOutsideCollaborators.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IOrgsClient.OrgsListOutsideCollaborators.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List outside collaborators for an organization
+ /// List all users who are outside collaborators of an organization. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListOutsideCollaboratorsAsync( + string org, + global::G.OrgsListOutsideCollaboratorsFilter? filter = global::G.OrgsListOutsideCollaboratorsFilter.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRepositories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRepositories.g.verified.cs new file mode 100644 index 0000000000..2f148f7313 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRepositories.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.OrgsListPatGrantRepositories.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List repositories a fine-grained personal access token has access to
+ /// Lists the repositories a fine-grained personal access token has access to.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListPatGrantRepositoriesAsync( + string org, + int patId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRequestRepositories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRequestRepositories.g.verified.cs new file mode 100644 index 0000000000..ea8f7c48b1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRequestRepositories.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.OrgsListPatGrantRequestRepositories.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List repositories requested to be accessed by a fine-grained personal access token
+ /// Lists the repositories a fine-grained personal access token request is requesting access to.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListPatGrantRequestRepositoriesAsync( + string org, + int patRequestId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRequests.g.verified.cs new file mode 100644 index 0000000000..609477081d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrantRequests.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IOrgsClient.OrgsListPatGrantRequests.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List requests to access organization resources with fine-grained personal access tokens
+ /// Lists requests from organization members to access organization resources with a fine-grained personal access token.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: desc + /// + /// + /// Example: owner[]=octocat1,owner[]=octocat2 + /// + /// + /// Example: Hello-World + /// + /// + /// Example: issues_read + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListPatGrantRequestsAsync( + string org, + int perPage = 30, + int page = 1, + global::G.OrgsListPatGrantRequestsSort? sort = global::G.OrgsListPatGrantRequestsSort.CreatedAt, + global::G.OrgsListPatGrantRequestsDirection? direction = global::G.OrgsListPatGrantRequestsDirection.Desc, + global::System.Collections.Generic.IList? owner = default, + string? repository = default, + string? permission = default, + global::System.DateTime lastUsedBefore = default, + global::System.DateTime lastUsedAfter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrants.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrants.g.verified.cs new file mode 100644 index 0000000000..6982d22457 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPatGrants.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IOrgsClient.OrgsListPatGrants.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List fine-grained personal access tokens with access to organization resources
+ /// Lists approved fine-grained personal access tokens owned by organization members that can access organization resources.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: desc + /// + /// + /// Example: owner[]=octocat1,owner[]=octocat2 + /// + /// + /// Example: Hello-World + /// + /// + /// Example: issues_read + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListPatGrantsAsync( + string org, + int perPage = 30, + int page = 1, + global::G.OrgsListPatGrantsSort? sort = global::G.OrgsListPatGrantsSort.CreatedAt, + global::G.OrgsListPatGrantsDirection? direction = global::G.OrgsListPatGrantsDirection.Desc, + global::System.Collections.Generic.IList? owner = default, + string? repository = default, + string? permission = default, + global::System.DateTime lastUsedBefore = default, + global::System.DateTime lastUsedAfter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs new file mode 100644 index 0000000000..85f9e31588 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IOrgsClient.OrgsListPendingInvitations.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List pending organization invitations
+ /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: all + /// + /// + /// Default Value: all + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListPendingInvitationsAsync( + string org, + int perPage = 30, + int page = 1, + global::G.OrgsListPendingInvitationsRole? role = global::G.OrgsListPendingInvitationsRole.All, + global::G.OrgsListPendingInvitationsInvitationSource? invitationSource = global::G.OrgsListPendingInvitationsInvitationSource.All, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPublicMembers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPublicMembers.g.verified.cs new file mode 100644 index 0000000000..9aa27b20d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListPublicMembers.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IOrgsClient.OrgsListPublicMembers.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List public organization members
+ /// Members of an organization can choose to have their membership publicized or not. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListPublicMembersAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListSecurityManagerTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListSecurityManagerTeams.g.verified.cs new file mode 100644 index 0000000000..e75205365c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListSecurityManagerTeams.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsListSecurityManagerTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List security manager teams
+ /// Lists teams that are security managers for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListSecurityManagerTeamsAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListWebhookDeliveries.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListWebhookDeliveries.g.verified.cs new file mode 100644 index 0000000000..dd50fe67b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListWebhookDeliveries.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IOrgsClient.OrgsListWebhookDeliveries.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List deliveries for an organization webhook
+ /// Returns a list of webhook deliveries for a webhook configured in an organization.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListWebhookDeliveriesAsync( + string org, + int hookId, + int perPage = 30, + string? cursor = default, + bool redelivery = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListWebhooks.g.verified.cs new file mode 100644 index 0000000000..1fb5b604e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsListWebhooks.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IOrgsClient.OrgsListWebhooks.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organization webhooks
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListWebhooksAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs new file mode 100644 index 0000000000..dc7c71abb3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update a custom organization role
+ /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( + string org, + int roleId, + global::G.OrgsPatchCustomOrganizationRoleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a custom organization role
+ /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The name of the custom role. + /// + /// + /// A short description about the intended usage of this role or what permissions it grants. + /// + /// + /// A list of additional permissions included in this role. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( + string org, + int roleId, + string? name = default, + string? description = default, + global::System.Collections.Generic.IList? permissions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsPingWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsPingWebhook.g.verified.cs new file mode 100644 index 0000000000..7c04b8716c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsPingWebhook.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsPingWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Ping an organization webhook
+ /// This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event)
+ /// to be sent to the hook.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsPingWebhookAsync( + string org, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRedeliverWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRedeliverWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..1cc4c3806f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRedeliverWebhookDelivery.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IOrgsClient.OrgsRedeliverWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Redeliver a delivery for an organization webhook
+ /// Redeliver a delivery for a webhook configured in an organization.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRedeliverWebhookDeliveryAsync( + string org, + int hookId, + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveCustomProperty.g.verified.cs new file mode 100644 index 0000000000..2e47461d54 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveCustomProperty.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IOrgsClient.OrgsRemoveCustomProperty.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove a custom property for an organization
+ /// Removes a custom property that is defined for an organization.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemoveCustomPropertyAsync( + string org, + string customPropertyName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveMember.g.verified.cs new file mode 100644 index 0000000000..c998c10517 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveMember.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsRemoveMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove an organization member
+ /// Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemoveMemberAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveMembershipForUser.g.verified.cs new file mode 100644 index 0000000000..67405be86b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveMembershipForUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.OrgsRemoveMembershipForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove organization membership for a user
+ /// In order to remove a user's membership with an organization, the authenticated user must be an organization owner.
+ /// If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemoveMembershipForUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveOutsideCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveOutsideCollaborator.g.verified.cs new file mode 100644 index 0000000000..6233991e40 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveOutsideCollaborator.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsRemoveOutsideCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove outside collaborator from an organization
+ /// Removing a user from this list will remove them from all the organization's repositories. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemoveOutsideCollaboratorAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemovePublicMembershipForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemovePublicMembershipForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6dbd0732b1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemovePublicMembershipForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsRemovePublicMembershipForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove public organization membership for the authenticated user
+ /// Removes the public membership for the authenticated user from the specified organization, unless public visibility is enforced by default. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemovePublicMembershipForAuthenticatedUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveSecurityManagerTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveSecurityManagerTeam.g.verified.cs new file mode 100644 index 0000000000..0e7fe9b3b8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRemoveSecurityManagerTeam.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsRemoveSecurityManagerTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove a security manager team
+ /// Removes the security manager role from a team for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemoveSecurityManagerTeamAsync( + string org, + string teamSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsReviewPatGrantRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsReviewPatGrantRequest.g.verified.cs new file mode 100644 index 0000000000..7406174dd9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsReviewPatGrantRequest.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IOrgsClient.OrgsReviewPatGrantRequest.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Review a request to access organization resources with a fine-grained personal access token
+ /// Approves or denies a pending request to access organization resources via a fine-grained personal access token.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsReviewPatGrantRequestAsync( + string org, + int patRequestId, + global::G.OrgsReviewPatGrantRequestRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Review a request to access organization resources with a fine-grained personal access token
+ /// Approves or denies a pending request to access organization resources via a fine-grained personal access token.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// Action to apply to the request. + /// + /// + /// Reason for approving or denying the request. Max 1024 characters. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsReviewPatGrantRequestAsync( + string org, + int patRequestId, + global::G.OrgsReviewPatGrantRequestRequestAction action, + string? reason = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsReviewPatGrantRequestsInBulk.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsReviewPatGrantRequestsInBulk.g.verified.cs new file mode 100644 index 0000000000..25fc26ec48 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsReviewPatGrantRequestsInBulk.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IOrgsClient.OrgsReviewPatGrantRequestsInBulk.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Review requests to access organization resources with fine-grained personal access tokens
+ /// Approves or denies multiple pending requests to access organization resources via a fine-grained personal access token.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsReviewPatGrantRequestsInBulkAsync( + string org, + global::G.OrgsReviewPatGrantRequestsInBulkRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Review requests to access organization resources with fine-grained personal access tokens
+ /// Approves or denies multiple pending requests to access organization resources via a fine-grained personal access token.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 `pat_request_id` values. + /// + /// + /// Action to apply to the requests. + /// + /// + /// Reason for approving or denying the requests. Max 1024 characters. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsReviewPatGrantRequestsInBulkAsync( + string org, + global::G.OrgsReviewPatGrantRequestsInBulkRequestAction action, + global::System.Collections.Generic.IList? patRequestIds = default, + string? reason = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs new file mode 100644 index 0000000000..6ed54c0ca1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove all organization roles for a team
+ /// Removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRevokeAllOrgRolesTeamAsync( + string org, + string teamSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs new file mode 100644 index 0000000000..af2045d784 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove all organization roles for a user
+ /// Revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRevokeAllOrgRolesUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs new file mode 100644 index 0000000000..69d8d5a7b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove an organization role from a team
+ /// Removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRevokeOrgRoleTeamAsync( + string org, + string teamSlug, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs new file mode 100644 index 0000000000..0b5fd936d9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsRevokeOrgRoleUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove an organization role from a user
+ /// Remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRevokeOrgRoleUserAsync( + string org, + string username, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs new file mode 100644 index 0000000000..09788934bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IOrgsClient.OrgsSetMembershipForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Set organization membership for a user
+ /// Only authenticated organization owners can add a member to the organization or update the member's role.
+ /// * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.
+ ///
+ /// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
+ /// **Rate limits**
+ /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsSetMembershipForUserAsync( + string org, + string username, + global::G.OrgsSetMembershipForUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set organization membership for a user
+ /// Only authenticated organization owners can add a member to the organization or update the member's role.
+ /// * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.
+ ///
+ /// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
+ /// **Rate limits**
+ /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + ///
+ /// + /// + /// + /// The role to give the user in the organization. Can be one of:
+ /// * `admin` - The user will become an owner of the organization.
+ /// * `member` - The user will become a non-owner member of the organization.
+ /// Default Value: member + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsSetMembershipForUserAsync( + string org, + string username, + global::G.OrgsSetMembershipForUserRequestRole? role = global::G.OrgsSetMembershipForUserRequestRole.Member, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetPublicMembershipForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetPublicMembershipForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..82772d38a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsSetPublicMembershipForAuthenticatedUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.OrgsSetPublicMembershipForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Set public organization membership for the authenticated user
+ /// The user can publicize their own membership. (A user cannot publicize the membership for another user.)
+ /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsSetPublicMembershipForAuthenticatedUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUnblockUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUnblockUser.g.verified.cs new file mode 100644 index 0000000000..febcfa9298 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUnblockUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsUnblockUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Unblock a user from an organization
+ /// Unblocks the given user on behalf of the specified organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUnblockUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs new file mode 100644 index 0000000000..fb5616f8e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs @@ -0,0 +1,190 @@ +//HintName: G.IOrgsClient.OrgsUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update an organization
+ /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// Updates the organization's profile and member privileges.
+ /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
+ /// - advanced_security_enabled_for_new_repositories
+ /// - dependabot_alerts_enabled_for_new_repositories
+ /// - dependabot_security_updates_enabled_for_new_repositories
+ /// - dependency_graph_enabled_for_new_repositories
+ /// - secret_scanning_enabled_for_new_repositories
+ /// - secret_scanning_push_protection_enabled_for_new_repositories
+ /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
+ /// The authenticated user must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateAsync( + string org, + global::G.OrgsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an organization
+ /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// Updates the organization's profile and member privileges.
+ /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
+ /// - advanced_security_enabled_for_new_repositories
+ /// - dependabot_alerts_enabled_for_new_repositories
+ /// - dependabot_security_updates_enabled_for_new_repositories
+ /// - dependency_graph_enabled_for_new_repositories
+ /// - secret_scanning_enabled_for_new_repositories
+ /// - secret_scanning_push_protection_enabled_for_new_repositories
+ /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
+ /// The authenticated user must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. + ///
+ /// + /// + /// Billing email address. This address is not publicized. + /// + /// + /// The company name. + /// + /// + /// The publicly visible email address. + /// + /// + /// The Twitter username of the company. + /// + /// + /// The location. + /// + /// + /// The shorthand name of the company. + /// + /// + /// The description of the company. The maximum size is 160 characters. + /// + /// + /// Whether an organization can use organization projects. + /// + /// + /// Whether repositories that belong to the organization can use repository projects. + /// + /// + /// Default permission level members have for organization repositories.
+ /// Default Value: read + /// + /// + /// Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.
+ /// Default Value: true + /// + /// + /// Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. + /// + /// + /// Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. + /// + /// + /// Whether organization members can create public repositories, which are visible to anyone. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. + /// + /// + /// Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud.
+ /// **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. + /// + /// + /// Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.
+ /// Default Value: true + /// + /// + /// Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.
+ /// Default Value: true + /// + /// + /// Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.
+ /// Default Value: true + /// + /// + /// Whether organization members can fork private organization repositories.
+ /// Default Value: false + /// + /// + /// Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.
+ /// Default Value: false + /// + /// + /// Example: "http://github.blog" + /// + /// + /// Whether GitHub Advanced Security is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether Dependabot alerts is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether Dependabot security updates is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether dependency graph is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether secret scanning is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether secret scanning push protection is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection. + /// + /// + /// If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateAsync( + string org, + string? billingEmail = default, + string? company = default, + string? email = default, + string? twitterUsername = default, + string? location = default, + string? name = default, + string? description = default, + bool hasOrganizationProjects = default, + bool hasRepositoryProjects = default, + global::G.OrgsUpdateRequestDefaultRepositoryPermission? defaultRepositoryPermission = global::G.OrgsUpdateRequestDefaultRepositoryPermission.Read, + bool membersCanCreateRepositories = true, + bool membersCanCreateInternalRepositories = default, + bool membersCanCreatePrivateRepositories = default, + bool membersCanCreatePublicRepositories = default, + global::G.OrgsUpdateRequestMembersAllowedRepositoryCreationType? membersAllowedRepositoryCreationType = default, + bool membersCanCreatePages = true, + bool membersCanCreatePublicPages = true, + bool membersCanCreatePrivatePages = true, + bool membersCanForkPrivateRepositories = false, + bool webCommitSignoffRequired = false, + string? blog = default, + bool advancedSecurityEnabledForNewRepositories = default, + bool dependabotAlertsEnabledForNewRepositories = default, + bool dependabotSecurityUpdatesEnabledForNewRepositories = default, + bool dependencyGraphEnabledForNewRepositories = default, + bool secretScanningEnabledForNewRepositories = default, + bool secretScanningPushProtectionEnabledForNewRepositories = default, + bool secretScanningPushProtectionCustomLinkEnabled = default, + string? secretScanningPushProtectionCustomLink = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..72cb5a50b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IOrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update an organization membership for the authenticated user
+ /// Converts the authenticated user to an active member of the organization, if that user has a pending invitation from the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateMembershipForAuthenticatedUserAsync( + string org, + global::G.OrgsUpdateMembershipForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an organization membership for the authenticated user
+ /// Converts the authenticated user to an active member of the organization, if that user has a pending invitation from the organization. + ///
+ /// + /// + /// The state that the membership should be in. Only `"active"` will be accepted. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateMembershipForAuthenticatedUserAsync( + string org, + global::G.OrgsUpdateMembershipForAuthenticatedUserRequestState state = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdatePatAccess.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdatePatAccess.g.verified.cs new file mode 100644 index 0000000000..e0e7feb158 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdatePatAccess.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IOrgsClient.OrgsUpdatePatAccess.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update the access a fine-grained personal access token has to organization resources
+ /// Updates the access an organization member has to organization resources via a fine-grained personal access token. Limited to revoking the token's existing access. Limited to revoking a token's existing access.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdatePatAccessAsync( + string org, + int patId, + global::G.OrgsUpdatePatAccessRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update the access a fine-grained personal access token has to organization resources
+ /// Updates the access an organization member has to organization resources via a fine-grained personal access token. Limited to revoking the token's existing access. Limited to revoking a token's existing access.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// Action to apply to the fine-grained personal access token. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdatePatAccessAsync( + string org, + int patId, + global::G.OrgsUpdatePatAccessRequestAction action = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdatePatAccesses.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdatePatAccesses.g.verified.cs new file mode 100644 index 0000000000..0529a9b50a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdatePatAccesses.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IOrgsClient.OrgsUpdatePatAccesses.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update the access to organization resources via fine-grained personal access tokens
+ /// Updates the access organization members have to organization resources via fine-grained personal access tokens. Limited to revoking a token's existing access.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdatePatAccessesAsync( + string org, + global::G.OrgsUpdatePatAccessesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update the access to organization resources via fine-grained personal access tokens
+ /// Updates the access organization members have to organization resources via fine-grained personal access tokens. Limited to revoking a token's existing access.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// Action to apply to the fine-grained personal access token. + /// + /// + /// The IDs of the fine-grained personal access tokens. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdatePatAccessesAsync( + string org, + global::System.Collections.Generic.IList patIds, + global::G.OrgsUpdatePatAccessesRequestAction action = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateWebhook.g.verified.cs new file mode 100644 index 0000000000..6b089d1a6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateWebhook.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IOrgsClient.OrgsUpdateWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update an organization webhook
+ /// Updates a webhook configured in an organization. When you update a webhook,
+ /// the `secret` will be overwritten. If you previously had a `secret` set, you must
+ /// provide the same `secret` or set a new `secret` or the secret will be removed. If
+ /// you are only updating individual webhook `config` properties, use "[Update a webhook
+ /// configuration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)".
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateWebhookAsync( + string org, + int hookId, + global::G.OrgsUpdateWebhookRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an organization webhook
+ /// Updates a webhook configured in an organization. When you update a webhook,
+ /// the `secret` will be overwritten. If you previously had a `secret` set, you must
+ /// provide the same `secret` or set a new `secret` or the secret will be removed. If
+ /// you are only updating individual webhook `config` properties, use "[Update a webhook
+ /// configuration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)".
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// Key/value pairs to provide settings for this webhook. + /// + /// + /// Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for.
+ /// Default Value: [push] + /// + /// + /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
+ /// Default Value: true + /// + /// + /// Example: "web" + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateWebhookAsync( + string org, + int hookId, + global::G.OrgsUpdateWebhookRequestConfig? config = default, + global::System.Collections.Generic.IList? events = default, + bool active = true, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateWebhookConfigForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateWebhookConfigForOrg.g.verified.cs new file mode 100644 index 0000000000..406e616ff3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.OrgsUpdateWebhookConfigForOrg.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IOrgsClient.OrgsUpdateWebhookConfigForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update a webhook configuration for an organization
+ /// Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook)."
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateWebhookConfigForOrgAsync( + string org, + int hookId, + global::G.OrgsUpdateWebhookConfigForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a webhook configuration for an organization
+ /// Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook)."
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// The URL to which the payloads will be delivered.
+ /// Example: https://example.com/webhook + /// + /// + /// The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
+ /// Example: "json" + /// + /// + /// 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).
+ /// Example: "********" + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateWebhookConfigForOrgAsync( + string org, + int hookId, + string? url = default, + string? contentType = default, + string? secret = default, + global::G.WebhookConfigInsecureSsl? insecureSsl = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.g.verified.cs new file mode 100644 index 0000000000..246e03da3c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IOrgsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IOrgsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Orgs.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IOrgsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..b3051b1e10 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForAuthenticatedUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete a package for the authenticated user
+ /// Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageForAuthenticatedUserAsync( + global::G.PackagesDeletePackageForAuthenticatedUserPackageType packageType, + string packageName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForOrg.g.verified.cs new file mode 100644 index 0000000000..9bfabd183f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForOrg.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete a package for an organization
+ /// Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
+ /// The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageForOrgAsync( + global::G.PackagesDeletePackageForOrgPackageType packageType, + string packageName, + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForUser.g.verified.cs new file mode 100644 index 0000000000..5a85ff1f9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageForUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete a package for a user
+ /// Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
+ /// If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageForUserAsync( + global::G.PackagesDeletePackageForUserPackageType packageType, + string packageName, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..4923a12351 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageVersionForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete a package version for the authenticated user
+ /// Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.
+ /// The authenticated user must have admin permissions in the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageVersionForAuthenticatedUserAsync( + global::G.PackagesDeletePackageVersionForAuthenticatedUserPackageType packageType, + string packageName, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForOrg.g.verified.cs new file mode 100644 index 0000000000..dedc5d92e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForOrg.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageVersionForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete package version for an organization
+ /// Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.
+ /// The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageVersionForOrgAsync( + global::G.PackagesDeletePackageVersionForOrgPackageType packageType, + string packageName, + string org, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForUser.g.verified.cs new file mode 100644 index 0000000000..bade40d57c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesDeletePackageVersionForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageVersionForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete package version for a user
+ /// Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.
+ /// If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageVersionForUserAsync( + global::G.PackagesDeletePackageVersionForUserPackageType packageType, + string packageName, + string username, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..9d41733bf0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List package versions for a package owned by the authenticated user
+ /// Lists package versions for a package owned by the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: active + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserAsync( + global::G.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserPackageType packageType, + string packageName, + int page = 1, + int perPage = 30, + global::G.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState? state = global::G.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState.Active, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.verified.cs new file mode 100644 index 0000000000..24384315d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List package versions for a package owned by an organization
+ /// Lists package versions for a package owned by an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: active + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesGetAllPackageVersionsForPackageOwnedByOrgAsync( + global::G.PackagesGetAllPackageVersionsForPackageOwnedByOrgPackageType packageType, + string packageName, + string org, + int page = 1, + int perPage = 30, + global::G.PackagesGetAllPackageVersionsForPackageOwnedByOrgState? state = global::G.PackagesGetAllPackageVersionsForPackageOwnedByOrgState.Active, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByUser.g.verified.cs new file mode 100644 index 0000000000..7a8917a8d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List package versions for a package owned by a user
+ /// Lists package versions for a public package owned by a specified user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesGetAllPackageVersionsForPackageOwnedByUserAsync( + global::G.PackagesGetAllPackageVersionsForPackageOwnedByUserPackageType packageType, + string packageName, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..1780e60f59 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForAuthenticatedUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IPackagesClient.PackagesGetPackageForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package for the authenticated user
+ /// Gets a specific package for a package owned by the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageForAuthenticatedUserAsync( + global::G.PackagesGetPackageForAuthenticatedUserPackageType packageType, + string packageName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForOrganization.g.verified.cs new file mode 100644 index 0000000000..573d0ef8fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForOrganization.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IPackagesClient.PackagesGetPackageForOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package for an organization
+ /// Gets a specific package in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageForOrganizationAsync( + global::G.PackagesGetPackageForOrganizationPackageType packageType, + string packageName, + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForUser.g.verified.cs new file mode 100644 index 0000000000..9dee8239c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageForUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IPackagesClient.PackagesGetPackageForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package for a user
+ /// Gets a specific package metadata for a public package owned by a user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageForUserAsync( + global::G.PackagesGetPackageForUserPackageType packageType, + string packageName, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..50c9a6b6c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForAuthenticatedUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IPackagesClient.PackagesGetPackageVersionForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package version for the authenticated user
+ /// Gets a specific package version for a package owned by the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageVersionForAuthenticatedUserAsync( + global::G.PackagesGetPackageVersionForAuthenticatedUserPackageType packageType, + string packageName, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForOrganization.g.verified.cs new file mode 100644 index 0000000000..d8532fd20d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForOrganization.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IPackagesClient.PackagesGetPackageVersionForOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package version for an organization
+ /// Gets a specific package version in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageVersionForOrganizationAsync( + global::G.PackagesGetPackageVersionForOrganizationPackageType packageType, + string packageName, + string org, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForUser.g.verified.cs new file mode 100644 index 0000000000..014922596d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesGetPackageVersionForUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IPackagesClient.PackagesGetPackageVersionForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package version for a user
+ /// Gets a specific package version for a public package owned by a specified user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageVersionForUserAsync( + global::G.PackagesGetPackageVersionForUserPackageType packageType, + string packageName, + int packageVersionId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..11ef4a2ee0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForAuthenticatedUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get list of conflicting packages during Docker migration for authenticated-user
+ /// Lists all packages that are owned by the authenticated user within the user's namespace, and that encountered a conflict during a Docker migration.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListDockerMigrationConflictingPackagesForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForOrganization.g.verified.cs new file mode 100644 index 0000000000..5ee0ccdcd8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForOrganization.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get list of conflicting packages during Docker migration for organization
+ /// Lists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListDockerMigrationConflictingPackagesForOrganizationAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForUser.g.verified.cs new file mode 100644 index 0000000000..773349df53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get list of conflicting packages during Docker migration for user
+ /// Lists all packages that are in a specific user's namespace, that the requesting user has access to, and that encountered a conflict during Docker migration.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListDockerMigrationConflictingPackagesForUserAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6c1193e906 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForAuthenticatedUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPackagesClient.PackagesListPackagesForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List packages for the authenticated user's namespace
+ /// Lists packages owned by the authenticated user within the user's namespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListPackagesForAuthenticatedUserAsync( + global::G.PackagesListPackagesForAuthenticatedUserPackageType packageType, + global::G.PackagesListPackagesForAuthenticatedUserVisibility? visibility = default, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForOrganization.g.verified.cs new file mode 100644 index 0000000000..4c7158e9b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForOrganization.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPackagesClient.PackagesListPackagesForOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List packages for an organization
+ /// Lists packages in an organization readable by the user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListPackagesForOrganizationAsync( + global::G.PackagesListPackagesForOrganizationPackageType packageType, + string org, + global::G.PackagesListPackagesForOrganizationVisibility? visibility = default, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForUser.g.verified.cs new file mode 100644 index 0000000000..c7501a39c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesListPackagesForUser.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPackagesClient.PackagesListPackagesForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List packages for a user
+ /// Lists all packages in a user's namespace for which the requesting user has access.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListPackagesForUserAsync( + global::G.PackagesListPackagesForUserPackageType packageType, + string username, + global::G.PackagesListPackagesForUserVisibility? visibility = default, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..b2372c2dde --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore a package for the authenticated user
+ /// Restores a package owned by the authenticated user.
+ /// You can restore a deleted package under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageForAuthenticatedUserAsync( + global::G.PackagesRestorePackageForAuthenticatedUserPackageType packageType, + string packageName, + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForOrg.g.verified.cs new file mode 100644 index 0000000000..48d8d9c46c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore a package for an organization
+ /// Restores an entire package in an organization.
+ /// You can restore a deleted package under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageForOrgAsync( + global::G.PackagesRestorePackageForOrgPackageType packageType, + string packageName, + string org, + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForUser.g.verified.cs new file mode 100644 index 0000000000..c72e0e8497 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageForUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore a package for a user
+ /// Restores an entire package for a user.
+ /// You can restore a deleted package under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageForUserAsync( + global::G.PackagesRestorePackageForUserPackageType packageType, + string packageName, + string username, + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..3839aff81a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageVersionForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore a package version for the authenticated user
+ /// Restores a package version owned by the authenticated user.
+ /// You can restore a deleted package version under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageVersionForAuthenticatedUserAsync( + global::G.PackagesRestorePackageVersionForAuthenticatedUserPackageType packageType, + string packageName, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForOrg.g.verified.cs new file mode 100644 index 0000000000..0f97741137 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageVersionForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore package version for an organization
+ /// Restores a specific package version in an organization.
+ /// You can restore a deleted package under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageVersionForOrgAsync( + global::G.PackagesRestorePackageVersionForOrgPackageType packageType, + string packageName, + string org, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForUser.g.verified.cs new file mode 100644 index 0000000000..84f30c3790 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.PackagesRestorePackageVersionForUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageVersionForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore package version for a user
+ /// Restores a specific package version for a user.
+ /// You can restore a deleted package under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageVersionForUserAsync( + global::G.PackagesRestorePackageVersionForUserPackageType packageType, + string packageName, + string username, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.g.verified.cs new file mode 100644 index 0000000000..a9816927c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPackagesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IPackagesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Manage packages for authenticated users and organizations.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPackagesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsAddCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsAddCollaborator.g.verified.cs new file mode 100644 index 0000000000..77e66b7ed3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsAddCollaborator.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IProjectsClient.ProjectsAddCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Add project collaborator
+ /// Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsAddCollaboratorAsync( + int projectId, + string username, + global::G.ProjectsAddCollaboratorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add project collaborator
+ /// Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator. + ///
+ /// + /// + /// + /// The permission to grant the collaborator.
+ /// Default Value: write
+ /// Example: write + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsAddCollaboratorAsync( + int projectId, + string username, + global::G.ProjectsAddCollaboratorRequestPermission? permission = global::G.ProjectsAddCollaboratorRequestPermission.Write, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateCard.g.verified.cs new file mode 100644 index 0000000000..e5d75ebdc2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateCard.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IProjectsClient.ProjectsCreateCard.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create a project card + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateCardAsync( + int columnId, + global::G.OneOf request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a project card + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateCardAsync( + int columnId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateColumn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateColumn.g.verified.cs new file mode 100644 index 0000000000..0db7672ac7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateColumn.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IProjectsClient.ProjectsCreateColumn.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create a project column
+ /// Creates a new project column. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateColumnAsync( + int projectId, + global::G.ProjectsCreateColumnRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a project column
+ /// Creates a new project column. + ///
+ /// + /// + /// Name of the project column
+ /// Example: Remaining tasks + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateColumnAsync( + int projectId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..407b6c68e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForAuthenticatedUser.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IProjectsClient.ProjectsCreateForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create a user project
+ /// Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForAuthenticatedUserAsync( + global::G.ProjectsCreateForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a user project
+ /// Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// Name of the project
+ /// Example: Week One Sprint + /// + /// + /// Body of the project
+ /// Example: This project represents the sprint of the first week in January + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForAuthenticatedUserAsync( + string name, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForOrg.g.verified.cs new file mode 100644 index 0000000000..957a23ddc7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForOrg.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IProjectsClient.ProjectsCreateForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create an organization project
+ /// Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForOrgAsync( + string org, + global::G.ProjectsCreateForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization project
+ /// Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// The name of the project. + /// + /// + /// The description of the project. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForOrgAsync( + string org, + string name, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForRepo.g.verified.cs new file mode 100644 index 0000000000..856e79f874 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsCreateForRepo.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IProjectsClient.ProjectsCreateForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create a repository project
+ /// Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForRepoAsync( + string owner, + string repo, + global::G.ProjectsCreateForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository project
+ /// Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// + /// The name of the project. + /// + /// + /// The description of the project. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForRepoAsync( + string owner, + string repo, + string name, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDelete.g.verified.cs new file mode 100644 index 0000000000..633a771484 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDelete.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Delete a project
+ /// Deletes a project board. Returns a `404 Not Found` status if projects are disabled. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsDeleteAsync( + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDeleteCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDeleteCard.g.verified.cs new file mode 100644 index 0000000000..72185251a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDeleteCard.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsDeleteCard.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Delete a project card
+ /// Deletes a project card + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsDeleteCardAsync( + int cardId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDeleteColumn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDeleteColumn.g.verified.cs new file mode 100644 index 0000000000..5058118d21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsDeleteColumn.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsDeleteColumn.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Delete a project column
+ /// Deletes a project column. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsDeleteColumnAsync( + int columnId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGet.g.verified.cs new file mode 100644 index 0000000000..f4499ac69c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGet.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Get a project
+ /// Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsGetAsync( + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetCard.g.verified.cs new file mode 100644 index 0000000000..b3ca68bf60 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetCard.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsGetCard.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Get a project card
+ /// Gets information about a project card. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsGetCardAsync( + int cardId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetColumn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetColumn.g.verified.cs new file mode 100644 index 0000000000..4192468020 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetColumn.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsGetColumn.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Get a project column
+ /// Gets information about a project column. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsGetColumnAsync( + int columnId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetPermissionForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetPermissionForUser.g.verified.cs new file mode 100644 index 0000000000..8c1e75560e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsGetPermissionForUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IProjectsClient.ProjectsGetPermissionForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Get project permission for a user
+ /// Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsGetPermissionForUserAsync( + int projectId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListCards.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListCards.g.verified.cs new file mode 100644 index 0000000000..285c591159 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListCards.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IProjectsClient.ProjectsListCards.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List project cards
+ /// Lists the project cards in a project. + ///
+ /// + /// + /// Default Value: not_archived + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListCardsAsync( + int columnId, + global::G.ProjectsListCardsArchivedState? archivedState = global::G.ProjectsListCardsArchivedState.NotArchived, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListCollaborators.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListCollaborators.g.verified.cs new file mode 100644 index 0000000000..7c00fdb8b8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListCollaborators.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IProjectsClient.ProjectsListCollaborators.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List project collaborators
+ /// Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListCollaboratorsAsync( + int projectId, + global::G.ProjectsListCollaboratorsAffiliation? affiliation = global::G.ProjectsListCollaboratorsAffiliation.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListColumns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListColumns.g.verified.cs new file mode 100644 index 0000000000..3519247a2b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListColumns.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IProjectsClient.ProjectsListColumns.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List project columns
+ /// Lists the project columns in a project. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListColumnsAsync( + int projectId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForOrg.g.verified.cs new file mode 100644 index 0000000000..b3ec4a163c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForOrg.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IProjectsClient.ProjectsListForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List organization projects
+ /// Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// Default Value: open + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListForOrgAsync( + string org, + global::G.ProjectsListForOrgState? state = global::G.ProjectsListForOrgState.Open, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForRepo.g.verified.cs new file mode 100644 index 0000000000..c3f6b93e65 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForRepo.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IProjectsClient.ProjectsListForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List repository projects
+ /// Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// + /// Default Value: open + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListForRepoAsync( + string owner, + string repo, + global::G.ProjectsListForRepoState? state = global::G.ProjectsListForRepoState.Open, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForUser.g.verified.cs new file mode 100644 index 0000000000..387ba8e134 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsListForUser.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IProjectsClient.ProjectsListForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List user projects
+ /// Lists projects for a user. + ///
+ /// + /// + /// Default Value: open + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListForUserAsync( + string username, + global::G.ProjectsListForUserState? state = global::G.ProjectsListForUserState.Open, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsMoveCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsMoveCard.g.verified.cs new file mode 100644 index 0000000000..9a0ad15ba9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsMoveCard.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IProjectsClient.ProjectsMoveCard.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Move a project card + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsMoveCardAsync( + int cardId, + global::G.ProjectsMoveCardRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Move a project card + /// + /// + /// + /// The position of the card in a column. Can be one of: `top`, `bottom`, or `after:<card_id>` to place after the specified card.
+ /// Example: bottom + /// + /// + /// The unique identifier of the column the card should be moved to
+ /// Example: 42 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsMoveCardAsync( + int cardId, + string position, + int columnId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsMoveColumn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsMoveColumn.g.verified.cs new file mode 100644 index 0000000000..5e4bb2895e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsMoveColumn.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IProjectsClient.ProjectsMoveColumn.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Move a project column + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsMoveColumnAsync( + int columnId, + global::G.ProjectsMoveColumnRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Move a project column + /// + /// + /// + /// The position of the column in a project. Can be one of: `first`, `last`, or `after:<column_id>` to place after the specified column.
+ /// Example: last + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsMoveColumnAsync( + int columnId, + string position, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsRemoveCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsRemoveCollaborator.g.verified.cs new file mode 100644 index 0000000000..6b8fd57414 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsRemoveCollaborator.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IProjectsClient.ProjectsRemoveCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Remove user as a collaborator
+ /// Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsRemoveCollaboratorAsync( + int projectId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdate.g.verified.cs new file mode 100644 index 0000000000..04bc0396a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdate.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.IProjectsClient.ProjectsUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Update a project
+ /// Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateAsync( + int projectId, + global::G.ProjectsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a project
+ /// Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// Name of the project
+ /// Example: Week One Sprint + /// + /// + /// Body of the project
+ /// Example: This project represents the sprint of the first week in January + /// + /// + /// State of the project; either 'open' or 'closed'
+ /// Example: open + /// + /// + /// The baseline permission that all organization members have on this project + /// + /// + /// Whether or not this project can be seen by everyone. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateAsync( + int projectId, + string? name = default, + string? body = default, + string? state = default, + global::G.ProjectsUpdateRequestOrganizationPermission? organizationPermission = default, + bool @private = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdateCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdateCard.g.verified.cs new file mode 100644 index 0000000000..d899742fbd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdateCard.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IProjectsClient.ProjectsUpdateCard.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Update an existing project card + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateCardAsync( + int cardId, + global::G.ProjectsUpdateCardRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an existing project card + /// + /// + /// + /// The project card's note
+ /// Example: Update all gems + /// + /// + /// Whether or not the card is archived
+ /// Example: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateCardAsync( + int cardId, + string? note = default, + bool archived = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdateColumn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdateColumn.g.verified.cs new file mode 100644 index 0000000000..5d0947a78c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.ProjectsUpdateColumn.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IProjectsClient.ProjectsUpdateColumn.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Update an existing project column + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateColumnAsync( + int columnId, + global::G.ProjectsUpdateColumnRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an existing project column + /// + /// + /// + /// Name of the project column
+ /// Example: Remaining tasks + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateColumnAsync( + int columnId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.g.verified.cs new file mode 100644 index 0000000000..4d87437718 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IProjectsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IProjectsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Projects.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IProjectsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCheckIfMerged.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCheckIfMerged.g.verified.cs new file mode 100644 index 0000000000..c9ce10d669 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCheckIfMerged.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPullsClient.PullsCheckIfMerged.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Check if a pull request has been merged
+ /// Checks if a pull request has been merged into the base branch. The HTTP status of the response indicates whether or not the pull request has been merged; the response body is empty. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCheckIfMergedAsync( + string owner, + string repo, + int pullNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreate.g.verified.cs new file mode 100644 index 0000000000..4441d03b12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreate.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.IPullsClient.PullsCreate.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Create a pull request
+ /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateAsync( + string owner, + string repo, + global::G.PullsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a pull request
+ /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The title of the new pull request. Required unless `issue` is specified. + /// + /// + /// The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`. + /// + /// + /// The name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization.
+ /// Example: octo-org/octo-repo + /// + /// + /// The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository. + /// + /// + /// The contents of the pull request. + /// + /// + /// Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. + /// + /// + /// Indicates whether the pull request is a draft. See "[Draft Pull Requests](https://docs.github.com/articles/about-pull-requests#draft-pull-requests)" in the GitHub Help documentation to learn more. + /// + /// + /// An issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless `title` is specified.
+ /// Example: 1L + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateAsync( + string owner, + string repo, + string head, + string @base, + string? title = default, + string? headRepo = default, + string? body = default, + bool maintainerCanModify = default, + bool draft = default, + long issue = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs new file mode 100644 index 0000000000..c094236fa1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IPullsClient.PullsCreateReplyForReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Create a reply for a review comment
+ /// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReplyForReviewCommentAsync( + string owner, + string repo, + int pullNumber, + int commentId, + global::G.PullsCreateReplyForReviewCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a reply for a review comment
+ /// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The text of the review comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReplyForReviewCommentAsync( + string owner, + string repo, + int pullNumber, + int commentId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs new file mode 100644 index 0000000000..ada3c8b2ac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs @@ -0,0 +1,74 @@ +//HintName: G.IPullsClient.PullsCreateReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Create a review for a pull request
+ /// Creates a review on a specified pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
+ /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// 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.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReviewAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsCreateReviewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a review for a pull request
+ /// Creates a review on a specified pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
+ /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// 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.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value. + /// + /// + /// **Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review. + /// + /// + /// The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request) when you are ready. + /// + /// + /// Use the following table to specify the location, destination, and contents of the draft review comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReviewAsync( + string owner, + string repo, + int pullNumber, + string? commitId = default, + string? body = default, + global::G.PullsCreateReviewRequestEvent? @event = default, + global::System.Collections.Generic.IList? comments = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs new file mode 100644 index 0000000000..b849a5349f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs @@ -0,0 +1,95 @@ +//HintName: G.IPullsClient.PullsCreateReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Create a review comment for a pull request
+ /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
+ /// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
+ /// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReviewCommentAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsCreateReviewCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a review comment for a pull request
+ /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
+ /// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
+ /// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The text of the review comment. + /// + /// + /// The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`. + /// + /// + /// The relative path to the file that necessitates a comment. + /// + /// + /// In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see "[Diff view options](https://docs.github.com/articles/about-comparing-branches-in-pull-requests#diff-view-options)" in the GitHub Help documentation. + /// + /// + /// **Required unless using `subject_type:file`**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to. + /// + /// + /// **Required when using multi-line comments unless using `in_reply_to`**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "[Commenting on a pull request](https://docs.github.com/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)" in the GitHub Help documentation. + /// + /// + /// **Required when using multi-line comments unless using `in_reply_to`**. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see "[Commenting on a pull request](https://docs.github.com/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)" in the GitHub Help documentation. See `side` in this table for additional context. + /// + /// + /// The ID of the review comment to reply to. To find the ID of a review comment with ["List review comments on a pull request"](#list-review-comments-on-a-pull-request). When specified, all parameters other than `body` in the request body are ignored.
+ /// Example: 2 + /// + /// + /// The level at which the comment is targeted. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReviewCommentAsync( + string owner, + string repo, + int pullNumber, + string body, + string commitId, + string path, + global::G.PullsCreateReviewCommentRequestSide? side = default, + int line = default, + int startLine = default, + global::G.PullsCreateReviewCommentRequestStartSide? startSide = default, + int inReplyTo = default, + global::G.PullsCreateReviewCommentRequestSubjectType? subjectType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeletePendingReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeletePendingReview.g.verified.cs new file mode 100644 index 0000000000..9801596654 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeletePendingReview.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPullsClient.PullsDeletePendingReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Delete a pending review for a pull request
+ /// Deletes a pull request review that has not been submitted. Submitted reviews cannot be deleted.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsDeletePendingReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs new file mode 100644 index 0000000000..0a1c72d519 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPullsClient.PullsDeleteReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Delete a review comment for a pull request
+ /// Deletes a review comment. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsDeleteReviewCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs new file mode 100644 index 0000000000..c506829726 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IPullsClient.PullsDismissReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Dismiss a review for a pull request
+ /// Dismisses a specified review on a pull request.
+ /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
+ /// you must be a repository administrator or be included in the list of people or teams
+ /// who can dismiss pull request reviews.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsDismissReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::G.PullsDismissReviewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Dismiss a review for a pull request
+ /// Dismisses a specified review on a pull request.
+ /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
+ /// you must be a repository administrator or be included in the list of people or teams
+ /// who can dismiss pull request reviews.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The message for the pull request review dismissal + /// + /// + /// Example: "DISMISS" + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsDismissReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + string message, + global::G.PullsDismissReviewRequestEvent? @event = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGet.g.verified.cs new file mode 100644 index 0000000000..3363e91a43 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGet.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IPullsClient.PullsGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Get a pull request
+ /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Lists details of a pull request by providing its number.
+ /// When you get, [create](https://docs.github.com/rest/pulls/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/pulls/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
+ /// The value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.
+ /// The value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:
+ /// * If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.
+ /// * If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.
+ /// * If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.
+ /// Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.
+ /// - **`application/vnd.github.diff`**: For more information, see "[git-diff](https://git-scm.com/docs/git-diff)" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsGetAsync( + string owner, + string repo, + int pullNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReview.g.verified.cs new file mode 100644 index 0000000000..1c4294af12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReview.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPullsClient.PullsGetReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Get a review for a pull request
+ /// Retrieves a pull request review by its ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsGetReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs new file mode 100644 index 0000000000..17582d9862 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IPullsClient.PullsGetReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Get a review comment for a pull request
+ /// Provides details for a specified review comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsGetReviewCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsList.g.verified.cs new file mode 100644 index 0000000000..ed5091decf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsList.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IPullsClient.PullsList.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List pull requests
+ /// Lists pull requests in a specified repository.
+ /// Draft pull requests are available in public repositories with GitHub
+ /// Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing
+ /// plans, and in public and private repositories with GitHub Team and GitHub Enterprise
+ /// Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)
+ /// in the GitHub Help documentation.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// Default Value: open + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListAsync( + string owner, + string repo, + global::G.PullsListState? state = global::G.PullsListState.Open, + string? head = default, + string? @base = default, + global::G.PullsListSort? sort = global::G.PullsListSort.Created, + global::G.PullsListDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListCommentsForReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListCommentsForReview.g.verified.cs new file mode 100644 index 0000000000..63b35fcff7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListCommentsForReview.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IPullsClient.PullsListCommentsForReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List comments for a pull request review
+ /// Lists comments for a specific pull request review.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListCommentsForReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListCommits.g.verified.cs new file mode 100644 index 0000000000..93c8b757be --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListCommits.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IPullsClient.PullsListCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List commits on a pull request
+ /// Lists a maximum of 250 commits for a pull request. To receive a complete
+ /// commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/commits/commits#list-commits)
+ /// endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListCommitsAsync( + string owner, + string repo, + int pullNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListFiles.g.verified.cs new file mode 100644 index 0000000000..0bd2c43e05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListFiles.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IPullsClient.PullsListFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List pull requests files
+ /// Lists the files in a specified pull request.
+ /// **Note:** Responses include a maximum of 3000 files. The paginated response
+ /// returns 30 files per page by default.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListFilesAsync( + string owner, + string repo, + int pullNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListRequestedReviewers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListRequestedReviewers.g.verified.cs new file mode 100644 index 0000000000..97681ca5b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListRequestedReviewers.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPullsClient.PullsListRequestedReviewers.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Get all requested reviewers for a pull request
+ /// Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request) operation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsListRequestedReviewersAsync( + string owner, + string repo, + int pullNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviewComments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviewComments.g.verified.cs new file mode 100644 index 0000000000..8658bb3fd1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviewComments.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IPullsClient.PullsListReviewComments.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List review comments on a pull request
+ /// Lists all review comments for a specified pull request. By default, review comments
+ /// are in ascending order by ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: created + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListReviewCommentsAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsListReviewCommentsSort? sort = global::G.PullsListReviewCommentsSort.Created, + global::G.PullsListReviewCommentsDirection? direction = default, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviewCommentsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviewCommentsForRepo.g.verified.cs new file mode 100644 index 0000000000..b4bcacdf44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviewCommentsForRepo.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IPullsClient.PullsListReviewCommentsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List review comments in a repository
+ /// Lists review comments for all pull requests in a repository. By default,
+ /// review comments are in ascending order by ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListReviewCommentsForRepoAsync( + string owner, + string repo, + global::G.PullsListReviewCommentsForRepoSort? sort = default, + global::G.PullsListReviewCommentsForRepoDirection? direction = default, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviews.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviews.g.verified.cs new file mode 100644 index 0000000000..40ecbabefc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsListReviews.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPullsClient.PullsListReviews.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List reviews for a pull request
+ /// Lists all reviews for a specified pull request. The list of reviews returns in chronological order.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListReviewsAsync( + string owner, + string repo, + int pullNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsMerge.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsMerge.g.verified.cs new file mode 100644 index 0000000000..1742165974 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsMerge.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IPullsClient.PullsMerge.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Merge a pull request
+ /// Merges a pull request into the base branch.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsMergeAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsMergeRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Merge a pull request
+ /// Merges a pull request into the base branch.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// + /// Title for the automatic commit message. + /// + /// + /// Extra detail to append to automatic commit message. + /// + /// + /// SHA that pull request head must match to allow merge. + /// + /// + /// The merge method to use. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsMergeAsync( + string owner, + string repo, + int pullNumber, + string? commitTitle = default, + string? commitMessage = default, + string? sha = default, + global::G.PullsMergeRequestMergeMethod? mergeMethod = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRemoveRequestedReviewers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRemoveRequestedReviewers.g.verified.cs new file mode 100644 index 0000000000..37e86dad3a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRemoveRequestedReviewers.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IPullsClient.PullsRemoveRequestedReviewers.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Remove requested reviewers from a pull request
+ /// Removes review requests from a pull request for a given set of users and/or teams. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsRemoveRequestedReviewersAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsRemoveRequestedReviewersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove requested reviewers from a pull request
+ /// Removes review requests from a pull request for a given set of users and/or teams. + ///
+ /// + /// + /// + /// + /// An array of user `login`s that will be removed. + /// + /// + /// An array of team `slug`s that will be removed. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsRemoveRequestedReviewersAsync( + string owner, + string repo, + int pullNumber, + global::System.Collections.Generic.IList reviewers, + global::System.Collections.Generic.IList? teamReviewers = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs new file mode 100644 index 0000000000..a3f1ab5357 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IPullsClient.PullsRequestReviewers.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Request reviewers for a pull request
+ /// Requests reviews for a pull request from a given set of users and/or teams.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsRequestReviewersAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsRequestReviewersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Request reviewers for a pull request
+ /// Requests reviews for a pull request from a given set of users and/or teams.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// + /// 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 + /// + 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); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsSubmitReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsSubmitReview.g.verified.cs new file mode 100644 index 0000000000..daa001f393 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsSubmitReview.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IPullsClient.PullsSubmitReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Submit a review for a pull request
+ /// Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see "[Create a review for a pull request](https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsSubmitReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::G.PullsSubmitReviewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Submit a review for a pull request
+ /// Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see "[Create a review for a pull request](https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The body text of the pull request review + /// + /// + /// The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsSubmitReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::G.PullsSubmitReviewRequestEvent @event, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdate.g.verified.cs new file mode 100644 index 0000000000..9184500083 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdate.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IPullsClient.PullsUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Update a pull request
+ /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a pull request
+ /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The title of the pull request. + /// + /// + /// The contents of the pull request. + /// + /// + /// State of this Pull Request. Either `open` or `closed`. + /// + /// + /// The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository. + /// + /// + /// Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateAsync( + string owner, + string repo, + int pullNumber, + string? title = default, + string? body = default, + global::G.PullsUpdateRequestState? state = default, + string? @base = default, + bool maintainerCanModify = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs new file mode 100644 index 0000000000..959fc422bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IPullsClient.PullsUpdateBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Update a pull request branch
+ /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateBranchAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsUpdateBranchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a pull request branch
+ /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + ///
+ /// + /// + /// + /// + /// The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the "[List commits](https://docs.github.com/rest/commits/commits#list-commits)" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateBranchAsync( + string owner, + string repo, + int pullNumber, + string? expectedHeadSha = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReview.g.verified.cs new file mode 100644 index 0000000000..e4cf4d614a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReview.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IPullsClient.PullsUpdateReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Update a review for a pull request
+ /// Updates the contents of a specified review summary comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::G.PullsUpdateReviewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a review for a pull request
+ /// Updates the contents of a specified review summary comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The body text of the pull request review. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs new file mode 100644 index 0000000000..ed0a7e7e84 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IPullsClient.PullsUpdateReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Update a review comment for a pull request
+ /// Edits the content of a specified review comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( + string owner, + string repo, + int commentId, + global::G.PullsUpdateReviewCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a review comment for a pull request
+ /// Edits the content of a specified review comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The text of the reply to the review comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( + string owner, + string repo, + int commentId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.g.verified.cs new file mode 100644 index 0000000000..d8ec1720c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IPullsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IPullsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Pull Requests.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPullsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs new file mode 100644 index 0000000000..1263c0e00b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IRateLimitClient.RateLimitGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IRateLimitClient + { + /// + /// Get rate limit status for the authenticated user
+ /// **Note:** Accessing this endpoint does not count against your REST API rate limit.
+ /// Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:
+ /// * The `core` object provides your rate limit status for all non-search-related resources in the REST API.
+ /// * The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see "[Search](https://docs.github.com/rest/search/search)."
+ /// * The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see "[Search code](https://docs.github.com/rest/search/search#search-code)."
+ /// * The `graphql` object provides your rate limit status for the GraphQL API. For more information, see "[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit)."
+ /// * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)."
+ /// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
+ /// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
+ /// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
+ /// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/overview/api-versions)."
+ /// **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RateLimitGetAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.g.verified.cs new file mode 100644 index 0000000000..adc697a548 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IRateLimitClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IRateLimitClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Check your current rate limit status
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRateLimitClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs new file mode 100644 index 0000000000..76b1e64c18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReactionsClient.ReactionsCreateForCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a commit comment
+ /// Create a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForCommitCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a commit comment
+ /// Create a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the commit comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForCommitCommentRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssue.g.verified.cs new file mode 100644 index 0000000000..fbcf680072 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssue.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReactionsClient.ReactionsCreateForIssue.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for an issue
+ /// Create a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForIssueAsync( + string owner, + string repo, + int issueNumber, + global::G.ReactionsCreateForIssueRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for an issue
+ /// Create a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the issue. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForIssueAsync( + string owner, + string repo, + int issueNumber, + global::G.ReactionsCreateForIssueRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs new file mode 100644 index 0000000000..2244d7ab13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReactionsClient.ReactionsCreateForIssueComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for an issue comment
+ /// Create a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForIssueCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for an issue comment
+ /// Create a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the issue comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForIssueCommentRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs new file mode 100644 index 0000000000..6c5fae853d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a pull request review comment
+ /// Create a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForPullRequestReviewCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a pull request review comment
+ /// Create a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the pull request review comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForPullRequestReviewCommentRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForRelease.g.verified.cs new file mode 100644 index 0000000000..1c4eac2aed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForRelease.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReactionsClient.ReactionsCreateForRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a release
+ /// Create a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). A response with a `Status: 200 OK` means that you already added the reaction type to this release. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForReleaseAsync( + string owner, + string repo, + int releaseId, + global::G.ReactionsCreateForReleaseRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a release
+ /// Create a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). A response with a `Status: 200 OK` means that you already added the reaction type to this release. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the release. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForReleaseAsync( + string owner, + string repo, + int releaseId, + global::G.ReactionsCreateForReleaseRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..978db47f43 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a team discussion comment
+ /// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::G.ReactionsCreateForTeamDiscussionCommentInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a team discussion comment
+ /// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::G.ReactionsCreateForTeamDiscussionCommentInOrgRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..8836ed7ff0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a team discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::G.ReactionsCreateForTeamDiscussionCommentLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a team discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::G.ReactionsCreateForTeamDiscussionCommentLegacyRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..5fbde8f372 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a team discussion
+ /// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.ReactionsCreateForTeamDiscussionInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a team discussion
+ /// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.ReactionsCreateForTeamDiscussionInOrgRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..d12eab2451 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a team discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::G.ReactionsCreateForTeamDiscussionLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a team discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::G.ReactionsCreateForTeamDiscussionLegacyRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs new file mode 100644 index 0000000000..4d6b4d0a06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete a commit comment reaction
+ /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.
+ /// Delete a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForCommitCommentAsync( + string owner, + string repo, + int commentId, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs new file mode 100644 index 0000000000..40b47ab59b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForIssue.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete an issue reaction
+ /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.
+ /// Delete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForIssueAsync( + string owner, + string repo, + int issueNumber, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs new file mode 100644 index 0000000000..e8d43337c5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForIssueComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete an issue comment reaction
+ /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.
+ /// Delete a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForIssueCommentAsync( + string owner, + string repo, + int commentId, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs new file mode 100644 index 0000000000..8d0c9e235f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete a pull request comment reaction
+ /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`
+ /// Delete a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForPullRequestCommentAsync( + string owner, + string repo, + int commentId, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs new file mode 100644 index 0000000000..43c87f2069 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete a release reaction
+ /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.
+ /// Delete a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForReleaseAsync( + string owner, + string repo, + int releaseId, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs new file mode 100644 index 0000000000..6d44cd477d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete team discussion reaction
+ /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.
+ /// Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForTeamDiscussionAsync( + string org, + string teamSlug, + int discussionNumber, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs new file mode 100644 index 0000000000..365ca9b987 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete team discussion comment reaction
+ /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.
+ /// Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForTeamDiscussionCommentAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs new file mode 100644 index 0000000000..db3f483329 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReactionsClient.ReactionsListForCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a commit comment
+ /// List the reactions to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForCommitCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsListForCommitCommentContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssue.g.verified.cs new file mode 100644 index 0000000000..4eb2e7c0f0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssue.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReactionsClient.ReactionsListForIssue.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for an issue
+ /// List the reactions to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForIssueAsync( + string owner, + string repo, + int issueNumber, + global::G.ReactionsListForIssueContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs new file mode 100644 index 0000000000..f1a18b9586 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReactionsClient.ReactionsListForIssueComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for an issue comment
+ /// List the reactions to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForIssueCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsListForIssueCommentContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs new file mode 100644 index 0000000000..beb360683e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a pull request review comment
+ /// List the reactions to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForPullRequestReviewCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsListForPullRequestReviewCommentContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForRelease.g.verified.cs new file mode 100644 index 0000000000..89b4e43d90 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForRelease.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReactionsClient.ReactionsListForRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a release
+ /// List the reactions to a [release](https://docs.github.com/rest/releases/releases#get-a-release). + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForReleaseAsync( + string owner, + string repo, + int releaseId, + global::G.ReactionsListForReleaseContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..7da6328ddc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a team discussion comment
+ /// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForTeamDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::G.ReactionsListForTeamDiscussionCommentInOrgContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..a0fa7de579 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a team discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
+ /// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> ReactionsListForTeamDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::G.ReactionsListForTeamDiscussionCommentLegacyContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..43281baee9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a team discussion
+ /// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForTeamDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.ReactionsListForTeamDiscussionInOrgContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..b19653eb06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a team discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
+ /// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> ReactionsListForTeamDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::G.ReactionsListForTeamDiscussionLegacyContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.g.verified.cs new file mode 100644 index 0000000000..63d6287d5e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReactionsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with reactions to various GitHub entities.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IReactionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAcceptInvitationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAcceptInvitationForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ddf89ff53c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAcceptInvitationForAuthenticatedUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IReposClient.ReposAcceptInvitationForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Accept a repository invitation + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposAcceptInvitationForAuthenticatedUserAsync( + int invitationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..a859f98d50 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposAddAppAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Add app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified apps push access for this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified apps push access for this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs new file mode 100644 index 0000000000..ba53c56628 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs @@ -0,0 +1,67 @@ +//HintName: G.IReposClient.ReposAddCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Add a repository collaborator
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
+ /// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
+ /// ```
+ /// Cannot assign {member} permission of {role name}
+ /// ```
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
+ /// The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [API](https://docs.github.com/rest/collaborators/invitations).
+ /// **Updating an existing collaborator's permission level**
+ /// The endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.
+ /// **Rate limits**
+ /// You are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposAddCollaboratorAsync( + string owner, + string repo, + string username, + global::G.ReposAddCollaboratorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add a repository collaborator
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
+ /// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
+ /// ```
+ /// Cannot assign {member} permission of {role name}
+ /// ```
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
+ /// The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [API](https://docs.github.com/rest/collaborators/invitations).
+ /// **Updating an existing collaborator's permission level**
+ /// The endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.
+ /// **Rate limits**
+ /// You are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository. + ///
+ /// + /// + /// + /// + /// The permission to grant the collaborator. **Only valid on organization-owned repositories.** We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any.
+ /// Default Value: push + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposAddCollaboratorAsync( + string owner, + string repo, + string username, + string? permission = "push", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddStatusCheckContexts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddStatusCheckContexts.g.verified.cs new file mode 100644 index 0000000000..010e7a51f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddStatusCheckContexts.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IReposClient.ReposAddStatusCheckContexts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Add status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddTeamAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddTeamAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..2caa97187f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddTeamAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposAddTeamAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Add team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified teams push access for this branch. You can also give push access to child teams. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified teams push access for this branch. You can also give push access to child teams. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..5520bd6c4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposAddUserAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Add user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified people push access for this branch.
+ /// | Type | Description |
+ /// | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified people push access for this branch.
+ /// | Type | Description |
+ /// | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCancelPagesDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCancelPagesDeployment.g.verified.cs new file mode 100644 index 0000000000..17c42f3de9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCancelPagesDeployment.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposCancelPagesDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Cancel a GitHub Pages deployment
+ /// Cancels a GitHub Pages deployment.
+ /// The authenticated user must have write permissions for the GitHub Pages site. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCancelPagesDeploymentAsync( + string owner, + string repo, + global::G.OneOf pagesDeploymentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckAutomatedSecurityFixes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckAutomatedSecurityFixes.g.verified.cs new file mode 100644 index 0000000000..14b016193b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckAutomatedSecurityFixes.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposCheckAutomatedSecurityFixes.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Check if automated security fixes are enabled for a repository
+ /// Shows whether automated security fixes are enabled, disabled or paused for a repository. The authenticated user must have admin read access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCheckAutomatedSecurityFixesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckCollaborator.g.verified.cs new file mode 100644 index 0000000000..1d2e162807 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckCollaborator.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposCheckCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Check if a user is a repository collaborator
+ /// For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
+ /// Team members will include the members of child teams.
+ /// The authenticated user must have push access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCheckCollaboratorAsync( + string owner, + string repo, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckPrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckPrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..d5ed54406b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckPrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposCheckPrivateVulnerabilityReporting.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Check if private vulnerability reporting is enabled for a repository
+ /// Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see "[Evaluating the security settings of a repository](https://docs.github.com/code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCheckPrivateVulnerabilityReportingAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckVulnerabilityAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckVulnerabilityAlerts.g.verified.cs new file mode 100644 index 0000000000..441d02bfac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCheckVulnerabilityAlerts.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposCheckVulnerabilityAlerts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Check if vulnerability alerts are enabled for a repository
+ /// Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCheckVulnerabilityAlertsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCodeownersErrors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCodeownersErrors.g.verified.cs new file mode 100644 index 0000000000..2c6a1c4cbf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCodeownersErrors.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposCodeownersErrors.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List CODEOWNERS errors
+ /// List any syntax errors that are detected in the CODEOWNERS
+ /// file.
+ /// For more information about the correct CODEOWNERS syntax,
+ /// see "[About code owners](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCodeownersErrorsAsync( + string owner, + string repo, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs new file mode 100644 index 0000000000..6466fc0bb9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IReposClient.ReposCompareCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Compare two commits
+ /// Compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."
+ /// This endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.diff`**: Returns the diff of the commit.
+ /// - **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property.
+ /// The API response includes details about the files that were changed between the two commits. This includes the status of the change (if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.
+ /// When calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.
+ /// **Working with large comparisons**
+ /// To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:
+ /// - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison.
+ /// - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.
+ /// For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)."
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The `verification` object includes the following fields:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCompareCommitsAsync( + string owner, + string repo, + string basehead, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateAutolink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateAutolink.g.verified.cs new file mode 100644 index 0000000000..8b5b1a16e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateAutolink.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IReposClient.ReposCreateAutolink.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create an autolink reference for a repository
+ /// Users with admin access to the repository can create an autolink. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateAutolinkAsync( + string owner, + string repo, + global::G.ReposCreateAutolinkRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an autolink reference for a repository
+ /// Users with admin access to the repository can create an autolink. + ///
+ /// + /// + /// + /// This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit. + /// + /// + /// The URL must contain `<num>` for the reference number. `<num>` matches different characters depending on the value of `is_alphanumeric`. + /// + /// + /// Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateAutolinkAsync( + string owner, + string repo, + string keyPrefix, + string urlTemplate, + bool isAlphanumeric = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs new file mode 100644 index 0000000000..b623cd2819 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IReposClient.ReposCreateCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a commit comment
+ /// Create a comment for a commit using its `:commit_sha`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateCommitCommentAsync( + string owner, + string repo, + string commitSha, + global::G.ReposCreateCommitCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a commit comment
+ /// Create a comment for a commit using its `:commit_sha`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The contents of the comment. + /// + /// + /// Relative path of the file to comment on. + /// + /// + /// Line index in the diff to comment on. + /// + /// + /// **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateCommitCommentAsync( + string owner, + string repo, + string commitSha, + string body, + string? path = default, + int position = default, + int line = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitSignatureProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitSignatureProtection.g.verified.cs new file mode 100644 index 0000000000..0b262ad230 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitSignatureProtection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposCreateCommitSignatureProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create commit signature protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateCommitSignatureProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitStatus.g.verified.cs new file mode 100644 index 0000000000..5eb4ca8208 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateCommitStatus.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IReposClient.ReposCreateCommitStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a commit status
+ /// Users with push access in a repository can create commit statuses for a given SHA.
+ /// Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateCommitStatusAsync( + string owner, + string repo, + string sha, + global::G.ReposCreateCommitStatusRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a commit status
+ /// Users with push access in a repository can create commit statuses for a given SHA.
+ /// Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error. + ///
+ /// + /// + /// + /// + /// The state of the status. + /// + /// + /// The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status.
+ /// For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA:
+ /// `http://ci.example.com/user/repo/build/sha` + /// + /// + /// A short description of the status. + /// + /// + /// A string label to differentiate this status from the status of other systems. This field is case-insensitive.
+ /// Default Value: default + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateCommitStatusAsync( + string owner, + string repo, + string sha, + global::G.ReposCreateCommitStatusRequestState state, + string? targetUrl = default, + string? description = default, + string? context = "default", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeployKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeployKey.g.verified.cs new file mode 100644 index 0000000000..ef0041f2b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeployKey.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReposClient.ReposCreateDeployKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a deploy key
+ /// You can create a read-only deploy key. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeployKeyAsync( + string owner, + string repo, + global::G.ReposCreateDeployKeyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a deploy key
+ /// You can create a read-only deploy key. + ///
+ /// + /// + /// + /// A name for the key. + /// + /// + /// The contents of the key. + /// + /// + /// If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write.
+ ///
+ /// Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "[Repository permission levels for an organization](https://docs.github.com/articles/repository-permission-levels-for-an-organization/)" and "[Permission levels for a user account repository](https://docs.github.com/articles/permission-levels-for-a-user-account-repository/)." + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeployKeyAsync( + string owner, + string repo, + string key, + string? title = default, + bool readOnly = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeployment.g.verified.cs new file mode 100644 index 0000000000..93986866d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeployment.g.verified.cs @@ -0,0 +1,140 @@ +//HintName: G.IReposClient.ReposCreateDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a deployment
+ /// Deployments offer a few configurable parameters with certain defaults.
+ /// The `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them
+ /// before we merge a pull request.
+ /// The `environment` parameter allows deployments to be issued to different runtime environments. Teams often have
+ /// multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter
+ /// makes it easier to track which environments have requested deployments. The default environment is `production`.
+ /// The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If
+ /// the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,
+ /// the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will
+ /// return a failure response.
+ /// By default, [commit statuses](https://docs.github.com/rest/commits/statuses) for every submitted context must be in a `success`
+ /// state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to
+ /// specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do
+ /// not require any contexts or create any commit statuses, the deployment will always succeed.
+ /// The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text
+ /// field that will be passed on when a deployment event is dispatched.
+ /// The `task` parameter is used by the deployment system to allow different execution paths. In the web world this might
+ /// be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an
+ /// application with debugging enabled.
+ /// Merged branch response:
+ /// You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating
+ /// a deployment. This auto-merge happens when:
+ /// * Auto-merge option is enabled in the repository
+ /// * Topic branch does not include the latest changes on the base branch, which is `master` in the response example
+ /// * There are no merge conflicts
+ /// If there are no new commits in the base branch, a new request to create a deployment should give a successful
+ /// response.
+ /// Merge conflict response:
+ /// This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't
+ /// be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.
+ /// Failed commit status checks:
+ /// This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`
+ /// status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentAsync( + string owner, + string repo, + global::G.ReposCreateDeploymentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a deployment
+ /// Deployments offer a few configurable parameters with certain defaults.
+ /// The `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them
+ /// before we merge a pull request.
+ /// The `environment` parameter allows deployments to be issued to different runtime environments. Teams often have
+ /// multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter
+ /// makes it easier to track which environments have requested deployments. The default environment is `production`.
+ /// The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If
+ /// the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,
+ /// the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will
+ /// return a failure response.
+ /// By default, [commit statuses](https://docs.github.com/rest/commits/statuses) for every submitted context must be in a `success`
+ /// state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to
+ /// specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do
+ /// not require any contexts or create any commit statuses, the deployment will always succeed.
+ /// The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text
+ /// field that will be passed on when a deployment event is dispatched.
+ /// The `task` parameter is used by the deployment system to allow different execution paths. In the web world this might
+ /// be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an
+ /// application with debugging enabled.
+ /// Merged branch response:
+ /// You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating
+ /// a deployment. This auto-merge happens when:
+ /// * Auto-merge option is enabled in the repository
+ /// * Topic branch does not include the latest changes on the base branch, which is `master` in the response example
+ /// * There are no merge conflicts
+ /// If there are no new commits in the base branch, a new request to create a deployment should give a successful
+ /// response.
+ /// Merge conflict response:
+ /// This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't
+ /// be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.
+ /// Failed commit status checks:
+ /// This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`
+ /// status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint. + ///
+ /// + /// + /// + /// The ref to deploy. This can be a branch, tag, or SHA. + /// + /// + /// Specifies a task to execute (e.g., `deploy` or `deploy:migrations`).
+ /// Default Value: deploy + /// + /// + /// Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch.
+ /// Default Value: true + /// + /// + /// 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. + /// + /// + /// + /// Name for the target deployment environment (e.g., `production`, `staging`, `qa`).
+ /// Default Value: production + /// + /// + /// Short description of the deployment. + /// + /// + /// Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false`
+ /// Default Value: false + /// + /// + /// Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentAsync( + string owner, + string repo, + string @ref, + string? task = "deploy", + bool autoMerge = true, + global::System.Collections.Generic.IList? requiredContexts = default, + global::G.OneOf? payload = default, + string? environment = "production", + string? description = default, + bool transientEnvironment = false, + bool productionEnvironment = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentBranchPolicy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentBranchPolicy.g.verified.cs new file mode 100644 index 0000000000..c653a56f4f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentBranchPolicy.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IReposClient.ReposCreateDeploymentBranchPolicy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a deployment branch policy
+ /// Creates a deployment branch or tag policy for an environment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + global::G.DeploymentBranchPolicyNamePatternWithType request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a deployment branch policy
+ /// Creates a deployment branch or tag policy for an environment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The name pattern that branches or tags must match in order to deploy to the environment.
+ /// Wildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.
+ /// For more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).
+ /// Example: release/* + /// + /// + /// Whether this rule targets a branch or tag
+ /// Example: branch + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + string name, + global::G.DeploymentBranchPolicyNamePatternWithTypeType? type = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentProtectionRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentProtectionRule.g.verified.cs new file mode 100644 index 0000000000..5be4d9f8e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentProtectionRule.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReposClient.ReposCreateDeploymentProtectionRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a custom deployment protection rule on an environment
+ /// Enable a custom deployment protection rule for an environment.
+ /// The authenticated user must have admin or owner permissions to the repository to use this endpoint.
+ /// For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/rest/apps/apps#get-an-app).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentProtectionRuleAsync( + string environmentName, + string repo, + string owner, + global::G.ReposCreateDeploymentProtectionRuleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a custom deployment protection rule on an environment
+ /// Enable a custom deployment protection rule for an environment.
+ /// The authenticated user must have admin or owner permissions to the repository to use this endpoint.
+ /// For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/rest/apps/apps#get-an-app).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The ID of the custom app that will be enabled on the environment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentProtectionRuleAsync( + string environmentName, + string repo, + string owner, + int integrationId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs new file mode 100644 index 0000000000..9adac27e6e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.IReposClient.ReposCreateDeploymentStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a deployment status
+ /// Users with `push` access can create deployment statuses for a given deployment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo_deployment` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentStatusAsync( + string owner, + string repo, + int deploymentId, + global::G.ReposCreateDeploymentStatusRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a deployment status
+ /// Users with `push` access can create deployment statuses for a given deployment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo_deployment` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The state of the status. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub. + /// + /// + /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. + /// + /// + /// The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` + /// + /// + /// A short description of the status. The maximum description length is 140 characters. + /// + /// + /// Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. If not defined, the environment of the previous status on the deployment will be used, if it exists. Otherwise, the environment of the deployment will be used. + /// + /// + /// Sets the URL for accessing your environment. Default: `""` + /// + /// + /// Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentStatusAsync( + string owner, + string repo, + int deploymentId, + global::G.ReposCreateDeploymentStatusRequestState state, + string? targetUrl = default, + string? logUrl = default, + string? description = default, + string? environment = default, + string? environmentUrl = default, + bool autoInactive = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDispatchEvent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDispatchEvent.g.verified.cs new file mode 100644 index 0000000000..4a329fa1d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateDispatchEvent.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReposClient.ReposCreateDispatchEvent.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a repository dispatch event
+ /// You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch)."
+ /// The `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.
+ /// This input example shows how you can use the `client_payload` as a test to debug your workflow.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDispatchEventAsync( + string owner, + string repo, + global::G.ReposCreateDispatchEventRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository dispatch event
+ /// You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch)."
+ /// The `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.
+ /// This input example shows how you can use the `client_payload` as a test to debug your workflow.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// A custom webhook event name. Must be 100 characters or fewer. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDispatchEventAsync( + string owner, + string repo, + string eventType, + global::G.ReposCreateDispatchEventRequestClientPayload? clientPayload = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6f47f53536 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs @@ -0,0 +1,159 @@ +//HintName: G.IReposClient.ReposCreateForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a repository for the authenticated user
+ /// Creates a new repository for the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateForAuthenticatedUserAsync( + global::G.ReposCreateForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository for the authenticated user
+ /// Creates a new repository for the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// The name of the repository.
+ /// Example: Team Environment + /// + /// + /// A short description of the repository. + /// + /// + /// A URL with more information about the repository. + /// + /// + /// Whether the repository is private.
+ /// Default Value: false + /// + /// + /// Whether issues are enabled.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether projects are enabled.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether the wiki is enabled.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether discussions are enabled.
+ /// Default Value: false
+ /// Example: true + /// + /// + /// The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. + /// + /// + /// Whether the repository is initialized with a minimal README.
+ /// Default Value: false + /// + /// + /// The desired language or platform to apply to the .gitignore.
+ /// Example: Haskell + /// + /// + /// The license keyword of the open source license for this repository.
+ /// Example: mit + /// + /// + /// Whether to allow squash merges for pull requests.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether to allow merge commits for pull requests.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether to allow rebase merges for pull requests.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether to allow Auto-merge to be used on pull requests.
+ /// Default Value: false
+ /// Example: false + /// + /// + /// Whether to delete head branches when pull requests are merged
+ /// Default Value: false
+ /// Example: false + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// Whether downloads are enabled.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether this repository acts as a template that can be used to generate new repositories.
+ /// Default Value: false
+ /// Example: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateForAuthenticatedUserAsync( + string name, + string? description = default, + string? homepage = default, + bool @private = false, + bool hasIssues = true, + bool hasProjects = true, + bool hasWiki = true, + bool hasDiscussions = false, + int teamId = default, + bool autoInit = false, + string? gitignoreTemplate = default, + string? licenseTemplate = default, + bool allowSquashMerge = true, + bool allowMergeCommit = true, + bool allowRebaseMerge = true, + bool allowAutoMerge = false, + bool deleteBranchOnMerge = false, + global::G.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle? squashMergeCommitTitle = default, + global::G.ReposCreateForAuthenticatedUserRequestSquashMergeCommitMessage? squashMergeCommitMessage = default, + global::G.ReposCreateForAuthenticatedUserRequestMergeCommitTitle? mergeCommitTitle = default, + global::G.ReposCreateForAuthenticatedUserRequestMergeCommitMessage? mergeCommitMessage = default, + bool hasDownloads = true, + bool isTemplate = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateFork.g.verified.cs new file mode 100644 index 0000000000..1ec2be1e63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateFork.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IReposClient.ReposCreateFork.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a fork
+ /// Create a fork for the authenticated user.
+ /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateForkAsync( + string owner, + string repo, + global::G.ReposCreateForkRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a fork
+ /// Create a fork for the authenticated user.
+ /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + ///
+ /// + /// + /// + /// Optional parameter to specify the organization name if forking into an organization. + /// + /// + /// When forking from an existing repository, a new name for the fork. + /// + /// + /// When forking from an existing repository, fork with only the default branch. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateForkAsync( + string owner, + string repo, + string? organization = default, + string? name = default, + bool defaultBranchOnly = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs new file mode 100644 index 0000000000..8a10c08ffb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs @@ -0,0 +1,153 @@ +//HintName: G.IReposClient.ReposCreateInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create an organization repository
+ /// Creates a new repository in the specified organization. The authenticated user must be a member of the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateInOrgAsync( + string org, + global::G.ReposCreateInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization repository
+ /// Creates a new repository in the specified organization. The authenticated user must be a member of the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// + /// The name of the repository. + /// + /// + /// A short description of the repository. + /// + /// + /// A URL with more information about the repository. + /// + /// + /// Whether the repository is private.
+ /// Default Value: false + /// + /// + /// The visibility of the repository. + /// + /// + /// Either `true` to enable issues for this repository or `false` to disable them.
+ /// Default Value: true + /// + /// + /// Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.
+ /// Default Value: true + /// + /// + /// Either `true` to enable the wiki for this repository or `false` to disable it.
+ /// Default Value: true + /// + /// + /// Whether downloads are enabled.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Either `true` to make this repo available as a template repository or `false` to prevent it.
+ /// Default Value: false + /// + /// + /// The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. + /// + /// + /// Pass `true` to create an initial commit with empty README.
+ /// Default Value: false + /// + /// + /// Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". + /// + /// + /// Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". + /// + /// + /// Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.
+ /// Default Value: true + /// + /// + /// Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.
+ /// Default Value: true + /// + /// + /// Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.
+ /// Default Value: true + /// + /// + /// Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.
+ /// Default Value: false + /// + /// + /// Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. **The authenticated user must be an organization owner to set this property to `true`.**
+ /// Default Value: false + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateInOrgAsync( + string org, + string name, + string? description = default, + string? homepage = default, + bool @private = false, + global::G.ReposCreateInOrgRequestVisibility? visibility = default, + bool hasIssues = true, + bool hasProjects = true, + bool hasWiki = true, + bool hasDownloads = true, + bool isTemplate = false, + int teamId = default, + bool autoInit = false, + string? gitignoreTemplate = default, + string? licenseTemplate = default, + bool allowSquashMerge = true, + bool allowMergeCommit = true, + bool allowRebaseMerge = true, + bool allowAutoMerge = false, + bool deleteBranchOnMerge = false, + global::G.ReposCreateInOrgRequestSquashMergeCommitTitle? squashMergeCommitTitle = default, + global::G.ReposCreateInOrgRequestSquashMergeCommitMessage? squashMergeCommitMessage = default, + global::G.ReposCreateInOrgRequestMergeCommitTitle? mergeCommitTitle = default, + global::G.ReposCreateInOrgRequestMergeCommitMessage? mergeCommitMessage = default, + global::G.ReposCreateInOrgRequestCustomProperties? customProperties = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.verified.cs new file mode 100644 index 0000000000..2b4d628b06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create or update custom property values for a repository
+ /// Create new or update existing custom property values for a repository.
+ /// Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.
+ /// Repository admins and other users with the repository-level "edit custom property values" fine-grained permission can use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateCustomPropertiesValuesAsync( + string owner, + string repo, + global::G.ReposCreateOrUpdateCustomPropertiesValuesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update custom property values for a repository
+ /// Create new or update existing custom property values for a repository.
+ /// Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.
+ /// Repository admins and other users with the repository-level "edit custom property values" fine-grained permission can use this endpoint. + ///
+ /// + /// + /// + /// A list of custom property names and associated values to apply to the repositories. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateCustomPropertiesValuesAsync( + string owner, + string repo, + global::System.Collections.Generic.IList properties, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs new file mode 100644 index 0000000000..1de8611484 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IReposClient.ReposCreateOrUpdateEnvironment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create or update an environment
+ /// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
+ /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateEnvironmentAsync( + string owner, + string repo, + string environmentName, + global::G.ReposCreateOrUpdateEnvironmentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update an environment
+ /// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
+ /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// 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 + /// + /// + /// Whether or not a user who created the job is prevented from approving their own job.
+ /// Example: false + /// + /// + /// 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. + /// + /// + /// The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateEnvironmentAsync( + string owner, + string repo, + string environmentName, + int waitTimer = default, + bool preventSelfReview = default, + global::System.Collections.Generic.IList? reviewers = default, + global::G.DeploymentBranchPolicySettings? deploymentBranchPolicy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs new file mode 100644 index 0000000000..8cd28e7e55 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IReposClient.ReposCreateOrUpdateFileContents.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create or update file contents
+ /// Creates a new file or replaces an existing file in a repository.
+ /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateFileContentsAsync( + string owner, + string repo, + string path, + global::G.ReposCreateOrUpdateFileContentsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update file contents
+ /// Creates a new file or replaces an existing file in a repository.
+ /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. + ///
+ /// + /// + /// + /// + /// The commit message. + /// + /// + /// The new file content, using Base64 encoding. + /// + /// + /// **Required if you are updating a file**. The blob SHA of the file being replaced. + /// + /// + /// The branch name. Default: the repository’s default branch. + /// + /// + /// The person that committed the file. Default: the authenticated user. + /// + /// + /// The author of the file. Default: The `committer` or the authenticated user if you omit `committer`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateFileContentsAsync( + string owner, + string repo, + string path, + string message, + string content, + string? sha = default, + string? branch = default, + global::G.ReposCreateOrUpdateFileContentsRequestCommitter? committer = default, + global::G.ReposCreateOrUpdateFileContentsRequestAuthor? author = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs new file mode 100644 index 0000000000..0a944b42b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.IReposClient.ReposCreateOrgRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create an organization repository ruleset
+ /// Create a repository ruleset for an organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrgRulesetAsync( + string org, + global::G.ReposCreateOrgRulesetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization repository ruleset
+ /// Create a repository ruleset for an organization. + ///
+ /// + /// + /// The name of the ruleset. + /// + /// + /// The target of the ruleset
+ /// **Note**: The `push` target is in beta and is subject to change. + /// + /// + /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + /// + /// + /// The actors that can bypass the rules in this ruleset + /// + /// + /// 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. + /// + /// + /// An array of rules within the ruleset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrgRulesetAsync( + string org, + string name, + global::G.RepositoryRuleEnforcement enforcement, + global::G.ReposCreateOrgRulesetRequestTarget? target = default, + global::System.Collections.Generic.IList? bypassActors = default, + global::G.OrgRulesetConditions? conditions = default, + global::System.Collections.Generic.IList? rules = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreatePagesDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreatePagesDeployment.g.verified.cs new file mode 100644 index 0000000000..586c31ab23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreatePagesDeployment.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IReposClient.ReposCreatePagesDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a GitHub Pages deployment
+ /// Create a GitHub Pages deployment for a repository.
+ /// The authenticated user must have write permission to the repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreatePagesDeploymentAsync( + string owner, + string repo, + global::G.ReposCreatePagesDeploymentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a GitHub Pages deployment
+ /// Create a GitHub Pages deployment for a repository.
+ /// The authenticated user must have write permission to the repository. + ///
+ /// + /// + /// + /// The ID of an artifact that contains the .zip or .tar of static assets to deploy. The artifact belongs to the repository. Either `artifact_id` or `artifact_url` are required. + /// + /// + /// The URL of an artifact that contains the .zip or .tar of static assets to deploy. The artifact belongs to the repository. Either `artifact_id` or `artifact_url` are required. + /// + /// + /// The target environment for this GitHub Pages deployment.
+ /// Default Value: github-pages + /// + /// + /// A unique string that represents the version of the build for this deployment.
+ /// Default Value: GITHUB_SHA + /// + /// + /// The OIDC token issued by GitHub Actions certifying the origin of the deployment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreatePagesDeploymentAsync( + string owner, + string repo, + string pagesBuildVersion, + string oidcToken, + double artifactId = default, + string? artifactUrl = default, + string? environment = "github-pages", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreatePagesSite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreatePagesSite.g.verified.cs new file mode 100644 index 0000000000..f6d43f9dba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreatePagesSite.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposCreatePagesSite.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a GitHub Pages site
+ /// Configures a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)."
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreatePagesSiteAsync( + string owner, + string repo, + global::G.ReposCreatePagesSiteRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a GitHub Pages site
+ /// Configures a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)."
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task ReposCreatePagesSiteAsync( + string owner, + string repo, + global::G.ReposCreatePagesSiteRequestBuildType? buildType = default, + global::G.ReposCreatePagesSiteRequestSource? source = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs new file mode 100644 index 0000000000..8b03b80a9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs @@ -0,0 +1,78 @@ +//HintName: G.IReposClient.ReposCreateRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a release
+ /// Users with push access to the repository can create a release.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateReleaseAsync( + string owner, + string repo, + global::G.ReposCreateReleaseRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a release
+ /// Users with push access to the repository can create a release.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// The name of the tag. + /// + /// + /// Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch. + /// + /// + /// The name of the release. + /// + /// + /// Text describing the contents of the tag. + /// + /// + /// `true` to create a draft (unpublished) release, `false` to create a published one.
+ /// Default Value: false + /// + /// + /// `true` to identify the release as a prerelease. `false` to identify the release as a full release.
+ /// Default Value: false + /// + /// + /// If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see "[Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)." + /// + /// + /// Whether to automatically generate the name and body for this release. If `name` is specified, the specified name will be used; otherwise, a name will be automatically generated. If `body` is specified, the body will be pre-pended to the automatically generated notes.
+ /// Default Value: false + /// + /// + /// Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateReleaseAsync( + string owner, + string repo, + string tagName, + string? targetCommitish = default, + string? name = default, + string? body = default, + bool draft = false, + bool prerelease = false, + string? discussionCategoryName = default, + bool generateReleaseNotes = false, + global::G.ReposCreateReleaseRequestMakeLatest? makeLatest = global::G.ReposCreateReleaseRequestMakeLatest.True, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs new file mode 100644 index 0000000000..5f8a4fd82d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IReposClient.ReposCreateRepoRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a repository ruleset
+ /// Create a ruleset for a repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateRepoRulesetAsync( + string owner, + string repo, + global::G.ReposCreateRepoRulesetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository ruleset
+ /// Create a ruleset for a repository. + ///
+ /// + /// + /// + /// The name of the ruleset. + /// + /// + /// The target of the ruleset
+ /// **Note**: The `push` target is in beta and is subject to change. + /// + /// + /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + /// + /// + /// The actors that can bypass the rules in this ruleset + /// + /// + /// Parameters for a repository ruleset ref name condition + /// + /// + /// An array of rules within the ruleset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateRepoRulesetAsync( + string owner, + string repo, + string name, + global::G.RepositoryRuleEnforcement enforcement, + global::G.ReposCreateRepoRulesetRequestTarget? target = default, + global::System.Collections.Generic.IList? bypassActors = default, + global::G.RepositoryRulesetConditions? conditions = default, + global::System.Collections.Generic.IList? rules = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs new file mode 100644 index 0000000000..174d198b4e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposCreateTagProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a tag protection state for a repository
+ /// This creates a tag protection state for a repository.
+ /// This endpoint is only available to repository administrators. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( + string owner, + string repo, + global::G.ReposCreateTagProtectionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a tag protection state for a repository
+ /// This creates a tag protection state for a repository.
+ /// This endpoint is only available to repository administrators. + ///
+ /// + /// + /// + /// An optional glob pattern to match against when enforcing tag protection. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( + string owner, + string repo, + string pattern, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateUsingTemplate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateUsingTemplate.g.verified.cs new file mode 100644 index 0000000000..428898c0aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateUsingTemplate.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IReposClient.ReposCreateUsingTemplate.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a repository using a template
+ /// Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/repos/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateUsingTemplateAsync( + string templateOwner, + string templateRepo, + global::G.ReposCreateUsingTemplateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository using a template
+ /// Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/repos/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// + /// + /// The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization. + /// + /// + /// The name of the new repository. + /// + /// + /// A short description of the new repository. + /// + /// + /// Set to `true` to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: `false`.
+ /// Default Value: false + /// + /// + /// Either `true` to create a new private repository or `false` to create a new public one.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateUsingTemplateAsync( + string templateOwner, + string templateRepo, + string name, + string? owner = default, + string? description = default, + bool includeAllBranches = false, + bool @private = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateWebhook.g.verified.cs new file mode 100644 index 0000000000..f8a6bae040 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposCreateWebhook.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IReposClient.ReposCreateWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a repository webhook
+ /// Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can
+ /// share the same `config` as long as those webhooks do not have any `events` that overlap. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateWebhookAsync( + string owner, + string repo, + global::G.ReposCreateWebhookRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository webhook
+ /// Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can
+ /// share the same `config` as long as those webhooks do not have any `events` that overlap. + ///
+ /// + /// + /// + /// Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`. + /// + /// + /// Key/value pairs to provide settings for this webhook. + /// + /// + /// Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for.
+ /// Default Value: [push] + /// + /// + /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateWebhookAsync( + string owner, + string repo, + string? name = default, + global::G.ReposCreateWebhookRequestConfig? config = default, + global::System.Collections.Generic.IList? events = default, + bool active = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeclineInvitationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeclineInvitationForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..2d815774b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeclineInvitationForAuthenticatedUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IReposClient.ReposDeclineInvitationForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Decline a repository invitation + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeclineInvitationForAuthenticatedUserAsync( + int invitationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDelete.g.verified.cs new file mode 100644 index 0000000000..1af142f0d8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDelete.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a repository
+ /// Deleting a repository requires admin access.
+ /// If an organization owner has configured the organization to prevent members from deleting organization-owned
+ /// repositories, you will get a `403 Forbidden` response.
+ /// OAuth app tokens and personal access tokens (classic) need the `delete_repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..85a5b9654d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAccessRestrictions.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDeleteAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Disables the ability to restrict who can push to this branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAdminBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAdminBranchProtection.g.verified.cs new file mode 100644 index 0000000000..f7bdb513d9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAdminBranchProtection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDeleteAdminBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete admin branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteAdminBranchProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAnEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAnEnvironment.g.verified.cs new file mode 100644 index 0000000000..3663705a15 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAnEnvironment.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeleteAnEnvironment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete an environment
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteAnEnvironmentAsync( + string owner, + string repo, + string environmentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAutolink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAutolink.g.verified.cs new file mode 100644 index 0000000000..e399ca3837 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteAutolink.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDeleteAutolink.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete an autolink reference from a repository
+ /// This deletes a single autolink reference by ID that was configured for the given repository.
+ /// Information about autolinks are only available to repository administrators. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteAutolinkAsync( + string owner, + string repo, + int autolinkId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteBranchProtection.g.verified.cs new file mode 100644 index 0000000000..ed957f88da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteBranchProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeleteBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteBranchProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs new file mode 100644 index 0000000000..79175448d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposDeleteCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a commit comment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteCommitCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitSignatureProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitSignatureProtection.g.verified.cs new file mode 100644 index 0000000000..6c4065c2b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteCommitSignatureProtection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDeleteCommitSignatureProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete commit signature protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteCommitSignatureProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeployKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeployKey.g.verified.cs new file mode 100644 index 0000000000..990a25181e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeployKey.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeleteDeployKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a deploy key
+ /// Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteDeployKeyAsync( + string owner, + string repo, + int keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeployment.g.verified.cs new file mode 100644 index 0000000000..1e2185aa23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeployment.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposDeleteDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a deployment
+ /// If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment.
+ /// To set a deployment as inactive, you must:
+ /// * Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.
+ /// * Mark the active deployment as inactive by adding any non-successful deployment status.
+ /// For more information, see "[Create a deployment](https://docs.github.com/rest/deployments/deployments/#create-a-deployment)" and "[Create a deployment status](https://docs.github.com/rest/deployments/statuses#create-a-deployment-status)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteDeploymentAsync( + string owner, + string repo, + int deploymentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeploymentBranchPolicy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeploymentBranchPolicy.g.verified.cs new file mode 100644 index 0000000000..f87713a2e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteDeploymentBranchPolicy.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposDeleteDeploymentBranchPolicy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a deployment branch policy
+ /// Deletes a deployment branch or tag policy for an environment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + int branchPolicyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs new file mode 100644 index 0000000000..91379c6f14 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IReposClient.ReposDeleteFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a file
+ /// Deletes a file in a repository.
+ /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
+ /// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
+ /// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
+ /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteFileAsync( + string owner, + string repo, + string path, + global::G.ReposDeleteFileRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete a file
+ /// Deletes a file in a repository.
+ /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
+ /// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
+ /// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
+ /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + ///
+ /// + /// + /// + /// + /// The commit message. + /// + /// + /// The blob SHA of the file being deleted. + /// + /// + /// The branch name. Default: the repository’s default branch + /// + /// + /// object containing information about the committer. + /// + /// + /// object containing information about the author. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteFileAsync( + string owner, + string repo, + string path, + string message, + string sha, + string? branch = default, + global::G.ReposDeleteFileRequestCommitter? committer = default, + global::G.ReposDeleteFileRequestAuthor? author = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteInvitation.g.verified.cs new file mode 100644 index 0000000000..fd8b11bb11 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteInvitation.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposDeleteInvitation.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a repository invitation + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteInvitationAsync( + string owner, + string repo, + int invitationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteOrgRuleset.g.verified.cs new file mode 100644 index 0000000000..d896cbae4f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteOrgRuleset.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposDeleteOrgRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete an organization repository ruleset
+ /// Delete a ruleset for an organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteOrgRulesetAsync( + string org, + int rulesetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeletePagesSite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeletePagesSite.g.verified.cs new file mode 100644 index 0000000000..1fbf146e62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeletePagesSite.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeletePagesSite.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a GitHub Pages site
+ /// Deletes a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages).
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeletePagesSiteAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeletePullRequestReviewProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeletePullRequestReviewProtection.g.verified.cs new file mode 100644 index 0000000000..d0fe28d01d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeletePullRequestReviewProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeletePullRequestReviewProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete pull request review protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeletePullRequestReviewProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteRelease.g.verified.cs new file mode 100644 index 0000000000..3117321653 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteRelease.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeleteRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a release
+ /// Users with push access to the repository can delete a release. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteReleaseAsync( + string owner, + string repo, + int releaseId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteReleaseAsset.g.verified.cs new file mode 100644 index 0000000000..36a6d8c7c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteReleaseAsset.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposDeleteReleaseAsset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a release asset + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteReleaseAssetAsync( + string owner, + string repo, + int assetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteRepoRuleset.g.verified.cs new file mode 100644 index 0000000000..2632df5ea7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteRepoRuleset.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeleteRepoRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a repository ruleset
+ /// Delete a ruleset for a repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteRepoRulesetAsync( + string owner, + string repo, + int rulesetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs new file mode 100644 index 0000000000..f50aa423a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDeleteTagProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a tag protection state for a repository
+ /// This deletes a tag protection state for a repository.
+ /// This endpoint is only available to repository administrators. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteTagProtectionAsync( + string owner, + string repo, + int tagProtectionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteWebhook.g.verified.cs new file mode 100644 index 0000000000..b16951cf56 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDeleteWebhook.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposDeleteWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a repository webhook + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteWebhookAsync( + string owner, + string repo, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableAutomatedSecurityFixes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableAutomatedSecurityFixes.g.verified.cs new file mode 100644 index 0000000000..ef39b448f8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableAutomatedSecurityFixes.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposDisableAutomatedSecurityFixes.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Disable automated security fixes
+ /// Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDisableAutomatedSecurityFixesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableDeploymentProtectionRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableDeploymentProtectionRule.g.verified.cs new file mode 100644 index 0000000000..9b454212a2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableDeploymentProtectionRule.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReposClient.ReposDisableDeploymentProtectionRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Disable a custom protection rule for an environment
+ /// Disables a custom deployment protection rule for an environment.
+ /// The authenticated user must have admin or owner permissions to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDisableDeploymentProtectionRuleAsync( + string environmentName, + string repo, + string owner, + int protectionRuleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisablePrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisablePrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..0acc7e12ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisablePrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposDisablePrivateVulnerabilityReporting.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Disable private vulnerability reporting for a repository
+ /// Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see "[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDisablePrivateVulnerabilityReportingAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableVulnerabilityAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableVulnerabilityAlerts.g.verified.cs new file mode 100644 index 0000000000..c9a230e35c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDisableVulnerabilityAlerts.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDisableVulnerabilityAlerts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Disable vulnerability alerts
+ /// Disables dependency alerts and the dependency graph for a repository.
+ /// The authenticated user must have admin access to the repository. For more information,
+ /// see "[About security alerts for vulnerable dependencies](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDisableVulnerabilityAlertsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs new file mode 100644 index 0000000000..d432cc7190 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposDownloadTarballArchive.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Download a repository archive (tar)
+ /// Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually
+ /// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
+ /// the `Location` header to make a second `GET` request.
+ /// **Note**: For private repositories, these links are temporary and expire after five minutes. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDownloadTarballArchiveAsync( + string owner, + string repo, + string @ref, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs new file mode 100644 index 0000000000..3a02c266fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposDownloadZipballArchive.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Download a repository archive (zip)
+ /// Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually
+ /// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
+ /// the `Location` header to make a second `GET` request.
+ /// **Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDownloadZipballArchiveAsync( + string owner, + string repo, + string @ref, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnableAutomatedSecurityFixes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnableAutomatedSecurityFixes.g.verified.cs new file mode 100644 index 0000000000..ad1d4f9382 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnableAutomatedSecurityFixes.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposEnableAutomatedSecurityFixes.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Enable automated security fixes
+ /// Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposEnableAutomatedSecurityFixesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnablePrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnablePrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..d48a244f23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnablePrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposEnablePrivateVulnerabilityReporting.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Enable private vulnerability reporting for a repository
+ /// Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see "[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposEnablePrivateVulnerabilityReportingAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnableVulnerabilityAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnableVulnerabilityAlerts.g.verified.cs new file mode 100644 index 0000000000..1a15da4ada --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposEnableVulnerabilityAlerts.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposEnableVulnerabilityAlerts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Enable vulnerability alerts
+ /// Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposEnableVulnerabilityAlertsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGenerateReleaseNotes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGenerateReleaseNotes.g.verified.cs new file mode 100644 index 0000000000..987e45d552 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGenerateReleaseNotes.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IReposClient.ReposGenerateReleaseNotes.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Generate release notes content for a release
+ /// Generate a name and body describing a [release](https://docs.github.com/rest/releases/releases#get-a-release). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGenerateReleaseNotesAsync( + string owner, + string repo, + global::G.ReposGenerateReleaseNotesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate release notes content for a release
+ /// Generate a name and body describing a [release](https://docs.github.com/rest/releases/releases#get-a-release). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release. + ///
+ /// + /// + /// + /// The tag name for the release. This can be an existing tag or a new one. + /// + /// + /// Specifies the commitish value that will be the target for the release's tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists. + /// + /// + /// The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release. + /// + /// + /// Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at '.github/release.yml' or '.github/release.yaml' will be used. If that is not present, the default configuration will be used. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGenerateReleaseNotesAsync( + string owner, + string repo, + string tagName, + string? targetCommitish = default, + string? previousTagName = default, + string? configurationFilePath = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGet.g.verified.cs new file mode 100644 index 0000000000..de8ebdc2ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGet.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository
+ /// The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
+ /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..013acb0c8e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Lists who has access to this protected branch.
+ /// **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAdminBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAdminBranchProtection.g.verified.cs new file mode 100644 index 0000000000..0de14d36c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAdminBranchProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetAdminBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get admin branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAdminBranchProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllDeploymentProtectionRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllDeploymentProtectionRules.g.verified.cs new file mode 100644 index 0000000000..6c9f837cf6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllDeploymentProtectionRules.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetAllDeploymentProtectionRules.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all deployment protection rules for an environment
+ /// Gets all custom deployment protection rules that are enabled for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
+ /// For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/rest/apps/apps#get-an-app).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAllDeploymentProtectionRulesAsync( + string environmentName, + string repo, + string owner, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllEnvironments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllEnvironments.g.verified.cs new file mode 100644 index 0000000000..be7a6fb2a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllEnvironments.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IReposClient.ReposGetAllEnvironments.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List environments
+ /// Lists the environments for a repository.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAllEnvironmentsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllStatusCheckContexts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllStatusCheckContexts.g.verified.cs new file mode 100644 index 0000000000..06bc74ba1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllStatusCheckContexts.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetAllStatusCheckContexts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetAllStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllTopics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllTopics.g.verified.cs new file mode 100644 index 0000000000..d3f25d78ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAllTopics.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposGetAllTopics.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all repository topics + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAllTopicsAsync( + string owner, + string repo, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAppsWithAccessToProtectedBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAppsWithAccessToProtectedBranch.g.verified.cs new file mode 100644 index 0000000000..df52d721f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAppsWithAccessToProtectedBranch.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetAppsWithAccessToProtectedBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get apps with access to the protected branch
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Lists the GitHub Apps that have push access to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetAppsWithAccessToProtectedBranchAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAutolink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAutolink.g.verified.cs new file mode 100644 index 0000000000..2cbda4e3e4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetAutolink.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetAutolink.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get an autolink reference of a repository
+ /// This returns a single autolink reference by ID that was configured for the given repository.
+ /// Information about autolinks are only available to repository administrators. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAutolinkAsync( + string owner, + string repo, + int autolinkId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranch.g.verified.cs new file mode 100644 index 0000000000..eab905bdce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranch.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a branch + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetBranchAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranchProtection.g.verified.cs new file mode 100644 index 0000000000..eefb281fa0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranchProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetBranchProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranchRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranchRules.g.verified.cs new file mode 100644 index 0000000000..bae028e068 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetBranchRules.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IReposClient.ReposGetBranchRules.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get rules for a branch
+ /// Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply
+ /// to a branch with that name will be returned. All active rules that apply will be returned, regardless of the level
+ /// at which they are configured (e.g. repository or organization). Rules in rulesets with "evaluate" or "disabled"
+ /// enforcement statuses are not returned. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetBranchRulesAsync( + string owner, + string repo, + string branch, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetClones.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetClones.g.verified.cs new file mode 100644 index 0000000000..231cd5c3b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetClones.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetClones.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get repository clones
+ /// Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. + ///
+ /// + /// + /// + /// Default Value: day + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetClonesAsync( + string owner, + string repo, + global::G.ReposGetClonesPer? per = global::G.ReposGetClonesPer.Day, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs new file mode 100644 index 0000000000..dcf0efab07 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetCodeFrequencyStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the weekly commit activity
+ /// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
+ /// **Note:** This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains
+ /// 10,000 or more commits, a 422 status code will be returned. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> ReposGetCodeFrequencyStatsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCollaboratorPermissionLevel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCollaboratorPermissionLevel.g.verified.cs new file mode 100644 index 0000000000..2c166f9398 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCollaboratorPermissionLevel.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposGetCollaboratorPermissionLevel.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get repository permissions for a user
+ /// Checks the repository permission of a collaborator. The possible repository
+ /// permissions are `admin`, `write`, `read`, and `none`.
+ /// *Note*: The `permission` attribute provides the legacy base roles of `admin`, `write`, `read`, and `none`, where the
+ /// `maintain` role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role assigned to the
+ /// collaborator, see the `role_name` attribute, which will provide the full role name, including custom roles. The
+ /// `permissions` hash can also be used to determine which base level of access the collaborator has to the repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCollaboratorPermissionLevelAsync( + string owner, + string repo, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCombinedStatusForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCombinedStatusForRef.g.verified.cs new file mode 100644 index 0000000000..30e6fb8c74 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCombinedStatusForRef.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IReposClient.ReposGetCombinedStatusForRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the combined status for a specific reference
+ /// Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.
+ /// Additionally, a combined `state` is returned. The `state` is one of:
+ /// * **failure** if any of the contexts report as `error` or `failure`
+ /// * **pending** if there are no statuses or a context is `pending`
+ /// * **success** if the latest status for all contexts is `success` + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCombinedStatusForRefAsync( + string owner, + string repo, + string @ref, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommit.g.verified.cs new file mode 100644 index 0000000000..430190be0f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommit.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IReposClient.ReposGetCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a commit
+ /// Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.
+ /// **Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types.
+ /// - **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.
+ /// - **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.
+ /// - **`application/vnd.github.sha`**: Returns the commit's SHA-1 hash. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCommitAsync( + string owner, + string repo, + string @ref, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitActivityStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitActivityStats.g.verified.cs new file mode 100644 index 0000000000..e7ab8cfa30 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitActivityStats.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposGetCommitActivityStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the last year of commit activity
+ /// Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetCommitActivityStatsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs new file mode 100644 index 0000000000..33a74567d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposGetCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a commit comment
+ /// Gets a specified commit comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCommitCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs new file mode 100644 index 0000000000..4615423312 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetCommitSignatureProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get commit signature protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.
+ /// **Note**: You must enable branch protection to require signed commits. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCommitSignatureProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommunityProfileMetrics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommunityProfileMetrics.g.verified.cs new file mode 100644 index 0000000000..eb54a32368 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCommunityProfileMetrics.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposGetCommunityProfileMetrics.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get community profile metrics
+ /// Returns all community profile metrics for a repository. The repository cannot be a fork.
+ /// The returned metrics include an overall health score, the repository description, the presence of documentation, the
+ /// detected code of conduct, the detected license, and the presence of ISSUE\_TEMPLATE, PULL\_REQUEST\_TEMPLATE,
+ /// README, and CONTRIBUTING files.
+ /// The `health_percentage` score is defined as a percentage of how many of
+ /// the recommended community health files are present. For more information, see
+ /// "[About community profiles for public repositories](https://docs.github.com/communities/setting-up-your-project-for-healthy-contributions/about-community-profiles-for-public-repositories)."
+ /// `content_reports_enabled` is only returned for organization-owned repositories. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCommunityProfileMetricsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContent.g.verified.cs new file mode 100644 index 0000000000..8e852a6e55 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContent.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposGetContent.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get repository content
+ /// Gets the contents of a file or directory in a repository. Specify the file path or directory with the `path` parameter. If you omit the `path` parameter, you will receive the contents of the repository's root directory.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw file contents for files and symlinks.
+ /// - **`application/vnd.github.html+json`**: Returns the file contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).
+ /// - **`application/vnd.github.object+json`**: Returns the contents in a consistent object format regardless of the content type. For example, instead of an array of objects for a directory, the response will be an object with an `entries` attribute containing the array of objects.
+ /// If the content is a directory, the response will be an array of objects, one object for each item in the directory. When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value _should_ be "submodule". This behavior exists [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as "submodule".
+ /// If the content is a symlink and the symlink's target is a normal file in the repository, then the API responds with the content of the file. Otherwise, the API responds with an object describing the symlink itself.
+ /// If the content is a submodule, the `submodule_git_url` field identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the github.com URLs (`html_url` and `_links["html"]`) will have null values.
+ /// **Notes**:
+ /// - To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/git/trees#get-a-tree).
+ /// - This API has an upper limit of 1,000 files for a directory. If you need to retrieve
+ /// more files, use the [Git Trees API](https://docs.github.com/rest/git/trees#get-a-tree).
+ /// - Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.
+ /// - If the requested file's size is:
+ /// - 1 MB or smaller: All features of this endpoint are supported.
+ /// - Between 1-100 MB: Only the `raw` or `object` custom media types are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty
+ /// string and the `encoding` field will be `"none"`. To get the contents of these larger files, use the `raw` media type.
+ /// - Greater than 100 MB: This endpoint is not supported. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetContentAsync( + string owner, + string repo, + string path, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs new file mode 100644 index 0000000000..a7a3716461 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposGetContributorsStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all contributor commit activity
+ /// Returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:
+ /// * `w` - Start of the week, given as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time).
+ /// * `a` - Number of additions
+ /// * `d` - Number of deletions
+ /// * `c` - Number of commits
+ /// **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetContributorsStatsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCustomDeploymentProtectionRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCustomDeploymentProtectionRule.g.verified.cs new file mode 100644 index 0000000000..fdf8639b4e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCustomDeploymentProtectionRule.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReposClient.ReposGetCustomDeploymentProtectionRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a custom deployment protection rule
+ /// Gets an enabled custom deployment protection rule for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
+ /// For more information about the app that is providing this custom deployment rule, see [`GET /apps/{app_slug}`](https://docs.github.com/rest/apps/apps#get-an-app).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCustomDeploymentProtectionRuleAsync( + string owner, + string repo, + string environmentName, + int protectionRuleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCustomPropertiesValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCustomPropertiesValues.g.verified.cs new file mode 100644 index 0000000000..972b7db5d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetCustomPropertiesValues.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetCustomPropertiesValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all custom property values for a repository
+ /// Gets all custom property values that are set for a repository.
+ /// Users with read access to the repository can use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetCustomPropertiesValuesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeployKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeployKey.g.verified.cs new file mode 100644 index 0000000000..54a335d540 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeployKey.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetDeployKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a deploy key + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetDeployKeyAsync( + string owner, + string repo, + int keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeployment.g.verified.cs new file mode 100644 index 0000000000..88e5dc493b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeployment.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a deployment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetDeploymentAsync( + string owner, + string repo, + int deploymentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeploymentBranchPolicy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeploymentBranchPolicy.g.verified.cs new file mode 100644 index 0000000000..6441b6a311 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeploymentBranchPolicy.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReposClient.ReposGetDeploymentBranchPolicy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a deployment branch policy
+ /// Gets a deployment branch or tag policy for an environment.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + int branchPolicyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeploymentStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeploymentStatus.g.verified.cs new file mode 100644 index 0000000000..3ad8cee339 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetDeploymentStatus.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetDeploymentStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a deployment status
+ /// Users with pull access can view a deployment status for a deployment: + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetDeploymentStatusAsync( + string owner, + string repo, + int deploymentId, + int statusId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs new file mode 100644 index 0000000000..b1889487a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetEnvironment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get an environment
+ /// **Note:** To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetEnvironmentAsync( + string owner, + string repo, + string environmentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetLatestPagesBuild.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetLatestPagesBuild.g.verified.cs new file mode 100644 index 0000000000..a5ec85b2f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetLatestPagesBuild.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetLatestPagesBuild.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get latest Pages build
+ /// Gets information about the single most recent build of a GitHub Pages site.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetLatestPagesBuildAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetLatestRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetLatestRelease.g.verified.cs new file mode 100644 index 0000000000..1d0972149f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetLatestRelease.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetLatestRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the latest release
+ /// View the latest published full release for the repository.
+ /// The latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetLatestReleaseAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuite.g.verified.cs new file mode 100644 index 0000000000..acf510c056 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuite.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetOrgRuleSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get an organization rule suite
+ /// Gets information about a suite of rule evaluations from within an organization.
+ /// For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetOrgRuleSuiteAsync( + string org, + int ruleSuiteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs new file mode 100644 index 0000000000..15d1f0df4f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IReposClient.ReposGetOrgRuleSuites.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List organization rule suites
+ /// Lists suites of rule evaluations at the organization level.
+ /// For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." + ///
+ /// + /// + /// + /// Default Value: day + /// + /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetOrgRuleSuitesAsync( + string org, + int repositoryName = default, + global::G.ReposGetOrgRuleSuitesTimePeriod? timePeriod = global::G.ReposGetOrgRuleSuitesTimePeriod.Day, + string? actorName = default, + global::G.ReposGetOrgRuleSuitesRuleSuiteResult? ruleSuiteResult = global::G.ReposGetOrgRuleSuitesRuleSuiteResult.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs new file mode 100644 index 0000000000..2b5c87d207 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposGetOrgRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get an organization repository ruleset
+ /// Get a repository ruleset for an organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetOrgRulesetAsync( + string org, + int rulesetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs new file mode 100644 index 0000000000..3cf62fd2ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReposClient.ReposGetOrgRulesets.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all organization repository rulesets
+ /// Get all the repository rulesets for an organization. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetOrgRulesetsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPages.g.verified.cs new file mode 100644 index 0000000000..a5cfe5e0e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPages.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetPages.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a GitHub Pages site
+ /// Gets information about a GitHub Pages site.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetPagesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesBuild.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesBuild.g.verified.cs new file mode 100644 index 0000000000..1525872e8b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesBuild.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetPagesBuild.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get GitHub Pages build
+ /// Gets information about a GitHub Pages build.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetPagesBuildAsync( + string owner, + string repo, + int buildId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesDeployment.g.verified.cs new file mode 100644 index 0000000000..411512490e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesDeployment.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetPagesDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the status of a GitHub Pages deployment
+ /// Gets the current status of a GitHub Pages deployment.
+ /// The authenticated user must have read permission for the GitHub Pages site. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetPagesDeploymentAsync( + string owner, + string repo, + global::G.OneOf pagesDeploymentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesHealthCheck.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesHealthCheck.g.verified.cs new file mode 100644 index 0000000000..ad96d1bbe6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPagesHealthCheck.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetPagesHealthCheck.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a DNS health check for GitHub Pages
+ /// Gets a health check of the DNS settings for the `CNAME` record configured for a repository's GitHub Pages.
+ /// The first request to this endpoint returns a `202 Accepted` status and starts an asynchronous background task to get the results for the domain. After the background task completes, subsequent requests to this endpoint return a `200 OK` status with the health check results in the response.
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetPagesHealthCheckAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetParticipationStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetParticipationStats.g.verified.cs new file mode 100644 index 0000000000..515d94e2c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetParticipationStats.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetParticipationStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the weekly commit count
+ /// Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.
+ /// The array order is oldest week (index 0) to most recent week.
+ /// The most recent week is seven days ago at UTC midnight to today at UTC midnight. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetParticipationStatsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPullRequestReviewProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPullRequestReviewProtection.g.verified.cs new file mode 100644 index 0000000000..4b5fe0e319 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPullRequestReviewProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetPullRequestReviewProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get pull request review protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetPullRequestReviewProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPunchCardStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPunchCardStats.g.verified.cs new file mode 100644 index 0000000000..e7ea8b4b6f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetPunchCardStats.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetPunchCardStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the hourly commit count for each day
+ /// Each array contains the day number, hour number, and number of commits:
+ /// * `0-6`: Sunday - Saturday
+ /// * `0-23`: Hour of day
+ /// * Number of commits
+ /// For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> ReposGetPunchCardStatsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReadme.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReadme.g.verified.cs new file mode 100644 index 0000000000..5a04b954d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReadme.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposGetReadme.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository README
+ /// Gets the preferred README for a repository.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.
+ /// - **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetReadmeAsync( + string owner, + string repo, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReadmeInDirectory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReadmeInDirectory.g.verified.cs new file mode 100644 index 0000000000..06ea32a796 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReadmeInDirectory.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposGetReadmeInDirectory.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository README for a directory
+ /// Gets the README from a repository directory.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.
+ /// - **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetReadmeInDirectoryAsync( + string owner, + string repo, + string dir, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRelease.g.verified.cs new file mode 100644 index 0000000000..3af5403edf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRelease.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposGetRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a release
+ /// Gets a public release with the specified release ID.
+ /// **Note:** This returns an `upload_url` key corresponding to the endpoint
+ /// for uploading release assets. This key is a hypermedia resource. For more information, see
+ /// "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetReleaseAsync( + string owner, + string repo, + int releaseId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs new file mode 100644 index 0000000000..b39a0b900e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetReleaseAsset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a release asset
+ /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetReleaseAssetAsync( + string owner, + string repo, + int assetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseByTag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseByTag.g.verified.cs new file mode 100644 index 0000000000..163ce15816 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetReleaseByTag.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetReleaseByTag.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a release by tag name
+ /// Get a published release with the specified tag. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetReleaseByTagAsync( + string owner, + string repo, + string tag, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleSuite.g.verified.cs new file mode 100644 index 0000000000..cd43c46cb7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleSuite.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetRepoRuleSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository rule suite
+ /// Gets information about a suite of rule evaluations from within a repository.
+ /// For more information, see "[Managing rulesets for a repository](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#viewing-insights-for-rulesets)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetRepoRuleSuiteAsync( + string owner, + string repo, + int ruleSuiteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleSuites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleSuites.g.verified.cs new file mode 100644 index 0000000000..a5415f7fe1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleSuites.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposGetRepoRuleSuites.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository rule suites
+ /// Lists suites of rule evaluations at the repository level.
+ /// For more information, see "[Managing rulesets for a repository](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#viewing-insights-for-rulesets)." + ///
+ /// + /// + /// + /// + /// Default Value: day + /// + /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetRepoRuleSuitesAsync( + string owner, + string repo, + string? @ref = default, + global::G.ReposGetRepoRuleSuitesTimePeriod? timePeriod = global::G.ReposGetRepoRuleSuitesTimePeriod.Day, + string? actorName = default, + global::G.ReposGetRepoRuleSuitesRuleSuiteResult? ruleSuiteResult = global::G.ReposGetRepoRuleSuitesRuleSuiteResult.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs new file mode 100644 index 0000000000..9071558a50 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReposClient.ReposGetRepoRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository ruleset
+ /// Get a ruleset for a repository. + ///
+ /// + /// + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetRepoRulesetAsync( + string owner, + string repo, + int rulesetId, + bool includesParents = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs new file mode 100644 index 0000000000..f5f06b000d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReposClient.ReposGetRepoRulesets.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all repository rulesets
+ /// Get all the rulesets for a repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetRepoRulesetsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + bool includesParents = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetStatusChecksProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetStatusChecksProtection.g.verified.cs new file mode 100644 index 0000000000..62755b93b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetStatusChecksProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetStatusChecksProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get status checks protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetStatusChecksProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTeamsWithAccessToProtectedBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTeamsWithAccessToProtectedBranch.g.verified.cs new file mode 100644 index 0000000000..071fadbb58 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTeamsWithAccessToProtectedBranch.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetTeamsWithAccessToProtectedBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get teams with access to the protected branch
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Lists the teams who have push access to this branch. The list includes child teams. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetTeamsWithAccessToProtectedBranchAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTopPaths.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTopPaths.g.verified.cs new file mode 100644 index 0000000000..a8827bdb24 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTopPaths.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposGetTopPaths.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get top referral paths
+ /// Get the top 10 popular contents over the last 14 days. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetTopPathsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTopReferrers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTopReferrers.g.verified.cs new file mode 100644 index 0000000000..1535262610 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetTopReferrers.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposGetTopReferrers.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get top referral sources
+ /// Get the top 10 referrers over the last 14 days. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetTopReferrersAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetUsersWithAccessToProtectedBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetUsersWithAccessToProtectedBranch.g.verified.cs new file mode 100644 index 0000000000..635ee3eac8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetUsersWithAccessToProtectedBranch.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetUsersWithAccessToProtectedBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get users with access to the protected branch
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Lists the people who have push access to this branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetUsersWithAccessToProtectedBranchAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetViews.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetViews.g.verified.cs new file mode 100644 index 0000000000..935ad18714 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetViews.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetViews.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get page views
+ /// Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. + ///
+ /// + /// + /// + /// Default Value: day + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetViewsAsync( + string owner, + string repo, + global::G.ReposGetViewsPer? per = global::G.ReposGetViewsPer.Day, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhook.g.verified.cs new file mode 100644 index 0000000000..1758df91c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhook.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository webhook
+ /// Returns a webhook configured in a repository. To get only the webhook `config` properties, see "[Get a webhook configuration for a repository](/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetWebhookAsync( + string owner, + string repo, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhookConfigForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhookConfigForRepo.g.verified.cs new file mode 100644 index 0000000000..f1eb7ce851 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhookConfigForRepo.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetWebhookConfigForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a webhook configuration for a repository
+ /// Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use "[Get a repository webhook](/rest/webhooks/repos#get-a-repository-webhook)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:repo_hook` or `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetWebhookConfigForRepoAsync( + string owner, + string repo, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..1feb6c86b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposGetWebhookDelivery.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a delivery for a repository webhook
+ /// Returns a delivery for a webhook configured in a repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetWebhookDeliveryAsync( + string owner, + string repo, + int hookId, + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListActivities.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListActivities.g.verified.cs new file mode 100644 index 0000000000..ce27df4615 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListActivities.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IReposClient.ReposListActivities.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository activities
+ /// Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.
+ /// For more information about viewing repository activity,
+ /// see "[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository)." + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListActivitiesAsync( + string owner, + string repo, + global::G.ReposListActivitiesDirection? direction = global::G.ReposListActivitiesDirection.Desc, + int perPage = 30, + string? before = default, + string? after = default, + string? @ref = default, + string? actor = default, + global::G.ReposListActivitiesTimePeriod? timePeriod = default, + global::G.ReposListActivitiesActivityType? activityType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListAutolinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListAutolinks.g.verified.cs new file mode 100644 index 0000000000..f3e9ccd4a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListAutolinks.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposListAutolinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all autolinks of a repository
+ /// Gets all autolinks that are configured for a repository.
+ /// Information about autolinks are only available to repository administrators. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListAutolinksAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListBranches.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListBranches.g.verified.cs new file mode 100644 index 0000000000..fca4c0c61e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListBranches.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IReposClient.ReposListBranches.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List branches + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListBranchesAsync( + string owner, + string repo, + bool @protected = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListBranchesForHeadCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListBranchesForHeadCommit.g.verified.cs new file mode 100644 index 0000000000..a770516210 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListBranchesForHeadCommit.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposListBranchesForHeadCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List branches for HEAD commit
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListBranchesForHeadCommitAsync( + string owner, + string repo, + string commitSha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCollaborators.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCollaborators.g.verified.cs new file mode 100644 index 0000000000..290d2efc60 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCollaborators.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IReposClient.ReposListCollaborators.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository collaborators
+ /// For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
+ /// Organization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.
+ /// Team members will include the members of child teams.
+ /// The authenticated user must have push access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: all + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListCollaboratorsAsync( + string owner, + string repo, + global::G.ReposListCollaboratorsAffiliation? affiliation = global::G.ReposListCollaboratorsAffiliation.All, + global::G.ReposListCollaboratorsPermission? permission = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommentsForCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommentsForCommit.g.verified.cs new file mode 100644 index 0000000000..4d85c505f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommentsForCommit.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IReposClient.ReposListCommentsForCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List commit comments
+ /// Lists the comments for a specified commit.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListCommentsForCommitAsync( + string owner, + string repo, + string commitSha, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommitCommentsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommitCommentsForRepo.g.verified.cs new file mode 100644 index 0000000000..a6cad762e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommitCommentsForRepo.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IReposClient.ReposListCommitCommentsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List commit comments for a repository
+ /// Lists the commit comments for a specified repository. Comments are ordered by ascending ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListCommitCommentsForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommitStatusesForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommitStatusesForRef.g.verified.cs new file mode 100644 index 0000000000..b8b52b07a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommitStatusesForRef.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IReposClient.ReposListCommitStatusesForRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List commit statuses for a reference
+ /// Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.
+ /// This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListCommitStatusesForRefAsync( + string owner, + string repo, + string @ref, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommits.g.verified.cs new file mode 100644 index 0000000000..00e6f25ead --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCommits.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IReposClient.ReposListCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List commits
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListCommitsAsync( + string owner, + string repo, + string? sha = default, + string? path = default, + string? author = default, + string? committer = default, + global::System.DateTime since = default, + global::System.DateTime until = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListContributors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListContributors.g.verified.cs new file mode 100644 index 0000000000..e598724e33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListContributors.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IReposClient.ReposListContributors.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository contributors
+ /// Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API caches contributor data to improve performance.
+ /// GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListContributorsAsync( + string owner, + string repo, + string? anon = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs new file mode 100644 index 0000000000..4689737571 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List custom deployment rule integrations available for an environment
+ /// Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint.
+ /// For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
+ /// For more information about the app that is providing this custom deployment rule, see "[GET an app](https://docs.github.com/rest/apps/apps#get-an-app)".
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposListCustomDeploymentRuleIntegrationsAsync( + string environmentName, + string repo, + string owner, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeployKeys.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeployKeys.g.verified.cs new file mode 100644 index 0000000000..1dc8464515 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeployKeys.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposListDeployKeys.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List deploy keys + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListDeployKeysAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeploymentBranchPolicies.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeploymentBranchPolicies.g.verified.cs new file mode 100644 index 0000000000..4d57de94b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeploymentBranchPolicies.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReposClient.ReposListDeploymentBranchPolicies.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List deployment branch policies
+ /// Lists the deployment branch policies for an environment.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposListDeploymentBranchPoliciesAsync( + string owner, + string repo, + string environmentName, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeploymentStatuses.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeploymentStatuses.g.verified.cs new file mode 100644 index 0000000000..5d43b2110e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeploymentStatuses.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IReposClient.ReposListDeploymentStatuses.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List deployment statuses
+ /// Users with pull access can view deployment statuses for a deployment: + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListDeploymentStatusesAsync( + string owner, + string repo, + int deploymentId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeployments.g.verified.cs new file mode 100644 index 0000000000..befbdcc5c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListDeployments.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IReposClient.ReposListDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List deployments
+ /// Simple filtering of deployments is available via query parameters: + ///
+ /// + /// + /// + /// Default Value: none + /// + /// + /// Default Value: none + /// + /// + /// Default Value: none + /// + /// + /// Default Value: none + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListDeploymentsAsync( + string owner, + string repo, + string? sha = "none", + string? @ref = "none", + string? task = "none", + string? environment = "none", + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..c03c5e13dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repositories for the authenticated user
+ /// Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.
+ /// The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. + ///
+ /// + /// Default Value: all + /// + /// + /// Default Value: owner,collaborator,organization_member + /// + /// + /// Default Value: all + /// + /// + /// Default Value: full_name + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListForAuthenticatedUserAsync( + global::G.ReposListForAuthenticatedUserVisibility? visibility = global::G.ReposListForAuthenticatedUserVisibility.All, + string? affiliation = "owner,collaborator,organization_member", + global::G.ReposListForAuthenticatedUserType? type = global::G.ReposListForAuthenticatedUserType.All, + global::G.ReposListForAuthenticatedUserSort? sort = global::G.ReposListForAuthenticatedUserSort.FullName, + global::G.ReposListForAuthenticatedUserDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.DateTime since = default, + global::System.DateTime before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForOrg.g.verified.cs new file mode 100644 index 0000000000..9bf9eb1bee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForOrg.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IReposClient.ReposListForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List organization repositories
+ /// Lists repositories for the specified organization.
+ /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: created + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListForOrgAsync( + string org, + global::G.ReposListForOrgType? type = global::G.ReposListForOrgType.All, + global::G.ReposListForOrgSort? sort = global::G.ReposListForOrgSort.Created, + global::G.ReposListForOrgDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForUser.g.verified.cs new file mode 100644 index 0000000000..9d7ce2b0da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForUser.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IReposClient.ReposListForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repositories for a user
+ /// Lists public repositories for the specified user. + ///
+ /// + /// + /// Default Value: owner + /// + /// + /// Default Value: full_name + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListForUserAsync( + string username, + global::G.ReposListForUserType? type = global::G.ReposListForUserType.Owner, + global::G.ReposListForUserSort? sort = global::G.ReposListForUserSort.FullName, + global::G.ReposListForUserDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForks.g.verified.cs new file mode 100644 index 0000000000..1e60a36340 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListForks.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IReposClient.ReposListForks.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List forks + /// + /// + /// + /// + /// Default Value: newest + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListForksAsync( + string owner, + string repo, + global::G.ReposListForksSort? sort = global::G.ReposListForksSort.Newest, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListInvitations.g.verified.cs new file mode 100644 index 0000000000..0edf8042a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListInvitations.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IReposClient.ReposListInvitations.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository invitations
+ /// When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListInvitationsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListInvitationsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListInvitationsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..d7b982df28 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListInvitationsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposListInvitationsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository invitations for the authenticated user
+ /// When authenticating as a user, this endpoint will list all currently open repository invitations for that user. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListInvitationsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListLanguages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListLanguages.g.verified.cs new file mode 100644 index 0000000000..fdb62ca0ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListLanguages.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposListLanguages.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository languages
+ /// Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposListLanguagesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPagesBuilds.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPagesBuilds.g.verified.cs new file mode 100644 index 0000000000..ad07f6ac73 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPagesBuilds.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IReposClient.ReposListPagesBuilds.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List GitHub Pages builds
+ /// Lists builts of a GitHub Pages site.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListPagesBuildsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPublic.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPublic.g.verified.cs new file mode 100644 index 0000000000..bb0f04380a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPublic.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposListPublic.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List public repositories
+ /// Lists all public repositories in the order that they were created.
+ /// Note:
+ /// - For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
+ /// - Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of repositories. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListPublicAsync( + int since = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPullRequestsAssociatedWithCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPullRequestsAssociatedWithCommit.g.verified.cs new file mode 100644 index 0000000000..96f46a56b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListPullRequestsAssociatedWithCommit.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IReposClient.ReposListPullRequestsAssociatedWithCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List pull requests associated with a commit
+ /// Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.
+ /// To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListPullRequestsAssociatedWithCommitAsync( + string owner, + string repo, + string commitSha, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListReleaseAssets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListReleaseAssets.g.verified.cs new file mode 100644 index 0000000000..3820aa55ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListReleaseAssets.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IReposClient.ReposListReleaseAssets.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List release assets + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListReleaseAssetsAsync( + string owner, + string repo, + int releaseId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListReleases.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListReleases.g.verified.cs new file mode 100644 index 0000000000..1bafcbf3cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListReleases.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IReposClient.ReposListReleases.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List releases
+ /// This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/repos/repos#list-repository-tags).
+ /// Information about published releases are available to everyone. Only users with push access will receive listings for draft releases. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListReleasesAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs new file mode 100644 index 0000000000..5864887f7a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposListTagProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List tag protection states for a repository
+ /// This returns the tag protection states of a repository.
+ /// This information is only available to repository administrators. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListTagProtectionAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTags.g.verified.cs new file mode 100644 index 0000000000..b8769c08e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTags.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposListTags.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository tags + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListTagsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTeams.g.verified.cs new file mode 100644 index 0000000000..c4a934cd99 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListTeams.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IReposClient.ReposListTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository teams
+ /// Lists the teams that have access to the specified repository and that are also visible to the authenticated user.
+ /// For a public repository, a team is listed only if that team added the public repository explicitly.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to use this endpoint with a public repository, and `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListTeamsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListWebhookDeliveries.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListWebhookDeliveries.g.verified.cs new file mode 100644 index 0000000000..c2726c378a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListWebhookDeliveries.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IReposClient.ReposListWebhookDeliveries.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List deliveries for a repository webhook
+ /// Returns a list of webhook deliveries for a webhook configured in a repository. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListWebhookDeliveriesAsync( + string owner, + string repo, + int hookId, + int perPage = 30, + string? cursor = default, + bool redelivery = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListWebhooks.g.verified.cs new file mode 100644 index 0000000000..55abedeb37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposListWebhooks.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IReposClient.ReposListWebhooks.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository webhooks
+ /// Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListWebhooksAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposMerge.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposMerge.g.verified.cs new file mode 100644 index 0000000000..84d6426882 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposMerge.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IReposClient.ReposMerge.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Merge a branch + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposMergeAsync( + string owner, + string repo, + global::G.ReposMergeRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Merge a branch + /// + /// + /// + /// + /// The name of the base branch that the head will be merged into. + /// + /// + /// The head to merge. This can be a branch name or a commit SHA1. + /// + /// + /// Commit message to use for the merge commit. If omitted, a default message will be used. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposMergeAsync( + string owner, + string repo, + string @base, + string head, + string? commitMessage = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposMergeUpstream.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposMergeUpstream.g.verified.cs new file mode 100644 index 0000000000..9ace6dfc43 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposMergeUpstream.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IReposClient.ReposMergeUpstream.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Sync a fork branch with the upstream repository
+ /// Sync a branch of a forked repository to keep it up-to-date with the upstream repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposMergeUpstreamAsync( + string owner, + string repo, + global::G.ReposMergeUpstreamRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Sync a fork branch with the upstream repository
+ /// Sync a branch of a forked repository to keep it up-to-date with the upstream repository. + ///
+ /// + /// + /// + /// The name of the branch which should be updated to match upstream. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposMergeUpstreamAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposPingWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposPingWebhook.g.verified.cs new file mode 100644 index 0000000000..793df256e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposPingWebhook.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposPingWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Ping a repository webhook
+ /// This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposPingWebhookAsync( + string owner, + string repo, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRedeliverWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRedeliverWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..a6eeb97676 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRedeliverWebhookDelivery.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposRedeliverWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Redeliver a delivery for a repository webhook
+ /// Redeliver a webhook delivery for a webhook configured in a repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRedeliverWebhookDeliveryAsync( + string owner, + string repo, + int hookId, + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..2ef60e87d3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposRemoveAppAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of an app to push to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of an app to push to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs new file mode 100644 index 0000000000..2ab4b1772f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IReposClient.ReposRemoveCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove a repository collaborator
+ /// Removes a collaborator from a repository.
+ /// To use this endpoint, the authenticated user must either be an administrator of the repository or target themselves for removal.
+ /// This endpoint also:
+ /// - Cancels any outstanding invitations
+ /// - Unasigns the user from any issues
+ /// - Removes access to organization projects if the user is not an organization member and is not a collaborator on any other organization repositories.
+ /// - Unstars the repository
+ /// - Updates access permissions to packages
+ /// Removing a user as a collaborator has the following effects on forks:
+ /// - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork.
+ /// - If the user had their own fork of the repository, the fork will be deleted.
+ /// - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.
+ /// **Note**: A user can still have access to the repository through organization permissions like base repository permissions.
+ /// Although the API responds immediately, the additional permission updates might take some extra time to complete in the background.
+ /// For more information on fork permissions, see "[About permissions and visibility of forks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)". + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRemoveCollaboratorAsync( + string owner, + string repo, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveStatusCheckContexts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveStatusCheckContexts.g.verified.cs new file mode 100644 index 0000000000..b10e93f10a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveStatusCheckContexts.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IReposClient.ReposRemoveStatusCheckContexts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveStatusCheckProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveStatusCheckProtection.g.verified.cs new file mode 100644 index 0000000000..c04e655ac2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveStatusCheckProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposRemoveStatusCheckProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove status check protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRemoveStatusCheckProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveTeamAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveTeamAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..1208f37ea9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveTeamAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposRemoveTeamAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of a team to push to this branch. You can also remove push access for child teams. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of a team to push to this branch. You can also remove push access for child teams. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..1a621e4eed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposRemoveUserAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of a user to push to this branch.
+ /// | Type | Description |
+ /// | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of a user to push to this branch.
+ /// | Type | Description |
+ /// | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs new file mode 100644 index 0000000000..78849135af --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReposClient.ReposRenameBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Rename a branch
+ /// Renames a branch in a repository.
+ /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
+ /// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRenameBranchAsync( + string owner, + string repo, + string branch, + global::G.ReposRenameBranchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Rename a branch
+ /// Renames a branch in a repository.
+ /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
+ /// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. + ///
+ /// + /// + /// + /// + /// The new name of the branch. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRenameBranchAsync( + string owner, + string repo, + string branch, + string newName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposReplaceAllTopics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposReplaceAllTopics.g.verified.cs new file mode 100644 index 0000000000..9d012b2e15 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposReplaceAllTopics.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IReposClient.ReposReplaceAllTopics.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Replace all repository topics + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposReplaceAllTopicsAsync( + string owner, + string repo, + global::G.ReposReplaceAllTopicsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Replace all repository topics + /// + /// + /// + /// + /// An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposReplaceAllTopicsAsync( + string owner, + string repo, + global::System.Collections.Generic.IList names, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRequestPagesBuild.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRequestPagesBuild.g.verified.cs new file mode 100644 index 0000000000..0ccb1bc2c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposRequestPagesBuild.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposRequestPagesBuild.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Request a GitHub Pages build
+ /// You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.
+ /// Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRequestPagesBuildAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAdminBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAdminBranchProtection.g.verified.cs new file mode 100644 index 0000000000..b3a0a4fafc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAdminBranchProtection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposSetAdminBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Set admin branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposSetAdminBranchProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..6bf2aed116 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposSetAppAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Set app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetStatusCheckContexts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetStatusCheckContexts.g.verified.cs new file mode 100644 index 0000000000..4a996e1743 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetStatusCheckContexts.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IReposClient.ReposSetStatusCheckContexts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Set status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetTeamAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetTeamAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..54b76da569 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetTeamAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposSetTeamAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Set team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..d2ba9680a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposSetUserAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Set user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.
+ /// | Type | Description |
+ /// | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.
+ /// | Type | Description |
+ /// | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs new file mode 100644 index 0000000000..03f7f590db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposTestPushWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Test the push repository webhook
+ /// This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.
+ /// **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposTestPushWebhookAsync( + string owner, + string repo, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTransfer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTransfer.g.verified.cs new file mode 100644 index 0000000000..aacace2c60 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposTransfer.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposTransfer.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Transfer a repository
+ /// A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposTransferAsync( + string owner, + string repo, + global::G.ReposTransferRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Transfer a repository
+ /// A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/). + ///
+ /// + /// + /// + /// The username or organization name the repository will be transferred to. + /// + /// + /// The new name to be given to the repository. + /// + /// + /// ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposTransferAsync( + string owner, + string repo, + string newOwner, + string? newName = default, + global::System.Collections.Generic.IList? teamIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdate.g.verified.cs new file mode 100644 index 0000000000..1e80d5679b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdate.g.verified.cs @@ -0,0 +1,161 @@ +//HintName: G.IReposClient.ReposUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a repository
+ /// **Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/repos/repos#replace-all-repository-topics) endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateAsync( + string owner, + string repo, + global::G.ReposUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository
+ /// **Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/repos/repos#replace-all-repository-topics) endpoint. + ///
+ /// + /// + /// + /// The name of the repository. + /// + /// + /// A short description of the repository. + /// + /// + /// A URL with more information about the repository. + /// + /// + /// Either `true` to make the repository private or `false` to make it public. Default: `false`.
+ /// **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.
+ /// Default Value: false + /// + /// + /// The visibility of the repository. + /// + /// + /// Specify which security and analysis features to enable or disable for the repository.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// For example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:
+ /// `{ "security_and_analysis": {"advanced_security": { "status": "enabled" } } }`.
+ /// You can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request. + /// + /// + /// Either `true` to enable issues for this repository or `false` to disable them.
+ /// Default Value: true + /// + /// + /// Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.
+ /// Default Value: true + /// + /// + /// Either `true` to enable the wiki for this repository or `false` to disable it.
+ /// Default Value: true + /// + /// + /// Either `true` to make this repo available as a template repository or `false` to prevent it.
+ /// Default Value: false + /// + /// + /// Updates the default branch for this repository. + /// + /// + /// Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.
+ /// Default Value: true + /// + /// + /// Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.
+ /// Default Value: true + /// + /// + /// Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.
+ /// Default Value: true + /// + /// + /// Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.
+ /// Default Value: false + /// + /// + /// Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.
+ /// Default Value: false + /// + /// + /// Either `true` to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.
+ /// Default Value: false + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// Whether to archive this repository. `false` will unarchive a previously archived repository.
+ /// Default Value: false + /// + /// + /// Either `true` to allow private forks, or `false` to prevent private forks.
+ /// Default Value: false + /// + /// + /// Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateAsync( + string owner, + string repo, + string? name = default, + string? description = default, + string? homepage = default, + bool @private = false, + global::G.ReposUpdateRequestVisibility? visibility = default, + global::G.ReposUpdateRequestSecurityAndAnalysis? securityAndAnalysis = default, + bool hasIssues = true, + bool hasProjects = true, + bool hasWiki = true, + bool isTemplate = false, + string? defaultBranch = default, + bool allowSquashMerge = true, + bool allowMergeCommit = true, + bool allowRebaseMerge = true, + bool allowAutoMerge = false, + bool deleteBranchOnMerge = false, + bool allowUpdateBranch = false, + global::G.ReposUpdateRequestSquashMergeCommitTitle? squashMergeCommitTitle = default, + global::G.ReposUpdateRequestSquashMergeCommitMessage? squashMergeCommitMessage = default, + global::G.ReposUpdateRequestMergeCommitTitle? mergeCommitTitle = default, + global::G.ReposUpdateRequestMergeCommitMessage? mergeCommitMessage = default, + bool archived = false, + bool allowForking = false, + bool webCommitSignoffRequired = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs new file mode 100644 index 0000000000..f4b67941ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs @@ -0,0 +1,92 @@ +//HintName: G.IReposClient.ReposUpdateBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Protecting a branch requires admin or owner permissions to the repository.
+ /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
+ /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateBranchProtectionAsync( + string owner, + string repo, + string branch, + global::G.ReposUpdateBranchProtectionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Protecting a branch requires admin or owner permissions to the repository.
+ /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
+ /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + ///
+ /// + /// + /// + /// + /// Require status checks to pass before merging. Set to `null` to disable. + /// + /// + /// Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable. + /// + /// + /// Require at least one approving review on a pull request, before merging. Set to `null` to disable. + /// + /// + /// Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable. + /// + /// + /// Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://docs.github.com/github/administering-a-repository/requiring-a-linear-commit-history)" in the GitHub Help documentation. + /// + /// + /// Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation." + /// + /// + /// Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation. + /// + /// + /// If set to `true`, the `restrictions` branch protection settings which limits who can push will also block pushes which create new branches, unless the push is initiated by a user, team, or app which has the ability to push. Set to `true` to restrict new branch creation. Default: `false`. + /// + /// + /// Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`. + /// + /// + /// Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. Default: `false`.
+ /// Default Value: false + /// + /// + /// Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. Default: `false`.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateBranchProtectionAsync( + string owner, + string repo, + string branch, + global::G.ReposUpdateBranchProtectionRequestRequiredStatusChecks? requiredStatusChecks, + bool? enforceAdmins, + global::G.ReposUpdateBranchProtectionRequestRequiredPullRequestReviews? requiredPullRequestReviews, + global::G.ReposUpdateBranchProtectionRequestRestrictions? restrictions, + bool requiredLinearHistory = default, + bool? allowForcePushes = default, + bool allowDeletions = default, + bool blockCreations = default, + bool requiredConversationResolution = default, + bool lockBranch = false, + bool allowForkSyncing = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs new file mode 100644 index 0000000000..1ae43c0942 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IReposClient.ReposUpdateCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a commit comment
+ /// Updates the contents of a specified commit comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReposUpdateCommitCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a commit comment
+ /// Updates the contents of a specified commit comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The contents of the comment + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( + string owner, + string repo, + int commentId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateDeploymentBranchPolicy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateDeploymentBranchPolicy.g.verified.cs new file mode 100644 index 0000000000..87d801f76e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateDeploymentBranchPolicy.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IReposClient.ReposUpdateDeploymentBranchPolicy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a deployment branch policy
+ /// Updates a deployment branch or tag policy for an environment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + int branchPolicyId, + global::G.DeploymentBranchPolicyNamePattern request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a deployment branch policy
+ /// Updates a deployment branch or tag policy for an environment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The name pattern that branches must match in order to deploy to the environment.
+ /// Wildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.
+ /// For more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).
+ /// Example: release/* + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + int branchPolicyId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateInformationAboutPagesSite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateInformationAboutPagesSite.g.verified.cs new file mode 100644 index 0000000000..f5156a4280 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateInformationAboutPagesSite.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IReposClient.ReposUpdateInformationAboutPagesSite.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update information about a GitHub Pages site
+ /// Updates information for a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages).
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateInformationAboutPagesSiteAsync( + string owner, + string repo, + global::G.ReposUpdateInformationAboutPagesSiteRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update information about a GitHub Pages site
+ /// Updates information for a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages).
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task ReposUpdateInformationAboutPagesSiteAsync( + string owner, + string repo, + string? cname = default, + bool httpsEnforced = default, + global::G.ReposUpdateInformationAboutPagesSiteRequestBuildType? buildType = default, + global::G.AnyOf? source = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateInvitation.g.verified.cs new file mode 100644 index 0000000000..eb0dd09474 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateInvitation.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposUpdateInvitation.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a repository invitation + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateInvitationAsync( + string owner, + string repo, + int invitationId, + global::G.ReposUpdateInvitationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository invitation + /// + /// + /// + /// + /// + /// The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateInvitationAsync( + string owner, + string repo, + int invitationId, + global::G.ReposUpdateInvitationRequestPermissions? permissions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs new file mode 100644 index 0000000000..2ccad29953 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IReposClient.ReposUpdateOrgRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update an organization repository ruleset
+ /// Update a ruleset for an organization. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateOrgRulesetAsync( + string org, + int rulesetId, + global::G.ReposUpdateOrgRulesetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an organization repository ruleset
+ /// Update a ruleset for an organization. + ///
+ /// + /// + /// + /// The name of the ruleset. + /// + /// + /// The target of the ruleset
+ /// **Note**: The `push` target is in beta and is subject to change. + /// + /// + /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + /// + /// + /// The actors that can bypass the rules in this ruleset + /// + /// + /// 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. + /// + /// + /// An array of rules within the ruleset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateOrgRulesetAsync( + string org, + int rulesetId, + string? name = default, + global::G.ReposUpdateOrgRulesetRequestTarget? target = default, + global::G.RepositoryRuleEnforcement? enforcement = default, + global::System.Collections.Generic.IList? bypassActors = default, + global::G.OrgRulesetConditions? conditions = default, + global::System.Collections.Generic.IList? rules = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs new file mode 100644 index 0000000000..76ac1b9186 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.IReposClient.ReposUpdatePullRequestReviewProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update pull request review protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
+ /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdatePullRequestReviewProtectionAsync( + string owner, + string repo, + string branch, + global::G.ReposUpdatePullRequestReviewProtectionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update pull request review protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
+ /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + ///
+ /// + /// + /// + /// + /// Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. + /// + /// + /// Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. + /// + /// + /// Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) have reviewed. + /// + /// + /// Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers. + /// + /// + /// Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`
+ /// Default Value: false + /// + /// + /// Allow specific users, teams, or apps to bypass pull request requirements. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdatePullRequestReviewProtectionAsync( + string owner, + string repo, + string branch, + global::G.ReposUpdatePullRequestReviewProtectionRequestDismissalRestrictions? dismissalRestrictions = default, + bool dismissStaleReviews = default, + bool requireCodeOwnerReviews = default, + int requiredApprovingReviewCount = default, + bool requireLastPushApproval = false, + global::G.ReposUpdatePullRequestReviewProtectionRequestBypassPullRequestAllowances? bypassPullRequestAllowances = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRelease.g.verified.cs new file mode 100644 index 0000000000..f0cc9a4453 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRelease.g.verified.cs @@ -0,0 +1,73 @@ +//HintName: G.IReposClient.ReposUpdateRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a release
+ /// Users with push access to the repository can edit a release. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateReleaseAsync( + string owner, + string repo, + int releaseId, + global::G.ReposUpdateReleaseRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a release
+ /// Users with push access to the repository can edit a release. + ///
+ /// + /// + /// + /// + /// The name of the tag. + /// + /// + /// Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch. + /// + /// + /// The name of the release. + /// + /// + /// Text describing the contents of the tag. + /// + /// + /// `true` makes the release a draft, and `false` publishes the release. + /// + /// + /// `true` to identify the release as a prerelease, `false` to identify the release as a full release. + /// + /// + /// Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.
+ /// Default Value: true + /// + /// + /// If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored. For more information, see "[Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)." + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateReleaseAsync( + string owner, + string repo, + int releaseId, + string? tagName = default, + string? targetCommitish = default, + string? name = default, + string? body = default, + bool draft = default, + bool prerelease = default, + global::G.ReposUpdateReleaseRequestMakeLatest? makeLatest = global::G.ReposUpdateReleaseRequestMakeLatest.True, + string? discussionCategoryName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateReleaseAsset.g.verified.cs new file mode 100644 index 0000000000..a3eca79f4a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateReleaseAsset.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IReposClient.ReposUpdateReleaseAsset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a release asset
+ /// Users with push access to the repository can edit a release asset. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateReleaseAssetAsync( + string owner, + string repo, + int assetId, + global::G.ReposUpdateReleaseAssetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a release asset
+ /// Users with push access to the repository can edit a release asset. + ///
+ /// + /// + /// + /// + /// The file name of the asset. + /// + /// + /// An alternate short description of the asset. Used in place of the filename. + /// + /// + /// Example: "uploaded" + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateReleaseAssetAsync( + string owner, + string repo, + int assetId, + string? name = default, + string? label = default, + string? state = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs new file mode 100644 index 0000000000..316babf0c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs @@ -0,0 +1,65 @@ +//HintName: G.IReposClient.ReposUpdateRepoRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a repository ruleset
+ /// Update a ruleset for a repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateRepoRulesetAsync( + string owner, + string repo, + int rulesetId, + global::G.ReposUpdateRepoRulesetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository ruleset
+ /// Update a ruleset for a repository. + ///
+ /// + /// + /// + /// + /// The name of the ruleset. + /// + /// + /// The target of the ruleset
+ /// **Note**: The `push` target is in beta and is subject to change. + /// + /// + /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + /// + /// + /// The actors that can bypass the rules in this ruleset + /// + /// + /// Parameters for a repository ruleset ref name condition + /// + /// + /// An array of rules within the ruleset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateRepoRulesetAsync( + string owner, + string repo, + int rulesetId, + string? name = default, + global::G.ReposUpdateRepoRulesetRequestTarget? target = default, + global::G.RepositoryRuleEnforcement? enforcement = default, + global::System.Collections.Generic.IList? bypassActors = default, + global::G.RepositoryRulesetConditions? conditions = default, + global::System.Collections.Generic.IList? rules = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateStatusCheckProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateStatusCheckProtection.g.verified.cs new file mode 100644 index 0000000000..86187bd09d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateStatusCheckProtection.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReposClient.ReposUpdateStatusCheckProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update status check protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateStatusCheckProtectionAsync( + string owner, + string repo, + string branch, + global::G.ReposUpdateStatusCheckProtectionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update status check protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. + ///
+ /// + /// + /// + /// + /// Require branches to be up to date before merging. + /// + /// + /// The list of status checks to require in order to merge into this branch. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateStatusCheckProtectionAsync( + string owner, + string repo, + string branch, + bool strict = default, + global::System.Collections.Generic.IList? checks = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateWebhook.g.verified.cs new file mode 100644 index 0000000000..10e9653f05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateWebhook.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IReposClient.ReposUpdateWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a repository webhook
+ /// Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for a repository](/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateWebhookAsync( + string owner, + string repo, + int hookId, + global::G.ReposUpdateWebhookRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository webhook
+ /// Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for a repository](/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository)." + ///
+ /// + /// + /// + /// + /// Configuration object of the webhook + /// + /// + /// Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events.
+ /// Default Value: [push] + /// + /// + /// Determines a list of events to be added to the list of events that the Hook triggers for. + /// + /// + /// Determines a list of events to be removed from the list of events that the Hook triggers for. + /// + /// + /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateWebhookAsync( + string owner, + string repo, + int hookId, + global::G.WebhookConfig? config = 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); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateWebhookConfigForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateWebhookConfigForRepo.g.verified.cs new file mode 100644 index 0000000000..984a62c9dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUpdateWebhookConfigForRepo.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IReposClient.ReposUpdateWebhookConfigForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a webhook configuration for a repository
+ /// Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use "[Update a repository webhook](/rest/webhooks/repos#update-a-repository-webhook)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:repo_hook` or `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateWebhookConfigForRepoAsync( + string owner, + string repo, + int hookId, + global::G.ReposUpdateWebhookConfigForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a webhook configuration for a repository
+ /// Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use "[Update a repository webhook](/rest/webhooks/repos#update-a-repository-webhook)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:repo_hook` or `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The URL to which the payloads will be delivered.
+ /// Example: https://example.com/webhook + /// + /// + /// The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
+ /// Example: "json" + /// + /// + /// 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).
+ /// Example: "********" + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateWebhookConfigForRepoAsync( + string owner, + string repo, + int hookId, + string? url = default, + string? contentType = default, + string? secret = default, + global::G.WebhookConfigInsecureSsl? insecureSsl = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUploadReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUploadReleaseAsset.g.verified.cs new file mode 100644 index 0000000000..bf4f976c9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.ReposUploadReleaseAsset.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IReposClient.ReposUploadReleaseAsset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Upload a release asset
+ /// This endpoint makes use of a [Hypermedia relation](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in
+ /// the response of the [Create a release endpoint](https://docs.github.com/rest/releases/releases#create-a-release) to upload a release asset.
+ /// You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.
+ /// Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example:
+ /// `application/zip`
+ /// GitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,
+ /// you'll still need to pass your authentication to be able to upload an asset.
+ /// When an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.
+ /// **Notes:**
+ /// * GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List release assets](https://docs.github.com/rest/releases/assets#list-release-assets)"
+ /// endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// * To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/rest/releases/releases#get-the-latest-release).
+ /// * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUploadReleaseAssetAsync( + string owner, + string repo, + int releaseId, + string name, + byte[] request, + string? label = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload a release asset
+ /// This endpoint makes use of a [Hypermedia relation](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in
+ /// the response of the [Create a release endpoint](https://docs.github.com/rest/releases/releases#create-a-release) to upload a release asset.
+ /// You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.
+ /// Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example:
+ /// `application/zip`
+ /// GitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,
+ /// you'll still need to pass your authentication to be able to upload an asset.
+ /// When an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.
+ /// **Notes:**
+ /// * GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List release assets](https://docs.github.com/rest/releases/assets#list-release-assets)"
+ /// endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// * To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/rest/releases/releases#get-the-latest-release).
+ /// * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUploadReleaseAssetAsync( + string owner, + string repo, + int releaseId, + string name, + string? label = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.g.verified.cs new file mode 100644 index 0000000000..5b8869465f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IReposClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Repos.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IReposClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchCode.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchCode.g.verified.cs new file mode 100644 index 0000000000..6fa9358ca1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchCode.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ISearchClient.SearchCode.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search code
+ /// Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:
+ /// `q=addClass+in:file+language:js+repo:jquery/jquery`
+ /// This query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.
+ /// Considerations for code search:
+ /// Due to the complexity of searching code, there are a few restrictions on how searches are performed:
+ /// * Only the _default branch_ is considered. In most cases, this will be the `master` branch.
+ /// * Only files smaller than 384 KB are searchable.
+ /// * You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing
+ /// language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.
+ /// This endpoint requires you to authenticate and limits you to 10 requests per minute. + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchCodeAsync( + string q, + global::G.SearchCodeSort? sort = default, + global::G.SearchCodeOrder? order = global::G.SearchCodeOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchCommits.g.verified.cs new file mode 100644 index 0000000000..5729e2334f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchCommits.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.ISearchClient.SearchCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search commits
+ /// Find commits via various criteria on the default branch (usually `main`). This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match
+ /// metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:
+ /// `q=repo:octocat/Spoon-Knife+css` + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchCommitsAsync( + string q, + global::G.SearchCommitsSort? sort = default, + global::G.SearchCommitsOrder? order = global::G.SearchCommitsOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs new file mode 100644 index 0000000000..03109568c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.ISearchClient.SearchIssuesAndPullRequests.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search issues and pull requests
+ /// Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted
+ /// search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.
+ /// `q=windows+label:bug+language:python+state:open&sort=created&order=asc`
+ /// This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.
+ /// **Note:** For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchIssuesAndPullRequestsAsync( + string q, + global::G.SearchIssuesAndPullRequestsSort? sort = default, + global::G.SearchIssuesAndPullRequestsOrder? order = global::G.SearchIssuesAndPullRequestsOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchLabels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchLabels.g.verified.cs new file mode 100644 index 0000000000..a2f52e3785 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchLabels.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.ISearchClient.SearchLabels.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search labels
+ /// Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:
+ /// `q=bug+defect+enhancement&repository_id=64778136`
+ /// The labels that best match the query appear first in the search results. + ///
+ /// + /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchLabelsAsync( + int repositoryId, + string q, + global::G.SearchLabelsSort? sort = default, + global::G.SearchLabelsOrder? order = global::G.SearchLabelsOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchRepos.g.verified.cs new file mode 100644 index 0000000000..09663cbf03 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchRepos.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.ISearchClient.SearchRepos.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search repositories
+ /// Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:
+ /// `q=tetris+language:assembly&sort=stars&order=desc`
+ /// This query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results. + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchReposAsync( + string q, + global::G.SearchReposSort? sort = default, + global::G.SearchReposOrder? order = global::G.SearchReposOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchTopics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchTopics.g.verified.cs new file mode 100644 index 0000000000..d51ca4428b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchTopics.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.ISearchClient.SearchTopics.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search topics
+ /// Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api). See "[Searching topics](https://docs.github.com/articles/searching-topics/)" for a detailed list of qualifiers.
+ /// When searching for topics, you can get text match metadata for the topic's **short\_description**, **description**, **name**, or **display\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:
+ /// `q=ruby+is:featured`
+ /// This query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchTopicsAsync( + string q, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchUsers.g.verified.cs new file mode 100644 index 0000000000..39998b7d02 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.SearchUsers.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ISearchClient.SearchUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search users
+ /// Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you're looking for a list of popular users, you might try this query:
+ /// `q=tom+repos:%3E42+followers:%3E1000`
+ /// This query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.
+ /// This endpoint does not accept authentication and will only include publicly visible users. As an alternative, you can use the GraphQL API. The GraphQL API requires authentication and will return private users, including Enterprise Managed Users (EMUs), that you are authorized to view. For more information, see "[GraphQL Queries](https://docs.github.com/graphql/reference/queries#search)." + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchUsersAsync( + string q, + global::G.SearchUsersSort? sort = default, + global::G.SearchUsersOrder? order = global::G.SearchUsersOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.g.verified.cs new file mode 100644 index 0000000000..0d3e910465 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISearchClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISearchClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Look for stuff on GitHub.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISearchClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningGetAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningGetAlert.g.verified.cs new file mode 100644 index 0000000000..5818134d3a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningGetAlert.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ISecretScanningClient.SecretScanningGetAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// Get a secret scanning alert
+ /// Gets a single secret scanning alert detected in an eligible repository.
+ /// The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecretScanningGetAlertAsync( + string owner, + string repo, + int alertNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForEnterprise.g.verified.cs new file mode 100644 index 0000000000..406ff6a347 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForEnterprise.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ISecretScanningClient.SecretScanningListAlertsForEnterprise.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// List secret scanning alerts for an enterprise
+ /// Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.
+ /// Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).
+ /// The authenticated user must be a member of the enterprise in order to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecretScanningListAlertsForEnterpriseAsync( + string enterprise, + global::G.SecretScanningListAlertsForEnterpriseState? state = default, + string? secretType = default, + string? resolution = default, + global::G.SecretScanningListAlertsForEnterpriseSort? sort = global::G.SecretScanningListAlertsForEnterpriseSort.Created, + global::G.SecretScanningListAlertsForEnterpriseDirection? direction = global::G.SecretScanningListAlertsForEnterpriseDirection.Desc, + int perPage = 30, + string? before = default, + string? after = default, + string? validity = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForOrg.g.verified.cs new file mode 100644 index 0000000000..2b0dff0d45 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForOrg.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.ISecretScanningClient.SecretScanningListAlertsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// List secret scanning alerts for an organization
+ /// Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecretScanningListAlertsForOrgAsync( + string org, + global::G.SecretScanningListAlertsForOrgState? state = default, + string? secretType = default, + string? resolution = default, + global::G.SecretScanningListAlertsForOrgSort? sort = global::G.SecretScanningListAlertsForOrgSort.Created, + global::G.SecretScanningListAlertsForOrgDirection? direction = global::G.SecretScanningListAlertsForOrgDirection.Desc, + int page = 1, + int perPage = 30, + string? before = default, + string? after = default, + string? validity = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForRepo.g.verified.cs new file mode 100644 index 0000000000..0f8fc2e1e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListAlertsForRepo.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.ISecretScanningClient.SecretScanningListAlertsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// List secret scanning alerts for a repository
+ /// Lists secret scanning alerts for an eligible repository, from newest to oldest.
+ /// The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecretScanningListAlertsForRepoAsync( + string owner, + string repo, + global::G.SecretScanningListAlertsForRepoState? state = default, + string? secretType = default, + string? resolution = default, + global::G.SecretScanningListAlertsForRepoSort? sort = global::G.SecretScanningListAlertsForRepoSort.Created, + global::G.SecretScanningListAlertsForRepoDirection? direction = global::G.SecretScanningListAlertsForRepoDirection.Desc, + int page = 1, + int perPage = 30, + string? before = default, + string? after = default, + string? validity = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListLocationsForAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListLocationsForAlert.g.verified.cs new file mode 100644 index 0000000000..facf08272a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningListLocationsForAlert.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.ISecretScanningClient.SecretScanningListLocationsForAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// List locations for a secret scanning alert
+ /// Lists all locations for a given secret scanning alert for an eligible repository.
+ /// The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecretScanningListLocationsForAlertAsync( + string owner, + string repo, + int alertNumber, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningUpdateAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningUpdateAlert.g.verified.cs new file mode 100644 index 0000000000..6fa8674d5d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.SecretScanningUpdateAlert.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.ISecretScanningClient.SecretScanningUpdateAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// Update a secret scanning alert
+ /// Updates the status of a secret scanning alert in an eligible repository.
+ /// The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecretScanningUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.SecretScanningUpdateAlertRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a secret scanning alert
+ /// Updates the status of a secret scanning alert in an eligible repository.
+ /// The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. + /// + /// + /// **Required when the `state` is `resolved`.** The reason for resolving the alert. + /// + /// + /// An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecretScanningUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.SecretScanningAlertState state, + global::G.SecretScanningAlertResolution? resolution = default, + string? resolutionComment = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.g.verified.cs new file mode 100644 index 0000000000..8b33c31fc7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecretScanningClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISecretScanningClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Retrieve secret scanning alerts from a repository.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISecretScanningClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs new file mode 100644 index 0000000000..0c88b67fe9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Create a temporary private fork
+ /// Create a temporary private fork to collaborate on fixing a security vulnerability in your repository.
+ /// **Note**: Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreateForkAsync( + string owner, + string repo, + string ghsaId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.verified.cs new file mode 100644 index 0000000000..5915ba7a75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.verified.cs @@ -0,0 +1,67 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Privately report a security vulnerability
+ /// Report a security vulnerability to the maintainers of the repository.
+ /// See "[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)" for more information about private vulnerability reporting. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreatePrivateVulnerabilityReportAsync( + string owner, + string repo, + global::G.PrivateVulnerabilityReportCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Privately report a security vulnerability
+ /// Report a security vulnerability to the maintainers of the repository.
+ /// See "[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)" for more information about private vulnerability reporting. + ///
+ /// + /// + /// + /// A short summary of the advisory. + /// + /// + /// A detailed description of what the advisory impacts. + /// + /// + /// An array of products affected by the vulnerability detailed in a repository security advisory. + /// + /// + /// A list of Common Weakness Enumeration (CWE) IDs. + /// + /// + /// The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. + /// + /// + /// The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`. + /// + /// + /// Whether to create a temporary private fork of the repository to collaborate on a fix.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreatePrivateVulnerabilityReportAsync( + string owner, + string repo, + string summary, + string description, + global::System.Collections.Generic.IList? vulnerabilities = default, + global::System.Collections.Generic.IList? cweIds = default, + global::G.PrivateVulnerabilityReportCreateSeverity? severity = default, + string? cvssVectorString = default, + bool startPrivateFork = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.verified.cs new file mode 100644 index 0000000000..0218f5f60e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Create a repository security advisory
+ /// Creates a new repository security advisory.
+ /// In order to create a draft repository security advisory, the authenticated user must be a security manager or administrator of that repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreateRepositoryAdvisoryAsync( + string owner, + string repo, + global::G.RepositoryAdvisoryCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository security advisory
+ /// Creates a new repository security advisory.
+ /// In order to create a draft repository security advisory, the authenticated user must be a security manager or administrator of that repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// + /// A short summary of the advisory. + /// + /// + /// A detailed description of what the advisory impacts. + /// + /// + /// The Common Vulnerabilities and Exposures (CVE) ID. + /// + /// + /// A product affected by the vulnerability detailed in a repository security advisory. + /// + /// + /// A list of Common Weakness Enumeration (CWE) IDs. + /// + /// + /// A list of users receiving credit for their participation in the security advisory. + /// + /// + /// The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. + /// + /// + /// The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`. + /// + /// + /// Whether to create a temporary private fork of the repository to collaborate on a fix.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreateRepositoryAdvisoryAsync( + string owner, + string repo, + string summary, + string description, + global::System.Collections.Generic.IList vulnerabilities, + string? cveId = default, + global::System.Collections.Generic.IList? cweIds = default, + global::System.Collections.Generic.IList? credits = default, + global::G.RepositoryAdvisoryCreateSeverity? severity = default, + string? cvssVectorString = default, + bool startPrivateFork = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.verified.cs new file mode 100644 index 0000000000..a4ff4a38ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Request a CVE for a repository security advisory
+ /// If you want a CVE identification number for the security vulnerability in your project, and don't already have one, you can request a CVE identification number from GitHub. For more information see "[Requesting a CVE identification number](https://docs.github.com/code-security/security-advisories/repository-security-advisories/publishing-a-repository-security-advisory#requesting-a-cve-identification-number-optional)."
+ /// You may request a CVE for public repositories, but cannot do so for private repositories.
+ /// In order to request a CVE for a repository security advisory, the authenticated user must be a security manager or administrator of that repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreateRepositoryAdvisoryCveRequestAsync( + string owner, + string repo, + string ghsaId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetGlobalAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetGlobalAdvisory.g.verified.cs new file mode 100644 index 0000000000..636398c9ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetGlobalAdvisory.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetGlobalAdvisory.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Get a global security advisory
+ /// Gets a global security advisory using its GitHub Security Advisory (GHSA) identifier. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesGetGlobalAdvisoryAsync( + string ghsaId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetRepositoryAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetRepositoryAdvisory.g.verified.cs new file mode 100644 index 0000000000..044000e996 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetRepositoryAdvisory.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetRepositoryAdvisory.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Get a repository security advisory
+ /// Get a repository security advisory using its GitHub Security Advisory (GHSA) identifier.
+ /// Anyone can access any published security advisory on a public repository.
+ /// The authenticated user can access an unpublished security advisory from a repository if they are a security manager or administrator of that repository, or if they are a
+ /// collaborator on the security advisory.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:read` scope to to get a published security advisory in a private repository, or any unpublished security advisory that the authenticated user has access to. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesGetRepositoryAdvisoryAsync( + string owner, + string repo, + string ghsaId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs new file mode 100644 index 0000000000..55c5dba130 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// List global security advisories
+ /// Lists all global security advisories that match the specified parameters. If no other parameters are defined, the request will return only GitHub-reviewed advisories that are not malware.
+ /// By default, all responses will exclude advisories for malware, because malware are not standard vulnerabilities. To list advisories for malware, you must include the `type` parameter in your request, with the value `malware`. For more information about the different types of security advisories, see "[About the GitHub Advisory database](https://docs.github.com/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database#about-types-of-security-advisories)." + ///
+ /// + /// + /// Default Value: reviewed + /// + /// + /// + /// The package's language or package management ecosystem. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: published + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityAdvisoriesListGlobalAdvisoriesAsync( + string? ghsaId = default, + global::G.SecurityAdvisoriesListGlobalAdvisoriesType? type = global::G.SecurityAdvisoriesListGlobalAdvisoriesType.Reviewed, + string? cveId = default, + global::G.SecurityAdvisoryEcosystems? ecosystem = default, + global::G.SecurityAdvisoriesListGlobalAdvisoriesSeverity? severity = default, + global::G.OneOf>? cwes = default, + bool isWithdrawn = default, + global::G.OneOf>? affects = default, + string? published = default, + string? updated = default, + string? modified = default, + string? before = default, + string? after = default, + global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction = global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection.Desc, + int perPage = 30, + global::G.SecurityAdvisoriesListGlobalAdvisoriesSort? sort = global::G.SecurityAdvisoriesListGlobalAdvisoriesSort.Published, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.verified.cs new file mode 100644 index 0000000000..77945e492e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// List repository security advisories for an organization
+ /// Lists repository security advisories for an organization.
+ /// The authenticated user must be an owner or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: desc + /// + /// + /// Default Value: created + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityAdvisoriesListOrgRepositoryAdvisoriesAsync( + string org, + global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection? direction = global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection.Desc, + global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort? sort = global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort.Created, + string? before = default, + string? after = default, + int perPage = 30, + global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesState? state = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.verified.cs new file mode 100644 index 0000000000..a8000dac08 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// List repository security advisories
+ /// Lists security advisories in a repository.
+ /// The authenticated user can access unpublished security advisories from a repository if they are a security manager or administrator of that repository, or if they are a collaborator on any security advisory.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:read` scope to to get a published security advisory in a private repository, or any unpublished security advisory that the authenticated user has access to. + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: created + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityAdvisoriesListRepositoryAdvisoriesAsync( + string owner, + string repo, + global::G.SecurityAdvisoriesListRepositoryAdvisoriesDirection? direction = global::G.SecurityAdvisoriesListRepositoryAdvisoriesDirection.Desc, + global::G.SecurityAdvisoriesListRepositoryAdvisoriesSort? sort = global::G.SecurityAdvisoriesListRepositoryAdvisoriesSort.Created, + string? before = default, + string? after = default, + int perPage = 30, + global::G.SecurityAdvisoriesListRepositoryAdvisoriesState? state = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.verified.cs new file mode 100644 index 0000000000..02aef81bcc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Update a repository security advisory
+ /// Update a repository security advisory using its GitHub Security Advisory (GHSA) identifier.
+ /// In order to update any security advisory, the authenticated user must be a security manager or administrator of that repository,
+ /// or a collaborator on the repository security advisory.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesUpdateRepositoryAdvisoryAsync( + string owner, + string repo, + string ghsaId, + global::G.RepositoryAdvisoryUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository security advisory
+ /// Update a repository security advisory using its GitHub Security Advisory (GHSA) identifier.
+ /// In order to update any security advisory, the authenticated user must be a security manager or administrator of that repository,
+ /// or a collaborator on the repository security advisory.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// A short summary of the advisory. + /// + /// + /// A detailed description of what the advisory impacts. + /// + /// + /// The Common Vulnerabilities and Exposures (CVE) ID. + /// + /// + /// A product affected by the vulnerability detailed in a repository security advisory. + /// + /// + /// A list of Common Weakness Enumeration (CWE) IDs. + /// + /// + /// A list of users receiving credit for their participation in the security advisory. + /// + /// + /// The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. + /// + /// + /// The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`. + /// + /// + /// The state of the advisory. + /// + /// + /// A list of usernames who have been granted write access to the advisory. + /// + /// + /// A list of team slugs which have been granted write access to the advisory. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesUpdateRepositoryAdvisoryAsync( + string owner, + string repo, + string ghsaId, + 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::G.RepositoryAdvisoryUpdateSeverity? severity = default, + string? cvssVectorString = default, + global::G.RepositoryAdvisoryUpdateState? state = default, + global::System.Collections.Generic.IList? collaboratingUsers = default, + global::System.Collections.Generic.IList? collaboratingTeams = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.g.verified.cs new file mode 100644 index 0000000000..c3d87d8be4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ISecurityAdvisoriesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISecurityAdvisoriesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Manage security advisories.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISecurityAdvisoriesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs new file mode 100644 index 0000000000..84e34d72e4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITeamsClient.TeamsAddMemberLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add team member (Legacy)
+ /// The "Add team member" endpoint (described below) is deprecated.
+ /// We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddMemberLegacyAsync( + int teamId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs new file mode 100644 index 0000000000..ee76ea474b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team membership for a user
+ /// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
+ /// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateMembershipForUserInOrgAsync( + string org, + string teamSlug, + string username, + global::G.TeamsAddOrUpdateMembershipForUserInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team membership for a user
+ /// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
+ /// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + ///
+ /// + /// + /// + /// + /// The role that this user should have in the team.
+ /// Default Value: member + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateMembershipForUserInOrgAsync( + string org, + string teamSlug, + string username, + global::G.TeamsAddOrUpdateMembershipForUserInOrgRequestRole? role = global::G.TeamsAddOrUpdateMembershipForUserInOrgRequestRole.Member, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs new file mode 100644 index 0000000000..62aab488fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team membership for a user (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
+ /// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateMembershipForUserLegacyAsync( + int teamId, + string username, + global::G.TeamsAddOrUpdateMembershipForUserLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team membership for a user (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
+ /// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. + ///
+ /// + /// + /// + /// The role that this user should have in the team.
+ /// Default Value: member + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateMembershipForUserLegacyAsync( + int teamId, + string username, + global::G.TeamsAddOrUpdateMembershipForUserLegacyRequestRole? role = global::G.TeamsAddOrUpdateMembershipForUserLegacyRequestRole.Member, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs new file mode 100644 index 0000000000..e882e993e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team project permissions
+ /// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateProjectPermissionsInOrgAsync( + string org, + string teamSlug, + int projectId, + global::G.TeamsAddOrUpdateProjectPermissionsInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team project permissions
+ /// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + ///
+ /// + /// + /// + /// + /// The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateProjectPermissionsInOrgAsync( + string org, + string teamSlug, + int projectId, + global::G.TeamsAddOrUpdateProjectPermissionsInOrgRequestPermission? permission = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs new file mode 100644 index 0000000000..24d9c3572a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team project permissions (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateProjectPermissionsLegacyAsync( + int teamId, + int projectId, + global::G.TeamsAddOrUpdateProjectPermissionsLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team project permissions (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. + ///
+ /// + /// + /// + /// The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateProjectPermissionsLegacyAsync( + int teamId, + int projectId, + global::G.TeamsAddOrUpdateProjectPermissionsLegacyRequestPermission? permission = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs new file mode 100644 index 0000000000..7463f41bdb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team repository permissions
+ /// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateRepoPermissionsInOrgAsync( + string org, + string teamSlug, + string owner, + string repo, + global::G.TeamsAddOrUpdateRepoPermissionsInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team repository permissions
+ /// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". + ///
+ /// + /// + /// + /// + /// + /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.
+ /// Default Value: push + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateRepoPermissionsInOrgAsync( + string org, + string teamSlug, + string owner, + string repo, + string? permission = "push", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs new file mode 100644 index 0000000000..c206085110 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team repository permissions (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateRepoPermissionsLegacyAsync( + int teamId, + string owner, + string repo, + global::G.TeamsAddOrUpdateRepoPermissionsLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team repository permissions (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// + /// + /// The permission to grant the team on this repository. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateRepoPermissionsLegacyAsync( + int teamId, + string owner, + string repo, + global::G.TeamsAddOrUpdateRepoPermissionsLegacyRequestPermission? permission = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs new file mode 100644 index 0000000000..f33dc8473c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Check team permissions for a project
+ /// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCheckPermissionsForProjectInOrgAsync( + string org, + string teamSlug, + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs new file mode 100644 index 0000000000..ed646f750f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Check team permissions for a project (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.
+ /// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCheckPermissionsForProjectLegacyAsync( + int teamId, + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs new file mode 100644 index 0000000000..4a66ab3e24 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Check team permissions for a repository
+ /// Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.
+ /// If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.
+ /// If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCheckPermissionsForRepoInOrgAsync( + string org, + string teamSlug, + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs new file mode 100644 index 0000000000..e7ae7960a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Check team permissions for a repository (Legacy)
+ /// **Note**: Repositories inherited through a parent team will also be checked.
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCheckPermissionsForRepoLegacyAsync( + int teamId, + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreate.g.verified.cs new file mode 100644 index 0000000000..af46f2a281 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreate.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.ITeamsClient.TeamsCreate.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Create a team
+ /// To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://docs.github.com/articles/setting-team-creation-permissions-in-your-organization)."
+ /// When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/about-teams)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateAsync( + string org, + global::G.TeamsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a team
+ /// To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://docs.github.com/articles/setting-team-creation-permissions-in-your-organization)."
+ /// When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/about-teams)". + ///
+ /// + /// + /// The name of the team. + /// + /// + /// The description of the team. + /// + /// + /// List GitHub IDs for organization members who will become team maintainers. + /// + /// + /// The full name (e.g., "organization-name/repository-name") of repositories to add the team to. + /// + /// + /// The level of privacy this team should have. The options are:
+ /// **For a non-nested team:**
+ /// * `secret` - only visible to organization owners and members of this team.
+ /// * `closed` - visible to all members of this organization.
+ /// Default: `secret`
+ /// **For a parent or child team:**
+ /// * `closed` - visible to all members of this organization.
+ /// Default for child team: `closed` + /// + /// + /// The notification setting the team has chosen. The options are:
+ /// * `notifications_enabled` - team members receive notifications when the team is @mentioned.
+ /// * `notifications_disabled` - no one receives notifications.
+ /// Default: `notifications_enabled` + /// + /// + /// **Deprecated**. The permission that new repositories will be added to the team with when none is specified.
+ /// Default Value: pull + /// + /// + /// The ID of a team to set as the parent team. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateAsync( + string org, + string name, + string? description = default, + global::System.Collections.Generic.IList? maintainers = default, + global::System.Collections.Generic.IList? repoNames = default, + global::G.TeamsCreateRequestPrivacy? privacy = default, + global::G.TeamsCreateRequestNotificationSetting? notificationSetting = default, + global::G.TeamsCreateRequestPermission? permission = global::G.TeamsCreateRequestPermission.Pull, + int parentTeamId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..7c0ecdb006 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Create a discussion comment
+ /// Creates a new comment on a team discussion.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.TeamsCreateDiscussionCommentInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a discussion comment
+ /// Creates a new comment on a team discussion.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The discussion comment's body text. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..48ec498cd7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Create a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// Creates a new comment on a team discussion.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCreateDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + global::G.TeamsCreateDiscussionCommentLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// Creates a new comment on a team discussion.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The discussion comment's body text. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCreateDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..4d92c8fcf3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.ITeamsClient.TeamsCreateDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Create a discussion
+ /// Creates a new discussion post on a team's page.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateDiscussionInOrgAsync( + string org, + string teamSlug, + global::G.TeamsCreateDiscussionInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a discussion
+ /// Creates a new discussion post on a team's page.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The discussion post's title. + /// + /// + /// The discussion post's body text. + /// + /// + /// Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateDiscussionInOrgAsync( + string org, + string teamSlug, + string title, + string body, + bool @private = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..7f0ee4301a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.ITeamsClient.TeamsCreateDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Create a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// Creates a new discussion post on a team's page.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCreateDiscussionLegacyAsync( + int teamId, + global::G.TeamsCreateDiscussionLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// Creates a new discussion post on a team's page.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// The discussion post's title. + /// + /// + /// The discussion post's body text. + /// + /// + /// Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCreateDiscussionLegacyAsync( + int teamId, + string title, + string body, + bool @private = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..14e13b9b95 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a discussion comment
+ /// Deletes a comment on a team discussion.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsDeleteDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..7bb37326c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.
+ /// Deletes a comment on a team discussion.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsDeleteDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..90bb4590da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a discussion
+ /// Delete a discussion from a team's page.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsDeleteDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..6a017e587b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.
+ /// Delete a discussion from a team's page.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsDeleteDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs new file mode 100644 index 0000000000..8d95286d1e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ITeamsClient.TeamsDeleteInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a team
+ /// To delete a team, the authenticated user must be an organization owner or team maintainer.
+ /// If you are an organization owner, deleting a parent team will delete all of its child teams as well.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsDeleteInOrgAsync( + string org, + string teamSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs new file mode 100644 index 0000000000..a33c80460e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITeamsClient.TeamsDeleteLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.
+ /// To delete a team, the authenticated user must be an organization owner or team maintainer.
+ /// If you are an organization owner, deleting a parent team will delete all of its child teams as well. + ///
+ /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsDeleteLegacyAsync( + int teamId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs new file mode 100644 index 0000000000..b7d789f1de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITeamsClient.TeamsGetByName.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a team by name
+ /// Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsGetByNameAsync( + string org, + string teamSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..0cf9028f38 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a discussion comment
+ /// Get a specific comment on a team discussion.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsGetDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..916c6a2f7f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.
+ /// Get a specific comment on a team discussion.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsGetDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..a795b09bd9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITeamsClient.TeamsGetDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a discussion
+ /// Get a specific discussion on a team's page.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsGetDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..5d60bd79a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITeamsClient.TeamsGetDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.
+ /// Get a specific discussion on a team's page.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsGetDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs new file mode 100644 index 0000000000..2aed319c4b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITeamsClient.TeamsGetLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsGetLegacyAsync( + int teamId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMemberLegacy.g.verified.cs new file mode 100644 index 0000000000..43a95c90b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMemberLegacy.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITeamsClient.TeamsGetMemberLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get team member (Legacy)
+ /// The "Get team member" endpoint (described below) is deprecated.
+ /// We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.
+ /// To list members in a team, the team must be visible to the authenticated user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsGetMemberLegacyAsync( + int teamId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs new file mode 100644 index 0000000000..3b1a67a953 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get team membership for a user
+ /// Team members will include the members of child teams.
+ /// To get a user's membership with a team, the team must be visible to the authenticated user.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.
+ /// **Note:**
+ /// The response contains the `state` of the membership and the member's `role`.
+ /// The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsGetMembershipForUserInOrgAsync( + string org, + string teamSlug, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs new file mode 100644 index 0000000000..a983ca07ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get team membership for a user (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.
+ /// Team members will include the members of child teams.
+ /// To get a user's membership with a team, the team must be visible to the authenticated user.
+ /// **Note:**
+ /// The response contains the `state` of the membership and the member's `role`.
+ /// The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsGetMembershipForUserLegacyAsync( + int teamId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsList.g.verified.cs new file mode 100644 index 0000000000..5cfa905ab8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsList.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITeamsClient.TeamsList.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List teams
+ /// Lists all teams in an organization that are visible to the authenticated user. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs new file mode 100644 index 0000000000..0843535a84 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITeamsClient.TeamsListChildInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List child teams
+ /// Lists the child teams of the team specified by `{team_slug}`.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListChildInOrgAsync( + string org, + string teamSlug, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs new file mode 100644 index 0000000000..637bf39b6b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITeamsClient.TeamsListChildLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List child teams (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListChildLegacyAsync( + int teamId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs new file mode 100644 index 0000000000..8c95fd42ea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List discussion comments
+ /// List all comments on a team discussion.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListDiscussionCommentsInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.TeamsListDiscussionCommentsInOrgDirection? direction = global::G.TeamsListDiscussionCommentsInOrgDirection.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs new file mode 100644 index 0000000000..a9823f6e62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List discussion comments (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.
+ /// List all comments on a team discussion.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListDiscussionCommentsLegacyAsync( + int teamId, + int discussionNumber, + global::G.TeamsListDiscussionCommentsLegacyDirection? direction = global::G.TeamsListDiscussionCommentsLegacyDirection.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs new file mode 100644 index 0000000000..22566e4685 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.ITeamsClient.TeamsListDiscussionsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List discussions
+ /// List all discussions on a team's page.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListDiscussionsInOrgAsync( + string org, + string teamSlug, + global::G.TeamsListDiscussionsInOrgDirection? direction = global::G.TeamsListDiscussionsInOrgDirection.Desc, + int perPage = 30, + int page = 1, + string? pinned = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs new file mode 100644 index 0000000000..bf06a50161 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ITeamsClient.TeamsListDiscussionsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List discussions (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.
+ /// List all discussions on a team's page.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListDiscussionsLegacyAsync( + int teamId, + global::G.TeamsListDiscussionsLegacyDirection? direction = global::G.TeamsListDiscussionsLegacyDirection.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..4bb5a7cb54 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITeamsClient.TeamsListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List teams for the authenticated user
+ /// List all of the teams across all of the organizations to which the authenticated
+ /// user belongs.
+ /// OAuth app tokens and personal access tokens (classic) need the `user`, `repo`, or `read:org` scope to use this endpoint.
+ /// When using a fine-grained personal access token, the resource owner of the token must be a single organization, and the response will only include the teams from that organization. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersInOrg.g.verified.cs new file mode 100644 index 0000000000..7791b63b03 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersInOrg.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ITeamsClient.TeamsListMembersInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team members
+ /// Team members will include the members of child teams.
+ /// To list members in a team, the team must be visible to the authenticated user. + ///
+ /// + /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListMembersInOrgAsync( + string org, + string teamSlug, + global::G.TeamsListMembersInOrgRole? role = global::G.TeamsListMembersInOrgRole.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs new file mode 100644 index 0000000000..c2586ab36b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.ITeamsClient.TeamsListMembersLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team members (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.
+ /// Team members will include the members of child teams. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListMembersLegacyAsync( + int teamId, + global::G.TeamsListMembersLegacyRole? role = global::G.TeamsListMembersLegacyRole.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs new file mode 100644 index 0000000000..4ba10efbeb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List pending team invitations
+ /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListPendingInvitationsInOrgAsync( + string org, + string teamSlug, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs new file mode 100644 index 0000000000..cae8f7d7c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List pending team invitations (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.
+ /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListPendingInvitationsLegacyAsync( + int teamId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs new file mode 100644 index 0000000000..21869edb7f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITeamsClient.TeamsListProjectsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team projects
+ /// Lists the organization projects for a team.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListProjectsInOrgAsync( + string org, + string teamSlug, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs new file mode 100644 index 0000000000..d333bb07e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ITeamsClient.TeamsListProjectsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team projects (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.
+ /// Lists the organization projects for a team. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListProjectsLegacyAsync( + int teamId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs new file mode 100644 index 0000000000..a1958bd899 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITeamsClient.TeamsListReposInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team repositories
+ /// Lists a team's repositories visible to the authenticated user.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListReposInOrgAsync( + string org, + string teamSlug, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs new file mode 100644 index 0000000000..d0d505070c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITeamsClient.TeamsListReposLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team repositories (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListReposLegacyAsync( + int teamId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs new file mode 100644 index 0000000000..7758e5ca21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsRemoveMemberLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove team member (Legacy)
+ /// The "Remove team member" endpoint (described below) is deprecated.
+ /// We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsRemoveMemberLegacyAsync( + int teamId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs new file mode 100644 index 0000000000..a9481f8292 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove team membership for a user
+ /// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsRemoveMembershipForUserInOrgAsync( + string org, + string teamSlug, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs new file mode 100644 index 0000000000..5f8159fc5c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove team membership for a user (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsRemoveMembershipForUserLegacyAsync( + int teamId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs new file mode 100644 index 0000000000..18e49c1828 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITeamsClient.TeamsRemoveProjectInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove a project from a team
+ /// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsRemoveProjectInOrgAsync( + string org, + string teamSlug, + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs new file mode 100644 index 0000000000..411dcb028e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ITeamsClient.TeamsRemoveProjectLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove a project from a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.
+ /// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsRemoveProjectLegacyAsync( + int teamId, + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs new file mode 100644 index 0000000000..60d1a6fa40 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsRemoveRepoInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove a repository from a team
+ /// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsRemoveRepoInOrgAsync( + string org, + string teamSlug, + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs new file mode 100644 index 0000000000..80d2cc4ec6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITeamsClient.TeamsRemoveRepoLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove a repository from a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.
+ /// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsRemoveRepoLegacyAsync( + int teamId, + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..07de1fc091 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a discussion comment
+ /// Edits the body text of a discussion comment.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::G.TeamsUpdateDiscussionCommentInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a discussion comment
+ /// Edits the body text of a discussion comment.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The discussion comment's body text. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..9d1440d143 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// Edits the body text of a discussion comment.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::G.TeamsUpdateDiscussionCommentLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// Edits the body text of a discussion comment.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The discussion comment's body text. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..9f187e4c18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a discussion
+ /// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.TeamsUpdateDiscussionInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a discussion
+ /// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The discussion post's title. + /// + /// + /// The discussion post's body text. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + string? title = default, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..dea4e1e51c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::G.TeamsUpdateDiscussionLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The discussion post's title. + /// + /// + /// The discussion post's body text. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateDiscussionLegacyAsync( + int teamId, + int discussionNumber, + string? title = default, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs new file mode 100644 index 0000000000..a2154551c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.ITeamsClient.TeamsUpdateInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a team
+ /// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateInOrgAsync( + string org, + string teamSlug, + global::G.TeamsUpdateInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a team
+ /// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + ///
+ /// + /// + /// + /// The name of the team. + /// + /// + /// The description of the team. + /// + /// + /// The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are:
+ /// **For a non-nested team:**
+ /// * `secret` - only visible to organization owners and members of this team.
+ /// * `closed` - visible to all members of this organization.
+ /// **For a parent or child team:**
+ /// * `closed` - visible to all members of this organization. + /// + /// + /// The notification setting the team has chosen. Editing teams without specifying this parameter leaves `notification_setting` intact. The options are:
+ /// * `notifications_enabled` - team members receive notifications when the team is @mentioned.
+ /// * `notifications_disabled` - no one receives notifications. + /// + /// + /// **Deprecated**. The permission that new repositories will be added to the team with when none is specified.
+ /// Default Value: pull + /// + /// + /// The ID of a team to set as the parent team. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateInOrgAsync( + string org, + string teamSlug, + string? name = default, + string? description = default, + global::G.TeamsUpdateInOrgRequestPrivacy? privacy = default, + global::G.TeamsUpdateInOrgRequestNotificationSetting? notificationSetting = default, + global::G.TeamsUpdateInOrgRequestPermission? permission = global::G.TeamsUpdateInOrgRequestPermission.Pull, + int? parentTeamId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs new file mode 100644 index 0000000000..b0270bbc99 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.ITeamsClient.TeamsUpdateLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
+ /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateLegacyAsync( + int teamId, + global::G.TeamsUpdateLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
+ /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + ///
+ /// + /// + /// The name of the team. + /// + /// + /// The description of the team. + /// + /// + /// The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. The options are:
+ /// **For a non-nested team:**
+ /// * `secret` - only visible to organization owners and members of this team.
+ /// * `closed` - visible to all members of this organization.
+ /// **For a parent or child team:**
+ /// * `closed` - visible to all members of this organization. + /// + /// + /// The notification setting the team has chosen. Editing teams without specifying this parameter leaves `notification_setting` intact. The options are:
+ /// * `notifications_enabled` - team members receive notifications when the team is @mentioned.
+ /// * `notifications_disabled` - no one receives notifications. + /// + /// + /// **Deprecated**. The permission that new repositories will be added to the team with when none is specified.
+ /// Default Value: pull + /// + /// + /// The ID of a team to set as the parent team. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateLegacyAsync( + int teamId, + string name, + string? description = default, + global::G.TeamsUpdateLegacyRequestPrivacy? privacy = default, + global::G.TeamsUpdateLegacyRequestNotificationSetting? notificationSetting = default, + global::G.TeamsUpdateLegacyRequestPermission? permission = global::G.TeamsUpdateLegacyRequestPermission.Pull, + int? parentTeamId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.g.verified.cs new file mode 100644 index 0000000000..3c945d549c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ITeamsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Teams.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITeamsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersAddEmailForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersAddEmailForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..316c356466 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersAddEmailForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IUsersClient.UsersAddEmailForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Add an email address for the authenticated user
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersAddEmailForAuthenticatedUserAsync( + global::G.OneOf, string> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add an email address for the authenticated user
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersAddEmailForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersAddSocialAccountForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersAddSocialAccountForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..318a61d527 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersAddSocialAccountForAuthenticatedUser.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IUsersClient.UsersAddSocialAccountForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Add social accounts for the authenticated user
+ /// Add one or more social accounts to the authenticated user's profile.
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersAddSocialAccountForAuthenticatedUserAsync( + global::G.UsersAddSocialAccountForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add social accounts for the authenticated user
+ /// Add one or more social accounts to the authenticated user's profile.
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// Full URLs for the social media profiles to add.
+ /// Example: [] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersAddSocialAccountForAuthenticatedUserAsync( + global::System.Collections.Generic.IList accountUrls, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersBlock.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersBlock.g.verified.cs new file mode 100644 index 0000000000..25bb9f1afc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersBlock.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.UsersBlock.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Block a user
+ /// Blocks the given user and returns a 204. If the authenticated user cannot block the given user a 422 is returned. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersBlockAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckBlocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckBlocked.g.verified.cs new file mode 100644 index 0000000000..748bb4d412 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckBlocked.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.UsersCheckBlocked.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Check if a user is blocked by the authenticated user
+ /// Returns a 204 if the given user is blocked by the authenticated user. Returns a 404 if the given user is not blocked by the authenticated user, or if the given user account has been identified as spam by GitHub. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCheckBlockedAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckFollowingForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckFollowingForUser.g.verified.cs new file mode 100644 index 0000000000..b7a6a895df --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckFollowingForUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersCheckFollowingForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Check if a user follows another user + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCheckFollowingForUserAsync( + string username, + string targetUser, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckPersonIsFollowedByAuthenticated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckPersonIsFollowedByAuthenticated.g.verified.cs new file mode 100644 index 0000000000..1bfc70b108 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCheckPersonIsFollowedByAuthenticated.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUsersClient.UsersCheckPersonIsFollowedByAuthenticated.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Check if a person is followed by the authenticated user + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCheckPersonIsFollowedByAuthenticatedAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreateGpgKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreateGpgKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..1f1191c435 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreateGpgKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IUsersClient.UsersCreateGpgKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Create a GPG key for the authenticated user
+ /// Adds a GPG key to the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreateGpgKeyForAuthenticatedUserAsync( + global::G.UsersCreateGpgKeyForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a GPG key for the authenticated user
+ /// Adds a GPG key to the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + ///
+ /// + /// A descriptive name for the new key. + /// + /// + /// A GPG key in ASCII-armored format. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreateGpgKeyForAuthenticatedUserAsync( + string armoredPublicKey, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreatePublicSshKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreatePublicSshKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..10743b6499 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreatePublicSshKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IUsersClient.UsersCreatePublicSshKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Create a public SSH key for the authenticated user
+ /// Adds a public SSH key to the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreatePublicSshKeyForAuthenticatedUserAsync( + global::G.UsersCreatePublicSshKeyForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a public SSH key for the authenticated user
+ /// Adds a public SSH key to the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + ///
+ /// + /// A descriptive name for the new key.
+ /// Example: Personal MacBook Air + /// + /// + /// The public SSH key to add to your GitHub account. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreatePublicSshKeyForAuthenticatedUserAsync( + string key, + string? title = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreateSshSigningKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreateSshSigningKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..f6ec1717f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersCreateSshSigningKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IUsersClient.UsersCreateSshSigningKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Create a SSH signing key for the authenticated user
+ /// Creates an SSH signing key for the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:ssh_signing_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreateSshSigningKeyForAuthenticatedUserAsync( + global::G.UsersCreateSshSigningKeyForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a SSH signing key for the authenticated user
+ /// Creates an SSH signing key for the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:ssh_signing_key` scope to use this endpoint. + ///
+ /// + /// A descriptive name for the new key.
+ /// Example: Personal MacBook Air + /// + /// + /// The public SSH key to add to your GitHub account. For more information, see "[Checking for existing SSH keys](https://docs.github.com/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys)." + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreateSshSigningKeyForAuthenticatedUserAsync( + string key, + string? title = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteEmailForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteEmailForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..cf97817022 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteEmailForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IUsersClient.UsersDeleteEmailForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Delete an email address for the authenticated user
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteEmailForAuthenticatedUserAsync( + global::G.OneOf, string> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete an email address for the authenticated user
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteEmailForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteGpgKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteGpgKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..2f00d9eb1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteGpgKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersDeleteGpgKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Delete a GPG key for the authenticated user
+ /// Removes a GPG key from the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:gpg_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteGpgKeyForAuthenticatedUserAsync( + int gpgKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeletePublicSshKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeletePublicSshKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..806405f9cf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeletePublicSshKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersDeletePublicSshKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Delete a public SSH key for the authenticated user
+ /// Removes a public SSH key from the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:public_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeletePublicSshKeyForAuthenticatedUserAsync( + int keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteSocialAccountForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteSocialAccountForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..9860118cba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteSocialAccountForAuthenticatedUser.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IUsersClient.UsersDeleteSocialAccountForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Delete social accounts for the authenticated user
+ /// Deletes one or more social accounts from the authenticated user's profile.
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteSocialAccountForAuthenticatedUserAsync( + global::G.UsersDeleteSocialAccountForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete social accounts for the authenticated user
+ /// Deletes one or more social accounts from the authenticated user's profile.
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// Full URLs for the social media profiles to delete.
+ /// Example: [] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteSocialAccountForAuthenticatedUserAsync( + global::System.Collections.Generic.IList accountUrls, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteSshSigningKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteSshSigningKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..c5bda077ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersDeleteSshSigningKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersDeleteSshSigningKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Delete an SSH signing key for the authenticated user
+ /// Deletes an SSH signing key from the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:ssh_signing_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteSshSigningKeyForAuthenticatedUserAsync( + int sshSigningKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersFollow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersFollow.g.verified.cs new file mode 100644 index 0000000000..027b7d296d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersFollow.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersFollow.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Follow a user
+ /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
+ /// OAuth app tokens and personal access tokens (classic) need the `user:follow` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersFollowAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetAuthenticated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetAuthenticated.g.verified.cs new file mode 100644 index 0000000000..e346f97902 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetAuthenticated.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUsersClient.UsersGetAuthenticated.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get the authenticated user
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope in order for the response to include private profile information. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersGetAuthenticatedAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetByUsername.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetByUsername.g.verified.cs new file mode 100644 index 0000000000..f5ffbdd340 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetByUsername.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IUsersClient.UsersGetByUsername.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get a user
+ /// Provides publicly available information about someone with a GitHub account.
+ /// The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#authentication).
+ /// The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)". + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersGetByUsernameAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetContextForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetContextForUser.g.verified.cs new file mode 100644 index 0000000000..267ef530a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetContextForUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.UsersGetContextForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get contextual information for a user
+ /// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.
+ /// The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersGetContextForUserAsync( + string username, + global::G.UsersGetContextForUserSubjectType? subjectType = default, + string? subjectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetGpgKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetGpgKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..67152d3406 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetGpgKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersGetGpgKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get a GPG key for the authenticated user
+ /// View extended details for a single GPG key.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:gpg_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersGetGpgKeyForAuthenticatedUserAsync( + int gpgKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetPublicSshKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetPublicSshKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..9c013c3dd8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetPublicSshKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersGetPublicSshKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get a public SSH key for the authenticated user
+ /// View extended details for a single public SSH key.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:public_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersGetPublicSshKeyForAuthenticatedUserAsync( + int keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetSshSigningKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetSshSigningKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..de69e987f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersGetSshSigningKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersGetSshSigningKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get an SSH signing key for the authenticated user
+ /// Gets extended details for an SSH signing key.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:ssh_signing_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersGetSshSigningKeyForAuthenticatedUserAsync( + int sshSigningKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersList.g.verified.cs new file mode 100644 index 0000000000..4749e0a26c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersList.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUsersClient.UsersList.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List users
+ /// Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.
+ /// Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users. + ///
+ /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListAsync( + int since = default, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListBlockedByAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListBlockedByAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..dfc8db6b44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListBlockedByAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.UsersListBlockedByAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List users blocked by the authenticated user
+ /// List the users you've blocked on your personal account. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListBlockedByAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListEmailsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListEmailsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..aadd55f06f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListEmailsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListEmailsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List email addresses for the authenticated user
+ /// Lists all of your email addresses, and specifies which one is visible
+ /// to the public.
+ /// OAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListEmailsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowedByAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowedByAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ac503dbf5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowedByAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.UsersListFollowedByAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List the people the authenticated user follows
+ /// Lists the people who the authenticated user follows. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListFollowedByAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowersForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowersForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..477a2f504e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowersForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.UsersListFollowersForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List followers of the authenticated user
+ /// Lists the people following the authenticated user. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListFollowersForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowersForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowersForUser.g.verified.cs new file mode 100644 index 0000000000..ed552ac938 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowersForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListFollowersForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List followers of a user
+ /// Lists the people following the specified user. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListFollowersForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowingForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowingForUser.g.verified.cs new file mode 100644 index 0000000000..c6e595ec62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListFollowingForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListFollowingForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List the people a user follows
+ /// Lists the people who the specified user follows. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListFollowingForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListGpgKeysForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListGpgKeysForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..e180bd8110 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListGpgKeysForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUsersClient.UsersListGpgKeysForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List GPG keys for the authenticated user
+ /// Lists the current user's GPG keys.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:gpg_key` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListGpgKeysForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListGpgKeysForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListGpgKeysForUser.g.verified.cs new file mode 100644 index 0000000000..4b5633dbfc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListGpgKeysForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListGpgKeysForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List GPG keys for a user
+ /// Lists the GPG keys for a user. This information is accessible by anyone. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListGpgKeysForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicEmailsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicEmailsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..72e35a3f9f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicEmailsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IUsersClient.UsersListPublicEmailsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List public email addresses for the authenticated user
+ /// Lists your publicly visible email address, which you can set with the
+ /// [Set primary email visibility for the authenticated user](https://docs.github.com/rest/users/emails#set-primary-email-visibility-for-the-authenticated-user)
+ /// endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListPublicEmailsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicKeysForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicKeysForUser.g.verified.cs new file mode 100644 index 0000000000..8ddb8fccc0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicKeysForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListPublicKeysForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List public keys for a user
+ /// Lists the _verified_ public SSH keys for a user. This is accessible by anyone. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListPublicKeysForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicSshKeysForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicSshKeysForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..edabd98999 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListPublicSshKeysForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUsersClient.UsersListPublicSshKeysForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List public SSH keys for the authenticated user
+ /// Lists the public SSH keys for the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:public_key` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListPublicSshKeysForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSocialAccountsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSocialAccountsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..34725091b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSocialAccountsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.UsersListSocialAccountsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List social accounts for the authenticated user
+ /// Lists all of your social accounts. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListSocialAccountsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSocialAccountsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSocialAccountsForUser.g.verified.cs new file mode 100644 index 0000000000..ffc95c98a9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSocialAccountsForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListSocialAccountsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List social accounts for a user
+ /// Lists social media accounts for a user. This endpoint is accessible by anyone. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListSocialAccountsForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSshSigningKeysForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSshSigningKeysForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..f31d0b63ea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSshSigningKeysForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUsersClient.UsersListSshSigningKeysForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List SSH signing keys for the authenticated user
+ /// Lists the SSH signing keys for the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:ssh_signing_key` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListSshSigningKeysForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSshSigningKeysForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSshSigningKeysForUser.g.verified.cs new file mode 100644 index 0000000000..c8adf86384 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersListSshSigningKeysForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListSshSigningKeysForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List SSH signing keys for a user
+ /// Lists the SSH signing keys for a user. This operation is accessible by anyone. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListSshSigningKeysForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..c195b30fbb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IUsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Set primary email visibility for the authenticated user
+ /// Sets the visibility for your primary email addresses. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersSetPrimaryEmailVisibilityForAuthenticatedUserAsync( + global::G.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set primary email visibility for the authenticated user
+ /// Sets the visibility for your primary email addresses. + ///
+ /// + /// Denotes whether an email is publicly visible. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersSetPrimaryEmailVisibilityForAuthenticatedUserAsync( + global::G.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequestVisibility visibility, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUnblock.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUnblock.g.verified.cs new file mode 100644 index 0000000000..7f11262204 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUnblock.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.UsersUnblock.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Unblock a user
+ /// Unblocks the given user and returns a 204. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersUnblockAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUnfollow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUnfollow.g.verified.cs new file mode 100644 index 0000000000..e34552f62a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUnfollow.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.UsersUnfollow.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Unfollow a user
+ /// OAuth app tokens and personal access tokens (classic) need the `user:follow` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersUnfollowAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUpdateAuthenticated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUpdateAuthenticated.g.verified.cs new file mode 100644 index 0000000000..86a9302426 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.UsersUpdateAuthenticated.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IUsersClient.UsersUpdateAuthenticated.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Update the authenticated user
+ /// **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersUpdateAuthenticatedAsync( + global::G.UsersUpdateAuthenticatedRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update the authenticated user
+ /// **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API. + ///
+ /// + /// The new name of the user.
+ /// Example: Omar Jahandar + /// + /// + /// The publicly visible email address of the user.
+ /// Example: omar@example.com + /// + /// + /// The new blog URL of the user.
+ /// Example: blog.example.com + /// + /// + /// The new Twitter username of the user.
+ /// Example: therealomarj + /// + /// + /// The new company of the user.
+ /// Example: Acme corporation + /// + /// + /// The new location of the user.
+ /// Example: Berlin, Germany + /// + /// + /// The new hiring availability of the user. + /// + /// + /// The new short biography of the user. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersUpdateAuthenticatedAsync( + string? name = default, + string? email = default, + string? blog = default, + string? twitterUsername = default, + string? company = default, + string? location = default, + bool hireable = default, + string? bio = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.g.verified.cs new file mode 100644 index 0000000000..1f4d775500 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IUsersClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUsersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with and view information about users and also current user.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsersClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.InteractionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.InteractionsClient.g.verified.cs index 0f5e610428..ac0b822bc2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.InteractionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.InteractionsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class InteractionsClient : global::System.IDisposable + public sealed partial class InteractionsClient : global::G.IInteractionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.g.verified.cs index 6e3389ab84..a4f54afc29 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.IssuesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class IssuesClient : global::System.IDisposable + public sealed partial class IssuesClient : global::G.IIssuesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.LicensesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.LicensesClient.g.verified.cs index 51b38730fa..4e7d18505e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.LicensesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.LicensesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LicensesClient : global::System.IDisposable + public sealed partial class LicensesClient : global::G.ILicensesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MarkdownClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MarkdownClient.g.verified.cs index a5f31b2d72..5129a39539 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MarkdownClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MarkdownClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MarkdownClient : global::System.IDisposable + public sealed partial class MarkdownClient : global::G.IMarkdownClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MergeQueueClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MergeQueueClient.g.verified.cs index 5f65534012..4015e24b58 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MergeQueueClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MergeQueueClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MergeQueueClient : global::System.IDisposable + public sealed partial class MergeQueueClient : global::G.IMergeQueueClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MetaClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MetaClient.g.verified.cs index cf0c4873d7..bcfb3ab1a7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MetaClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MetaClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MetaClient : global::System.IDisposable + public sealed partial class MetaClient : global::G.IMetaClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.g.verified.cs index b3646aec04..3e74f659c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.MigrationsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MigrationsClient : global::System.IDisposable + public sealed partial class MigrationsClient : global::G.IMigrationsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OidcClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OidcClient.g.verified.cs index c5d3a4fcfb..5f322ee91b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OidcClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OidcClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class OidcClient : global::System.IDisposable + public sealed partial class OidcClient : global::G.IOidcClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.g.verified.cs index cd10d7d719..57a4c25ebd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.OrgsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class OrgsClient : global::System.IDisposable + public sealed partial class OrgsClient : global::G.IOrgsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PackagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PackagesClient.g.verified.cs index 3e445a6451..19d259ed93 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PackagesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PackagesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PackagesClient : global::System.IDisposable + public sealed partial class PackagesClient : global::G.IPackagesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ProjectsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ProjectsClient.g.verified.cs index b73552832f..41572c16ff 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ProjectsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ProjectsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ProjectsClient : global::System.IDisposable + public sealed partial class ProjectsClient : global::G.IProjectsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.g.verified.cs index c30f1b1fcd..ac3aa87bdf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.PullsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PullsClient : global::System.IDisposable + public sealed partial class PullsClient : global::G.IPullsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.RateLimitClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.RateLimitClient.g.verified.cs index 3a37bad7a6..4156f0fcda 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.RateLimitClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.RateLimitClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RateLimitClient : global::System.IDisposable + public sealed partial class RateLimitClient : global::G.IRateLimitClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.g.verified.cs index 0535484551..d12e527110 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReactionsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ReactionsClient : global::System.IDisposable + public sealed partial class ReactionsClient : global::G.IReactionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.g.verified.cs index d2695ecbbf..df3849147d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.ReposClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ReposClient : global::System.IDisposable + public sealed partial class ReposClient : global::G.IReposClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SearchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SearchClient.g.verified.cs index ff7e08ec98..901c9fb846 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SearchClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SearchClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SearchClient : global::System.IDisposable + public sealed partial class SearchClient : global::G.ISearchClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecretScanningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecretScanningClient.g.verified.cs index b29d88b056..b42e762418 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecretScanningClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecretScanningClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SecretScanningClient : global::System.IDisposable + public sealed partial class SecretScanningClient : global::G.ISecretScanningClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.g.verified.cs index 441829c247..d643c3294c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.SecurityAdvisoriesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SecurityAdvisoriesClient : global::System.IDisposable + public sealed partial class SecurityAdvisoriesClient : global::G.ISecurityAdvisoriesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.g.verified.cs index d0ec64de98..631b61e59b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.TeamsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TeamsClient : global::System.IDisposable + public sealed partial class TeamsClient : global::G.ITeamsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.UsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.UsersClient.g.verified.cs index dc4a2b8771..ee1714a2df 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.UsersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/NewtonsoftJson/_#G.UsersClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsersClient : global::System.IDisposable + public sealed partial class UsersClient : global::G.IUsersClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.g.verified.cs index 6c90fbe157..47530f0179 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActionsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ActionsClient : global::System.IDisposable + public sealed partial class ActionsClient : global::G.IActionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.g.verified.cs index a23c80a2d4..e709516b26 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ActivityClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ActivityClient : global::System.IDisposable + public sealed partial class ActivityClient : global::G.IActivityClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs index 0f5a42be05..abd29920fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.g.verified.cs index 91c8de5087..92fa592448 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.AppsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AppsClient : global::System.IDisposable + public sealed partial class AppsClient : global::G.IAppsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.BillingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.BillingClient.g.verified.cs index 234bf7e83c..ea4b69bb02 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.BillingClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.BillingClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class BillingClient : global::System.IDisposable + public sealed partial class BillingClient : global::G.IBillingClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.g.verified.cs index bd5a9b301c..d3c9e592cd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ChecksClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChecksClient : global::System.IDisposable + public sealed partial class ChecksClient : global::G.IChecksClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ClassroomClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ClassroomClient.g.verified.cs index 6c7e251b08..8aef4ebb08 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ClassroomClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ClassroomClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ClassroomClient : global::System.IDisposable + public sealed partial class ClassroomClient : global::G.IClassroomClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.g.verified.cs index afeb0b5bba..4f2b153040 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodeScanningClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CodeScanningClient : global::System.IDisposable + public sealed partial class CodeScanningClient : global::G.ICodeScanningClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodesOfConductClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodesOfConductClient.g.verified.cs index a6087dd253..5fa06edd01 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodesOfConductClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodesOfConductClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CodesOfConductClient : global::System.IDisposable + public sealed partial class CodesOfConductClient : global::G.ICodesOfConductClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodespacesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodespacesClient.g.verified.cs index 4bfb77dfcf..f6ce464ae9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodespacesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CodespacesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CodespacesClient : global::System.IDisposable + public sealed partial class CodespacesClient : global::G.ICodespacesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.g.verified.cs index 68f993ab1c..a75fd4d350 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.CopilotClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CopilotClient : global::System.IDisposable + public sealed partial class CopilotClient : global::G.ICopilotClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DependabotClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DependabotClient.g.verified.cs index 0cb65bc43d..0441e9e359 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DependabotClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DependabotClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DependabotClient : global::System.IDisposable + public sealed partial class DependabotClient : global::G.IDependabotClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DependencyGraphClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DependencyGraphClient.g.verified.cs index 92c910a445..206b2e1de9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DependencyGraphClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DependencyGraphClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DependencyGraphClient : global::System.IDisposable + public sealed partial class DependencyGraphClient : global::G.IDependencyGraphClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DesktopClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DesktopClient.g.verified.cs index 104c69e90a..26acc45c47 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DesktopClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.DesktopClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DesktopClient : global::System.IDisposable + public sealed partial class DesktopClient : global::G.IDesktopClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.EmojisClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.EmojisClient.g.verified.cs index d98d39fa6a..70d1b1b15b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.EmojisClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.EmojisClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EmojisClient : global::System.IDisposable + public sealed partial class EmojisClient : global::G.IEmojisClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.EnterpriseTeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.EnterpriseTeamsClient.g.verified.cs index 4fa269ed71..b0e771433d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.EnterpriseTeamsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.EnterpriseTeamsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EnterpriseTeamsClient : global::System.IDisposable + public sealed partial class EnterpriseTeamsClient : global::G.IEnterpriseTeamsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.g.verified.cs index ce99c7be0d..f7eb06bedb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GistsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GistsClient : global::System.IDisposable + public sealed partial class GistsClient : global::G.IGistsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.g.verified.cs index 28b03b17ad..91cdd48f67 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GitClient : global::System.IDisposable + public sealed partial class GitClient : global::G.IGitClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitignoreClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitignoreClient.g.verified.cs index fb03516313..d51fea5873 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitignoreClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.GitignoreClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GitignoreClient : global::System.IDisposable + public sealed partial class GitignoreClient : global::G.IGitignoreClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..d0248f85c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add custom labels to a self-hosted runner for an organization
+ /// Adds custom labels to a self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddCustomLabelsToSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::G.ActionsAddCustomLabelsToSelfHostedRunnerForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add custom labels to a self-hosted runner for an organization
+ /// Adds custom labels to a self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The names of the custom labels to add to the runner. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddCustomLabelsToSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::System.Collections.Generic.IList labels, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..750bb3c54e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IActionsClient.ActionsAddCustomLabelsToSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add custom labels to a self-hosted runner for a repository
+ /// Adds custom labels to a self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddCustomLabelsToSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::G.ActionsAddCustomLabelsToSelfHostedRunnerForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add custom labels to a self-hosted runner for a repository
+ /// Adds custom labels to a self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The names of the custom labels to add to the runner. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddCustomLabelsToSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Collections.Generic.IList labels, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgSecret.g.verified.cs new file mode 100644 index 0000000000..b37ae330bc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgSecret.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsAddSelectedRepoToOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add selected repository to an organization secret
+ /// Adds a repository to an organization secret when the `visibility` for
+ /// repository access is set to `selected`. For more information about setting the visibility, see [Create or
+ /// update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddSelectedRepoToOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgVariable.g.verified.cs new file mode 100644 index 0000000000..11460641b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsAddSelectedRepoToOrgVariable.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsAddSelectedRepoToOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Add selected repository to an organization variable
+ /// Adds a repository to an organization variable that is available to selected repositories.
+ /// Organization variables that are available to selected repositories have their `visibility` field set to `selected`.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsAddSelectedRepoToOrgVariableAsync( + string org, + string name, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsApproveWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsApproveWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..dee8429c2e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsApproveWorkflowRun.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsApproveWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Approve a workflow run for a fork pull request
+ /// Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see ["Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)."
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsApproveWorkflowRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCancelWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCancelWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..a70de6efe2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCancelWorkflowRun.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsCancelWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Cancel a workflow run
+ /// Cancels a workflow run using its `id`.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCancelWorkflowRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateEnvironmentVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateEnvironmentVariable.g.verified.cs new file mode 100644 index 0000000000..f2b4230985 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateEnvironmentVariable.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IActionsClient.ActionsCreateEnvironmentVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create an environment variable
+ /// Create an environment variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateEnvironmentVariableAsync( + string owner, + string repo, + string environmentName, + global::G.ActionsCreateEnvironmentVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an environment variable
+ /// Create an environment variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateEnvironmentVariableAsync( + string owner, + string repo, + string environmentName, + string name, + string value, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateEnvironmentSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateEnvironmentSecret.g.verified.cs new file mode 100644 index 0000000000..e60c943238 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateEnvironmentSecret.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IActionsClient.ActionsCreateOrUpdateEnvironmentSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create or update an environment secret
+ /// Creates or updates an environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateEnvironmentSecretAsync( + string owner, + string repo, + string environmentName, + string secretName, + global::G.ActionsCreateOrUpdateEnvironmentSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update an environment secret
+ /// Creates or updates an environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/rest/actions/secrets#get-an-environment-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateEnvironmentSecretAsync( + string owner, + string repo, + string environmentName, + string secretName, + string encryptedValue, + string keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateOrgSecret.g.verified.cs new file mode 100644 index 0000000000..050e3545a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateOrgSecret.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IActionsClient.ActionsCreateOrUpdateOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create or update an organization secret
+ /// Creates or updates an organization secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.ActionsCreateOrUpdateOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update an organization secret
+ /// Creates or updates an organization secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/actions/secrets#get-an-organization-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// + /// Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret. + /// + /// + /// 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/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.ActionsCreateOrUpdateOrgSecretRequestVisibility visibility, + string? encryptedValue = default, + string? keyId = default, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateRepoSecret.g.verified.cs new file mode 100644 index 0000000000..4bd8c73b4e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrUpdateRepoSecret.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IActionsClient.ActionsCreateOrUpdateRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create or update a repository secret
+ /// Creates or updates a repository secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + global::G.ActionsCreateOrUpdateRepoSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update a repository secret
+ /// Creates or updates a repository secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/actions/secrets#get-a-repository-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + string? encryptedValue = default, + string? keyId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrgVariable.g.verified.cs new file mode 100644 index 0000000000..df0d64b238 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateOrgVariable.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IActionsClient.ActionsCreateOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create an organization variable
+ /// Creates an organization variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrgVariableAsync( + string org, + global::G.ActionsCreateOrgVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization variable
+ /// Creates an organization variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// + /// The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable. + /// + /// + /// An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateOrgVariableAsync( + string org, + string name, + string value, + global::G.ActionsCreateOrgVariableRequestVisibility visibility, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForOrg.g.verified.cs new file mode 100644 index 0000000000..a7539f0e8e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForOrg.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsCreateRegistrationTokenForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a registration token for an organization
+ /// Returns a token that you can pass to the `config` script. The token expires after one hour.
+ /// For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to configure your self-hosted runner:
+ /// ```
+ /// ./config.sh --url https://github.com/octo-org --token TOKEN
+ /// ```
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRegistrationTokenForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForRepo.g.verified.cs new file mode 100644 index 0000000000..dd5e08d549 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRegistrationTokenForRepo.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsCreateRegistrationTokenForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a registration token for a repository
+ /// Returns a token that you can pass to the `config` script. The token expires after one hour.
+ /// For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to configure your self-hosted runner:
+ /// ```
+ /// ./config.sh --url https://github.com/octo-org --token TOKEN
+ /// ```
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRegistrationTokenForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRemoveTokenForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRemoveTokenForOrg.g.verified.cs new file mode 100644 index 0000000000..f5b33a7ab4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRemoveTokenForOrg.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsCreateRemoveTokenForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a remove token for an organization
+ /// Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.
+ /// For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to remove your self-hosted runner from an organization:
+ /// ```
+ /// ./config.sh remove --token TOKEN
+ /// ```
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRemoveTokenForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRemoveTokenForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRemoveTokenForRepo.g.verified.cs new file mode 100644 index 0000000000..1b56a34444 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRemoveTokenForRepo.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsCreateRemoveTokenForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a remove token for a repository
+ /// Returns a token that you can pass to the `config` script to remove a self-hosted runner from an repository. The token expires after one hour.
+ /// For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to remove your self-hosted runner from an organization:
+ /// ```
+ /// ./config.sh remove --token TOKEN
+ /// ```
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRemoveTokenForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRepoVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRepoVariable.g.verified.cs new file mode 100644 index 0000000000..ec0151ea7d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateRepoVariable.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IActionsClient.ActionsCreateRepoVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a repository variable
+ /// Creates a repository variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRepoVariableAsync( + string owner, + string repo, + global::G.ActionsCreateRepoVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository variable
+ /// Creates a repository variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateRepoVariableAsync( + string owner, + string repo, + string name, + string value, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateWorkflowDispatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateWorkflowDispatch.g.verified.cs new file mode 100644 index 0000000000..05929ef925 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsCreateWorkflowDispatch.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IActionsClient.ActionsCreateWorkflowDispatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create a workflow dispatch event
+ /// You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
+ /// You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)."
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateWorkflowDispatchAsync( + string owner, + string repo, + global::G.OneOf workflowId, + global::G.ActionsCreateWorkflowDispatchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a workflow dispatch event
+ /// You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
+ /// You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)."
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The git reference for the workflow. The reference can be a branch or tag name. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsCreateWorkflowDispatchAsync( + string owner, + string repo, + global::G.OneOf workflowId, + string @ref, + global::G.ActionsCreateWorkflowDispatchRequestInputs? inputs = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteActionsCacheById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteActionsCacheById.g.verified.cs new file mode 100644 index 0000000000..632ffacbc6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteActionsCacheById.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsDeleteActionsCacheById.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a GitHub Actions cache for a repository (using a cache ID)
+ /// Deletes a GitHub Actions cache for a repository, using a cache ID.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteActionsCacheByIdAsync( + string owner, + string repo, + int cacheId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteActionsCacheByKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteActionsCacheByKey.g.verified.cs new file mode 100644 index 0000000000..afe39a7ac2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteActionsCacheByKey.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsDeleteActionsCacheByKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete GitHub Actions caches for a repository (using a cache key)
+ /// Deletes one or more GitHub Actions caches for a repository, using a complete cache key. By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteActionsCacheByKeyAsync( + string owner, + string repo, + string key, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteArtifact.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteArtifact.g.verified.cs new file mode 100644 index 0000000000..d8ed6eefa9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteArtifact.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsDeleteArtifact.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete an artifact
+ /// Deletes an artifact for a workflow run.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteArtifactAsync( + string owner, + string repo, + int artifactId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteEnvironmentSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteEnvironmentSecret.g.verified.cs new file mode 100644 index 0000000000..6f4e0418a2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteEnvironmentSecret.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsDeleteEnvironmentSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete an environment secret
+ /// Deletes a secret in an environment using the secret name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteEnvironmentSecretAsync( + string owner, + string repo, + string environmentName, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteEnvironmentVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteEnvironmentVariable.g.verified.cs new file mode 100644 index 0000000000..78725ae037 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteEnvironmentVariable.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsDeleteEnvironmentVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete an environment variable
+ /// Deletes an environment variable using the variable name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteEnvironmentVariableAsync( + string owner, + string repo, + string name, + string environmentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteOrgSecret.g.verified.cs new file mode 100644 index 0000000000..d19e745569 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteOrgSecret.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsDeleteOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete an organization secret
+ /// Deletes a secret in an organization using the secret name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteOrgVariable.g.verified.cs new file mode 100644 index 0000000000..97fc86fbce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteOrgVariable.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsDeleteOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete an organization variable
+ /// Deletes an organization variable using the variable name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteOrgVariableAsync( + string org, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteRepoSecret.g.verified.cs new file mode 100644 index 0000000000..19df4a291a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteRepoSecret.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsDeleteRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a repository secret
+ /// Deletes a secret in a repository using the secret name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteRepoVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteRepoVariable.g.verified.cs new file mode 100644 index 0000000000..c74d33944e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteRepoVariable.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsDeleteRepoVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a repository variable
+ /// Deletes a repository variable using the variable name.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteRepoVariableAsync( + string owner, + string repo, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromOrg.g.verified.cs new file mode 100644 index 0000000000..d35b781bfd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsDeleteSelfHostedRunnerFromOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a self-hosted runner from an organization
+ /// Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteSelfHostedRunnerFromOrgAsync( + string org, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromRepo.g.verified.cs new file mode 100644 index 0000000000..ac7dd22631 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteSelfHostedRunnerFromRepo.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsDeleteSelfHostedRunnerFromRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a self-hosted runner from a repository
+ /// Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteSelfHostedRunnerFromRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..2bbbdc4368 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteWorkflowRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsDeleteWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete a workflow run
+ /// Deletes a specific workflow run.
+ /// Anyone with write access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteWorkflowRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteWorkflowRunLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteWorkflowRunLogs.g.verified.cs new file mode 100644 index 0000000000..4f9ef5bbda --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDeleteWorkflowRunLogs.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsDeleteWorkflowRunLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Delete workflow run logs
+ /// Deletes all logs for a workflow run.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDeleteWorkflowRunLogsAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDisableSelectedRepositoryGithubActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDisableSelectedRepositoryGithubActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..b8bfeece49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDisableSelectedRepositoryGithubActionsOrganization.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsDisableSelectedRepositoryGithubActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Disable a selected repository for GitHub Actions in an organization
+ /// Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDisableSelectedRepositoryGithubActionsOrganizationAsync( + string org, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDisableWorkflow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDisableWorkflow.g.verified.cs new file mode 100644 index 0000000000..fb10e641a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDisableWorkflow.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsDisableWorkflow.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Disable a workflow
+ /// Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDisableWorkflowAsync( + string owner, + string repo, + global::G.OneOf workflowId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadArtifact.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadArtifact.g.verified.cs new file mode 100644 index 0000000000..2a6231731c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadArtifact.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsDownloadArtifact.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Download an artifact
+ /// Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in
+ /// the response header to find the URL for the download. The `:archive_format` must be `zip`.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDownloadArtifactAsync( + string owner, + string repo, + int artifactId, + string archiveFormat, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadJobLogsForWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadJobLogsForWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..56dfd52a75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadJobLogsForWorkflowRun.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsDownloadJobLogsForWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Download job logs for a workflow run
+ /// Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look
+ /// for `Location:` in the response header to find the URL for the download.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDownloadJobLogsForWorkflowRunAsync( + string owner, + string repo, + int jobId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadWorkflowRunAttemptLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadWorkflowRunAttemptLogs.g.verified.cs new file mode 100644 index 0000000000..e0159cf35f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadWorkflowRunAttemptLogs.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IActionsClient.ActionsDownloadWorkflowRunAttemptLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Download workflow run attempt logs
+ /// Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after
+ /// 1 minute. Look for `Location:` in the response header to find the URL for the download.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDownloadWorkflowRunAttemptLogsAsync( + string owner, + string repo, + int runId, + int attemptNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadWorkflowRunLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadWorkflowRunLogs.g.verified.cs new file mode 100644 index 0000000000..ae76ca2e7a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsDownloadWorkflowRunLogs.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsDownloadWorkflowRunLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Download workflow run logs
+ /// Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for
+ /// `Location:` in the response header to find the URL for the download.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsDownloadWorkflowRunLogsAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsEnableSelectedRepositoryGithubActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsEnableSelectedRepositoryGithubActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..a59672a15c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsEnableSelectedRepositoryGithubActionsOrganization.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsEnableSelectedRepositoryGithubActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Enable a selected repository for GitHub Actions in an organization
+ /// Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsEnableSelectedRepositoryGithubActionsOrganizationAsync( + string org, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsEnableWorkflow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsEnableWorkflow.g.verified.cs new file mode 100644 index 0000000000..a218f31a0c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsEnableWorkflow.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsEnableWorkflow.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Enable a workflow
+ /// Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsEnableWorkflowAsync( + string owner, + string repo, + global::G.OneOf workflowId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsForceCancelWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsForceCancelWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..133db5192f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsForceCancelWorkflowRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsForceCancelWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Force cancel a workflow run
+ /// Cancels a workflow run and bypasses conditions that would otherwise cause a workflow execution to continue, such as an `always()` condition on a job.
+ /// You should only use this endpoint to cancel a workflow run when the workflow run is not responding to [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel`](/rest/actions/workflow-runs#cancel-a-workflow-run).
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsForceCancelWorkflowRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForOrg.g.verified.cs new file mode 100644 index 0000000000..48a829b619 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForOrg.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IActionsClient.ActionsGenerateRunnerJitconfigForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create configuration for a just-in-time runner for an organization
+ /// Generates a configuration that can be passed to the runner application at startup.
+ /// The authenticated user must have admin access to the organization.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGenerateRunnerJitconfigForOrgAsync( + string org, + global::G.ActionsGenerateRunnerJitconfigForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create configuration for a just-in-time runner for an organization
+ /// Generates a configuration that can be passed to the runner application at startup.
+ /// The authenticated user must have admin access to the organization.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The name of the new runner. + /// + /// + /// The ID of the runner group to register the runner to. + /// + /// + /// The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. + /// + /// + /// The working directory to be used for job execution, relative to the runner install directory.
+ /// Default Value: _work + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGenerateRunnerJitconfigForOrgAsync( + string org, + string name, + int runnerGroupId, + global::System.Collections.Generic.IList labels, + string? workFolder = "_work", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForRepo.g.verified.cs new file mode 100644 index 0000000000..f4260d2017 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGenerateRunnerJitconfigForRepo.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.IActionsClient.ActionsGenerateRunnerJitconfigForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Create configuration for a just-in-time runner for a repository
+ /// Generates a configuration that can be passed to the runner application at startup.
+ /// The authenticated user must have admin access to the repository.
+ /// OAuth tokens and personal access tokens (classic) need the`repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGenerateRunnerJitconfigForRepoAsync( + string owner, + string repo, + global::G.ActionsGenerateRunnerJitconfigForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create configuration for a just-in-time runner for a repository
+ /// Generates a configuration that can be passed to the runner application at startup.
+ /// The authenticated user must have admin access to the repository.
+ /// OAuth tokens and personal access tokens (classic) need the`repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The name of the new runner. + /// + /// + /// The ID of the runner group to register the runner to. + /// + /// + /// The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. + /// + /// + /// The working directory to be used for job execution, relative to the runner install directory.
+ /// Default Value: _work + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGenerateRunnerJitconfigForRepoAsync( + string owner, + string repo, + string name, + int runnerGroupId, + global::System.Collections.Generic.IList labels, + string? workFolder = "_work", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheList.g.verified.cs new file mode 100644 index 0000000000..60aedfcf11 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheList.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IActionsClient.ActionsGetActionsCacheList.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List GitHub Actions caches for a repository
+ /// Lists the GitHub Actions caches for a repository.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// + /// Default Value: last_accessed_at + /// + /// + /// Default Value: desc + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetActionsCacheListAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + string? @ref = default, + string? key = default, + global::G.ActionsGetActionsCacheListSort? sort = global::G.ActionsGetActionsCacheListSort.LastAccessedAt, + global::G.ActionsGetActionsCacheListDirection? direction = global::G.ActionsGetActionsCacheListDirection.Desc, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsage.g.verified.cs new file mode 100644 index 0000000000..8854993868 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsage.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsGetActionsCacheUsage.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get GitHub Actions cache usage for a repository
+ /// Gets GitHub Actions cache usage for a repository.
+ /// The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetActionsCacheUsageAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsageByRepoForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsageByRepoForOrg.g.verified.cs new file mode 100644 index 0000000000..2dfab2e6fd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsageByRepoForOrg.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActionsClient.ActionsGetActionsCacheUsageByRepoForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repositories with GitHub Actions cache usage for an organization
+ /// Lists repositories and their GitHub Actions cache usage for an organization.
+ /// The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.
+ /// OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetActionsCacheUsageByRepoForOrgAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsageForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsageForOrg.g.verified.cs new file mode 100644 index 0000000000..5529287c53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetActionsCacheUsageForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActionsClient.ActionsGetActionsCacheUsageForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get GitHub Actions cache usage for an organization
+ /// Gets the total GitHub Actions cache usage for an organization.
+ /// The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.
+ /// OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetActionsCacheUsageForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetAllowedActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetAllowedActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..5f10edc1eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetAllowedActionsOrganization.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IActionsClient.ActionsGetAllowedActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get allowed actions and reusable workflows for an organization
+ /// Gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetAllowedActionsOrganizationAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetAllowedActionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetAllowedActionsRepository.g.verified.cs new file mode 100644 index 0000000000..8227bb2f49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetAllowedActionsRepository.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetAllowedActionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get allowed actions and reusable workflows for a repository
+ /// Gets the settings for selected actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetAllowedActionsRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetArtifact.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetArtifact.g.verified.cs new file mode 100644 index 0000000000..321d0d424b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetArtifact.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetArtifact.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an artifact
+ /// Gets a specific artifact for a workflow run.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetArtifactAsync( + string owner, + string repo, + int artifactId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetCustomOidcSubClaimForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetCustomOidcSubClaimForRepo.g.verified.cs new file mode 100644 index 0000000000..db1969078b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetCustomOidcSubClaimForRepo.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetCustomOidcSubClaimForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get the customization template for an OIDC subject claim for a repository
+ /// Gets the customization template for an OpenID Connect (OIDC) subject claim.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetCustomOidcSubClaimForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentPublicKey.g.verified.cs new file mode 100644 index 0000000000..1272c2e762 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentPublicKey.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsGetEnvironmentPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an environment public key
+ /// Get the public key for an environment, which you need to encrypt environment
+ /// secrets. You need to encrypt a secret before you can create or update secrets.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetEnvironmentPublicKeyAsync( + string owner, + string repo, + string environmentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentSecret.g.verified.cs new file mode 100644 index 0000000000..c8e544dfb3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentSecret.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsGetEnvironmentSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an environment secret
+ /// Gets a single environment secret without revealing its encrypted value.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetEnvironmentSecretAsync( + string owner, + string repo, + string environmentName, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentVariable.g.verified.cs new file mode 100644 index 0000000000..51479ff37b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetEnvironmentVariable.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsGetEnvironmentVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an environment variable
+ /// Gets a specific variable in an environment.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetEnvironmentVariableAsync( + string owner, + string repo, + string environmentName, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs new file mode 100644 index 0000000000..96435f71e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get default workflow permissions for an organization
+ /// Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,
+ /// as well as whether GitHub Actions can submit approving pull request reviews. For more information, see
+ /// "[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetGithubActionsDefaultWorkflowPermissionsOrganizationAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs new file mode 100644 index 0000000000..5ef8c2be9e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsGetGithubActionsDefaultWorkflowPermissionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get default workflow permissions for a repository
+ /// Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository,
+ /// as well as if GitHub Actions can submit approving pull request reviews.
+ /// For more information, see "[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)."
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetGithubActionsDefaultWorkflowPermissionsRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsOrganization.g.verified.cs new file mode 100644 index 0000000000..6546c7a04f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsOrganization.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IActionsClient.ActionsGetGithubActionsPermissionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get GitHub Actions permissions for an organization
+ /// Gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.
+ /// OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetGithubActionsPermissionsOrganizationAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsRepository.g.verified.cs new file mode 100644 index 0000000000..4bfa19595d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetGithubActionsPermissionsRepository.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetGithubActionsPermissionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get GitHub Actions permissions for a repository
+ /// Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions and reusable workflows allowed to run in the repository.
+ /// OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetGithubActionsPermissionsRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetJobForWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetJobForWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..2e3a42ad42 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetJobForWorkflowRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetJobForWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a job for a workflow run
+ /// Gets a specific job in a workflow run.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetJobForWorkflowRunAsync( + string owner, + string repo, + int jobId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgPublicKey.g.verified.cs new file mode 100644 index 0000000000..4be1271dcd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgPublicKey.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IActionsClient.ActionsGetOrgPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an organization public key
+ /// Gets your public key, which you need to encrypt secrets. You need to
+ /// encrypt a secret before you can create or update secrets.
+ /// The authenticated user must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetOrgPublicKeyAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgSecret.g.verified.cs new file mode 100644 index 0000000000..e05ede64c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgSecret.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsGetOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an organization secret
+ /// Gets a single organization secret without revealing its encrypted value.
+ /// The authenticated user must have collaborator access to a repository to create, update, or read secrets
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgVariable.g.verified.cs new file mode 100644 index 0000000000..f1ecfea067 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetOrgVariable.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsGetOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get an organization variable
+ /// Gets a specific variable in an organization.
+ /// The authenticated user must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetOrgVariableAsync( + string org, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetPendingDeploymentsForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetPendingDeploymentsForRun.g.verified.cs new file mode 100644 index 0000000000..08778402c5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetPendingDeploymentsForRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetPendingDeploymentsForRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get pending deployments for a workflow run
+ /// Get all deployment environments for a workflow run that are waiting for protection rules to pass.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsGetPendingDeploymentsForRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoPublicKey.g.verified.cs new file mode 100644 index 0000000000..c001c49957 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoPublicKey.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsGetRepoPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a repository public key
+ /// Gets your public key, which you need to encrypt secrets. You need to
+ /// encrypt a secret before you can create or update secrets.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetRepoPublicKeyAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoSecret.g.verified.cs new file mode 100644 index 0000000000..b68a83113c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoSecret.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a repository secret
+ /// Gets a single repository secret without revealing its encrypted value.
+ /// The authenticated user must have collaborator access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoVariable.g.verified.cs new file mode 100644 index 0000000000..40f972c6a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetRepoVariable.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetRepoVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a repository variable
+ /// Gets a specific variable in a repository.
+ /// The authenticated user must have collaborator access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetRepoVariableAsync( + string owner, + string repo, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetReviewsForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetReviewsForRun.g.verified.cs new file mode 100644 index 0000000000..0862a2a448 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetReviewsForRun.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsGetReviewsForRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get the review history for a workflow run
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsGetReviewsForRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..1eff534595 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsGetSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a self-hosted runner for an organization
+ /// Gets a specific self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..6b468f88ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a self-hosted runner for a repository
+ /// Gets a specific self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflow.g.verified.cs new file mode 100644 index 0000000000..5d035db797 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflow.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsGetWorkflow.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a workflow
+ /// Gets a specific workflow. You can replace `workflow_id` with the workflow
+ /// file name. For example, you could use `main.yaml`.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowAsync( + string owner, + string repo, + global::G.OneOf workflowId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowAccessToRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowAccessToRepository.g.verified.cs new file mode 100644 index 0000000000..50504a0d91 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowAccessToRepository.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsGetWorkflowAccessToRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get the level of access for workflows outside of the repository
+ /// Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.
+ /// This endpoint only applies to private repositories.
+ /// For more information, see "[Allowing access to components in a private repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowAccessToRepositoryAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..141bc71704 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRun.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActionsClient.ActionsGetWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a workflow run
+ /// Gets a specific workflow run.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowRunAsync( + string owner, + string repo, + int runId, + bool excludePullRequests = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRunAttempt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRunAttempt.g.verified.cs new file mode 100644 index 0000000000..5bae0c881a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRunAttempt.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActionsClient.ActionsGetWorkflowRunAttempt.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get a workflow run attempt
+ /// Gets a specific workflow run attempt.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowRunAttemptAsync( + string owner, + string repo, + int runId, + int attemptNumber, + bool excludePullRequests = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRunUsage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRunUsage.g.verified.cs new file mode 100644 index 0000000000..ec0899a501 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowRunUsage.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsGetWorkflowRunUsage.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get workflow run usage
+ /// Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowRunUsageAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowUsage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowUsage.g.verified.cs new file mode 100644 index 0000000000..f0e77c9b65 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsGetWorkflowUsage.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsGetWorkflowUsage.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Get workflow usage
+ /// Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
+ /// You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsGetWorkflowUsageAsync( + string owner, + string repo, + global::G.OneOf workflowId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListArtifactsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListArtifactsForRepo.g.verified.cs new file mode 100644 index 0000000000..61aae36455 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListArtifactsForRepo.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IActionsClient.ActionsListArtifactsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List artifacts for a repository
+ /// Lists all artifacts for a repository.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListArtifactsForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListEnvironmentSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListEnvironmentSecrets.g.verified.cs new file mode 100644 index 0000000000..66ad835cc2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListEnvironmentSecrets.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IActionsClient.ActionsListEnvironmentSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List environment secrets
+ /// Lists all secrets available in an environment without revealing their
+ /// encrypted values.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListEnvironmentSecretsAsync( + string owner, + string repo, + string environmentName, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListEnvironmentVariables.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListEnvironmentVariables.g.verified.cs new file mode 100644 index 0000000000..91196eb559 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListEnvironmentVariables.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IActionsClient.ActionsListEnvironmentVariables.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List environment variables
+ /// Lists all environment variables.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 10 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListEnvironmentVariablesAsync( + string owner, + string repo, + string environmentName, + int perPage = 10, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListJobsForWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListJobsForWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..ddae5e911e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListJobsForWorkflowRun.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IActionsClient.ActionsListJobsForWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List jobs for a workflow run
+ /// Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information
+ /// about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: latest + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListJobsForWorkflowRunAsync( + string owner, + string repo, + int runId, + global::G.ActionsListJobsForWorkflowRunFilter? filter = global::G.ActionsListJobsForWorkflowRunFilter.Latest, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListJobsForWorkflowRunAttempt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListJobsForWorkflowRunAttempt.g.verified.cs new file mode 100644 index 0000000000..f0a9351431 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListJobsForWorkflowRunAttempt.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IActionsClient.ActionsListJobsForWorkflowRunAttempt.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List jobs for a workflow run attempt
+ /// Lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more information
+ /// about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListJobsForWorkflowRunAttemptAsync( + string owner, + string repo, + int runId, + int attemptNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..1fd4c81b94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List labels for a self-hosted runner for an organization
+ /// Lists all labels for a self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListLabelsForSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..14577edaeb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActionsClient.ActionsListLabelsForSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List labels for a self-hosted runner for a repository
+ /// Lists all labels for a self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListLabelsForSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListOrgSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListOrgSecrets.g.verified.cs new file mode 100644 index 0000000000..bb847d5c1c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListOrgSecrets.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IActionsClient.ActionsListOrgSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List organization secrets
+ /// Lists all secrets available in an organization without revealing their
+ /// encrypted values.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListOrgSecretsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListOrgVariables.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListOrgVariables.g.verified.cs new file mode 100644 index 0000000000..7b012ca9a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListOrgVariables.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActionsClient.ActionsListOrgVariables.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List organization variables
+ /// Lists all organization variables.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// Default Value: 10 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListOrgVariablesAsync( + string org, + int perPage = 10, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoOrganizationSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoOrganizationSecrets.g.verified.cs new file mode 100644 index 0000000000..476cc98aee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoOrganizationSecrets.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IActionsClient.ActionsListRepoOrganizationSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository organization secrets
+ /// Lists all organization secrets shared with a repository without revealing their encrypted
+ /// values.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoOrganizationSecretsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoOrganizationVariables.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoOrganizationVariables.g.verified.cs new file mode 100644 index 0000000000..40a7d0054b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoOrganizationVariables.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActionsClient.ActionsListRepoOrganizationVariables.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository organization variables
+ /// Lists all organization variables shared with a repository.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 10 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoOrganizationVariablesAsync( + string owner, + string repo, + int perPage = 10, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoSecrets.g.verified.cs new file mode 100644 index 0000000000..aed76f9210 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoSecrets.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IActionsClient.ActionsListRepoSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository secrets
+ /// Lists all secrets available in a repository without revealing their encrypted
+ /// values.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoSecretsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoVariables.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoVariables.g.verified.cs new file mode 100644 index 0000000000..48f7413b2a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoVariables.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActionsClient.ActionsListRepoVariables.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository variables
+ /// Lists all repository variables.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 10 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoVariablesAsync( + string owner, + string repo, + int perPage = 10, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoWorkflows.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoWorkflows.g.verified.cs new file mode 100644 index 0000000000..612d15dfe2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRepoWorkflows.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActionsClient.ActionsListRepoWorkflows.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List repository workflows
+ /// Lists the workflows in a repository.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListRepoWorkflowsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRunnerApplicationsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRunnerApplicationsForOrg.g.verified.cs new file mode 100644 index 0000000000..3cacca700b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRunnerApplicationsForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActionsClient.ActionsListRunnerApplicationsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List runner applications for an organization
+ /// Lists binaries for the runner application that you can download and run.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsListRunnerApplicationsForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRunnerApplicationsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRunnerApplicationsForRepo.g.verified.cs new file mode 100644 index 0000000000..ff567342f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListRunnerApplicationsForRepo.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IActionsClient.ActionsListRunnerApplicationsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List runner applications for a repository
+ /// Lists binaries for the runner application that you can download and run.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsListRunnerApplicationsForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..05c94e8946 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IActionsClient.ActionsListSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List selected repositories for an organization secret
+ /// Lists all repositories that have been selected when the `visibility`
+ /// for repository access to a secret is set to `selected`.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelectedReposForOrgSecretAsync( + string org, + string secretName, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedReposForOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedReposForOrgVariable.g.verified.cs new file mode 100644 index 0000000000..432d99e249 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedReposForOrgVariable.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IActionsClient.ActionsListSelectedReposForOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List selected repositories for an organization variable
+ /// Lists all repositories that can access an organization variable
+ /// that is available to selected repositories.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelectedReposForOrgVariableAsync( + string org, + string name, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..8c08c223cd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IActionsClient.ActionsListSelectedRepositoriesEnabledGithubActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List selected repositories enabled for GitHub Actions in an organization
+ /// Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelectedRepositoriesEnabledGithubActionsOrganizationAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForOrg.g.verified.cs new file mode 100644 index 0000000000..1021567c1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForOrg.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActionsClient.ActionsListSelfHostedRunnersForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List self-hosted runners for an organization
+ /// Lists all self-hosted runners configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelfHostedRunnersForOrgAsync( + string org, + string? name = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForRepo.g.verified.cs new file mode 100644 index 0000000000..a80f0994f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListSelfHostedRunnersForRepo.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IActionsClient.ActionsListSelfHostedRunnersForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List self-hosted runners for a repository
+ /// Lists all self-hosted runners configured in a repository.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListSelfHostedRunnersForRepoAsync( + string owner, + string repo, + string? name = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRunArtifacts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRunArtifacts.g.verified.cs new file mode 100644 index 0000000000..4c607d9850 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRunArtifacts.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IActionsClient.ActionsListWorkflowRunArtifacts.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List workflow run artifacts
+ /// Lists artifacts for a workflow run.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListWorkflowRunArtifactsAsync( + string owner, + string repo, + int runId, + int perPage = 30, + int page = 1, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRuns.g.verified.cs new file mode 100644 index 0000000000..6617077f20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRuns.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IActionsClient.ActionsListWorkflowRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List workflow runs for a workflow
+ /// List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).
+ /// Anyone with read access to the repository can use this endpoint
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListWorkflowRunsAsync( + string owner, + string repo, + global::G.OneOf workflowId, + string? actor = default, + string? branch = default, + string? @event = default, + global::G.ActionsListWorkflowRunsStatus? status = default, + int perPage = 30, + int page = 1, + global::System.DateTime created = default, + bool excludePullRequests = false, + int checkSuiteId = default, + string? headSha = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRunsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRunsForRepo.g.verified.cs new file mode 100644 index 0000000000..f644b43838 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsListWorkflowRunsForRepo.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IActionsClient.ActionsListWorkflowRunsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// List workflow runs for a repository
+ /// Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
+ /// This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsListWorkflowRunsForRepoAsync( + string owner, + string repo, + string? actor = default, + string? branch = default, + string? @event = default, + global::G.ActionsListWorkflowRunsForRepoStatus? status = default, + int perPage = 30, + int page = 1, + global::System.DateTime created = default, + bool excludePullRequests = false, + int checkSuiteId = default, + string? headSha = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunJobForWorkflowRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunJobForWorkflowRun.g.verified.cs new file mode 100644 index 0000000000..f5e5cd2adb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunJobForWorkflowRun.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IActionsClient.ActionsReRunJobForWorkflowRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Re-run a job from a workflow run
+ /// Re-run a job and its dependent jobs in a workflow run.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunJobForWorkflowRunAsync( + string owner, + string repo, + int jobId, + global::G.ActionsReRunJobForWorkflowRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Re-run a job from a workflow run
+ /// Re-run a job and its dependent jobs in a workflow run.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Whether to enable debug logging for the re-run.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunJobForWorkflowRunAsync( + string owner, + string repo, + int jobId, + bool enableDebugLogging = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunWorkflow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunWorkflow.g.verified.cs new file mode 100644 index 0000000000..66cbeeb9b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunWorkflow.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IActionsClient.ActionsReRunWorkflow.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Re-run a workflow
+ /// Re-runs your workflow run using its `id`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunWorkflowAsync( + string owner, + string repo, + int runId, + global::G.ActionsReRunWorkflowRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Re-run a workflow
+ /// Re-runs your workflow run using its `id`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Whether to enable debug logging for the re-run.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunWorkflowAsync( + string owner, + string repo, + int runId, + bool enableDebugLogging = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunWorkflowFailedJobs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunWorkflowFailedJobs.g.verified.cs new file mode 100644 index 0000000000..9ffe9e1179 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReRunWorkflowFailedJobs.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IActionsClient.ActionsReRunWorkflowFailedJobs.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Re-run failed jobs from a workflow run
+ /// Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunWorkflowFailedJobsAsync( + string owner, + string repo, + int runId, + global::G.ActionsReRunWorkflowFailedJobsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Re-run failed jobs from a workflow run
+ /// Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Whether to enable debug logging for the re-run.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReRunWorkflowFailedJobsAsync( + string owner, + string repo, + int runId, + bool enableDebugLogging = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..a20ab210a2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove all custom labels from a self-hosted runner for an organization
+ /// Remove all custom labels from a self-hosted runner configured in an
+ /// organization. Returns the remaining read-only labels from the runner.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..fb06d073ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove all custom labels from a self-hosted runner for a repository
+ /// Remove all custom labels from a self-hosted runner configured in a
+ /// repository. Returns the remaining read-only labels from the runner.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..dc3ad5d562 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove a custom label from a self-hosted runner for an organization
+ /// Remove a custom label from a self-hosted runner configured
+ /// in an organization. Returns the remaining labels from the runner.
+ /// This endpoint returns a `404 Not Found` status if the custom label is not
+ /// present on the runner.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveCustomLabelFromSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..4151074d76 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IActionsClient.ActionsRemoveCustomLabelFromSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove a custom label from a self-hosted runner for a repository
+ /// Remove a custom label from a self-hosted runner configured
+ /// in a repository. Returns the remaining labels from the runner.
+ /// This endpoint returns a `404 Not Found` status if the custom label is not
+ /// present on the runner.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveCustomLabelFromSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgSecret.g.verified.cs new file mode 100644 index 0000000000..b8e636d4c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgSecret.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsRemoveSelectedRepoFromOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove selected repository from an organization secret
+ /// Removes a repository from an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveSelectedRepoFromOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgVariable.g.verified.cs new file mode 100644 index 0000000000..37ea6269b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsRemoveSelectedRepoFromOrgVariable.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActionsClient.ActionsRemoveSelectedRepoFromOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Remove selected repository from an organization variable
+ /// Removes a repository from an organization variable that is
+ /// available to selected repositories. Organization variables that are available to
+ /// selected repositories have their `visibility` field set to `selected`.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsRemoveSelectedRepoFromOrgVariableAsync( + string org, + string name, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs new file mode 100644 index 0000000000..ed909fc187 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewCustomGatesForRun.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IActionsClient.ActionsReviewCustomGatesForRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Review custom deployment protection rules for a workflow run
+ /// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
+ /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
+ /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReviewCustomGatesForRunAsync( + string owner, + string repo, + int runId, + global::G.AnyOf request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Review custom deployment protection rules for a workflow run
+ /// Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
+ /// **Note:** GitHub Apps can only review their own custom deployment protection rules.
+ /// To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsReviewCustomGatesForRunAsync( + string owner, + string repo, + int runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewPendingDeploymentsForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewPendingDeploymentsForRun.g.verified.cs new file mode 100644 index 0000000000..6f0c2aa5ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsReviewPendingDeploymentsForRun.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IActionsClient.ActionsReviewPendingDeploymentsForRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Review pending deployments for a workflow run
+ /// Approve or reject pending deployments that are waiting on approval by a required reviewer.
+ /// Required reviewers with read access to the repository contents and deployments can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsReviewPendingDeploymentsForRunAsync( + string owner, + string repo, + int runId, + global::G.ActionsReviewPendingDeploymentsForRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Review pending deployments for a workflow run
+ /// Approve or reject pending deployments that are waiting on approval by a required reviewer.
+ /// Required reviewers with read access to the repository contents and deployments can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The list of environment ids to approve or reject
+ /// Example: [161171787, 161171795] + /// + /// + /// Whether to approve or reject deployment to the specified environments.
+ /// Example: approved + /// + /// + /// A comment to accompany the deployment review
+ /// Example: Ship it! + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActionsReviewPendingDeploymentsForRunAsync( + string owner, + string repo, + int runId, + global::System.Collections.Generic.IList environmentIds, + global::G.ActionsReviewPendingDeploymentsForRunRequestState state, + string comment, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..4d64a3ccca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsOrganization.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IActionsClient.ActionsSetAllowedActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set allowed actions and reusable workflows for an organization
+ /// Sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetAllowedActionsOrganizationAsync( + string org, + global::G.SelectedActions request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set allowed actions and reusable workflows for an organization
+ /// Sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization. + /// + /// + /// Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators. + /// + /// + /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
+ /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetAllowedActionsOrganizationAsync( + string org, + bool githubOwnedAllowed = default, + bool verifiedAllowed = default, + global::System.Collections.Generic.IList? patternsAllowed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs new file mode 100644 index 0000000000..bcf89ae06f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetAllowedActionsRepository.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IActionsClient.ActionsSetAllowedActionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set allowed actions and reusable workflows for a repository
+ /// Sets the actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetAllowedActionsRepositoryAsync( + string owner, + string repo, + global::G.SelectedActions request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set allowed actions and reusable workflows for a repository
+ /// Sets the actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization. + /// + /// + /// Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators. + /// + /// + /// Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.
+ /// **Note**: The `patterns_allowed` setting only applies to public repositories. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetAllowedActionsRepositoryAsync( + string owner, + string repo, + bool githubOwnedAllowed = default, + bool verifiedAllowed = default, + global::System.Collections.Generic.IList? patternsAllowed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForOrg.g.verified.cs new file mode 100644 index 0000000000..e363f52128 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForOrg.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set custom labels for a self-hosted runner for an organization
+ /// Remove all previous custom labels and set the new custom labels for a specific
+ /// self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomLabelsForSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::G.ActionsSetCustomLabelsForSelfHostedRunnerForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set custom labels for a self-hosted runner for an organization
+ /// Remove all previous custom labels and set the new custom labels for a specific
+ /// self-hosted runner configured in an organization.
+ /// Authenticated users must have admin access to the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomLabelsForSelfHostedRunnerForOrgAsync( + string org, + int runnerId, + global::System.Collections.Generic.IList labels, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForRepo.g.verified.cs new file mode 100644 index 0000000000..404f4e3a0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForRepo.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IActionsClient.ActionsSetCustomLabelsForSelfHostedRunnerForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set custom labels for a self-hosted runner for a repository
+ /// Remove all previous custom labels and set the new custom labels for a specific
+ /// self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomLabelsForSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::G.ActionsSetCustomLabelsForSelfHostedRunnerForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set custom labels for a self-hosted runner for a repository
+ /// Remove all previous custom labels and set the new custom labels for a specific
+ /// self-hosted runner configured in a repository.
+ /// Authenticated users must have admin access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomLabelsForSelfHostedRunnerForRepoAsync( + string owner, + string repo, + int runnerId, + global::System.Collections.Generic.IList labels, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.verified.cs new file mode 100644 index 0000000000..6a98d3dc71 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IActionsClient.ActionsSetCustomOidcSubClaimForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set the customization template for an OIDC subject claim for a repository
+ /// Sets the customization template and `opt-in` or `opt-out` flag for an OpenID Connect (OIDC) subject claim for a repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomOidcSubClaimForRepoAsync( + string owner, + string repo, + global::G.ActionsSetCustomOidcSubClaimForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set the customization template for an OIDC subject claim for a repository
+ /// Sets the customization template and `opt-in` or `opt-out` flag for an OpenID Connect (OIDC) subject claim for a repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored. + /// + /// + /// Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetCustomOidcSubClaimForRepoAsync( + string owner, + string repo, + bool useDefault, + global::System.Collections.Generic.IList? includeClaimKeys = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs new file mode 100644 index 0000000000..d5b6993fbd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set default workflow permissions for an organization
+ /// Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions
+ /// can submit approving pull request reviews. For more information, see
+ /// "[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsDefaultWorkflowPermissionsOrganizationAsync( + string org, + global::G.ActionsSetDefaultWorkflowPermissions request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set default workflow permissions for an organization
+ /// Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions
+ /// can submit approving pull request reviews. For more information, see
+ /// "[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The default workflow permissions granted to the GITHUB_TOKEN when running workflows. + /// + /// + /// Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsDefaultWorkflowPermissionsOrganizationAsync( + string org, + global::G.ActionsDefaultWorkflowPermissions? defaultWorkflowPermissions = default, + bool canApprovePullRequestReviews = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs new file mode 100644 index 0000000000..bbbf02c846 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsRepository.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IActionsClient.ActionsSetGithubActionsDefaultWorkflowPermissionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set default workflow permissions for a repository
+ /// Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actions
+ /// can submit approving pull request reviews.
+ /// For more information, see "[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsDefaultWorkflowPermissionsRepositoryAsync( + string owner, + string repo, + global::G.ActionsSetDefaultWorkflowPermissions request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set default workflow permissions for a repository
+ /// Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actions
+ /// can submit approving pull request reviews.
+ /// For more information, see "[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The default workflow permissions granted to the GITHUB_TOKEN when running workflows. + /// + /// + /// Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsDefaultWorkflowPermissionsRepositoryAsync( + string owner, + string repo, + global::G.ActionsDefaultWorkflowPermissions? defaultWorkflowPermissions = default, + bool canApprovePullRequestReviews = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsOrganization.g.verified.cs new file mode 100644 index 0000000000..dcd4f4db5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsOrganization.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IActionsClient.ActionsSetGithubActionsPermissionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set GitHub Actions permissions for an organization
+ /// Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsPermissionsOrganizationAsync( + string org, + global::G.ActionsSetGithubActionsPermissionsOrganizationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set GitHub Actions permissions for an organization
+ /// Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The policy that controls the repositories in the organization that are allowed to run GitHub Actions. + /// + /// + /// The permissions policy that controls the actions and reusable workflows that are allowed to run. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsPermissionsOrganizationAsync( + string org, + global::G.EnabledRepositories enabledRepositories, + global::G.AllowedActions? allowedActions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsRepository.g.verified.cs new file mode 100644 index 0000000000..747b2b5c6e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetGithubActionsPermissionsRepository.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IActionsClient.ActionsSetGithubActionsPermissionsRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set GitHub Actions permissions for a repository
+ /// Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions and reusable workflows in the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsPermissionsRepositoryAsync( + string owner, + string repo, + global::G.ActionsSetGithubActionsPermissionsRepositoryRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set GitHub Actions permissions for a repository
+ /// Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions and reusable workflows in the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Whether GitHub Actions is enabled on the repository. + /// + /// + /// The permissions policy that controls the actions and reusable workflows that are allowed to run. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetGithubActionsPermissionsRepositoryAsync( + string owner, + string repo, + bool enabled, + global::G.AllowedActions? allowedActions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..90cdae717a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IActionsClient.ActionsSetSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::G.ActionsSetSelectedReposForOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).
+ /// Authenticated users must have collaborator access to a repository to create, update, or read secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// 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 add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgVariable.g.verified.cs new file mode 100644 index 0000000000..fab36084c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedReposForOrgVariable.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IActionsClient.ActionsSetSelectedReposForOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set selected repositories for an organization variable
+ /// Replaces all repositories for an organization variable that is available
+ /// to selected repositories. Organization variables that are available to selected
+ /// repositories have their `visibility` field set to `selected`.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedReposForOrgVariableAsync( + string org, + string name, + global::G.ActionsSetSelectedReposForOrgVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories for an organization variable
+ /// Replaces all repositories for an organization variable that is available
+ /// to selected repositories. Organization variables that are available to selected
+ /// repositories have their `visibility` field set to `selected`.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The IDs of the repositories that can access the organization variable. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedReposForOrgVariableAsync( + string org, + string name, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs new file mode 100644 index 0000000000..fed3c4deee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganization.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IActionsClient.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set selected repositories enabled for GitHub Actions in an organization
+ /// Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationAsync( + string org, + global::G.ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories enabled for GitHub Actions in an organization
+ /// Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// List of repository IDs to enable for GitHub Actions. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetSelectedRepositoriesEnabledGithubActionsOrganizationAsync( + string org, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetWorkflowAccessToRepository.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetWorkflowAccessToRepository.g.verified.cs new file mode 100644 index 0000000000..93b0fc9416 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsSetWorkflowAccessToRepository.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IActionsClient.ActionsSetWorkflowAccessToRepository.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Set the level of access for workflows outside of the repository
+ /// Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.
+ /// This endpoint only applies to private repositories.
+ /// For more information, see "[Allowing access to components in a private repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)".
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetWorkflowAccessToRepositoryAsync( + string owner, + string repo, + global::G.ActionsWorkflowAccessToRepository request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set the level of access for workflows outside of the repository
+ /// Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.
+ /// This endpoint only applies to private repositories.
+ /// For more information, see "[Allowing access to components in a private repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)".
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the
+ /// repository.
+ /// `none` means the access is only possible from workflows in this repository. `user` level access allows sharing across user owned private repositories only. `organization` level access allows sharing across the organization. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsSetWorkflowAccessToRepositoryAsync( + string owner, + string repo, + global::G.ActionsWorkflowAccessToRepositoryAccessLevel accessLevel, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateEnvironmentVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateEnvironmentVariable.g.verified.cs new file mode 100644 index 0000000000..2be5809655 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateEnvironmentVariable.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IActionsClient.ActionsUpdateEnvironmentVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Update an environment variable
+ /// Updates an environment variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateEnvironmentVariableAsync( + string owner, + string repo, + string name, + string environmentName, + global::G.ActionsUpdateEnvironmentVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an environment variable
+ /// Updates an environment variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateEnvironmentVariableAsync( + string owner, + string repo, + string name, + string environmentName, + string? requestName = default, + string? value = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateOrgVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateOrgVariable.g.verified.cs new file mode 100644 index 0000000000..7a9dceb079 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateOrgVariable.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IActionsClient.ActionsUpdateOrgVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Update an organization variable
+ /// Updates an organization variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateOrgVariableAsync( + string org, + string name, + global::G.ActionsUpdateOrgVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an organization variable
+ /// Updates an organization variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + ///
+ /// + /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// + /// The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable. + /// + /// + /// An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateOrgVariableAsync( + string org, + string name, + string? requestName = default, + string? value = default, + global::G.ActionsUpdateOrgVariableRequestVisibility? visibility = default, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateRepoVariable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateRepoVariable.g.verified.cs new file mode 100644 index 0000000000..9e846e086e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.ActionsUpdateRepoVariable.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IActionsClient.ActionsUpdateRepoVariable.g.cs +#nullable enable + +namespace G +{ + public partial interface IActionsClient + { + /// + /// Update a repository variable
+ /// Updates a repository variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateRepoVariableAsync( + string owner, + string repo, + string name, + global::G.ActionsUpdateRepoVariableRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository variable
+ /// Updates a repository variable that you can reference in a GitHub Actions workflow.
+ /// Authenticated users must have collaborator access to a repository to create, update, or read variables.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The name of the variable. + /// + /// + /// The value of the variable. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActionsUpdateRepoVariableAsync( + string owner, + string repo, + string name, + string? requestName = default, + string? value = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.g.verified.cs new file mode 100644 index 0000000000..d36fc2612b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActionsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage GitHub Actions using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IActionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityCheckRepoIsStarredByAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityCheckRepoIsStarredByAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..96eaf13014 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityCheckRepoIsStarredByAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActivityClient.ActivityCheckRepoIsStarredByAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Check if a repository is starred by the authenticated user
+ /// Whether the authenticated user has starred the repository. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityCheckRepoIsStarredByAuthenticatedUserAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityDeleteRepoSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityDeleteRepoSubscription.g.verified.cs new file mode 100644 index 0000000000..a8a23b159b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityDeleteRepoSubscription.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActivityClient.ActivityDeleteRepoSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Delete a repository subscription
+ /// This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/rest/activity/watching#set-a-repository-subscription). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityDeleteRepoSubscriptionAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityDeleteThreadSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityDeleteThreadSubscription.g.verified.cs new file mode 100644 index 0000000000..0fc0de1f06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityDeleteThreadSubscription.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IActivityClient.ActivityDeleteThreadSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Delete a thread subscription
+ /// Mutes all future notifications for a conversation until you comment on the thread or get an **@mention**. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the [Set a thread subscription](https://docs.github.com/rest/activity/notifications#set-a-thread-subscription) endpoint and set `ignore` to `true`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityDeleteThreadSubscriptionAsync( + int threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs new file mode 100644 index 0000000000..7f0a29758b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetFeeds.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActivityClient.ActivityGetFeeds.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Get feeds
+ /// Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs.
+ /// * **Timeline**: The GitHub global public timeline
+ /// * **User**: The public timeline for any user, using `uri_template`. For more information, see "[Hypermedia](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."
+ /// * **Current user public**: The public timeline for the authenticated user
+ /// * **Current user**: The private timeline for the authenticated user
+ /// * **Current user actor**: The private timeline for activity created by the authenticated user
+ /// * **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.
+ /// * **Security advisories**: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub.
+ /// By default, timeline resources are returned in JSON. You can specify the `application/atom+xml` type in the `Accept` header to return timeline resources in Atom format. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// **Note**: Private feeds are only returned when [authenticating via Basic Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs use the older, non revocable auth tokens. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityGetFeedsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetRepoSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetRepoSubscription.g.verified.cs new file mode 100644 index 0000000000..cf785a2f88 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetRepoSubscription.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActivityClient.ActivityGetRepoSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Get a repository subscription
+ /// Gets information about whether the authenticated user is subscribed to the repository. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityGetRepoSubscriptionAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetThread.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetThread.g.verified.cs new file mode 100644 index 0000000000..15e52f2d31 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetThread.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IActivityClient.ActivityGetThread.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Get a thread
+ /// Gets information about a notification thread. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityGetThreadAsync( + int threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetThreadSubscriptionForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetThreadSubscriptionForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..c575dbb889 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityGetThreadSubscriptionForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IActivityClient.ActivityGetThreadSubscriptionForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Get a thread subscription for the authenticated user
+ /// This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://docs.github.com/rest/activity/watching#get-a-repository-subscription).
+ /// Note that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityGetThreadSubscriptionForAuthenticatedUserAsync( + int threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..e053d1f939 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActivityClient.ActivityListEventsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List events for the authenticated user
+ /// If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListEventsForAuthenticatedUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListNotificationsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListNotificationsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..df567961c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListNotificationsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IActivityClient.ActivityListNotificationsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List notifications for the authenticated user
+ /// List all notifications for the current user, sorted by most recently updated. + ///
+ /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 50 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListNotificationsForAuthenticatedUserAsync( + bool all = false, + bool participating = false, + global::System.DateTime since = default, + global::System.DateTime before = default, + int page = 1, + int perPage = 50, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..8cce1148dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActivityClient.ActivityListOrgEventsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List organization events for the authenticated user
+ /// This is the user's organization dashboard. You must be authenticated as the user to view this. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListOrgEventsForAuthenticatedUserAsync( + string username, + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs new file mode 100644 index 0000000000..0f38a5fb23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEvents.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActivityClient.ActivityListPublicEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List public events
+ /// We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListPublicEventsAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs new file mode 100644 index 0000000000..bfe15cf2ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IActivityClient.ActivityListPublicEventsForRepoNetwork.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List public events for a network of repositories + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListPublicEventsForRepoNetworkAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs new file mode 100644 index 0000000000..24979b1c1e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicEventsForUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActivityClient.ActivityListPublicEventsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List public events for a user + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListPublicEventsForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs new file mode 100644 index 0000000000..9b4f7956ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListPublicOrgEvents.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActivityClient.ActivityListPublicOrgEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List public organization events + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListPublicOrgEventsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs new file mode 100644 index 0000000000..ecc26a3425 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedEventsForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActivityClient.ActivityListReceivedEventsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List events received by the authenticated user
+ /// These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListReceivedEventsForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs new file mode 100644 index 0000000000..499d713ced --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActivityClient.ActivityListReceivedPublicEventsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List public events received by a user + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListReceivedPublicEventsForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs new file mode 100644 index 0000000000..8eb172968f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoEvents.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActivityClient.ActivityListRepoEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repository events
+ /// **Note**: This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListRepoEventsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoNotificationsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoNotificationsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..7fda225078 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListRepoNotificationsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IActivityClient.ActivityListRepoNotificationsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repository notifications for the authenticated user
+ /// Lists all notifications for the current user in the specified repository. + ///
+ /// + /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListRepoNotificationsForAuthenticatedUserAsync( + string owner, + string repo, + bool all = false, + bool participating = false, + global::System.DateTime since = default, + global::System.DateTime before = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposStarredByAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposStarredByAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ae7177be3d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposStarredByAuthenticatedUser.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IActivityClient.ActivityListReposStarredByAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repositories starred by the authenticated user
+ /// Lists repositories the authenticated user has starred.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created. + ///
+ /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListReposStarredByAuthenticatedUserAsync( + global::G.ActivityListReposStarredByAuthenticatedUserSort? sort = global::G.ActivityListReposStarredByAuthenticatedUserSort.Created, + global::G.ActivityListReposStarredByAuthenticatedUserDirection? direction = global::G.ActivityListReposStarredByAuthenticatedUserDirection.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposStarredByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposStarredByUser.g.verified.cs new file mode 100644 index 0000000000..f9f1e9b6ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposStarredByUser.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IActivityClient.ActivityListReposStarredByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repositories starred by a user
+ /// Lists repositories a user has starred.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created. + ///
+ /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ActivityListReposStarredByUserAsync( + string username, + global::G.ActivityListReposStarredByUserSort? sort = global::G.ActivityListReposStarredByUserSort.Created, + global::G.ActivityListReposStarredByUserDirection? direction = global::G.ActivityListReposStarredByUserDirection.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposWatchedByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposWatchedByUser.g.verified.cs new file mode 100644 index 0000000000..ab65b7a6da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListReposWatchedByUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IActivityClient.ActivityListReposWatchedByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repositories watched by a user
+ /// Lists repositories a user is watching. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListReposWatchedByUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListStargazersForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListStargazersForRepo.g.verified.cs new file mode 100644 index 0000000000..9418f4c9bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListStargazersForRepo.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IActivityClient.ActivityListStargazersForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List stargazers
+ /// Lists the people that have starred the repository.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ActivityListStargazersForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListWatchedReposForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListWatchedReposForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..822923af1b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListWatchedReposForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IActivityClient.ActivityListWatchedReposForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List repositories watched by the authenticated user
+ /// Lists repositories the authenticated user is watching. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListWatchedReposForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListWatchersForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListWatchersForRepo.g.verified.cs new file mode 100644 index 0000000000..8d6aa14b88 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityListWatchersForRepo.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IActivityClient.ActivityListWatchersForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// List watchers
+ /// Lists the people watching the specified repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ActivityListWatchersForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkNotificationsAsRead.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkNotificationsAsRead.g.verified.cs new file mode 100644 index 0000000000..2587daba6e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkNotificationsAsRead.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IActivityClient.ActivityMarkNotificationsAsRead.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Mark notifications as read
+ /// Marks all notifications as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkNotificationsAsReadAsync( + global::G.ActivityMarkNotificationsAsReadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Mark notifications as read
+ /// Marks all notifications as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. + ///
+ /// + /// Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. + /// + /// + /// Whether the notification has been read. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkNotificationsAsReadAsync( + global::System.DateTime lastReadAt = default, + bool read = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkRepoNotificationsAsRead.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkRepoNotificationsAsRead.g.verified.cs new file mode 100644 index 0000000000..155127f690 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkRepoNotificationsAsRead.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IActivityClient.ActivityMarkRepoNotificationsAsRead.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Mark repository notifications as read
+ /// Marks all notifications in a repository as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkRepoNotificationsAsReadAsync( + string owner, + string repo, + global::G.ActivityMarkRepoNotificationsAsReadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Mark repository notifications as read
+ /// Marks all notifications in a repository as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. + ///
+ /// + /// + /// + /// Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkRepoNotificationsAsReadAsync( + string owner, + string repo, + global::System.DateTime lastReadAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkThreadAsDone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkThreadAsDone.g.verified.cs new file mode 100644 index 0000000000..f555d327d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkThreadAsDone.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IActivityClient.ActivityMarkThreadAsDone.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Mark a thread as done
+ /// Marks a thread as "done." Marking a thread as "done" is equivalent to marking a notification in your notification inbox on GitHub as done: https://github.com/notifications. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkThreadAsDoneAsync( + int threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkThreadAsRead.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkThreadAsRead.g.verified.cs new file mode 100644 index 0000000000..8b8e747344 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityMarkThreadAsRead.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IActivityClient.ActivityMarkThreadAsRead.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Mark a thread as read
+ /// Marks a thread as "read." Marking a thread as "read" is equivalent to clicking a notification in your notification inbox on GitHub: https://github.com/notifications. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityMarkThreadAsReadAsync( + int threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivitySetRepoSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivitySetRepoSubscription.g.verified.cs new file mode 100644 index 0000000000..969013e83c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivitySetRepoSubscription.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IActivityClient.ActivitySetRepoSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Set a repository subscription
+ /// If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/activity/watching#delete-a-repository-subscription) completely. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivitySetRepoSubscriptionAsync( + string owner, + string repo, + global::G.ActivitySetRepoSubscriptionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set a repository subscription
+ /// If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/rest/activity/watching#delete-a-repository-subscription) completely. + ///
+ /// + /// + /// + /// Determines if notifications should be received from this repository. + /// + /// + /// Determines if all notifications should be blocked from this repository. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivitySetRepoSubscriptionAsync( + string owner, + string repo, + bool subscribed = default, + bool ignored = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivitySetThreadSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivitySetThreadSubscription.g.verified.cs new file mode 100644 index 0000000000..813ce91d83 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivitySetThreadSubscription.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IActivityClient.ActivitySetThreadSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Set a thread subscription
+ /// If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.
+ /// You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.
+ /// Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription) endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivitySetThreadSubscriptionAsync( + int threadId, + global::G.ActivitySetThreadSubscriptionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set a thread subscription
+ /// If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an **@mention**.
+ /// You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.
+ /// Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the [Delete a thread subscription](https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription) endpoint. + ///
+ /// + /// + /// Whether to block all notifications from a thread.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivitySetThreadSubscriptionAsync( + int threadId, + bool ignored = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityStarRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityStarRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..376a7722ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityStarRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActivityClient.ActivityStarRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Star a repository for the authenticated user
+ /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityStarRepoForAuthenticatedUserAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityUnstarRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityUnstarRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..4c5059d491 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.ActivityUnstarRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IActivityClient.ActivityUnstarRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IActivityClient + { + /// + /// Unstar a repository for the authenticated user
+ /// Unstar a repository that the authenticated user has previously starred. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ActivityUnstarRepoForAuthenticatedUserAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.g.verified.cs new file mode 100644 index 0000000000..69e730febd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IActivityClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IActivityClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Activity APIs provide access to notifications, subscriptions, and timelines.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IActivityClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..98a8bcf021 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,216 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// GitHub's v3 REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// Endpoints to manage GitHub Actions using the REST API. + /// + public ActionsClient Actions { get; } + + /// + /// Activity APIs provide access to notifications, subscriptions, and timelines. + /// + public ActivityClient Activity { get; } + + /// + /// Information for integrations and installations. + /// + public AppsClient Apps { get; } + + /// + /// Monitor charges and usage from Actions and Packages. + /// + public BillingClient Billing { get; } + + /// + /// Rich interactions with checks run by your integrations. + /// + public ChecksClient Checks { get; } + + /// + /// Retrieve code scanning alerts from a repository. + /// + public CodeScanningClient CodeScanning { get; } + + /// + /// Insight into codes of conduct for your communities. + /// + public CodesOfConductClient CodesOfConduct { get; } + + /// + /// List emojis available to use on GitHub. + /// + public EmojisClient Emojis { get; } + + /// + /// Endpoints to manage Dependabot. + /// + public DependabotClient Dependabot { get; } + + /// + /// Endpoints to access Dependency Graph features. + /// + public DependencyGraphClient DependencyGraph { get; } + + /// + /// View, modify your gists. + /// + public GistsClient Gists { get; } + + /// + /// Raw Git functionality. + /// + public GitClient Git { get; } + + /// + /// View gitignore templates + /// + public GitignoreClient Gitignore { get; } + + /// + /// Interact with GitHub Issues. + /// + public IssuesClient Issues { get; } + + /// + /// View various OSS licenses. + /// + public LicensesClient Licenses { get; } + + /// + /// Render GitHub flavored markdown + /// + public MarkdownClient Markdown { get; } + + /// + /// Interact with GitHub Merge Queues. + /// + public MergeQueueClient MergeQueue { get; } + + /// + /// Endpoints that give information about the API. + /// + public MetaClient Meta { get; } + + /// + /// Move projects to or from GitHub. + /// + public MigrationsClient Migrations { get; } + + /// + /// Endpoints to manage GitHub OIDC configuration using the REST API. + /// + public OidcClient Oidc { get; } + + /// + /// Interact with GitHub Orgs. + /// + public OrgsClient Orgs { get; } + + /// + /// Manage packages for authenticated users and organizations. + /// + public PackagesClient Packages { get; } + + /// + /// Interact with GitHub Projects. + /// + public ProjectsClient Projects { get; } + + /// + /// Interact with GitHub Pull Requests. + /// + public PullsClient Pulls { get; } + + /// + /// Check your current rate limit status + /// + public RateLimitClient RateLimit { get; } + + /// + /// Interact with reactions to various GitHub entities. + /// + public ReactionsClient Reactions { get; } + + /// + /// Interact with GitHub Repos. + /// + public ReposClient Repos { get; } + + /// + /// Look for stuff on GitHub. + /// + public SearchClient Search { get; } + + /// + /// Retrieve secret scanning alerts from a repository. + /// + public SecretScanningClient SecretScanning { get; } + + /// + /// Interact with GitHub Teams. + /// + public TeamsClient Teams { get; } + + /// + /// Interact with and view information about users and also current user. + /// + public UsersClient Users { get; } + + /// + /// Endpoints to manage Codespaces using the REST API. + /// + public CodespacesClient Codespaces { get; } + + /// + /// Endpoints to manage Copilot using the REST API. + /// + public CopilotClient Copilot { get; } + + /// + /// Manage security advisories. + /// + public SecurityAdvisoriesClient SecurityAdvisories { get; } + + /// + /// Owner or admin management of users interactions. + /// + public InteractionsClient Interactions { get; } + + /// + /// Interact with GitHub Classroom. + /// + public ClassroomClient Classroom { get; } + + /// + /// Desktop specific endpoints. + /// + public DesktopClient Desktop { get; } + + /// + /// Endpoints to manage GitHub Enterprise Teams. + /// + public EnterpriseTeamsClient EnterpriseTeams { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..b9e9641f0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IAppsClient.AppsAddRepoToInstallationForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Add a repository to an app installation
+ /// Add a single repository to an installation. The authenticated user must have admin access to the repository. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsAddRepoToInstallationForAuthenticatedUserAsync( + int installationId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs new file mode 100644 index 0000000000..d4d671df0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCheckToken.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IAppsClient.AppsCheckToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Check a token
+ /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsCheckTokenAsync( + string clientId, + global::G.AppsCheckTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Check a token
+ /// OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`. + ///
+ /// + /// + /// The access_token of the OAuth or GitHub application. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsCheckTokenAsync( + string clientId, + string accessToken, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCreateFromManifest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCreateFromManifest.g.verified.cs new file mode 100644 index 0000000000..ec3467eb6f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCreateFromManifest.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IAppsClient.AppsCreateFromManifest.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Create a GitHub App from a manifest
+ /// Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsCreateFromManifestAsync( + string code, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCreateInstallationAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCreateInstallationAccessToken.g.verified.cs new file mode 100644 index 0000000000..556beeef63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsCreateInstallationAccessToken.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IAppsClient.AppsCreateInstallationAccessToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Create an installation access token for an app
+ /// Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.
+ /// Optionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.
+ /// Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.
+ /// When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsCreateInstallationAccessTokenAsync( + int installationId, + global::G.AppsCreateInstallationAccessTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an installation access token for an app
+ /// Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.
+ /// Optionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.
+ /// Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.
+ /// When using the repository or permission parameters to reduce the access of the token, the complexity of the token is increased due to both the number of permissions in the request and the number of repositories the token will have access to. If the complexity is too large, the token will fail to be issued. If this occurs, the error message will indicate the maximum number of repositories that should be requested. For the average application requesting 8 permissions, this limit is around 5000 repositories. With fewer permissions requested, more repositories are supported.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// + /// List of repository names that the token should have access to + /// + /// + /// List of repository IDs that the token should have access to
+ /// Example: [1] + /// + /// + /// The permissions granted to the user access token. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsCreateInstallationAccessTokenAsync( + int installationId, + global::System.Collections.Generic.IList? repositories = default, + global::System.Collections.Generic.IList? repositoryIds = default, + global::G.AppPermissions? permissions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs new file mode 100644 index 0000000000..ce116757b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteAuthorization.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAppsClient.AppsDeleteAuthorization.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Delete an app authorization
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsDeleteAuthorizationAsync( + string clientId, + global::G.AppsDeleteAuthorizationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete an app authorization
+ /// OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.
+ /// Deleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). + ///
+ /// + /// + /// The OAuth access token used to authenticate to the GitHub API. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsDeleteAuthorizationAsync( + string clientId, + string accessToken, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteInstallation.g.verified.cs new file mode 100644 index 0000000000..0d62b3a5d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsDeleteInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Delete an installation for the authenticated app
+ /// Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsDeleteInstallationAsync( + int installationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs new file mode 100644 index 0000000000..05c7048ded --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsDeleteToken.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IAppsClient.AppsDeleteToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Delete an app token
+ /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsDeleteTokenAsync( + string clientId, + global::G.AppsDeleteTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete an app token
+ /// OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + ///
+ /// + /// + /// The OAuth access token used to authenticate to the GitHub API. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsDeleteTokenAsync( + string clientId, + string accessToken, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetAuthenticated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetAuthenticated.g.verified.cs new file mode 100644 index 0000000000..06f769fd70 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetAuthenticated.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAppsClient.AppsGetAuthenticated.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get the authenticated app
+ /// Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the "[List installations for the authenticated app](https://docs.github.com/rest/apps/apps#list-installations-for-the-authenticated-app)" endpoint.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetAuthenticatedAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs new file mode 100644 index 0000000000..57d56ac9af --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetBySlug.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IAppsClient.AppsGetBySlug.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get an app
+ /// **Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetBySlugAsync( + string appSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetInstallation.g.verified.cs new file mode 100644 index 0000000000..4dc5b756b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get an installation for the authenticated app
+ /// Enables an authenticated GitHub App to find an installation's information using the installation id.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetInstallationAsync( + int installationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetOrgInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetOrgInstallation.g.verified.cs new file mode 100644 index 0000000000..f8bd8a4b0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetOrgInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetOrgInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get an organization installation for the authenticated app
+ /// Enables an authenticated GitHub App to find the organization's installation information.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetOrgInstallationAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetRepoInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetRepoInstallation.g.verified.cs new file mode 100644 index 0000000000..255dc0e4a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetRepoInstallation.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAppsClient.AppsGetRepoInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a repository installation for the authenticated app
+ /// Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetRepoInstallationAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs new file mode 100644 index 0000000000..989742138a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetSubscriptionPlanForAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a subscription plan for an account
+ /// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetSubscriptionPlanForAccountAsync( + int accountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs new file mode 100644 index 0000000000..84822cb219 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetSubscriptionPlanForAccountStubbed.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a subscription plan for an account (stubbed)
+ /// Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetSubscriptionPlanForAccountStubbedAsync( + int accountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetUserInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetUserInstallation.g.verified.cs new file mode 100644 index 0000000000..2fd86e4afd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetUserInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetUserInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a user installation for the authenticated app
+ /// Enables an authenticated GitHub App to find the user’s installation information.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetUserInstallationAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetWebhookConfigForApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetWebhookConfigForApp.g.verified.cs new file mode 100644 index 0000000000..e28524618d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetWebhookConfigForApp.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAppsClient.AppsGetWebhookConfigForApp.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a webhook configuration for an app
+ /// Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetWebhookConfigForAppAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..fd1f790122 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsGetWebhookDelivery.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsGetWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Get a delivery for an app webhook
+ /// Returns a delivery for the webhook configured for a GitHub App.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsGetWebhookDeliveryAsync( + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs new file mode 100644 index 0000000000..fd8870e748 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlan.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IAppsClient.AppsListAccountsForPlan.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List accounts for a plan
+ /// Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// + /// Default Value: created + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListAccountsForPlanAsync( + int planId, + global::G.AppsListAccountsForPlanSort? sort = global::G.AppsListAccountsForPlanSort.Created, + global::G.AppsListAccountsForPlanDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs new file mode 100644 index 0000000000..f377d686c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListAccountsForPlanStubbed.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IAppsClient.AppsListAccountsForPlanStubbed.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List accounts for a plan (stubbed)
+ /// Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// + /// Default Value: created + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListAccountsForPlanStubbedAsync( + int planId, + global::G.AppsListAccountsForPlanStubbedSort? sort = global::G.AppsListAccountsForPlanStubbedSort.Created, + global::G.AppsListAccountsForPlanStubbedDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationReposForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationReposForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..83f4803606 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationReposForAuthenticatedUser.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IAppsClient.AppsListInstallationReposForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List repositories accessible to the user access token
+ /// List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.
+ /// The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
+ /// The access the user has to each repository is included in the hash under the `permissions` key. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsListInstallationReposForAuthenticatedUserAsync( + int installationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationRequestsForAuthenticatedApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationRequestsForAuthenticatedApp.g.verified.cs new file mode 100644 index 0000000000..7fcf8e5bba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationRequestsForAuthenticatedApp.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAppsClient.AppsListInstallationRequestsForAuthenticatedApp.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List installation requests for the authenticated app
+ /// Lists all the pending installation requests for the authenticated GitHub App. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListInstallationRequestsForAuthenticatedAppAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallations.g.verified.cs new file mode 100644 index 0000000000..05460fef58 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallations.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAppsClient.AppsListInstallations.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List installations for the authenticated app
+ /// The permissions the installation has are included under the `permissions` key.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListInstallationsAsync( + int perPage = 30, + int page = 1, + global::System.DateTime since = default, + string? outdated = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..abf39cda3e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListInstallationsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IAppsClient.AppsListInstallationsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List app installations accessible to the user access token
+ /// Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.
+ /// The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.
+ /// You can find the permissions for the installation under the `permissions` key. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsListInstallationsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlans.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlans.g.verified.cs new file mode 100644 index 0000000000..0c623dc4c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlans.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAppsClient.AppsListPlans.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List plans
+ /// Lists all plans that are part of your GitHub Marketplace listing.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListPlansAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs new file mode 100644 index 0000000000..75ee9f2feb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListPlansStubbed.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAppsClient.AppsListPlansStubbed.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List plans (stubbed)
+ /// Lists all plans that are part of your GitHub Marketplace listing.
+ /// GitHub Apps must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth apps must use [basic authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their client ID and client secret to access this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListPlansStubbedAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListReposAccessibleToInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListReposAccessibleToInstallation.g.verified.cs new file mode 100644 index 0000000000..2c76c2135a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListReposAccessibleToInstallation.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAppsClient.AppsListReposAccessibleToInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List repositories accessible to the app installation
+ /// List repositories that an app installation can access. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsListReposAccessibleToInstallationAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6328b98e39 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAppsClient.AppsListSubscriptionsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List subscriptions for the authenticated user
+ /// Lists the active subscriptions for the authenticated user. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListSubscriptionsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUserStubbed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUserStubbed.g.verified.cs new file mode 100644 index 0000000000..4fd7fb3f3c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListSubscriptionsForAuthenticatedUserStubbed.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAppsClient.AppsListSubscriptionsForAuthenticatedUserStubbed.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List subscriptions for the authenticated user (stubbed)
+ /// Lists the active subscriptions for the authenticated user. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListSubscriptionsForAuthenticatedUserStubbedAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListWebhookDeliveries.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListWebhookDeliveries.g.verified.cs new file mode 100644 index 0000000000..a8c1856334 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsListWebhookDeliveries.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAppsClient.AppsListWebhookDeliveries.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// List deliveries for an app webhook
+ /// Returns a list of webhook deliveries for the webhook configured for a GitHub App.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AppsListWebhookDeliveriesAsync( + int perPage = 30, + string? cursor = default, + bool redelivery = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRedeliverWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRedeliverWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..56169fa50b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRedeliverWebhookDelivery.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsRedeliverWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Redeliver a delivery for an app webhook
+ /// Redeliver a delivery for the webhook configured for a GitHub App.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsRedeliverWebhookDeliveryAsync( + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..db45142b53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IAppsClient.AppsRemoveRepoFromInstallationForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Remove a repository from an app installation
+ /// Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the `repository_selection` of `selected`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsRemoveRepoFromInstallationForAuthenticatedUserAsync( + int installationId, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsResetToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsResetToken.g.verified.cs new file mode 100644 index 0000000000..50e90da1e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsResetToken.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IAppsClient.AppsResetToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Reset a token
+ /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsResetTokenAsync( + string clientId, + global::G.AppsResetTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Reset a token
+ /// OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`. + ///
+ /// + /// + /// The access_token of the OAuth or GitHub application. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsResetTokenAsync( + string clientId, + string accessToken, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRevokeInstallationAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRevokeInstallationAccessToken.g.verified.cs new file mode 100644 index 0000000000..a8f662f33b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsRevokeInstallationAccessToken.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAppsClient.AppsRevokeInstallationAccessToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Revoke an installation access token
+ /// Revokes the installation token you're using to authenticate as an installation and access this endpoint.
+ /// Once an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the "[Create an installation access token for an app](https://docs.github.com/rest/apps/apps#create-an-installation-access-token-for-an-app)" endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsRevokeInstallationAccessTokenAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs new file mode 100644 index 0000000000..f0042fd188 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsScopeToken.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IAppsClient.AppsScopeToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Create a scoped access token
+ /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
+ /// which repositories the token can access and which permissions are granted to the
+ /// token.
+ /// Invalid tokens will return `404 NOT FOUND`.
+ /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
+ /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
+ /// as the username and password. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsScopeTokenAsync( + string clientId, + global::G.AppsScopeTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a scoped access token
+ /// Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify
+ /// which repositories the token can access and which permissions are granted to the
+ /// token.
+ /// Invalid tokens will return `404 NOT FOUND`.
+ /// You must use [Basic Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication)
+ /// when accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App
+ /// as the username and password. + ///
+ /// + /// + /// The access token used to authenticate to the GitHub API.
+ /// Example: e72e16c7e42f292c6912e7710c838347ae178b4a + /// + /// + /// The name of the user or organization to scope the user access token to. **Required** unless `target_id` is specified.
+ /// Example: octocat + /// + /// + /// The ID of the user or organization to scope the user access token to. **Required** unless `target` is specified.
+ /// Example: 1 + /// + /// + /// The list of repository names to scope the user access token to. `repositories` may not be specified if `repository_ids` is specified. + /// + /// + /// The list of repository IDs to scope the user access token to. `repository_ids` may not be specified if `repositories` is specified.
+ /// Example: [1] + /// + /// + /// The permissions granted to the user access token. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsScopeTokenAsync( + string clientId, + string accessToken, + string? target = default, + int targetId = default, + global::System.Collections.Generic.IList? repositories = default, + global::System.Collections.Generic.IList? repositoryIds = default, + global::G.AppPermissions? permissions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsSuspendInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsSuspendInstallation.g.verified.cs new file mode 100644 index 0000000000..e02be627db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsSuspendInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsSuspendInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Suspend an app installation
+ /// Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsSuspendInstallationAsync( + int installationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsUnsuspendInstallation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsUnsuspendInstallation.g.verified.cs new file mode 100644 index 0000000000..c755a7a55d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsUnsuspendInstallation.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAppsClient.AppsUnsuspendInstallation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Unsuspend an app installation
+ /// Removes a GitHub App installation suspension.
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsUnsuspendInstallationAsync( + int installationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsUpdateWebhookConfigForApp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsUpdateWebhookConfigForApp.g.verified.cs new file mode 100644 index 0000000000..439f81b044 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.AppsUpdateWebhookConfigForApp.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IAppsClient.AppsUpdateWebhookConfigForApp.g.cs +#nullable enable + +namespace G +{ + public partial interface IAppsClient + { + /// + /// Update a webhook configuration for an app
+ /// Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsUpdateWebhookConfigForAppAsync( + global::G.AppsUpdateWebhookConfigForAppRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a webhook configuration for an app
+ /// Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see "[Creating a GitHub App](/developers/apps/creating-a-github-app)."
+ /// You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + ///
+ /// + /// The URL to which the payloads will be delivered.
+ /// Example: https://example.com/webhook + /// + /// + /// The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
+ /// Example: "json" + /// + /// + /// 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).
+ /// Example: "********" + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AppsUpdateWebhookConfigForAppAsync( + string? url = default, + string? contentType = default, + string? secret = default, + global::G.WebhookConfigInsecureSsl? insecureSsl = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.g.verified.cs new file mode 100644 index 0000000000..8aef082175 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IAppsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAppsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Information for integrations and installations.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAppsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubActionsBillingOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubActionsBillingOrg.g.verified.cs new file mode 100644 index 0000000000..605733061c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubActionsBillingOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetGithubActionsBillingOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get GitHub Actions billing for an organization
+ /// Gets the summary of the free and paid GitHub Actions minutes used.
+ /// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetGithubActionsBillingOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubActionsBillingUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubActionsBillingUser.g.verified.cs new file mode 100644 index 0000000000..08ed05cfe7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubActionsBillingUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetGithubActionsBillingUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get GitHub Actions billing for a user
+ /// Gets the summary of the free and paid GitHub Actions minutes used.
+ /// Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetGithubActionsBillingUserAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubPackagesBillingOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubPackagesBillingOrg.g.verified.cs new file mode 100644 index 0000000000..993697f7bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubPackagesBillingOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetGithubPackagesBillingOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get GitHub Packages billing for an organization
+ /// Gets the free and paid storage used for GitHub Packages in gigabytes.
+ /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetGithubPackagesBillingOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubPackagesBillingUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubPackagesBillingUser.g.verified.cs new file mode 100644 index 0000000000..16341800fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetGithubPackagesBillingUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetGithubPackagesBillingUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get GitHub Packages billing for a user
+ /// Gets the free and paid storage used for GitHub Packages in gigabytes.
+ /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetGithubPackagesBillingUserAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetSharedStorageBillingOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetSharedStorageBillingOrg.g.verified.cs new file mode 100644 index 0000000000..202e5cd701 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetSharedStorageBillingOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetSharedStorageBillingOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get shared storage billing for an organization
+ /// Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.
+ /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetSharedStorageBillingOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetSharedStorageBillingUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetSharedStorageBillingUser.g.verified.cs new file mode 100644 index 0000000000..0eec79e0a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.BillingGetSharedStorageBillingUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBillingClient.BillingGetSharedStorageBillingUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Get shared storage billing for a user
+ /// Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.
+ /// Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BillingGetSharedStorageBillingUserAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.g.verified.cs new file mode 100644 index 0000000000..0ef855fcc4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IBillingClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IBillingClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Monitor charges and usage from Actions and Packages.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBillingClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreate.g.verified.cs new file mode 100644 index 0000000000..b9f5ab8807 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreate.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.IChecksClient.ChecksCreate.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Create a check run
+ /// Creates a new check run for a specific commit in a repository.
+ /// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
+ /// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksCreateAsync( + string owner, + string repo, + global::G.ChecksCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a check run
+ /// Creates a new check run for a specific commit in a repository.
+ /// To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.
+ /// In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. + ///
+ /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task ChecksCreateAsync( + string owner, + string repo, + string name, + string headSha, + string? detailsUrl = default, + string? externalId = default, + global::G.ChecksCreateRequestStatus? status = global::G.ChecksCreateRequestStatus.Queued, + global::System.DateTime startedAt = default, + global::G.ChecksCreateRequestConclusion? conclusion = default, + global::System.DateTime completedAt = default, + global::G.ChecksCreateRequestOutput? output = default, + global::System.Collections.Generic.IList? actions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs new file mode 100644 index 0000000000..06db3816df --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksCreateSuite.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IChecksClient.ChecksCreateSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Create a check suite
+ /// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksCreateSuiteAsync( + string owner, + string repo, + global::G.ChecksCreateSuiteRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a check suite
+ /// Creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites)".
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// The sha of the head commit. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksCreateSuiteAsync( + string owner, + string repo, + string headSha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGet.g.verified.cs new file mode 100644 index 0000000000..0e6b3cbd3e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGet.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChecksClient.ChecksGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Get a check run
+ /// Gets a single check run using its `id`.
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksGetAsync( + string owner, + string repo, + int checkRunId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs new file mode 100644 index 0000000000..413c0ba6fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksGetSuite.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChecksClient.ChecksGetSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Get a check suite
+ /// Gets a single check suite using its `id`.
+ /// **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksGetSuiteAsync( + string owner, + string repo, + int checkSuiteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListAnnotations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListAnnotations.g.verified.cs new file mode 100644 index 0000000000..535bcfcdf4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListAnnotations.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IChecksClient.ChecksListAnnotations.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// List check run annotations
+ /// Lists annotations for a check run using the annotation `id`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ChecksListAnnotationsAsync( + string owner, + string repo, + int checkRunId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs new file mode 100644 index 0000000000..b468371270 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForRef.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IChecksClient.ChecksListForRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// List check runs for a Git reference
+ /// Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.
+ /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: latest + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksListForRefAsync( + string owner, + string repo, + string @ref, + string? checkName = default, + global::G.ChecksListForRefStatus? status = default, + global::G.ChecksListForRefFilter? filter = global::G.ChecksListForRefFilter.Latest, + int perPage = 30, + int page = 1, + int appId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs new file mode 100644 index 0000000000..6aed1f0699 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListForSuite.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IChecksClient.ChecksListForSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// List check runs in a check suite
+ /// Lists check runs for a check suite using its `id`.
+ /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: latest + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksListForSuiteAsync( + string owner, + string repo, + int checkSuiteId, + string? checkName = default, + global::G.ChecksListForSuiteStatus? status = default, + global::G.ChecksListForSuiteFilter? filter = global::G.ChecksListForSuiteFilter.Latest, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs new file mode 100644 index 0000000000..59a004cba4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksListSuitesForRef.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IChecksClient.ChecksListSuitesForRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// List check suites for a Git reference
+ /// Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name.
+ /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksListSuitesForRefAsync( + string owner, + string repo, + string @ref, + int appId = default, + string? checkName = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksRerequestRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksRerequestRun.g.verified.cs new file mode 100644 index 0000000000..210458298e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksRerequestRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChecksClient.ChecksRerequestRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Rerequest a check run
+ /// Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
+ /// For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksRerequestRunAsync( + string owner, + string repo, + int checkRunId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksRerequestSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksRerequestSuite.g.verified.cs new file mode 100644 index 0000000000..f77b151131 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksRerequestSuite.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IChecksClient.ChecksRerequestSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Rerequest a check suite
+ /// Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksRerequestSuiteAsync( + string owner, + string repo, + int checkSuiteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksSetSuitesPreferences.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksSetSuitesPreferences.g.verified.cs new file mode 100644 index 0000000000..846b7dc39c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksSetSuitesPreferences.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IChecksClient.ChecksSetSuitesPreferences.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Update repository preferences for check suites
+ /// Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/checks/suites#create-a-check-suite).
+ /// You must have admin permissions in the repository to set preferences for check suites. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksSetSuitesPreferencesAsync( + string owner, + string repo, + global::G.ChecksSetSuitesPreferencesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update repository preferences for check suites
+ /// Changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/rest/checks/suites#create-a-check-suite).
+ /// You must have admin permissions in the repository to set preferences for check suites. + ///
+ /// + /// + /// + /// Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksSetSuitesPreferencesAsync( + string owner, + string repo, + global::System.Collections.Generic.IList? autoTriggerChecks = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs new file mode 100644 index 0000000000..ed428325ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.ChecksUpdate.g.verified.cs @@ -0,0 +1,81 @@ +//HintName: G.IChecksClient.ChecksUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IChecksClient + { + /// + /// Update a check run
+ /// Updates a check run for a specific commit in a repository.
+ /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChecksUpdateAsync( + string owner, + string repo, + int checkRunId, + global::G.ChecksUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a check run
+ /// Updates a check run for a specific commit in a repository.
+ /// **Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
+ /// OAuth apps and personal access tokens (classic) cannot use this endpoint. + ///
+ /// + /// + /// + /// + /// 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 + /// + 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::G.ChecksUpdateRequestStatus? status = default, + global::G.ChecksUpdateRequestConclusion? conclusion = default, + global::System.DateTime completedAt = default, + global::G.ChecksUpdateRequestOutput? output = default, + global::System.Collections.Generic.IList? actions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.g.verified.cs new file mode 100644 index 0000000000..ac8c04d291 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IChecksClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChecksClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Rich interactions with checks run by your integrations.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChecksClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAClassroom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAClassroom.g.verified.cs new file mode 100644 index 0000000000..6df4b72852 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAClassroom.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IClassroomClient.ClassroomGetAClassroom.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// Get a classroom
+ /// Gets a GitHub Classroom classroom for the current user. Classroom will only be returned if the current user is an administrator of the GitHub Classroom. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClassroomGetAClassroomAsync( + int classroomId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAnAssignment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAnAssignment.g.verified.cs new file mode 100644 index 0000000000..0400d1567e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAnAssignment.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IClassroomClient.ClassroomGetAnAssignment.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// Get an assignment
+ /// Gets a GitHub Classroom assignment. Assignment will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClassroomGetAnAssignmentAsync( + int assignmentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAssignmentGrades.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAssignmentGrades.g.verified.cs new file mode 100644 index 0000000000..c5edbd3a69 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomGetAssignmentGrades.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IClassroomClient.ClassroomGetAssignmentGrades.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// Get assignment grades
+ /// Gets grades for a GitHub Classroom assignment. Grades will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ClassroomGetAssignmentGradesAsync( + int assignmentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs new file mode 100644 index 0000000000..28c09e2885 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IClassroomClient.ClassroomListAcceptedAssigmentsForAnAssignment.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// List accepted assignments for an assignment
+ /// Lists any assignment repositories that have been created by students accepting a GitHub Classroom assignment. Accepted assignments will only be returned if the current user is an administrator of the GitHub Classroom for the assignment. + ///
+ /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ClassroomListAcceptedAssigmentsForAnAssignmentAsync( + int assignmentId, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAssignmentsForAClassroom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAssignmentsForAClassroom.g.verified.cs new file mode 100644 index 0000000000..5de3c7ce53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListAssignmentsForAClassroom.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IClassroomClient.ClassroomListAssignmentsForAClassroom.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// List assignments for a classroom
+ /// Lists GitHub Classroom assignments for a classroom. Assignments will only be returned if the current user is an administrator of the GitHub Classroom. + ///
+ /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ClassroomListAssignmentsForAClassroomAsync( + int classroomId, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListClassrooms.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListClassrooms.g.verified.cs new file mode 100644 index 0000000000..0848f7c5bb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.ClassroomListClassrooms.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IClassroomClient.ClassroomListClassrooms.g.cs +#nullable enable + +namespace G +{ + public partial interface IClassroomClient + { + /// + /// List classrooms
+ /// Lists GitHub Classroom classrooms for the current user. Classrooms will only be returned if the current user is an administrator of one or more GitHub Classrooms. + ///
+ /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ClassroomListClassroomsAsync( + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.g.verified.cs new file mode 100644 index 0000000000..ab561c12f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IClassroomClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IClassroomClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Classroom.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IClassroomClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningCreateVariantAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningCreateVariantAnalysis.g.verified.cs new file mode 100644 index 0000000000..1e39f367dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningCreateVariantAnalysis.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.ICodeScanningClient.CodeScanningCreateVariantAnalysis.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Create a CodeQL variant analysis
+ /// Creates a new CodeQL variant analysis, which will run a CodeQL query against one or more repositories.
+ /// Get started by learning more about [running CodeQL queries at scale with Multi-Repository Variant Analysis](https://docs.github.com/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/running-codeql-queries-at-scale-with-multi-repository-variant-analysis).
+ /// Use the `owner` and `repo` parameters in the URL to specify the controller repository that
+ /// will be used for running GitHub Actions workflows and storing the results of the CodeQL variant analysis.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningCreateVariantAnalysisAsync( + string owner, + string repo, + global::G.CodeScanningCreateVariantAnalysisRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a CodeQL variant analysis
+ /// Creates a new CodeQL variant analysis, which will run a CodeQL query against one or more repositories.
+ /// Get started by learning more about [running CodeQL queries at scale with Multi-Repository Variant Analysis](https://docs.github.com/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/running-codeql-queries-at-scale-with-multi-repository-variant-analysis).
+ /// Use the `owner` and `repo` parameters in the URL to specify the controller repository that
+ /// will be used for running GitHub Actions workflows and storing the results of the CodeQL variant analysis.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task CodeScanningCreateVariantAnalysisAsync( + string owner, + string repo, + global::G.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); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningDeleteAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningDeleteAnalysis.g.verified.cs new file mode 100644 index 0000000000..826cfbb7d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningDeleteAnalysis.g.verified.cs @@ -0,0 +1,75 @@ +//HintName: G.ICodeScanningClient.CodeScanningDeleteAnalysis.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Delete a code scanning analysis from a repository
+ /// Deletes a specified code scanning analysis from a repository.
+ /// You can delete one analysis at a time.
+ /// To delete a series of analyses, start with the most recent analysis and work backwards.
+ /// Conceptually, the process is similar to the undo function in a text editor.
+ /// When you list the analyses for a repository,
+ /// one or more will be identified as deletable in the response:
+ /// ```
+ /// "deletable": true
+ /// ```
+ /// An analysis is deletable when it's the most recent in a set of analyses.
+ /// Typically, a repository will have multiple sets of analyses
+ /// for each enabled code scanning tool,
+ /// where a set is determined by a unique combination of analysis values:
+ /// * `ref`
+ /// * `tool`
+ /// * `category`
+ /// If you attempt to delete an analysis that is not the most recent in a set,
+ /// you'll get a 400 response with the message:
+ /// ```
+ /// Analysis specified is not deletable.
+ /// ```
+ /// The response from a successful `DELETE` operation provides you with
+ /// two alternative URLs for deleting the next analysis in the set:
+ /// `next_analysis_url` and `confirm_delete_url`.
+ /// Use the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis
+ /// in a set. This is a useful option if you want to preserve at least one analysis
+ /// for the specified tool in your repository.
+ /// Use the `confirm_delete_url` URL if you are content to remove all analyses for a tool.
+ /// When you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`
+ /// in the 200 response is `null`.
+ /// As an example of the deletion process,
+ /// let's imagine that you added a workflow that configured a particular code scanning tool
+ /// to analyze the code in a repository. This tool has added 15 analyses:
+ /// 10 on the default branch, and another 5 on a topic branch.
+ /// You therefore have two separate sets of analyses for this tool.
+ /// You've now decided that you want to remove all of the analyses for the tool.
+ /// To do this you must make 15 separate deletion requests.
+ /// To start, you must find an analysis that's identified as deletable.
+ /// Each set of analyses always has one that's identified as deletable.
+ /// Having found the deletable analysis for one of the two sets,
+ /// delete this analysis and then continue deleting the next analysis in the set until they're all deleted.
+ /// Then repeat the process for the second set.
+ /// The procedure therefore consists of a nested loop:
+ /// **Outer loop**:
+ /// * List the analyses for the repository, filtered by tool.
+ /// * Parse this list to find a deletable analysis. If found:
+ /// **Inner loop**:
+ /// * Delete the identified analysis.
+ /// * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.
+ /// The above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningDeleteAnalysisAsync( + string owner, + string repo, + int analysisId, + string? confirmDelete = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetAlert.g.verified.cs new file mode 100644 index 0000000000..38d045edf5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetAlert.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get a code scanning alert
+ /// Gets a single code scanning alert.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetAlertAsync( + string owner, + string repo, + int alertNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetAnalysis.g.verified.cs new file mode 100644 index 0000000000..d2a2df7533 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetAnalysis.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetAnalysis.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get a code scanning analysis for a repository
+ /// Gets a specified code scanning analysis for a repository.
+ /// The default JSON response contains fields that describe the analysis.
+ /// This includes the Git reference and commit SHA to which the analysis relates,
+ /// the datetime of the analysis, the name of the code scanning tool,
+ /// and the number of alerts.
+ /// The `rules_count` field in the default response give the number of rules
+ /// that were run in the analysis.
+ /// For very old analyses this data is not available,
+ /// and `0` is returned in this field.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/sarif+json`**: Instead of returning a summary of the analysis, this endpoint returns a subset of the analysis data that was uploaded. The data is formatted as [SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html). It also returns additional data such as the `github/alertNumber` and `github/alertUrl` properties.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetAnalysisAsync( + string owner, + string repo, + int analysisId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs new file mode 100644 index 0000000000..5d5acb2ac3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetCodeqlDatabase.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get a CodeQL database for a repository
+ /// Gets a CodeQL database for a language in a repository.
+ /// By default this endpoint returns JSON metadata about the CodeQL database. To
+ /// download the CodeQL database binary content, set the `Accept` header of the request
+ /// to [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure
+ /// your HTTP client is configured to follow redirects or use the `Location` header
+ /// to make a second request to get the redirect URL.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetCodeqlDatabaseAsync( + string owner, + string repo, + string language, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..d7ede7dbee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetDefaultSetup.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetDefaultSetup.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get a code scanning default setup configuration
+ /// Gets a code scanning default setup configuration.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetDefaultSetupAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetSarif.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetSarif.g.verified.cs new file mode 100644 index 0000000000..5d463133c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetSarif.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetSarif.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get information about a SARIF upload
+ /// Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see "[Get a code scanning analysis for a repository](/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository)."
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetSarifAsync( + string owner, + string repo, + string sarifId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysis.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysis.g.verified.cs new file mode 100644 index 0000000000..3e32a467fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysis.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetVariantAnalysis.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get the summary of a CodeQL variant analysis
+ /// Gets the summary of a CodeQL variant analysis.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetVariantAnalysisAsync( + string owner, + string repo, + int codeqlVariantAnalysisId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysisRepoTask.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysisRepoTask.g.verified.cs new file mode 100644 index 0000000000..6314f230eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningGetVariantAnalysisRepoTask.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICodeScanningClient.CodeScanningGetVariantAnalysisRepoTask.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Get the analysis status of a repository in a CodeQL variant analysis
+ /// Gets the analysis status of a repository in a CodeQL variant analysis.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningGetVariantAnalysisRepoTaskAsync( + string owner, + string repo, + int codeqlVariantAnalysisId, + string repoOwner, + string repoName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs new file mode 100644 index 0000000000..a2606e97d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertInstances.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.ICodeScanningClient.CodeScanningListAlertInstances.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// List instances of a code scanning alert
+ /// Lists all instances of the specified code scanning alert.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
+ /// `refs/heads/<branch name>` or simply `<branch name>`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeScanningListAlertInstancesAsync( + string owner, + string repo, + int alertNumber, + int page = 1, + int perPage = 30, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForOrg.g.verified.cs new file mode 100644 index 0000000000..781ca965a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForOrg.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.ICodeScanningClient.CodeScanningListAlertsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// List code scanning alerts for an organization
+ /// Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// The authenticated user must be an owner or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` or `repo`s cope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// The name of the tool used to generate the code scanning analysis. + /// + /// + /// The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: desc + /// + /// + /// State of a code scanning alert. + /// + /// + /// Default Value: created + /// + /// + /// Severity of a code scanning alert. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeScanningListAlertsForOrgAsync( + string org, + string? toolName = default, + string? toolGuid = default, + string? before = default, + string? after = default, + int page = 1, + int perPage = 30, + global::G.CodeScanningListAlertsForOrgDirection? direction = global::G.CodeScanningListAlertsForOrgDirection.Desc, + global::G.CodeScanningAlertStateQuery? state = default, + global::G.CodeScanningListAlertsForOrgSort? sort = global::G.CodeScanningListAlertsForOrgSort.Created, + global::G.CodeScanningAlertSeverity? severity = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs new file mode 100644 index 0000000000..bf90cefd21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.ICodeScanningClient.CodeScanningListAlertsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// List code scanning alerts for a repository
+ /// Lists code scanning alerts.
+ /// The response includes a `most_recent_instance` object.
+ /// This provides details of the most recent instance of this alert
+ /// for the default branch (or for the specified Git reference if you used `ref` in the request).
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The name of the tool used to generate the code scanning analysis. + /// + /// + /// The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
+ /// `refs/heads/<branch name>` or simply `<branch name>`. + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: created + /// + /// + /// State of a code scanning alert. + /// + /// + /// Severity of a code scanning alert. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeScanningListAlertsForRepoAsync( + string owner, + string repo, + string? toolName = default, + string? toolGuid = default, + int page = 1, + int perPage = 30, + string? @ref = default, + global::G.CodeScanningListAlertsForRepoDirection? direction = global::G.CodeScanningListAlertsForRepoDirection.Desc, + global::G.CodeScanningListAlertsForRepoSort? sort = global::G.CodeScanningListAlertsForRepoSort.Created, + global::G.CodeScanningAlertStateQuery? state = default, + global::G.CodeScanningAlertSeverity? severity = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListCodeqlDatabases.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListCodeqlDatabases.g.verified.cs new file mode 100644 index 0000000000..d55285b04a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListCodeqlDatabases.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICodeScanningClient.CodeScanningListCodeqlDatabases.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// List CodeQL databases for a repository
+ /// Lists the CodeQL databases that are available in a repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeScanningListCodeqlDatabasesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs new file mode 100644 index 0000000000..49ab45ef41 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.ICodeScanningClient.CodeScanningListRecentAnalyses.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// List code scanning analyses for a repository
+ /// Lists the details of all code scanning analyses for a repository,
+ /// starting with the most recent.
+ /// The response is paginated and you can use the `page` and `per_page` parameters
+ /// to list the analyses you're interested in.
+ /// By default 30 analyses are listed per page.
+ /// The `rules_count` field in the response give the number of rules
+ /// that were run in the analysis.
+ /// For very old analyses this data is not available,
+ /// and `0` is returned in this field.
+ /// **Deprecation notice**:
+ /// The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The name of the tool used to generate the code scanning analysis. + /// + /// + /// The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
+ /// `refs/heads/<branch name>` or simply `<branch name>`. + /// + /// + /// An identifier for the upload.
+ /// Example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: created + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodeScanningListRecentAnalysesAsync( + string owner, + string repo, + string? toolName = default, + string? toolGuid = default, + int page = 1, + int perPage = 30, + string? @ref = default, + string? sarifId = default, + global::G.CodeScanningListRecentAnalysesDirection? direction = global::G.CodeScanningListRecentAnalysesDirection.Desc, + global::G.CodeScanningListRecentAnalysesSort? sort = global::G.CodeScanningListRecentAnalysesSort.Created, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUpdateAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUpdateAlert.g.verified.cs new file mode 100644 index 0000000000..8c109dca0a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUpdateAlert.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.ICodeScanningClient.CodeScanningUpdateAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Update a code scanning alert
+ /// Updates the status of a single code scanning alert.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.CodeScanningUpdateAlertRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a code scanning alert
+ /// Updates the status of a single code scanning alert.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// Sets the state of the code scanning alert. You must provide `dismissed_reason` when you set the state to `dismissed`. + /// + /// + /// **Required when the state is dismissed.** The reason for dismissing or closing the alert. + /// + /// + /// The dismissal comment associated with the dismissal of the alert. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.CodeScanningAlertSetState state, + global::G.CodeScanningAlertDismissedReason? dismissedReason = default, + string? dismissedComment = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUpdateDefaultSetup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUpdateDefaultSetup.g.verified.cs new file mode 100644 index 0000000000..8dea94ce1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUpdateDefaultSetup.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ICodeScanningClient.CodeScanningUpdateDefaultSetup.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Update a code scanning default setup configuration
+ /// Updates a code scanning default setup configuration.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUpdateDefaultSetupAsync( + string owner, + string repo, + global::G.CodeScanningDefaultSetupUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a code scanning default setup configuration
+ /// Updates a code scanning default setup configuration.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + ///
+ /// + /// + /// + /// The desired state of code scanning default setup. + /// + /// + /// CodeQL query suite to be used. + /// + /// + /// CodeQL languages to be analyzed. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUpdateDefaultSetupAsync( + string owner, + string repo, + global::G.CodeScanningDefaultSetupUpdateState? state = default, + global::G.CodeScanningDefaultSetupUpdateQuerySuite? querySuite = default, + global::System.Collections.Generic.IList? languages = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUploadSarif.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUploadSarif.g.verified.cs new file mode 100644 index 0000000000..d79cb7308f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.CodeScanningUploadSarif.g.verified.cs @@ -0,0 +1,115 @@ +//HintName: G.ICodeScanningClient.CodeScanningUploadSarif.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodeScanningClient + { + /// + /// Upload an analysis as SARIF data
+ /// Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. For troubleshooting information, see "[Troubleshooting SARIF uploads](https://docs.github.com/code-security/code-scanning/troubleshooting-sarif)."
+ /// There are two places where you can upload code scanning results.
+ /// - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)."
+ /// - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see "[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)."
+ /// You must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:
+ /// ```
+ /// gzip -c analysis-data.sarif | base64 -w0
+ /// ```
+ /// SARIF upload supports a maximum number of entries per the following data objects, and an analysis will be rejected if any of these objects is above its maximum value. For some objects, there are additional values over which the entries will be ignored while keeping the most important entries whenever applicable.
+ /// To get the most out of your analysis when it includes data above the supported limits, try to optimize the analysis configuration. For example, for the CodeQL tool, identify and remove the most noisy queries. For more information, see "[SARIF results exceed one or more limits](https://docs.github.com/code-security/code-scanning/troubleshooting-sarif/results-exceed-limit)."
+ /// | **SARIF data** | **Maximum values** | **Additional limits** |
+ /// |----------------------------------|:------------------:|----------------------------------------------------------------------------------|
+ /// | Runs per file | 20 | |
+ /// | Results per run | 25,000 | Only the top 5,000 results will be included, prioritized by severity. |
+ /// | Rules per run | 25,000 | |
+ /// | Tool extensions per run | 100 | |
+ /// | Thread Flow Locations per result | 10,000 | Only the top 1,000 Thread Flow Locations will be included, using prioritization. |
+ /// | Location per result | 1,000 | Only 100 locations will be included. |
+ /// | Tags per rule | 20 | Only 10 tags will be included. |
+ /// The `202 Accepted` response includes an `id` value.
+ /// You can use this ID to check the status of the upload by using it in the `/sarifs/{sarif_id}` endpoint.
+ /// For more information, see "[Get information about a SARIF upload](/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload)."
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
+ /// This endpoint is limited to 1,000 requests per hour for each user or app installation calling it. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUploadSarifAsync( + string owner, + string repo, + global::G.CodeScanningUploadSarifRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload an analysis as SARIF data
+ /// Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. For troubleshooting information, see "[Troubleshooting SARIF uploads](https://docs.github.com/code-security/code-scanning/troubleshooting-sarif)."
+ /// There are two places where you can upload code scanning results.
+ /// - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)."
+ /// - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see "[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)."
+ /// You must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:
+ /// ```
+ /// gzip -c analysis-data.sarif | base64 -w0
+ /// ```
+ /// SARIF upload supports a maximum number of entries per the following data objects, and an analysis will be rejected if any of these objects is above its maximum value. For some objects, there are additional values over which the entries will be ignored while keeping the most important entries whenever applicable.
+ /// To get the most out of your analysis when it includes data above the supported limits, try to optimize the analysis configuration. For example, for the CodeQL tool, identify and remove the most noisy queries. For more information, see "[SARIF results exceed one or more limits](https://docs.github.com/code-security/code-scanning/troubleshooting-sarif/results-exceed-limit)."
+ /// | **SARIF data** | **Maximum values** | **Additional limits** |
+ /// |----------------------------------|:------------------:|----------------------------------------------------------------------------------|
+ /// | Runs per file | 20 | |
+ /// | Results per run | 25,000 | Only the top 5,000 results will be included, prioritized by severity. |
+ /// | Rules per run | 25,000 | |
+ /// | Tool extensions per run | 100 | |
+ /// | Thread Flow Locations per result | 10,000 | Only the top 1,000 Thread Flow Locations will be included, using prioritization. |
+ /// | Location per result | 1,000 | Only 100 locations will be included. |
+ /// | Tags per rule | 20 | Only 10 tags will be included. |
+ /// The `202 Accepted` response includes an `id` value.
+ /// You can use this ID to check the status of the upload by using it in the `/sarifs/{sarif_id}` endpoint.
+ /// For more information, see "[Get information about a SARIF upload](/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload)."
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
+ /// This endpoint is limited to 1,000 requests per hour for each user or app installation calling it. + ///
+ /// + /// + /// + /// The SHA of the commit to which the analysis you are uploading relates. + /// + /// + /// The full Git reference, formatted as `refs/heads/<branch name>`,
+ /// `refs/tags/<tag>`, `refs/pull/<number>/merge`, or `refs/pull/<number>/head`.
+ /// Example: refs/heads/main + /// + /// + /// A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see "[SARIF support for code scanning](https://docs.github.com/code-security/secure-coding/sarif-support-for-code-scanning)." + /// + /// + /// The base directory used in the analysis, as it appears in the SARIF file.
+ /// This property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository.
+ /// Example: file:///github/workspace/ + /// + /// + /// The time that the analysis run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + /// + /// The name of the tool used to generate the code scanning analysis. If this parameter is not used, the tool name defaults to "API". If the uploaded SARIF contains a tool GUID, this will be available for filtering using the `tool_guid` parameter of operations such as `GET /repos/{owner}/{repo}/code-scanning/alerts`. + /// + /// + /// Whether the SARIF file will be validated according to the code scanning specifications.
+ /// This parameter is intended to help integrators ensure that the uploaded SARIF files are correctly rendered by code scanning. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodeScanningUploadSarifAsync( + string owner, + string repo, + string commitSha, + string @ref, + string sarif, + string? checkoutUri = default, + global::System.DateTime startedAt = default, + string? toolName = default, + bool validate = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.g.verified.cs new file mode 100644 index 0000000000..79666e66e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodeScanningClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICodeScanningClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Retrieve code scanning alerts from a repository.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICodeScanningClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.CodesOfConductGetAllCodesOfConduct.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.CodesOfConductGetAllCodesOfConduct.g.verified.cs new file mode 100644 index 0000000000..593a6c20ea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.CodesOfConductGetAllCodesOfConduct.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ICodesOfConductClient.CodesOfConductGetAllCodesOfConduct.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodesOfConductClient + { + /// + /// Get all codes of conduct
+ /// Returns array of all GitHub's codes of conduct. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CodesOfConductGetAllCodesOfConductAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.CodesOfConductGetConductCode.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.CodesOfConductGetConductCode.g.verified.cs new file mode 100644 index 0000000000..11e500a316 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.CodesOfConductGetConductCode.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ICodesOfConductClient.CodesOfConductGetConductCode.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodesOfConductClient + { + /// + /// Get a code of conduct
+ /// Returns information about the specified GitHub code of conduct. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodesOfConductGetConductCodeAsync( + string key, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.g.verified.cs new file mode 100644 index 0000000000..d296bebe05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodesOfConductClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICodesOfConductClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Insight into codes of conduct for your communities.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICodesOfConductClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesAddRepositoryForSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesAddRepositoryForSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..547b6a9e08 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesAddRepositoryForSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ICodespacesClient.CodespacesAddRepositoryForSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Add a selected repository to a user secret
+ /// Adds a repository to the selected repositories for a user's development environment secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesAddRepositoryForSecretForAuthenticatedUserAsync( + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesAddSelectedRepoToOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesAddSelectedRepoToOrgSecret.g.verified.cs new file mode 100644 index 0000000000..a078e9621d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesAddSelectedRepoToOrgSecret.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesAddSelectedRepoToOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Add selected repository to an organization secret
+ /// Adds a repository to an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesAddSelectedRepoToOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCheckPermissionsForDevcontainer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCheckPermissionsForDevcontainer.g.verified.cs new file mode 100644 index 0000000000..bc1a888da9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCheckPermissionsForDevcontainer.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICodespacesClient.CodespacesCheckPermissionsForDevcontainer.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Check if permissions defined by a devcontainer have been accepted by the authenticated user
+ /// Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// Example: master + /// + /// + /// Example: .devcontainer/example/devcontainer.json + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCheckPermissionsForDevcontainerAsync( + string owner, + string repo, + string @ref, + string devcontainerPath, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCodespaceMachinesForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCodespaceMachinesForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..711d22d038 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCodespaceMachinesForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesCodespaceMachinesForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List machine types for a codespace
+ /// List the machine types a codespace can transition to use.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCodespaceMachinesForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ea44cc22bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateForAuthenticatedUser.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ICodespacesClient.CodespacesCreateForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create a codespace for the authenticated user
+ /// Creates a new codespace, owned by the authenticated user.
+ /// 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. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateForAuthenticatedUserAsync( + global::G.OneOf request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a codespace for the authenticated user
+ /// Creates a new codespace, owned by the authenticated user.
+ /// 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. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateOrgSecret.g.verified.cs new file mode 100644 index 0000000000..98bfa7cb12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateOrgSecret.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.ICodespacesClient.CodespacesCreateOrUpdateOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create or update an organization secret
+ /// Creates or updates an organization development environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.CodespacesCreateOrUpdateOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update an organization secret
+ /// Creates or updates an organization development environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key) endpoint. + /// + /// + /// The ID of the key you used to encrypt the secret. + /// + /// + /// Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret. + /// + /// + /// 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/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.CodespacesCreateOrUpdateOrgSecretRequestVisibility visibility, + string? encryptedValue = default, + string? keyId = default, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateRepoSecret.g.verified.cs new file mode 100644 index 0000000000..84616f9a5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateRepoSecret.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.ICodespacesClient.CodespacesCreateOrUpdateRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create or update a repository secret
+ /// Creates or updates a repository development environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + global::G.CodespacesCreateOrUpdateRepoSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update a repository secret
+ /// Creates or updates a repository development environment secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + string? encryptedValue = default, + string? keyId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..7cd0f5d3f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ICodespacesClient.CodespacesCreateOrUpdateSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create or update a secret for the authenticated user
+ /// Creates or updates a development environment secret for a user's codespace with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateSecretForAuthenticatedUserAsync( + string secretName, + global::G.CodespacesCreateOrUpdateSecretForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update a secret for the authenticated user
+ /// Creates or updates a development environment secret for a user's codespace with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get the public key for the authenticated user](https://docs.github.com/rest/codespaces/secrets#get-public-key-for-the-authenticated-user) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateOrUpdateSecretForAuthenticatedUserAsync( + string secretName, + string keyId, + string? encryptedValue = default, + global::System.Collections.Generic.IList>? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateWithPrForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateWithPrForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..d89d7fb7c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateWithPrForAuthenticatedUser.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.ICodespacesClient.CodespacesCreateWithPrForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create a codespace from a pull request
+ /// Creates a codespace owned by the authenticated user for the specified pull request.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateWithPrForAuthenticatedUserAsync( + string owner, + string repo, + int pullNumber, + global::G.CodespacesCreateWithPrForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a codespace from a pull request
+ /// Creates a codespace owned by the authenticated user for the specified pull request.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task CodespacesCreateWithPrForAuthenticatedUserAsync( + string owner, + string repo, + int pullNumber, + string? location = default, + global::G.CodespacesCreateWithPrForAuthenticatedUserRequestGeo? 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); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateWithRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateWithRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..1f4224fbc0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesCreateWithRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.ICodespacesClient.CodespacesCreateWithRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create a codespace in a repository
+ /// Creates a codespace owned by the authenticated user in the specified repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesCreateWithRepoForAuthenticatedUserAsync( + string owner, + string repo, + global::G.CodespacesCreateWithRepoForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a codespace in a repository
+ /// Creates a codespace owned by the authenticated user in the specified repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task CodespacesCreateWithRepoForAuthenticatedUserAsync( + string owner, + string repo, + string? @ref = default, + string? location = default, + global::G.CodespacesCreateWithRepoForAuthenticatedUserRequestGeo? 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); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteCodespacesAccessUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteCodespacesAccessUsers.g.verified.cs new file mode 100644 index 0000000000..9b20b002b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteCodespacesAccessUsers.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteCodespacesAccessUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Remove users from Codespaces access for an organization
+ /// Codespaces for the specified users will no longer be billed to the organization.
+ /// To use this endpoint, the access settings for the organization must be set to `selected_members`.
+ /// For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesDeleteCodespacesAccessUsersAsync( + string org, + global::G.CodespacesDeleteCodespacesAccessUsersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove users from Codespaces access for an organization
+ /// Codespaces for the specified users will no longer be billed to the organization.
+ /// To use this endpoint, the access settings for the organization must be set to `selected_members`.
+ /// For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The usernames of the organization members whose codespaces should not be billed to the organization. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesDeleteCodespacesAccessUsersAsync( + string org, + global::System.Collections.Generic.IList selectedUsernames, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..d8284be769 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Delete a codespace for the authenticated user
+ /// Deletes a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesDeleteForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteFromOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteFromOrganization.g.verified.cs new file mode 100644 index 0000000000..bbdffe2fdd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteFromOrganization.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteFromOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Delete a codespace from the organization
+ /// Deletes a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesDeleteFromOrganizationAsync( + string org, + string username, + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteOrgSecret.g.verified.cs new file mode 100644 index 0000000000..0c86627d42 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteOrgSecret.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Delete an organization secret
+ /// Deletes an organization development environment secret using the secret name.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesDeleteOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteRepoSecret.g.verified.cs new file mode 100644 index 0000000000..6413a66402 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteRepoSecret.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Delete a repository secret
+ /// Deletes a development environment secret in a repository using the secret name.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesDeleteRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..158367086c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesDeleteSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodespacesClient.CodespacesDeleteSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Delete a secret for the authenticated user
+ /// Deletes a development environment secret from a user's codespaces using the secret name. Deleting the secret will remove access from all codespaces that were allowed to access the secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesDeleteSecretForAuthenticatedUserAsync( + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesExportForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesExportForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..1c7a6c1bdf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesExportForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodespacesClient.CodespacesExportForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Export a codespace for the authenticated user
+ /// Triggers an export of the specified codespace and returns a URL and ID where the status of the export can be monitored.
+ /// If changes cannot be pushed to the codespace's repository, they will be pushed to a new or previously-existing fork instead.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesExportForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetCodespacesForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetCodespacesForUserInOrg.g.verified.cs new file mode 100644 index 0000000000..97151022c0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetCodespacesForUserInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICodespacesClient.CodespacesGetCodespacesForUserInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List codespaces for a user in organization
+ /// Lists the codespaces that a member of an organization has for repositories in that organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetCodespacesForUserInOrgAsync( + string org, + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetExportDetailsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetExportDetailsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..aa384d3e99 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetExportDetailsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICodespacesClient.CodespacesGetExportDetailsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get details about a codespace export
+ /// Gets information about an export of a codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetExportDetailsForAuthenticatedUserAsync( + string codespaceName, + string exportId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..bb80a51cf9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesGetForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get a codespace for the authenticated user
+ /// Gets information about a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetOrgPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetOrgPublicKey.g.verified.cs new file mode 100644 index 0000000000..8920e18066 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetOrgPublicKey.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesGetOrgPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get an organization public key
+ /// Gets a public key for an organization, which is required in order to encrypt secrets. You need to encrypt the value of a secret before you can create or update secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetOrgPublicKeyAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetOrgSecret.g.verified.cs new file mode 100644 index 0000000000..551ad8aaf1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetOrgSecret.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICodespacesClient.CodespacesGetOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get an organization secret
+ /// Gets an organization development environment secret without revealing its encrypted value.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetPublicKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetPublicKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..5a032acbc3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetPublicKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ICodespacesClient.CodespacesGetPublicKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get public key for the authenticated user
+ /// Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetPublicKeyForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs new file mode 100644 index 0000000000..ce8d255286 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoPublicKey.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesGetRepoPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get a repository public key
+ /// Gets your public key, which you need to encrypt secrets. You need to
+ /// encrypt a secret before you can create or update secrets.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetRepoPublicKeyAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoSecret.g.verified.cs new file mode 100644 index 0000000000..bece2f4b5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetRepoSecret.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesGetRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get a repository secret
+ /// Gets a single repository development environment secret without revealing its encrypted value.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..fc0b623742 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesGetSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodespacesClient.CodespacesGetSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get a secret for the authenticated user
+ /// Gets a development environment secret available to a user's codespaces without revealing its encrypted value.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesGetSecretForAuthenticatedUserAsync( + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListDevcontainersInRepositoryForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListDevcontainersInRepositoryForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..fa40769a7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListDevcontainersInRepositoryForAuthenticatedUser.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.ICodespacesClient.CodespacesListDevcontainersInRepositoryForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List devcontainer configurations in a repository for the authenticated user
+ /// Lists the devcontainer.json files associated with a specified repository and the authenticated user. These files
+ /// specify launchpoint configurations for codespaces created within the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListDevcontainersInRepositoryForAuthenticatedUserAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..edef2cf851 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICodespacesClient.CodespacesListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List codespaces for the authenticated user
+ /// Lists the authenticated user's codespaces.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + int repositoryId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListInOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListInOrganization.g.verified.cs new file mode 100644 index 0000000000..c593b695b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListInOrganization.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICodespacesClient.CodespacesListInOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List codespaces for the organization
+ /// Lists the codespaces associated to a specified organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListInOrganizationAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListInRepositoryForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListInRepositoryForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..8a2b350200 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListInRepositoryForAuthenticatedUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICodespacesClient.CodespacesListInRepositoryForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List codespaces in a repository for the authenticated user
+ /// Lists the codespaces associated to a specified repository and the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListInRepositoryForAuthenticatedUserAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListOrgSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListOrgSecrets.g.verified.cs new file mode 100644 index 0000000000..e05f8fef80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListOrgSecrets.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ICodespacesClient.CodespacesListOrgSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List organization secrets
+ /// Lists all Codespaces development environment secrets available at the organization-level without revealing their encrypted
+ /// values.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListOrgSecretsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListRepoSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListRepoSecrets.g.verified.cs new file mode 100644 index 0000000000..545a7b97be --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListRepoSecrets.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.ICodespacesClient.CodespacesListRepoSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List repository secrets
+ /// Lists all development environment secrets available in a repository without revealing their encrypted
+ /// values.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListRepoSecretsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListRepositoriesForSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListRepositoriesForSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..67e3334b18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListRepositoriesForSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICodespacesClient.CodespacesListRepositoriesForSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List selected repositories for a user secret
+ /// List the repositories that have been granted the ability to use a user's development environment secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListRepositoriesForSecretForAuthenticatedUserAsync( + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListSecretsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListSecretsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..3a0837c332 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListSecretsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICodespacesClient.CodespacesListSecretsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List secrets for the authenticated user
+ /// Lists all development environment secrets available for a user's codespaces without revealing their
+ /// encrypted values.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListSecretsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..fec35ed2d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesListSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.ICodespacesClient.CodespacesListSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List selected repositories for an organization secret
+ /// Lists all repositories that have been selected when the `visibility`
+ /// for repository access to a secret is set to `selected`.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesListSelectedReposForOrgSecretAsync( + string org, + string secretName, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..25393f4797 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICodespacesClient.CodespacesPreFlightWithRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Get default attributes for a codespace
+ /// Gets the default attributes for codespaces created by the user with the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// Example: main + /// + /// + /// Example: 1.2.3.4 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesPreFlightWithRepoForAuthenticatedUserAsync( + string owner, + string repo, + string? @ref = default, + string? clientIp = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesPublishForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesPublishForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..fba4526656 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesPublishForAuthenticatedUser.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.ICodespacesClient.CodespacesPublishForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Create a repository from an unpublished codespace
+ /// Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.
+ /// The codespace's token is granted write permissions to the repository, allowing the user to push their changes.
+ /// This will fail for a codespace that is already published, meaning it has an associated repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesPublishForAuthenticatedUserAsync( + string codespaceName, + global::G.CodespacesPublishForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository from an unpublished codespace
+ /// Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.
+ /// The codespace's token is granted write permissions to the repository, allowing the user to push their changes.
+ /// This will fail for a codespace that is already published, meaning it has an associated repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// A name for the new repository. + /// + /// + /// Whether the new repository should be private.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesPublishForAuthenticatedUserAsync( + string codespaceName, + string? name = default, + bool @private = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRemoveRepositoryForSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRemoveRepositoryForSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..85803992a9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRemoveRepositoryForSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ICodespacesClient.CodespacesRemoveRepositoryForSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Remove a selected repository from a user secret
+ /// Removes a repository from the selected repositories for a user's development environment secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesRemoveRepositoryForSecretForAuthenticatedUserAsync( + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRemoveSelectedRepoFromOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRemoveSelectedRepoFromOrgSecret.g.verified.cs new file mode 100644 index 0000000000..5a5745f18f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRemoveSelectedRepoFromOrgSecret.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICodespacesClient.CodespacesRemoveSelectedRepoFromOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Remove selected repository from an organization secret
+ /// Removes a repository from an organization development environment secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesRemoveSelectedRepoFromOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..70116c2347 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ICodespacesClient.CodespacesRepoMachinesForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// List available machine types for a repository
+ /// List the machine types available for a given repository based on its configuration.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// + /// Example: WestUs2 + /// + /// + /// + /// Example: main + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesRepoMachinesForAuthenticatedUserAsync( + string owner, + string repo, + string? location = default, + string? clientIp = default, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccess.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccess.g.verified.cs new file mode 100644 index 0000000000..7fe4437831 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccess.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ICodespacesClient.CodespacesSetCodespacesAccess.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Manage access control for organization codespaces
+ /// Sets which users can access codespaces in an organization. This is synonymous with granting or revoking codespaces access permissions for users according to the visibility.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesSetCodespacesAccessAsync( + string org, + global::G.CodespacesSetCodespacesAccessRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Manage access control for organization codespaces
+ /// Sets which users can access codespaces in an organization. This is synonymous with granting or revoking codespaces access permissions for users according to the visibility.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Which users can access codespaces in the organization. `disabled` means that no users can access codespaces in the organization. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesSetCodespacesAccessAsync( + string org, + global::G.CodespacesSetCodespacesAccessRequestVisibility visibility, + global::System.Collections.Generic.IList? selectedUsernames = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccessUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccessUsers.g.verified.cs new file mode 100644 index 0000000000..779a543228 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetCodespacesAccessUsers.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ICodespacesClient.CodespacesSetCodespacesAccessUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Add users to Codespaces access for an organization
+ /// Codespaces for the specified users will be billed to the organization.
+ /// To use this endpoint, the access settings for the organization must be set to `selected_members`.
+ /// For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesSetCodespacesAccessUsersAsync( + string org, + global::G.CodespacesSetCodespacesAccessUsersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add users to Codespaces access for an organization
+ /// Codespaces for the specified users will be billed to the organization.
+ /// To use this endpoint, the access settings for the organization must be set to `selected_members`.
+ /// For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The usernames of the organization members whose codespaces be billed to the organization. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task CodespacesSetCodespacesAccessUsersAsync( + string org, + global::System.Collections.Generic.IList selectedUsernames, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetRepositoriesForSecretForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetRepositoriesForSecretForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..d34ce81099 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetRepositoriesForSecretForAuthenticatedUser.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.ICodespacesClient.CodespacesSetRepositoriesForSecretForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Set selected repositories for a user secret
+ /// Select the repositories that will use a user's development environment secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesSetRepositoriesForSecretForAuthenticatedUserAsync( + string secretName, + global::G.CodespacesSetRepositoriesForSecretForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories for a user secret
+ /// Select the repositories that will use a user's development environment secret.
+ /// The authenticated user must have Codespaces access to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` or `codespace:secrets` scope to use this endpoint. + ///
+ /// + /// + /// An array of repository ids for which a codespace can access the 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), [Add a selected repository to a user secret](https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesSetRepositoriesForSecretForAuthenticatedUserAsync( + string secretName, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..1f836d5d41 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesSetSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ICodespacesClient.CodespacesSetSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization development environment secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::G.CodespacesSetSelectedReposForOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization development environment secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStartForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStartForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..27489888ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStartForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesStartForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Start a codespace for the authenticated user
+ /// Starts a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesStartForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStopForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStopForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..0b707ec63b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStopForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ICodespacesClient.CodespacesStopForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Stop a codespace for the authenticated user
+ /// Stops a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesStopForAuthenticatedUserAsync( + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStopInOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStopInOrganization.g.verified.cs new file mode 100644 index 0000000000..4e078ec597 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesStopInOrganization.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICodespacesClient.CodespacesStopInOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Stop a codespace for an organization user
+ /// Stops a user's codespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesStopInOrganizationAsync( + string org, + string username, + string codespaceName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesUpdateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesUpdateForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..516eaecdbe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.CodespacesUpdateForAuthenticatedUser.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ICodespacesClient.CodespacesUpdateForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICodespacesClient + { + /// + /// Update a codespace for the authenticated user
+ /// Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.
+ /// If you specify a new machine type it will be applied the next time your codespace is started.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesUpdateForAuthenticatedUserAsync( + string codespaceName, + global::G.CodespacesUpdateForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a codespace for the authenticated user
+ /// Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.
+ /// If you specify a new machine type it will be applied the next time your codespace is started.
+ /// OAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint. + ///
+ /// + /// + /// A valid machine to transition this codespace to. + /// + /// + /// Display name for this codespace + /// + /// + /// Recently opened folders inside the codespace. It is currently used by the clients to determine the folder path to load the codespace in. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CodespacesUpdateForAuthenticatedUserAsync( + string codespaceName, + string? machine = default, + string? displayName = default, + global::System.Collections.Generic.IList? recentFolders = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.g.verified.cs new file mode 100644 index 0000000000..0a2cb0a770 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICodespacesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICodespacesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage Codespaces using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICodespacesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs new file mode 100644 index 0000000000..f192581ef3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ICopilotClient.CopilotAddCopilotSeatsForTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Add teams to the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Purchases a GitHub Copilot seat for all users within each specified team.
+ /// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
+ /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
+ /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotAddCopilotSeatsForTeamsAsync( + string org, + global::G.CopilotAddCopilotSeatsForTeamsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add teams to the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Purchases a GitHub Copilot seat for all users within each specified team.
+ /// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
+ /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
+ /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// List of team names within the organization to which to grant access to GitHub Copilot. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotAddCopilotSeatsForTeamsAsync( + string org, + global::System.Collections.Generic.IList selectedTeams, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs new file mode 100644 index 0000000000..c5f89c67f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ICopilotClient.CopilotAddCopilotSeatsForUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Add users to the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Purchases a GitHub Copilot seat for each user specified.
+ /// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
+ /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
+ /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotAddCopilotSeatsForUsersAsync( + string org, + global::G.CopilotAddCopilotSeatsForUsersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add users to the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Purchases a GitHub Copilot seat for each user specified.
+ /// The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.
+ /// For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".
+ /// For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The usernames of the organization members to be granted access to GitHub Copilot. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotAddCopilotSeatsForUsersAsync( + string org, + global::System.Collections.Generic.IList selectedUsernames, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs new file mode 100644 index 0000000000..0186d5213c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Remove teams from the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Cancels the Copilot seat assignment for all members of each team specified.
+ /// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
+ /// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotCancelCopilotSeatAssignmentForTeamsAsync( + string org, + global::G.CopilotCancelCopilotSeatAssignmentForTeamsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove teams from the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Cancels the Copilot seat assignment for all members of each team specified.
+ /// This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
+ /// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The names of teams from which to revoke access to GitHub Copilot. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotCancelCopilotSeatAssignmentForTeamsAsync( + string org, + global::System.Collections.Generic.IList selectedTeams, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs new file mode 100644 index 0000000000..c81a0627d3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ICopilotClient.CopilotCancelCopilotSeatAssignmentForUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Remove users from the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Cancels the Copilot seat assignment for each user specified.
+ /// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
+ /// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotCancelCopilotSeatAssignmentForUsersAsync( + string org, + global::G.CopilotCancelCopilotSeatAssignmentForUsersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove users from the Copilot subscription for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Cancels the Copilot seat assignment for each user specified.
+ /// This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.
+ /// For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".
+ /// For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".
+ /// Only organization owners can configure GitHub Copilot in their organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The usernames of the organization members for which to revoke access to GitHub Copilot. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotCancelCopilotSeatAssignmentForUsersAsync( + string org, + global::System.Collections.Generic.IList selectedUsernames, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs new file mode 100644 index 0000000000..75198024f5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICopilotClient.CopilotGetCopilotOrganizationDetails.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get Copilot seat information and settings for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Gets information about an organization's Copilot subscription, including seat breakdown
+ /// and code matching policies. To configure these settings, go to your organization's settings on GitHub.com.
+ /// For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)".
+ /// Only organization owners can configure and view details about the organization's Copilot Business subscription.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotGetCopilotOrganizationDetailsAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs new file mode 100644 index 0000000000..c7bc5cc889 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ICopilotClient.CopilotGetCopilotSeatDetailsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get Copilot seat assignment details for a user
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.
+ /// Organization owners can view GitHub Copilot seat assignment details for members in their organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotGetCopilotSeatDetailsForUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs new file mode 100644 index 0000000000..52fb545fff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotListCopilotSeats.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICopilotClient.CopilotListCopilotSeats.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// List all Copilot seat assignments for an organization
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).
+ /// Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.
+ /// OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 50 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopilotListCopilotSeatsAsync( + string org, + int page = 1, + int perPage = 50, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs new file mode 100644 index 0000000000..7c7c3accd0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.ICopilotClient.CopilotUsageMetricsForEnterprise.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get a summary of Copilot usage for enterprise members
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// for all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,
+ /// and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage
+ /// metrics for the enterprise.
+ /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CopilotUsageMetricsForEnterpriseAsync( + string enterprise, + string? since = default, + string? until = default, + int page = 1, + int perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs new file mode 100644 index 0000000000..d111a03a94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.CopilotUsageMetricsForOrg.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.ICopilotClient.CopilotUsageMetricsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ICopilotClient + { + /// + /// Get a summary of Copilot usage for organization members
+ /// **Note**: This endpoint is in beta and is subject to change.
+ /// You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE
+ /// across an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.
+ /// See the response schema tab for detailed metrics definitions.
+ /// The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,
+ /// and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,
+ /// they must have telemetry enabled in their IDE.
+ /// Copilot Business or Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view
+ /// Copilot usage metrics.
+ /// OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 28 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CopilotUsageMetricsForOrgAsync( + string org, + string? since = default, + string? until = default, + int page = 1, + int perPage = 28, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.g.verified.cs new file mode 100644 index 0000000000..570b5b80bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ICopilotClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICopilotClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage Copilot using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICopilotClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotAddSelectedRepoToOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotAddSelectedRepoToOrgSecret.g.verified.cs new file mode 100644 index 0000000000..0328cc3983 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotAddSelectedRepoToOrgSecret.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDependabotClient.DependabotAddSelectedRepoToOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Add selected repository to an organization secret
+ /// Adds a repository to an organization secret when the `visibility` for
+ /// repository access is set to `selected`. The visibility is set when you [Create or
+ /// update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotAddSelectedRepoToOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotCreateOrUpdateOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotCreateOrUpdateOrgSecret.g.verified.cs new file mode 100644 index 0000000000..768d8cef75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotCreateOrUpdateOrgSecret.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IDependabotClient.DependabotCreateOrUpdateOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Create or update an organization secret
+ /// Creates or updates an organization secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.DependabotCreateOrUpdateOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update an organization secret
+ /// Creates or updates an organization secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// + /// Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotCreateOrUpdateOrgSecretAsync( + string org, + string secretName, + global::G.DependabotCreateOrUpdateOrgSecretRequestVisibility visibility, + string? encryptedValue = default, + string? keyId = default, + global::System.Collections.Generic.IList? selectedRepositoryIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotCreateOrUpdateRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotCreateOrUpdateRepoSecret.g.verified.cs new file mode 100644 index 0000000000..fd54e8f9e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotCreateOrUpdateRepoSecret.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IDependabotClient.DependabotCreateOrUpdateRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Create or update a repository secret
+ /// Creates or updates a repository secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + global::G.DependabotCreateOrUpdateRepoSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update a repository secret
+ /// Creates or updates a repository secret with an encrypted value. Encrypt your secret using
+ /// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key) endpoint. + /// + /// + /// ID of the key you used to encrypt the secret. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotCreateOrUpdateRepoSecretAsync( + string owner, + string repo, + string secretName, + string? encryptedValue = default, + string? keyId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotDeleteOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotDeleteOrgSecret.g.verified.cs new file mode 100644 index 0000000000..f971d36ad9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotDeleteOrgSecret.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDependabotClient.DependabotDeleteOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Delete an organization secret
+ /// Deletes a secret in an organization using the secret name.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotDeleteOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotDeleteRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotDeleteRepoSecret.g.verified.cs new file mode 100644 index 0000000000..ab43b3fabb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotDeleteRepoSecret.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDependabotClient.DependabotDeleteRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Delete a repository secret
+ /// Deletes a secret in a repository using the secret name.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotDeleteRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetAlert.g.verified.cs new file mode 100644 index 0000000000..d62f06abf2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetAlert.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDependabotClient.DependabotGetAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Get a Dependabot alert
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotGetAlertAsync( + string owner, + string repo, + int alertNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetOrgPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetOrgPublicKey.g.verified.cs new file mode 100644 index 0000000000..e824019a97 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetOrgPublicKey.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IDependabotClient.DependabotGetOrgPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Get an organization public key
+ /// Gets your public key, which you need to encrypt secrets. You need to
+ /// encrypt a secret before you can create or update secrets.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotGetOrgPublicKeyAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetOrgSecret.g.verified.cs new file mode 100644 index 0000000000..b030c94760 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetOrgSecret.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IDependabotClient.DependabotGetOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Get an organization secret
+ /// Gets a single organization secret without revealing its encrypted value.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotGetOrgSecretAsync( + string org, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetRepoPublicKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetRepoPublicKey.g.verified.cs new file mode 100644 index 0000000000..9d9167da12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetRepoPublicKey.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDependabotClient.DependabotGetRepoPublicKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Get a repository public key
+ /// Gets your public key, which you need to encrypt secrets. You need to
+ /// encrypt a secret before you can create or update secrets. Anyone with read access
+ /// to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the repository is private. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotGetRepoPublicKeyAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetRepoSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetRepoSecret.g.verified.cs new file mode 100644 index 0000000000..d4bccab28f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotGetRepoSecret.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IDependabotClient.DependabotGetRepoSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Get a repository secret
+ /// Gets a single repository secret without revealing its encrypted value.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotGetRepoSecretAsync( + string owner, + string repo, + string secretName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForEnterprise.g.verified.cs new file mode 100644 index 0000000000..31ce8a1f15 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForEnterprise.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IDependabotClient.DependabotListAlertsForEnterprise.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List Dependabot alerts for an enterprise
+ /// Lists Dependabot alerts for repositories that are owned by the specified enterprise.
+ /// The authenticated user must be a member of the enterprise to use this endpoint.
+ /// Alerts are only returned for organizations in the enterprise for which you are an organization owner or a security manager. For more information about security managers, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DependabotListAlertsForEnterpriseAsync( + string enterprise, + string? state = default, + string? severity = default, + string? ecosystem = default, + string? package = default, + global::G.DependabotListAlertsForEnterpriseScope? scope = default, + global::G.DependabotListAlertsForEnterpriseSort? sort = global::G.DependabotListAlertsForEnterpriseSort.Created, + global::G.DependabotListAlertsForEnterpriseDirection? direction = global::G.DependabotListAlertsForEnterpriseDirection.Desc, + string? before = default, + string? after = default, + int first = 30, + int last = default, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForOrg.g.verified.cs new file mode 100644 index 0000000000..88a8688740 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForOrg.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IDependabotClient.DependabotListAlertsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List Dependabot alerts for an organization
+ /// Lists Dependabot alerts for an organization.
+ /// The authenticated user must be an owner or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DependabotListAlertsForOrgAsync( + string org, + string? state = default, + string? severity = default, + string? ecosystem = default, + string? package = default, + global::G.DependabotListAlertsForOrgScope? scope = default, + global::G.DependabotListAlertsForOrgSort? sort = global::G.DependabotListAlertsForOrgSort.Created, + global::G.DependabotListAlertsForOrgDirection? direction = global::G.DependabotListAlertsForOrgDirection.Desc, + string? before = default, + string? after = default, + int first = 30, + int last = default, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForRepo.g.verified.cs new file mode 100644 index 0000000000..f34f70e7f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListAlertsForRepo.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IDependabotClient.DependabotListAlertsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List Dependabot alerts for a repository
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DependabotListAlertsForRepoAsync( + string owner, + string repo, + string? state = default, + string? severity = default, + string? ecosystem = default, + string? package = default, + string? manifest = default, + global::G.DependabotListAlertsForRepoScope? scope = default, + global::G.DependabotListAlertsForRepoSort? sort = global::G.DependabotListAlertsForRepoSort.Created, + global::G.DependabotListAlertsForRepoDirection? direction = global::G.DependabotListAlertsForRepoDirection.Desc, + int page = 1, + int perPage = 30, + string? before = default, + string? after = default, + int first = 30, + int last = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListOrgSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListOrgSecrets.g.verified.cs new file mode 100644 index 0000000000..7677fc2e10 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListOrgSecrets.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IDependabotClient.DependabotListOrgSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List organization secrets
+ /// Lists all secrets available in an organization without revealing their
+ /// encrypted values.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotListOrgSecretsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListRepoSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListRepoSecrets.g.verified.cs new file mode 100644 index 0000000000..a4bc077649 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListRepoSecrets.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IDependabotClient.DependabotListRepoSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List repository secrets
+ /// Lists all secrets available in a repository without revealing their encrypted
+ /// values.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotListRepoSecretsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..43c2f31373 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotListSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IDependabotClient.DependabotListSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// List selected repositories for an organization secret
+ /// Lists all repositories that have been selected when the `visibility`
+ /// for repository access to a secret is set to `selected`.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotListSelectedReposForOrgSecretAsync( + string org, + string secretName, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotRemoveSelectedRepoFromOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotRemoveSelectedRepoFromOrgSecret.g.verified.cs new file mode 100644 index 0000000000..1f20e3c4fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotRemoveSelectedRepoFromOrgSecret.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDependabotClient.DependabotRemoveSelectedRepoFromOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Remove selected repository from an organization secret
+ /// Removes a repository from an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotRemoveSelectedRepoFromOrgSecretAsync( + string org, + string secretName, + int repositoryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotSetSelectedReposForOrgSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotSetSelectedReposForOrgSecret.g.verified.cs new file mode 100644 index 0000000000..9f888b936a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotSetSelectedReposForOrgSecret.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IDependabotClient.DependabotSetSelectedReposForOrgSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::G.DependabotSetSelectedReposForOrgSecretRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set selected repositories for an organization secret
+ /// Replaces all repositories for an organization secret when the `visibility`
+ /// for repository access is set to `selected`. The visibility is set when you [Create
+ /// or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 add and remove individual repositories using the [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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotSetSelectedReposForOrgSecretAsync( + string org, + string secretName, + global::System.Collections.Generic.IList selectedRepositoryIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotUpdateAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotUpdateAlert.g.verified.cs new file mode 100644 index 0000000000..66669ae939 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.DependabotUpdateAlert.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IDependabotClient.DependabotUpdateAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependabotClient + { + /// + /// Update a Dependabot alert
+ /// The authenticated user must have access to security alerts for the repository to use this endpoint. For more information, see "[Granting access to security alerts](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts)."
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.DependabotUpdateAlertRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a Dependabot alert
+ /// The authenticated user must have access to security alerts for the repository to use this endpoint. For more information, see "[Granting access to security alerts](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts)."
+ /// OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// The state of the Dependabot alert.
+ /// A `dismissed_reason` must be provided when setting the state to `dismissed`. + /// + /// + /// **Required when `state` is `dismissed`.** A reason for dismissing the alert. + /// + /// + /// An optional comment associated with dismissing the alert. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependabotUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.DependabotUpdateAlertRequestState state, + global::G.DependabotUpdateAlertRequestDismissedReason? dismissedReason = default, + string? dismissedComment = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.g.verified.cs new file mode 100644 index 0000000000..4059467df8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependabotClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDependabotClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage Dependabot.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDependabotClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.verified.cs new file mode 100644 index 0000000000..8664fb052b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IDependencyGraphClient.DependencyGraphCreateRepositorySnapshot.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependencyGraphClient + { + /// + /// Create a snapshot of dependencies for a repository
+ /// Create a new snapshot of a repository's dependencies.
+ /// The authenticated user must have access to the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependencyGraphCreateRepositorySnapshotAsync( + string owner, + string repo, + global::G.Snapshot request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a snapshot of dependencies for a repository
+ /// Create a new snapshot of a repository's dependencies.
+ /// The authenticated user must have access to the repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The version of the repository snapshot submission. + /// + /// + /// + /// The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.
+ /// Example: ddc951f4b1293222421f2c8df679786153acf689 + /// + /// + /// The repository branch that triggered this snapshot.
+ /// Example: refs/heads/main + /// + /// + /// A description of the detector used. + /// + /// + /// User-defined metadata to store domain-specific information limited to 8 keys with scalar values. + /// + /// + /// A collection of package manifests, which are a collection of related dependencies declared in a file or representing a logical group of dependencies. + /// + /// + /// The time at which the snapshot was scanned. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependencyGraphCreateRepositorySnapshotAsync( + string owner, + string repo, + int version, + global::G.SnapshotJob job, + string sha, + string @ref, + global::G.SnapshotDetector detector, + global::System.DateTime scanned, + global::G.Metadata? metadata = default, + global::G.SnapshotManifests? manifests = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphDiffRange.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphDiffRange.g.verified.cs new file mode 100644 index 0000000000..ab8a0470e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphDiffRange.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDependencyGraphClient.DependencyGraphDiffRange.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependencyGraphClient + { + /// + /// Get a diff of the dependencies between commits
+ /// Gets the diff of the dependency changes between two commits of a repository, based on the changes to the dependency manifests made in those commits. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> DependencyGraphDiffRangeAsync( + string owner, + string repo, + string basehead, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphExportSbom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphExportSbom.g.verified.cs new file mode 100644 index 0000000000..b167825d44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.DependencyGraphExportSbom.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IDependencyGraphClient.DependencyGraphExportSbom.g.cs +#nullable enable + +namespace G +{ + public partial interface IDependencyGraphClient + { + /// + /// Export a software bill of materials (SBOM) for a repository.
+ /// Exports the software bill of materials (SBOM) for a repository in SPDX JSON format. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DependencyGraphExportSbomAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.g.verified.cs new file mode 100644 index 0000000000..44302dff12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDependencyGraphClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDependencyGraphClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to access Dependency Graph features.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDependencyGraphClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDesktopClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDesktopClient.g.verified.cs new file mode 100644 index 0000000000..4137756c56 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IDesktopClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDesktopClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Desktop specific endpoints.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDesktopClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEmojisClient.EmojisGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEmojisClient.EmojisGet.g.verified.cs new file mode 100644 index 0000000000..bd6a38c866 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEmojisClient.EmojisGet.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IEmojisClient.EmojisGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmojisClient + { + /// + /// Get emojis
+ /// Lists all the emojis available to use on GitHub. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EmojisGetAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEmojisClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEmojisClient.g.verified.cs new file mode 100644 index 0000000000..35b3bfa792 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEmojisClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IEmojisClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// List emojis available to use on GitHub.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEmojisClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEnterpriseTeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEnterpriseTeamsClient.g.verified.cs new file mode 100644 index 0000000000..387734445c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IEnterpriseTeamsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IEnterpriseTeamsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage GitHub Enterprise Teams.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEnterpriseTeamsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCheckIsStarred.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCheckIsStarred.g.verified.cs new file mode 100644 index 0000000000..53732b56c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCheckIsStarred.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IGistsClient.GistsCheckIsStarred.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Check if a gist is starred + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsCheckIsStarredAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreate.g.verified.cs new file mode 100644 index 0000000000..a6303583b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreate.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IGistsClient.GistsCreate.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Create a gist
+ /// Allows you to add a new gist with one or more files.
+ /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsCreateAsync( + global::G.GistsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a gist
+ /// Allows you to add a new gist with one or more files.
+ /// **Note:** Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. + ///
+ /// + /// Description of the gist
+ /// Example: Example Ruby script + /// + /// + /// Names and content for the files that make up the gist + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsCreateAsync( + global::G.GistsCreateRequestFiles files, + string? description = default, + global::G.OneOf? @public = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreateComment.g.verified.cs new file mode 100644 index 0000000000..aa7bab02c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsCreateComment.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IGistsClient.GistsCreateComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Create a gist comment
+ /// Creates a comment on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsCreateCommentAsync( + string gistId, + global::G.GistsCreateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a gist comment
+ /// Creates a comment on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The comment text.
+ /// Example: Body of the attachment + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsCreateCommentAsync( + string gistId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDelete.g.verified.cs new file mode 100644 index 0000000000..032c3f53a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDelete.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IGistsClient.GistsDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Delete a gist + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsDeleteAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs new file mode 100644 index 0000000000..01ceba6268 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsDeleteComment.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IGistsClient.GistsDeleteComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Delete a gist comment + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsDeleteCommentAsync( + string gistId, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsFork.g.verified.cs new file mode 100644 index 0000000000..d42980a4c0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsFork.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IGistsClient.GistsFork.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Fork a gist + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsForkAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGet.g.verified.cs new file mode 100644 index 0000000000..ae1556d964 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGet.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IGistsClient.GistsGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Get a gist
+ /// Gets a specified gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsGetAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetComment.g.verified.cs new file mode 100644 index 0000000000..2f441b2870 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetComment.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGistsClient.GistsGetComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Get a gist comment
+ /// Gets a comment on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsGetCommentAsync( + string gistId, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetRevision.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetRevision.g.verified.cs new file mode 100644 index 0000000000..9dcc45754b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsGetRevision.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGistsClient.GistsGetRevision.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Get a gist revision
+ /// Gets a specified gist revision.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsGetRevisionAsync( + string gistId, + string sha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsList.g.verified.cs new file mode 100644 index 0000000000..b3783683ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsList.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IGistsClient.GistsList.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List gists for the authenticated user
+ /// Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists: + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListAsync( + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListComments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListComments.g.verified.cs new file mode 100644 index 0000000000..55eec16509 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListComments.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IGistsClient.GistsListComments.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List gist comments
+ /// Lists the comments on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListCommentsAsync( + string gistId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListCommits.g.verified.cs new file mode 100644 index 0000000000..8854c2995b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListCommits.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGistsClient.GistsListCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List gist commits + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListCommitsAsync( + string gistId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListForUser.g.verified.cs new file mode 100644 index 0000000000..76ca2b0bf6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListForUser.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IGistsClient.GistsListForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List gists for a user
+ /// Lists public gists for the specified user: + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListForUserAsync( + string username, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListForks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListForks.g.verified.cs new file mode 100644 index 0000000000..809a0daff0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListForks.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGistsClient.GistsListForks.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List gist forks + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListForksAsync( + string gistId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListPublic.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListPublic.g.verified.cs new file mode 100644 index 0000000000..80d73f19f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListPublic.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IGistsClient.GistsListPublic.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List public gists
+ /// List public gists sorted by most recently updated to least recently updated.
+ /// Note: With [pagination](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListPublicAsync( + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListStarred.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListStarred.g.verified.cs new file mode 100644 index 0000000000..387cd40c04 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsListStarred.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IGistsClient.GistsListStarred.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// List starred gists
+ /// List the authenticated user's starred gists: + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GistsListStarredAsync( + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsStar.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsStar.g.verified.cs new file mode 100644 index 0000000000..aedbdbbb68 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsStar.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IGistsClient.GistsStar.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Star a gist
+ /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsStarAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUnstar.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUnstar.g.verified.cs new file mode 100644 index 0000000000..32864900da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUnstar.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IGistsClient.GistsUnstar.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Unstar a gist + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsUnstarAsync( + string gistId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdate.g.verified.cs new file mode 100644 index 0000000000..6bd549f0b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdate.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IGistsClient.GistsUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Update a gist
+ /// Allows you to update a gist's description and to update, delete, or rename gist files. Files
+ /// from the previous version of the gist that aren't explicitly changed during an edit
+ /// are unchanged.
+ /// At least one of `description` or `files` is required.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsUpdateAsync( + string gistId, + global::G.GistsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a gist
+ /// Allows you to update a gist's description and to update, delete, or rename gist files. Files
+ /// from the previous version of the gist that aren't explicitly changed during an edit
+ /// are unchanged.
+ /// At least one of `description` or `files` is required.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// The description of the gist.
+ /// Example: Example Ruby script + /// + /// + /// 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`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsUpdateAsync( + string gistId, + string? description = default, + global::G.GistsUpdateRequestFiles? files = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs new file mode 100644 index 0000000000..23f9d85970 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.GistsUpdateComment.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IGistsClient.GistsUpdateComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IGistsClient + { + /// + /// Update a gist comment
+ /// Updates a comment on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsUpdateCommentAsync( + string gistId, + int commentId, + global::G.GistsUpdateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a gist comment
+ /// Updates a comment on a gist.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.base64+json`**: Returns the base64-encoded contents. This can be useful if your gist contains any invalid UTF-8 sequences. + ///
+ /// + /// + /// + /// The comment text.
+ /// Example: Body of the attachment + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GistsUpdateCommentAsync( + string gistId, + int commentId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.g.verified.cs new file mode 100644 index 0000000000..c89ff041bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGistsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGistsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// View, modify your gists.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGistsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateBlob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateBlob.g.verified.cs new file mode 100644 index 0000000000..4e00ee1d25 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateBlob.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IGitClient.GitCreateBlob.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Create a blob + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateBlobAsync( + string owner, + string repo, + global::G.GitCreateBlobRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a blob + /// + /// + /// + /// + /// The new blob's content. + /// + /// + /// The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported.
+ /// Default Value: utf-8 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateBlobAsync( + string owner, + string repo, + string content, + string? encoding = "utf-8", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateCommit.g.verified.cs new file mode 100644 index 0000000000..a27839e750 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateCommit.g.verified.cs @@ -0,0 +1,108 @@ +//HintName: G.IGitClient.GitCreateCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Create a commit
+ /// Creates a new Git [commit object](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects).
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateCommitAsync( + string owner, + string repo, + global::G.GitCreateCommitRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a commit
+ /// Creates a new Git [commit object](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects).
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The commit message + /// + /// + /// The SHA of the tree object this commit points to + /// + /// + /// The 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. + /// + /// + /// 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. + /// + /// + /// Information about the person who is making the commit. By default, `committer` will use the information set in `author`. See the `author` and `committer` object below for details. + /// + /// + /// The [PGP signature](https://en.wikipedia.org/wiki/Pretty_Good_Privacy) of the commit. GitHub adds the signature to the `gpgsig` header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database. To pass a `signature` parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to [use the command line](https://git-scm.com/book/id/v2/Git-Tools-Signing-Your-Work) to create signed commits. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateCommitAsync( + string owner, + string repo, + string message, + string tree, + global::System.Collections.Generic.IList? parents = default, + global::G.GitCreateCommitRequestAuthor? author = default, + global::G.GitCreateCommitRequestCommitter? committer = default, + string? signature = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateRef.g.verified.cs new file mode 100644 index 0000000000..10e36f066f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateRef.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IGitClient.GitCreateRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Create a reference
+ /// Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateRefAsync( + string owner, + string repo, + global::G.GitCreateRefRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a reference
+ /// Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches. + ///
+ /// + /// + /// + /// The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected. + /// + /// + /// The SHA1 value for this reference. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateRefAsync( + string owner, + string repo, + string @ref, + string sha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateTag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateTag.g.verified.cs new file mode 100644 index 0000000000..17343b5ab8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateTag.g.verified.cs @@ -0,0 +1,104 @@ +//HintName: G.IGitClient.GitCreateTag.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Create a tag object
+ /// Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/git/refs#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/git/refs#create-a-reference) the tag reference - this call would be unnecessary.
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateTagAsync( + string owner, + string repo, + global::G.GitCreateTagRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a tag object
+ /// Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/rest/git/refs#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/rest/git/refs#create-a-reference) the tag reference - this call would be unnecessary.
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The tag's name. This is typically a version (e.g., "v0.0.1"). + /// + /// + /// The tag message. + /// + /// + /// The SHA of the git object this is tagging. + /// + /// + /// The type of the object we're tagging. Normally this is a `commit` but it can also be a `tree` or a `blob`. + /// + /// + /// An object with information about the individual creating the tag. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateTagAsync( + string owner, + string repo, + string tag, + string message, + string @object, + global::G.GitCreateTagRequestType type, + global::G.GitCreateTagRequestTagger? tagger = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateTree.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateTree.g.verified.cs new file mode 100644 index 0000000000..fc5e4a8d33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitCreateTree.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IGitClient.GitCreateTree.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Create a tree
+ /// The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.
+ /// If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see "[Create a commit](https://docs.github.com/rest/git/commits#create-a-commit)" and "[Update a reference](https://docs.github.com/rest/git/refs#update-a-reference)."
+ /// Returns an error if you try to delete a file that does not exist. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateTreeAsync( + string owner, + string repo, + global::G.GitCreateTreeRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a tree
+ /// The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.
+ /// If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see "[Create a commit](https://docs.github.com/rest/git/commits#create-a-commit)" and "[Update a reference](https://docs.github.com/rest/git/refs#update-a-reference)."
+ /// Returns an error if you try to delete a file that does not exist. + ///
+ /// + /// + /// + /// Objects (of `path`, `mode`, `type`, and `sha`) specifying a tree structure. + /// + /// + /// 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.
+ /// If not provided, GitHub will create a new Git tree object from only the entries defined in the `tree` parameter. If you create a new commit pointing to such a tree, then all files which were a part of the parent commit's tree and were not defined in the `tree` parameter will be listed as deleted by the new commit. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitCreateTreeAsync( + string owner, + string repo, + global::System.Collections.Generic.IList tree, + string? baseTree = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitDeleteRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitDeleteRef.g.verified.cs new file mode 100644 index 0000000000..fdb6732476 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitDeleteRef.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IGitClient.GitDeleteRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Delete a reference
+ /// Deletes the provided reference. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitDeleteRefAsync( + string owner, + string repo, + string @ref, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetBlob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetBlob.g.verified.cs new file mode 100644 index 0000000000..e8932644be --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetBlob.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IGitClient.GitGetBlob.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Get a blob
+ /// The `content` in the response will always be Base64 encoded.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw blob data.
+ /// - **`application/vnd.github+json`**: Returns a JSON representation of the blob with `content` as a base64 encoded string. This is the default if no media type is specified.
+ /// **Note** This endpoint supports blobs up to 100 megabytes in size. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitGetBlobAsync( + string owner, + string repo, + string fileSha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetCommit.g.verified.cs new file mode 100644 index 0000000000..75e0fa27cd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetCommit.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IGitClient.GitGetCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Get a commit object
+ /// Gets a Git [commit object](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects).
+ /// To get the contents of a commit, see "[Get a commit](/rest/commits/commits#get-a-commit)."
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitGetCommitAsync( + string owner, + string repo, + string commitSha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetRef.g.verified.cs new file mode 100644 index 0000000000..6dc9d542f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetRef.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGitClient.GitGetRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Get a reference
+ /// Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.
+ /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitGetRefAsync( + string owner, + string repo, + string @ref, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTag.g.verified.cs new file mode 100644 index 0000000000..1c5c8dfc28 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTag.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IGitClient.GitGetTag.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Get a tag
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitGetTagAsync( + string owner, + string repo, + string tagSha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTree.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTree.g.verified.cs new file mode 100644 index 0000000000..e8b18d43b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitGetTree.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IGitClient.GitGetTree.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Get a tree
+ /// Returns a single tree using the SHA1 value or ref name for that tree.
+ /// If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.
+ /// **Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitGetTreeAsync( + string owner, + string repo, + string treeSha, + string? recursive = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs new file mode 100644 index 0000000000..172432a823 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitListMatchingRefs.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGitClient.GitListMatchingRefs.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// List matching references
+ /// Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.
+ /// When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.
+ /// **Note:** You need to explicitly [request a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
+ /// If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GitListMatchingRefsAsync( + string owner, + string repo, + string @ref, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitUpdateRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitUpdateRef.g.verified.cs new file mode 100644 index 0000000000..a852266406 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.GitUpdateRef.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IGitClient.GitUpdateRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitClient + { + /// + /// Update a reference
+ /// Updates the provided reference to point to a new SHA. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitUpdateRefAsync( + string owner, + string repo, + string @ref, + global::G.GitUpdateRefRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a reference
+ /// Updates the provided reference to point to a new SHA. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. + ///
+ /// + /// + /// + /// + /// The SHA1 value to set this reference to + /// + /// + /// Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitUpdateRefAsync( + string owner, + string repo, + string @ref, + string sha, + bool force = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.g.verified.cs new file mode 100644 index 0000000000..f24c784c15 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGitClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Raw Git functionality.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGitClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.GitignoreGetAllTemplates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.GitignoreGetAllTemplates.g.verified.cs new file mode 100644 index 0000000000..523f24e8f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.GitignoreGetAllTemplates.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IGitignoreClient.GitignoreGetAllTemplates.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitignoreClient + { + /// + /// Get all gitignore templates
+ /// List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/repos/repos#create-a-repository-for-the-authenticated-user). + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GitignoreGetAllTemplatesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.GitignoreGetTemplate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.GitignoreGetTemplate.g.verified.cs new file mode 100644 index 0000000000..ff62f51deb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.GitignoreGetTemplate.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IGitignoreClient.GitignoreGetTemplate.g.cs +#nullable enable + +namespace G +{ + public partial interface IGitignoreClient + { + /// + /// Get a gitignore template
+ /// Get the content of a gitignore template.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw .gitignore contents. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GitignoreGetTemplateAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.g.verified.cs new file mode 100644 index 0000000000..5797b7e09a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IGitignoreClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGitignoreClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// View gitignore templates
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGitignoreClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..9b6f3f1a61 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IInteractionsClient.InteractionsGetRestrictionsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Get interaction restrictions for your public repositories
+ /// Shows which type of GitHub user can interact with your public repositories and when the restriction expires. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForOrg.g.verified.cs new file mode 100644 index 0000000000..77e4509bc6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForOrg.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IInteractionsClient.InteractionsGetRestrictionsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Get interaction restrictions for an organization
+ /// Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForRepo.g.verified.cs new file mode 100644 index 0000000000..0debfbb750 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsGetRestrictionsForRepo.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IInteractionsClient.InteractionsGetRestrictionsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Get interaction restrictions for a repository
+ /// Shows which type of GitHub user can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> InteractionsGetRestrictionsForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..f34883e758 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IInteractionsClient.InteractionsRemoveRestrictionsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Remove interaction restrictions from your public repositories
+ /// Removes any interaction restrictions from your public repositories. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsRemoveRestrictionsForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForOrg.g.verified.cs new file mode 100644 index 0000000000..efb52dee0b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForOrg.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IInteractionsClient.InteractionsRemoveRestrictionsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Remove interaction restrictions for an organization
+ /// Removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsRemoveRestrictionsForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForRepo.g.verified.cs new file mode 100644 index 0000000000..d8b3dfcf58 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsRemoveRestrictionsForRepo.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IInteractionsClient.InteractionsRemoveRestrictionsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Remove interaction restrictions for a repository
+ /// Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions. If the interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsRemoveRestrictionsForRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..97246f635e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IInteractionsClient.InteractionsSetRestrictionsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Set interaction restrictions for your public repositories
+ /// Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForAuthenticatedUserAsync( + global::G.InteractionLimit request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set interaction restrictions for your public repositories
+ /// Temporarily restricts which type of GitHub user can interact with your public repositories. Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. + ///
+ /// + /// The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.
+ /// Example: collaborators_only + /// + /// + /// The duration of the interaction restriction. Default: `one_day`.
+ /// Example: one_month + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForAuthenticatedUserAsync( + global::G.InteractionGroup limit, + global::G.InteractionExpiry? expiry = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForOrg.g.verified.cs new file mode 100644 index 0000000000..53d4f0105f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForOrg.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IInteractionsClient.InteractionsSetRestrictionsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Set interaction restrictions for an organization
+ /// Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForOrgAsync( + string org, + global::G.InteractionLimit request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set interaction restrictions for an organization
+ /// Temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization. + ///
+ /// + /// + /// The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.
+ /// Example: collaborators_only + /// + /// + /// The duration of the interaction restriction. Default: `one_day`.
+ /// Example: one_month + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForOrgAsync( + string org, + global::G.InteractionGroup limit, + global::G.InteractionExpiry? expiry = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForRepo.g.verified.cs new file mode 100644 index 0000000000..93daa9545e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.InteractionsSetRestrictionsForRepo.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IInteractionsClient.InteractionsSetRestrictionsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IInteractionsClient + { + /// + /// Set interaction restrictions for a repository
+ /// Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForRepoAsync( + string owner, + string repo, + global::G.InteractionLimit request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set interaction restrictions for a repository
+ /// Temporarily restricts interactions to a certain type of GitHub user within the given repository. You must have owner or admin access to set these restrictions. If an interaction limit is set for the user or organization that owns this repository, you will receive a `409 Conflict` response and will not be able to use this endpoint to change the interaction limit for a single repository. + ///
+ /// + /// + /// + /// The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.
+ /// Example: collaborators_only + /// + /// + /// The duration of the interaction restriction. Default: `one_day`.
+ /// Example: one_month + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InteractionsSetRestrictionsForRepoAsync( + string owner, + string repo, + global::G.InteractionGroup limit, + global::G.InteractionExpiry? expiry = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.g.verified.cs new file mode 100644 index 0000000000..547c6f670d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IInteractionsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IInteractionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Owner or admin management of users interactions.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IInteractionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesAddAssignees.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesAddAssignees.g.verified.cs new file mode 100644 index 0000000000..4c20d39092 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesAddAssignees.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IIssuesClient.IssuesAddAssignees.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Add assignees to an issue
+ /// Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesAddAssigneesAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesAddAssigneesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add assignees to an issue
+ /// Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced. + ///
+ /// + /// + /// + /// + /// 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._ + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesAddAssigneesAsync( + string owner, + string repo, + int issueNumber, + global::System.Collections.Generic.IList? assignees = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesAddLabels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesAddLabels.g.verified.cs new file mode 100644 index 0000000000..b370f13bd5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesAddLabels.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IIssuesClient.IssuesAddLabels.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Add labels to an issue
+ /// Adds labels to an issue. If you provide an empty array of labels, all labels are removed from the issue. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesAddLabelsAsync( + string owner, + string repo, + int issueNumber, + global::G.OneOf, global::G.IssuesAddLabelsRequestVariant3, global::System.Collections.Generic.IList, string> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add labels to an issue
+ /// Adds labels to an issue. If you provide an empty array of labels, all labels are removed from the issue. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesAddLabelsAsync( + string owner, + string repo, + int issueNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssigned.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssigned.g.verified.cs new file mode 100644 index 0000000000..4433541aa8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssigned.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IIssuesClient.IssuesCheckUserCanBeAssigned.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Check if a user can be assigned
+ /// Checks if a user has permission to be assigned to an issue in this repository.
+ /// If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.
+ /// Otherwise a `404` status code is returned. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCheckUserCanBeAssignedAsync( + string owner, + string repo, + string assignee, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssignedToIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssignedToIssue.g.verified.cs new file mode 100644 index 0000000000..3cafed2a57 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCheckUserCanBeAssignedToIssue.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IIssuesClient.IssuesCheckUserCanBeAssignedToIssue.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Check if a user can be assigned to a issue
+ /// Checks if a user has permission to be assigned to a specific issue.
+ /// If the `assignee` can be assigned to this issue, a `204` status code with no content is returned.
+ /// Otherwise a `404` status code is returned. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCheckUserCanBeAssignedToIssueAsync( + string owner, + string repo, + int issueNumber, + string assignee, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs new file mode 100644 index 0000000000..00c46db217 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreate.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IIssuesClient.IssuesCreate.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Create an issue
+ /// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateAsync( + string owner, + string repo, + global::G.IssuesCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an issue
+ /// Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The title of the issue. + /// + /// + /// The contents of the issue. + /// + /// + /// Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_ + /// + /// + /// + /// Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ + /// + /// + /// 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._ + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateAsync( + string owner, + string repo, + global::G.OneOf title, + string? body = default, + string? assignee = default, + global::G.OneOf? milestone = default, + global::System.Collections.Generic.IList>? labels = default, + global::System.Collections.Generic.IList? assignees = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs new file mode 100644 index 0000000000..d8ca90e0ff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateComment.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IIssuesClient.IssuesCreateComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Create an issue comment
+ /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
+ /// Creating content too quickly using this endpoint may result in secondary rate limiting.
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateCommentAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesCreateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an issue comment
+ /// You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
+ /// Creating content too quickly using this endpoint may result in secondary rate limiting.
+ /// For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The contents of the comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateCommentAsync( + string owner, + string repo, + int issueNumber, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateLabel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateLabel.g.verified.cs new file mode 100644 index 0000000000..ec1558d513 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateLabel.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IIssuesClient.IssuesCreateLabel.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Create a label
+ /// Creates a label for the specified repository with the given name and color. The name and color parameters are required. The color must be a valid [hexadecimal color code](http://www.color-hex.com/). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateLabelAsync( + string owner, + string repo, + global::G.IssuesCreateLabelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a label
+ /// Creates a label for the specified repository with the given name and color. The name and color parameters are required. The color must be a valid [hexadecimal color code](http://www.color-hex.com/). + ///
+ /// + /// + /// + /// The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see "[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet)." + /// + /// + /// The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. + /// + /// + /// A short description of the label. Must be 100 characters or fewer. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateLabelAsync( + string owner, + string repo, + string name, + string? color = default, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateMilestone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateMilestone.g.verified.cs new file mode 100644 index 0000000000..8fb0b8234e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesCreateMilestone.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IIssuesClient.IssuesCreateMilestone.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Create a milestone
+ /// Creates a milestone. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateMilestoneAsync( + string owner, + string repo, + global::G.IssuesCreateMilestoneRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a milestone
+ /// Creates a milestone. + ///
+ /// + /// + /// + /// The title of the milestone. + /// + /// + /// The state of the milestone. Either `open` or `closed`.
+ /// Default Value: open + /// + /// + /// A description of the milestone. + /// + /// + /// The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesCreateMilestoneAsync( + string owner, + string repo, + string title, + global::G.IssuesCreateMilestoneRequestState? state = global::G.IssuesCreateMilestoneRequestState.Open, + string? description = default, + global::System.DateTime dueOn = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs new file mode 100644 index 0000000000..900127261d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteComment.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesDeleteComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Delete an issue comment
+ /// You can use the REST API to delete comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesDeleteCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteLabel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteLabel.g.verified.cs new file mode 100644 index 0000000000..fdb775a0d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteLabel.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesDeleteLabel.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Delete a label
+ /// Deletes a label using the given label name. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesDeleteLabelAsync( + string owner, + string repo, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteMilestone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteMilestone.g.verified.cs new file mode 100644 index 0000000000..1a3eecc28c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesDeleteMilestone.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesDeleteMilestone.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Delete a milestone
+ /// Deletes a milestone using the given milestone number. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesDeleteMilestoneAsync( + string owner, + string repo, + int milestoneNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGet.g.verified.cs new file mode 100644 index 0000000000..9da584afee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGet.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IIssuesClient.IssuesGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Get an issue
+ /// The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api#follow-redirects) if the issue was
+ /// [transferred](https://docs.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If
+ /// the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API
+ /// returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read
+ /// access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe
+ /// to the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.
+ /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
+ /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
+ /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
+ /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesGetAsync( + string owner, + string repo, + int issueNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs new file mode 100644 index 0000000000..3d84210e80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetComment.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IIssuesClient.IssuesGetComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Get an issue comment
+ /// You can use the REST API to get comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesGetCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetEvent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetEvent.g.verified.cs new file mode 100644 index 0000000000..8fc89c23b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetEvent.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesGetEvent.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Get an issue event
+ /// Gets a single event by the event id. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesGetEventAsync( + string owner, + string repo, + int eventId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetLabel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetLabel.g.verified.cs new file mode 100644 index 0000000000..619fa78e2f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetLabel.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesGetLabel.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Get a label
+ /// Gets a label using the given name. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesGetLabelAsync( + string owner, + string repo, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetMilestone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetMilestone.g.verified.cs new file mode 100644 index 0000000000..7a1ad46ec0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesGetMilestone.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesGetMilestone.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Get a milestone
+ /// Gets a milestone using the given milestone number. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesGetMilestoneAsync( + string owner, + string repo, + int milestoneNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesList.g.verified.cs new file mode 100644 index 0000000000..415b81c2fd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesList.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IIssuesClient.IssuesList.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List issues assigned to the authenticated user
+ /// List issues assigned to the authenticated user across all visible repositories including owned repositories, member
+ /// repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not
+ /// necessarily assigned to you.
+ /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
+ /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
+ /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
+ /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// Default Value: assigned + /// + /// + /// Default Value: open + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListAsync( + global::G.IssuesListFilter? filter = global::G.IssuesListFilter.Assigned, + global::G.IssuesListState? state = global::G.IssuesListState.Open, + string? labels = default, + global::G.IssuesListSort? sort = global::G.IssuesListSort.Created, + global::G.IssuesListDirection? direction = global::G.IssuesListDirection.Desc, + global::System.DateTime since = default, + bool collab = default, + bool orgs = default, + bool owned = default, + bool pulls = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListAssignees.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListAssignees.g.verified.cs new file mode 100644 index 0000000000..f0cdcd00a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListAssignees.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IIssuesClient.IssuesListAssignees.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List assignees
+ /// Lists the [available assignees](https://docs.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListAssigneesAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListComments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListComments.g.verified.cs new file mode 100644 index 0000000000..1d5e174818 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListComments.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IIssuesClient.IssuesListComments.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List issue comments
+ /// You can use the REST API to list comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// Issue comments are ordered by ascending ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListCommentsAsync( + string owner, + string repo, + int issueNumber, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListCommentsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListCommentsForRepo.g.verified.cs new file mode 100644 index 0000000000..608ec980e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListCommentsForRepo.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IIssuesClient.IssuesListCommentsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List issue comments for a repository
+ /// You can use the REST API to list comments on issues and pull requests for a repository. Every pull request is an issue, but not every issue is a pull request.
+ /// By default, issue comments are ordered by ascending ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// Default Value: created + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListCommentsForRepoAsync( + string owner, + string repo, + global::G.IssuesListCommentsForRepoSort? sort = global::G.IssuesListCommentsForRepoSort.Created, + global::G.IssuesListCommentsForRepoDirection? direction = default, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEvents.g.verified.cs new file mode 100644 index 0000000000..188b8779c7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEvents.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IIssuesClient.IssuesListEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List issue events
+ /// Lists all events for an issue. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListEventsAsync( + string owner, + string repo, + int issueNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEventsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEventsForRepo.g.verified.cs new file mode 100644 index 0000000000..68c82e0932 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEventsForRepo.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IIssuesClient.IssuesListEventsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List issue events for a repository
+ /// Lists events for a repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListEventsForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEventsForTimeline.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEventsForTimeline.g.verified.cs new file mode 100644 index 0000000000..6781697526 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListEventsForTimeline.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IIssuesClient.IssuesListEventsForTimeline.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List timeline events for an issue
+ /// List all timeline events for an issue. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListEventsForTimelineAsync( + string owner, + string repo, + int issueNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..400fc61b3e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IIssuesClient.IssuesListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List user account issues assigned to the authenticated user
+ /// List issues across owned and member repositories assigned to the authenticated user.
+ /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
+ /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
+ /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
+ /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// Default Value: assigned + /// + /// + /// Default Value: open + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListForAuthenticatedUserAsync( + global::G.IssuesListForAuthenticatedUserFilter? filter = global::G.IssuesListForAuthenticatedUserFilter.Assigned, + global::G.IssuesListForAuthenticatedUserState? state = global::G.IssuesListForAuthenticatedUserState.Open, + string? labels = default, + global::G.IssuesListForAuthenticatedUserSort? sort = global::G.IssuesListForAuthenticatedUserSort.Created, + global::G.IssuesListForAuthenticatedUserDirection? direction = global::G.IssuesListForAuthenticatedUserDirection.Desc, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs new file mode 100644 index 0000000000..fb237ef561 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForOrg.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IIssuesClient.IssuesListForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List organization issues assigned to the authenticated user
+ /// List issues in an organization assigned to the authenticated user.
+ /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
+ /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
+ /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
+ /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// Default Value: assigned + /// + /// + /// Default Value: open + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListForOrgAsync( + string org, + global::G.IssuesListForOrgFilter? filter = global::G.IssuesListForOrgFilter.Assigned, + global::G.IssuesListForOrgState? state = global::G.IssuesListForOrgState.Open, + string? labels = default, + global::G.IssuesListForOrgSort? sort = global::G.IssuesListForOrgSort.Created, + global::G.IssuesListForOrgDirection? direction = global::G.IssuesListForOrgDirection.Desc, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs new file mode 100644 index 0000000000..93aa4d712d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListForRepo.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IIssuesClient.IssuesListForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List repository issues
+ /// List issues in a repository. Only open issues will be listed.
+ /// **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this
+ /// reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by
+ /// the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull
+ /// request id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: open + /// + /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListForRepoAsync( + string owner, + string repo, + string? milestone = default, + global::G.IssuesListForRepoState? state = global::G.IssuesListForRepoState.Open, + string? assignee = default, + string? creator = default, + string? mentioned = default, + string? labels = default, + global::G.IssuesListForRepoSort? sort = global::G.IssuesListForRepoSort.Created, + global::G.IssuesListForRepoDirection? direction = global::G.IssuesListForRepoDirection.Desc, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsForMilestone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsForMilestone.g.verified.cs new file mode 100644 index 0000000000..bc026ea578 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsForMilestone.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IIssuesClient.IssuesListLabelsForMilestone.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List labels for issues in a milestone
+ /// Lists labels for issues in a milestone. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListLabelsForMilestoneAsync( + string owner, + string repo, + int milestoneNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsForRepo.g.verified.cs new file mode 100644 index 0000000000..4722bb06ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsForRepo.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IIssuesClient.IssuesListLabelsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List labels for a repository
+ /// Lists all labels for a repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListLabelsForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsOnIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsOnIssue.g.verified.cs new file mode 100644 index 0000000000..5ef649278d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListLabelsOnIssue.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IIssuesClient.IssuesListLabelsOnIssue.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List labels for an issue
+ /// Lists all labels for an issue. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListLabelsOnIssueAsync( + string owner, + string repo, + int issueNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListMilestones.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListMilestones.g.verified.cs new file mode 100644 index 0000000000..d581552c17 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesListMilestones.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IIssuesClient.IssuesListMilestones.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// List milestones
+ /// Lists milestones for a repository. + ///
+ /// + /// + /// + /// Default Value: open + /// + /// + /// Default Value: due_on + /// + /// + /// Default Value: asc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesListMilestonesAsync( + string owner, + string repo, + global::G.IssuesListMilestonesState? state = global::G.IssuesListMilestonesState.Open, + global::G.IssuesListMilestonesSort? sort = global::G.IssuesListMilestonesSort.DueOn, + global::G.IssuesListMilestonesDirection? direction = global::G.IssuesListMilestonesDirection.Asc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesLock.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesLock.g.verified.cs new file mode 100644 index 0000000000..7bf39a8154 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesLock.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IIssuesClient.IssuesLock.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Lock an issue
+ /// Users with push access can lock an issue or pull request's conversation.
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesLockAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesLockRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Lock an issue
+ /// Users with push access can lock an issue or pull request's conversation.
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// + /// + /// The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons:
+ /// * `off-topic`
+ /// * `too heated`
+ /// * `resolved`
+ /// * `spam` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesLockAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesLockRequestLockReason? lockReason = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveAllLabels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveAllLabels.g.verified.cs new file mode 100644 index 0000000000..47a0fd4515 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveAllLabels.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesRemoveAllLabels.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Remove all labels from an issue
+ /// Removes all labels from an issue. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesRemoveAllLabelsAsync( + string owner, + string repo, + int issueNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveAssignees.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveAssignees.g.verified.cs new file mode 100644 index 0000000000..49f423d28f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveAssignees.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IIssuesClient.IssuesRemoveAssignees.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Remove assignees from an issue
+ /// Removes one or more assignees from an issue. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesRemoveAssigneesAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesRemoveAssigneesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove assignees from an issue
+ /// Removes one or more assignees from an issue. + ///
+ /// + /// + /// + /// + /// 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._ + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesRemoveAssigneesAsync( + string owner, + string repo, + int issueNumber, + global::System.Collections.Generic.IList? assignees = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveLabel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveLabel.g.verified.cs new file mode 100644 index 0000000000..4c2d768b51 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesRemoveLabel.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IIssuesClient.IssuesRemoveLabel.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Remove a label from an issue
+ /// Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesRemoveLabelAsync( + string owner, + string repo, + int issueNumber, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesSetLabels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesSetLabels.g.verified.cs new file mode 100644 index 0000000000..f424722a3a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesSetLabels.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IIssuesClient.IssuesSetLabels.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Set labels for an issue
+ /// Removes any previous labels and sets the new labels for an issue. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesSetLabelsAsync( + string owner, + string repo, + int issueNumber, + global::G.OneOf, global::G.IssuesSetLabelsRequestVariant3, global::System.Collections.Generic.IList, string> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set labels for an issue
+ /// Removes any previous labels and sets the new labels for an issue. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> IssuesSetLabelsAsync( + string owner, + string repo, + int issueNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUnlock.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUnlock.g.verified.cs new file mode 100644 index 0000000000..a82926006c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUnlock.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IIssuesClient.IssuesUnlock.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Unlock an issue
+ /// Users with push access can unlock an issue's conversation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUnlockAsync( + string owner, + string repo, + int issueNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs new file mode 100644 index 0000000000..c389cad572 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdate.g.verified.cs @@ -0,0 +1,81 @@ +//HintName: G.IIssuesClient.IssuesUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Update an issue
+ /// Issue owners and users with push access can edit an issue.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateAsync( + string owner, + string repo, + int issueNumber, + global::G.IssuesUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an issue
+ /// Issue owners and users with push access can edit an issue.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The title of the issue. + /// + /// + /// The contents of the issue. + /// + /// + /// Username to assign to this issue. **This field is deprecated.** + /// + /// + /// The open or closed state of the issue. + /// + /// + /// The reason for the state change. Ignored unless `state` is changed.
+ /// Example: not_planned + /// + /// + /// + /// 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. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateAsync( + string owner, + string repo, + int issueNumber, + global::G.OneOf? title = default, + string? body = default, + string? assignee = default, + global::G.IssuesUpdateRequestState? state = default, + global::G.IssuesUpdateRequestStateReason? stateReason = default, + global::G.OneOf? milestone = default, + global::System.Collections.Generic.IList>? labels = default, + global::System.Collections.Generic.IList? assignees = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs new file mode 100644 index 0000000000..d6779891e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateComment.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IIssuesClient.IssuesUpdateComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Update an issue comment
+ /// You can use the REST API to update comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( + string owner, + string repo, + int commentId, + global::G.IssuesUpdateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an issue comment
+ /// You can use the REST API to update comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The contents of the comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateCommentAsync( + string owner, + string repo, + int commentId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateLabel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateLabel.g.verified.cs new file mode 100644 index 0000000000..35d5c2466b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateLabel.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IIssuesClient.IssuesUpdateLabel.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Update a label
+ /// Updates a label using the given label name. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateLabelAsync( + string owner, + string repo, + string name, + global::G.IssuesUpdateLabelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a label
+ /// Updates a label using the given label name. + ///
+ /// + /// + /// + /// + /// The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see "[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet)." + /// + /// + /// The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. + /// + /// + /// A short description of the label. Must be 100 characters or fewer. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateLabelAsync( + string owner, + string repo, + string name, + string? newName = default, + string? color = default, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateMilestone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateMilestone.g.verified.cs new file mode 100644 index 0000000000..b26a8100f8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.IssuesUpdateMilestone.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.IIssuesClient.IssuesUpdateMilestone.g.cs +#nullable enable + +namespace G +{ + public partial interface IIssuesClient + { + /// + /// Update a milestone + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateMilestoneAsync( + string owner, + string repo, + int milestoneNumber, + global::G.IssuesUpdateMilestoneRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a milestone + /// + /// + /// + /// + /// + /// The title of the milestone. + /// + /// + /// The state of the milestone. Either `open` or `closed`.
+ /// Default Value: open + /// + /// + /// A description of the milestone. + /// + /// + /// The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IssuesUpdateMilestoneAsync( + string owner, + string repo, + int milestoneNumber, + string? title = default, + global::G.IssuesUpdateMilestoneRequestState? state = global::G.IssuesUpdateMilestoneRequestState.Open, + string? description = default, + global::System.DateTime dueOn = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.g.verified.cs new file mode 100644 index 0000000000..cd151e404b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IIssuesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IIssuesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Issues.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IIssuesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGet.g.verified.cs new file mode 100644 index 0000000000..434436a853 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGet.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ILicensesClient.LicensesGet.g.cs +#nullable enable + +namespace G +{ + public partial interface ILicensesClient + { + /// + /// Get a license
+ /// Gets information about a specific license. For more information, see "[Licensing a repository ](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository)." + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LicensesGetAsync( + string license, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGetAllCommonlyUsed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGetAllCommonlyUsed.g.verified.cs new file mode 100644 index 0000000000..be3f4341d3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGetAllCommonlyUsed.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ILicensesClient.LicensesGetAllCommonlyUsed.g.cs +#nullable enable + +namespace G +{ + public partial interface ILicensesClient + { + /// + /// Get all commonly used licenses
+ /// Lists the most commonly used licenses on GitHub. For more information, see "[Licensing a repository ](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository)." + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> LicensesGetAllCommonlyUsedAsync( + bool featured = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGetForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGetForRepo.g.verified.cs new file mode 100644 index 0000000000..4034b094b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.LicensesGetForRepo.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ILicensesClient.LicensesGetForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface ILicensesClient + { + /// + /// Get the license for a repository
+ /// This method returns the contents of the repository's license file, if one is detected.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw contents of the license.
+ /// - **`application/vnd.github.html+json`**: Returns the license contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). + ///
+ /// + /// + /// + /// The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,
+ /// `refs/heads/<branch name>` or simply `<branch name>`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LicensesGetForRepoAsync( + string owner, + string repo, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.g.verified.cs new file mode 100644 index 0000000000..a2e4572acd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ILicensesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ILicensesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// View various OSS licenses.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILicensesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.MarkdownRender.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.MarkdownRender.g.verified.cs new file mode 100644 index 0000000000..315294e822 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.MarkdownRender.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IMarkdownClient.MarkdownRender.g.cs +#nullable enable + +namespace G +{ + public partial interface IMarkdownClient + { + /// + /// Render a Markdown document + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MarkdownRenderAsync( + global::G.MarkdownRenderRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Render a Markdown document + /// + /// + /// The Markdown text to render in HTML. + /// + /// + /// The rendering mode.
+ /// Default Value: markdown
+ /// Example: markdown + /// + /// + /// The repository context to use when creating references in `gfm` mode. For example, setting `context` to `octo-org/octo-repo` will change the text `#42` into an HTML link to issue 42 in the `octo-org/octo-repo` repository. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MarkdownRenderAsync( + string text, + global::G.MarkdownRenderRequestMode? mode = global::G.MarkdownRenderRequestMode.Markdown, + string? context = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.MarkdownRenderRaw.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.MarkdownRenderRaw.g.verified.cs new file mode 100644 index 0000000000..2db747fcc2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.MarkdownRenderRaw.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IMarkdownClient.MarkdownRenderRaw.g.cs +#nullable enable + +namespace G +{ + public partial interface IMarkdownClient + { + /// + /// 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 + /// + global::System.Threading.Tasks.Task MarkdownRenderRawAsync( + string request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.g.verified.cs new file mode 100644 index 0000000000..74bb8629ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMarkdownClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMarkdownClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Render GitHub flavored markdown
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMarkdownClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMergeQueueClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMergeQueueClient.g.verified.cs new file mode 100644 index 0000000000..a75351ad22 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMergeQueueClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMergeQueueClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Merge Queues.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMergeQueueClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGet.g.verified.cs new file mode 100644 index 0000000000..d8f9536f78 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGet.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IMetaClient.MetaGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetaClient + { + /// + /// Get GitHub meta information
+ /// Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see "[About GitHub's IP addresses](https://docs.github.com/articles/about-github-s-ip-addresses/)."
+ /// The API's response also includes a list of GitHub's domain names.
+ /// The values shown in the documentation's response are example values. You must always query the API directly to get the latest values.
+ /// **Note:** This endpoint returns both IPv4 and IPv6 addresses. However, not all features support IPv6. You should refer to the specific documentation for each feature to determine if IPv6 is supported. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MetaGetAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetAllVersions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetAllVersions.g.verified.cs new file mode 100644 index 0000000000..15b39a97e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetAllVersions.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IMetaClient.MetaGetAllVersions.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetaClient + { + /// + /// Get all API versions
+ /// Get all supported GitHub API versions. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MetaGetAllVersionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetOctocat.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetOctocat.g.verified.cs new file mode 100644 index 0000000000..adf8d56c09 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetOctocat.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IMetaClient.MetaGetOctocat.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetaClient + { + /// + /// Get Octocat
+ /// Get the octocat as ASCII art + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MetaGetOctocatAsync( + string? s = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetZen.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetZen.g.verified.cs new file mode 100644 index 0000000000..36dafd931f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaGetZen.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IMetaClient.MetaGetZen.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetaClient + { + /// + /// Get the Zen of GitHub
+ /// Get a random sentence from the Zen of GitHub + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MetaGetZenAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaRoot.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaRoot.g.verified.cs new file mode 100644 index 0000000000..72ebbbda98 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.MetaRoot.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IMetaClient.MetaRoot.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetaClient + { + /// + /// GitHub API Root
+ /// Get Hypermedia links to resources accessible in GitHub's REST API + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MetaRootAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.g.verified.cs new file mode 100644 index 0000000000..4b20d0fa6b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMetaClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMetaClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints that give information about the API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMetaClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs new file mode 100644 index 0000000000..c95db2100e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsCancelImport.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsCancelImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Cancel an import
+ /// Stop an import for a repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsCancelImportAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..24381d2c17 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IMigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Delete a user migration archive
+ /// Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDeleteArchiveForAuthenticatedUserAsync( + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs new file mode 100644 index 0000000000..9f2bb19a7d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsDeleteArchiveForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Delete an organization migration archive
+ /// Deletes a previous migration archive. Migration archives are automatically deleted after seven days. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDeleteArchiveForOrgAsync( + string org, + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs new file mode 100644 index 0000000000..d4e474bc4c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsDownloadArchiveForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Download an organization migration archive
+ /// Fetches the URL to a migration archive. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsDownloadArchiveForOrgAsync( + string org, + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..818c7c8ebb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IMigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Download a user migration archive
+ /// Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:
+ /// * attachments
+ /// * bases
+ /// * commit\_comments
+ /// * issue\_comments
+ /// * issue\_events
+ /// * issues
+ /// * milestones
+ /// * organizations
+ /// * projects
+ /// * protected\_branches
+ /// * pull\_request\_reviews
+ /// * pull\_requests
+ /// * releases
+ /// * repositories
+ /// * review\_comments
+ /// * schema
+ /// * users
+ /// The archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetArchiveForAuthenticatedUserAsync( + int migrationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs new file mode 100644 index 0000000000..a3786ce418 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.MigrationsGetCommitAuthors.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get commit authors
+ /// Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
+ /// This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> MigrationsGetCommitAuthorsAsync( + string owner, + string repo, + int since = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs new file mode 100644 index 0000000000..5eb3cebe21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IMigrationsClient.MigrationsGetImportStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get an import status
+ /// View the progress of an import.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
+ /// **Import status**
+ /// This section includes details about the possible values of the `status` field of the Import Progress response.
+ /// An import that does not have errors will progress through these steps:
+ /// * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.
+ /// * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).
+ /// * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.
+ /// * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects".
+ /// * `complete` - the import is complete, and the repository is ready on GitHub.
+ /// If there are problems, you will see one of these in the `status` field:
+ /// * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api) for more information.
+ /// * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/migrations/source-imports#cancel-an-import) and [retry](https://docs.github.com/rest/migrations/source-imports#start-an-import) with the correct URL.
+ /// * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
+ /// **The project_choices field**
+ /// When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.
+ /// **Git LFS related fields**
+ /// This section includes details about Git LFS related fields that may be present in the Import Progress response.
+ /// * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.
+ /// * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.
+ /// * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.
+ /// * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsGetImportStatusAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs new file mode 100644 index 0000000000..879bffef5a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsGetLargeFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get large files
+ /// List files larger than 100MB found during the import
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> MigrationsGetLargeFilesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..cfe9f66aae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get a user migration status
+ /// Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:
+ /// * `pending` - the migration hasn't started yet.
+ /// * `exporting` - the migration is in progress.
+ /// * `exported` - the migration finished successfully.
+ /// * `failed` - the migration failed.
+ /// Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/migrations/users#download-a-user-migration-archive). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetStatusForAuthenticatedUserAsync( + int migrationId, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs new file mode 100644 index 0000000000..a8d584e29a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsGetStatusForOrg.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IMigrationsClient.MigrationsGetStatusForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Get an organization migration status
+ /// Fetches the status of a migration.
+ /// The `state` of a migration can be one of the following values:
+ /// * `pending`, which means the migration hasn't started yet.
+ /// * `exporting`, which means the migration is in progress.
+ /// * `exported`, which means the migration finished successfully.
+ /// * `failed`, which means the migration failed. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsGetStatusForOrgAsync( + string org, + int migrationId, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ccf703b9ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IMigrationsClient.MigrationsListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List user migrations
+ /// Lists all migrations a user has started. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs new file mode 100644 index 0000000000..a0fb2f0624 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IMigrationsClient.MigrationsListForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List organization migrations
+ /// Lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).
+ /// A list of `repositories` is only returned for export migrations. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListForOrgAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6a20be9968 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IMigrationsClient.MigrationsListReposForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List repositories for a user migration
+ /// Lists all the repositories for this user migration. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListReposForAuthenticatedUserAsync( + int migrationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs new file mode 100644 index 0000000000..c2509a4717 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsListReposForOrg.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IMigrationsClient.MigrationsListReposForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// List repositories in an organization migration
+ /// List all the repositories for this organization migration. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> MigrationsListReposForOrgAsync( + string org, + int migrationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs new file mode 100644 index 0000000000..08c055fcfb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IMigrationsClient.MigrationsMapCommitAuthor.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Map a commit author
+ /// Update an author's identity for the import. Your application can continue updating authors any time before you push
+ /// new commits to the repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsMapCommitAuthorAsync( + string owner, + string repo, + int authorId, + global::G.MigrationsMapCommitAuthorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Map a commit author
+ /// Update an author's identity for the import. Your application can continue updating authors any time before you push
+ /// new commits to the repository.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// + /// The new Git author email. + /// + /// + /// The new Git author name. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsMapCommitAuthorAsync( + string owner, + string repo, + int authorId, + string? email = default, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs new file mode 100644 index 0000000000..6816e0daad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IMigrationsClient.MigrationsSetLfsPreference.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Update Git LFS preference
+ /// You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability
+ /// is powered by [Git LFS](https://git-lfs.com).
+ /// You can learn more about our LFS feature and working with large files [on our help
+ /// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsSetLfsPreferenceAsync( + string owner, + string repo, + global::G.MigrationsSetLfsPreferenceRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Git LFS preference
+ /// You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability
+ /// is powered by [Git LFS](https://git-lfs.com).
+ /// You can learn more about our LFS feature and working with large files [on our help
+ /// site](https://docs.github.com/repositories/working-with-files/managing-large-files).
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// Whether to store large files during the import. `opt_in` means large files will be stored using Git LFS. `opt_out` means large files will be removed during the import. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsSetLfsPreferenceAsync( + string owner, + string repo, + global::G.MigrationsSetLfsPreferenceRequestUseLfs useLfs, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..8ed92b0e33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs @@ -0,0 +1,71 @@ +//HintName: G.IMigrationsClient.MigrationsStartForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start a user migration
+ /// Initiates the generation of a user migration archive. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForAuthenticatedUserAsync( + global::G.MigrationsStartForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start a user migration
+ /// Initiates the generation of a user migration archive. + ///
+ /// + /// Lock the repositories being migrated at the start of the migration
+ /// Example: true + /// + /// + /// Indicates whether metadata should be excluded and only git source should be included for the migration.
+ /// Example: true + /// + /// + /// Indicates whether the repository git data should be excluded from the migration.
+ /// Example: true + /// + /// + /// Do not include attachments in the migration
+ /// Example: true + /// + /// + /// Do not include releases in the migration
+ /// Example: true + /// + /// + /// Indicates whether projects owned by the organization or users should be excluded.
+ /// Example: true + /// + /// + /// Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Exclude attributes from the API response to improve performance
+ /// Example: [repositories] + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForAuthenticatedUserAsync( + global::System.Collections.Generic.IList repositories, + bool lockRepositories = default, + bool excludeMetadata = default, + bool excludeGitData = default, + bool excludeAttachments = default, + bool excludeReleases = default, + bool excludeOwnerProjects = default, + bool orgMetadataOnly = false, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs new file mode 100644 index 0000000000..38f9eb75ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartForOrg.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.IMigrationsClient.MigrationsStartForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start an organization migration
+ /// Initiates the generation of a migration archive. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForOrgAsync( + string org, + global::G.MigrationsStartForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start an organization migration
+ /// Initiates the generation of a migration archive. + ///
+ /// + /// + /// A list of arrays indicating which repositories should be migrated. + /// + /// + /// Indicates whether repositories should be locked (to prevent manipulation) while migrating data.
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether metadata should be excluded and only git source should be included for the migration.
+ /// Default Value: false + /// + /// + /// Indicates whether the repository git data should be excluded from the migration.
+ /// Default Value: false + /// + /// + /// Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether releases should be excluded from the migration (to reduce migration archive file size).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether projects owned by the organization or users should be excluded. from the migration.
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).
+ /// Default Value: false
+ /// Example: true + /// + /// + /// Exclude related items from being returned in the response in order to improve performance of the request. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsStartForOrgAsync( + string org, + global::System.Collections.Generic.IList repositories, + bool lockRepositories = false, + bool excludeMetadata = false, + bool excludeGitData = false, + bool excludeAttachments = false, + bool excludeReleases = false, + bool excludeOwnerProjects = false, + bool orgMetadataOnly = false, + global::System.Collections.Generic.IList? exclude = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs new file mode 100644 index 0000000000..06d4649a91 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsStartImport.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IMigrationsClient.MigrationsStartImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Start an import
+ /// Start a source import to a GitHub repository using GitHub Importer.
+ /// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
+ /// return a status `422 Unprocessable Entity` response.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsStartImportAsync( + string owner, + string repo, + global::G.MigrationsStartImportRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Start an import
+ /// Start a source import to a GitHub repository using GitHub Importer.
+ /// Importing into a GitHub repository with GitHub Actions enabled is not supported and will
+ /// return a status `422 Unprocessable Entity` response.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The URL of the originating repository. + /// + /// + /// The originating VCS type. Without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response. + /// + /// + /// If authentication is required, the username to provide to `vcs_url`. + /// + /// + /// If authentication is required, the password to provide to `vcs_url`. + /// + /// + /// For a tfvc import, the name of the project that is being imported. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsStartImportAsync( + string owner, + string repo, + string vcsUrl, + global::G.MigrationsStartImportRequestVcs? vcs = default, + string? vcsUsername = default, + string? vcsPassword = default, + string? tfvcProject = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..0e5694d4c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IMigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Unlock a user repository
+ /// Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsUnlockRepoForAuthenticatedUserAsync( + int migrationId, + string repoName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs new file mode 100644 index 0000000000..cf0e0bafd6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IMigrationsClient.MigrationsUnlockRepoForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Unlock an organization repository
+ /// Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MigrationsUnlockRepoForOrgAsync( + string org, + int migrationId, + string repoName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs new file mode 100644 index 0000000000..96fcf17ef2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IMigrationsClient.MigrationsUpdateImport.g.cs +#nullable enable + +namespace G +{ + public partial interface IMigrationsClient + { + /// + /// Update an import
+ /// An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API
+ /// request. If no parameters are provided, the import will be restarted.
+ /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
+ /// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
+ /// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsUpdateImportAsync( + string owner, + string repo, + global::G.MigrationsUpdateImportRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an import
+ /// An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API
+ /// request. If no parameters are provided, the import will be restarted.
+ /// Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
+ /// have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
+ /// You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
+ /// **Warning:** Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation). + ///
+ /// + /// + /// + /// The username to provide to the originating repository. + /// + /// + /// The password to provide to the originating repository. + /// + /// + /// The type of version control system you are migrating from.
+ /// Example: "git" + /// + /// + /// For a tfvc import, the name of the project that is being imported.
+ /// Example: "project1" + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task MigrationsUpdateImportAsync( + string owner, + string repo, + string? vcsUsername = default, + string? vcsPassword = default, + global::G.MigrationsUpdateImportRequestVcs? vcs = default, + string? tfvcProject = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.g.verified.cs new file mode 100644 index 0000000000..10bdc24b53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IMigrationsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IMigrationsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Move projects to or from GitHub.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMigrationsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.OidcGetOidcCustomSubTemplateForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.OidcGetOidcCustomSubTemplateForOrg.g.verified.cs new file mode 100644 index 0000000000..e832d4729b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.OidcGetOidcCustomSubTemplateForOrg.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IOidcClient.OidcGetOidcCustomSubTemplateForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOidcClient + { + /// + /// Get the customization template for an OIDC subject claim for an organization
+ /// Gets the customization template for an OpenID Connect (OIDC) subject claim.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OidcGetOidcCustomSubTemplateForOrgAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.OidcUpdateOidcCustomSubTemplateForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.OidcUpdateOidcCustomSubTemplateForOrg.g.verified.cs new file mode 100644 index 0000000000..2281b9f491 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.OidcUpdateOidcCustomSubTemplateForOrg.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IOidcClient.OidcUpdateOidcCustomSubTemplateForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOidcClient + { + /// + /// Set the customization template for an OIDC subject claim for an organization
+ /// Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OidcUpdateOidcCustomSubTemplateForOrgAsync( + string org, + global::G.OidcCustomSub request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set the customization template for an OIDC subject claim for an organization
+ /// Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OidcUpdateOidcCustomSubTemplateForOrgAsync( + string org, + global::System.Collections.Generic.IList includeClaimKeys, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.g.verified.cs new file mode 100644 index 0000000000..4e8622c6c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOidcClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IOidcClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Endpoints to manage GitHub OIDC configuration using the REST API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IOidcClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAddSecurityManagerTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAddSecurityManagerTeam.g.verified.cs new file mode 100644 index 0000000000..83f3f05c94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAddSecurityManagerTeam.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsAddSecurityManagerTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Add a security manager team
+ /// Adds a team as a security manager for an organization. For more information, see "[Managing security for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsAddSecurityManagerTeamAsync( + string org, + string teamSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs new file mode 100644 index 0000000000..4a291714d3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignTeamToOrgRole.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsAssignTeamToOrgRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Assign an organization role to a team
+ /// Assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsAssignTeamToOrgRoleAsync( + string org, + string teamSlug, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs new file mode 100644 index 0000000000..25f9c75cec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsAssignUserToOrgRole.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsAssignUserToOrgRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Assign an organization role to a user
+ /// Assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsAssignUserToOrgRoleAsync( + string org, + string username, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsBlockUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsBlockUser.g.verified.cs new file mode 100644 index 0000000000..c56b253323 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsBlockUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsBlockUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Block a user from an organization
+ /// Blocks the given user on behalf of the specified organization and returns a 204. If the organization cannot block the given user a 422 is returned. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsBlockUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCancelInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCancelInvitation.g.verified.cs new file mode 100644 index 0000000000..d539cd49fb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCancelInvitation.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.OrgsCancelInvitation.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Cancel an organization invitation
+ /// Cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCancelInvitationAsync( + string org, + int invitationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckBlockedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckBlockedUser.g.verified.cs new file mode 100644 index 0000000000..38cd6e0b49 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckBlockedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsCheckBlockedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Check if a user is blocked by an organization
+ /// Returns a 204 if the given user is blocked by the given organization. Returns a 404 if the organization is not blocking the user, or if the user account has been identified as spam by GitHub. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCheckBlockedUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckMembershipForUser.g.verified.cs new file mode 100644 index 0000000000..29719bb8c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckMembershipForUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsCheckMembershipForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Check organization membership for a user
+ /// Check if a user is, publicly or privately, a member of the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCheckMembershipForUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckPublicMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckPublicMembershipForUser.g.verified.cs new file mode 100644 index 0000000000..28d808ed3e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCheckPublicMembershipForUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsCheckPublicMembershipForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Check public organization membership for a user
+ /// Check if the provided user is a public member of the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCheckPublicMembershipForUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsConvertMemberToOutsideCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsConvertMemberToOutsideCollaborator.g.verified.cs new file mode 100644 index 0000000000..2a4ddfbaf4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsConvertMemberToOutsideCollaborator.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IOrgsClient.OrgsConvertMemberToOutsideCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Convert an organization member to outside collaborator
+ /// When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsConvertMemberToOutsideCollaboratorAsync( + string org, + string username, + global::G.OrgsConvertMemberToOutsideCollaboratorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Convert an organization member to outside collaborator
+ /// When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." + ///
+ /// + /// + /// + /// When set to `true`, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsConvertMemberToOutsideCollaboratorAsync( + string org, + string username, + bool async = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs new file mode 100644 index 0000000000..2417fd9e95 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IOrgsClient.OrgsCreateCustomOrganizationRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create a custom organization role
+ /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( + string org, + global::G.OrgsCreateCustomOrganizationRoleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a custom organization role
+ /// Creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The name of the custom role. + /// + /// + /// A short description about the intended usage of this role or what permissions it grants. + /// + /// + /// A list of additional permissions included in this role. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateCustomOrganizationRoleAsync( + string org, + string name, + global::System.Collections.Generic.IList permissions, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs new file mode 100644 index 0000000000..05b807cf53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateInvitation.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.IOrgsClient.OrgsCreateInvitation.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create an organization invitation
+ /// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateInvitationAsync( + string org, + global::G.OrgsCreateInvitationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization invitation
+ /// Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// **Required unless you provide `email`**. GitHub user ID for the person you are inviting. + /// + /// + /// **Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user. + /// + /// + /// The role for the new member.
+ /// * `admin` - Organization owners with full administrative rights to the organization and complete access to all repositories and teams.
+ /// * `direct_member` - Non-owner organization members with ability to see other members and join teams by invitation.
+ /// * `billing_manager` - Non-owner organization members with ability to manage the billing settings of your organization.
+ /// * `reinstate` - The previous role assigned to the invitee before they were removed from your organization. Can be one of the roles listed above. Only works if the invitee was previously part of your organization.
+ /// Default Value: direct_member + /// + /// + /// Specify IDs for the teams you want to invite new members to. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateInvitationAsync( + string org, + int inviteeId = default, + string? email = default, + global::G.OrgsCreateInvitationRequestRole? role = global::G.OrgsCreateInvitationRequestRole.DirectMember, + global::System.Collections.Generic.IList? teamIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs new file mode 100644 index 0000000000..6761ca281e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IOrgsClient.OrgsCreateOrUpdateCustomProperties.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create or update custom properties for an organization
+ /// Creates new or updates existing custom properties defined for an organization in a batch.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + string org, + global::G.OrgsCreateOrUpdateCustomPropertiesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update custom properties for an organization
+ /// Creates new or updates existing custom properties defined for an organization in a batch.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. + ///
+ /// + /// + /// The array of custom properties to create or update. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsCreateOrUpdateCustomPropertiesAsync( + string org, + global::System.Collections.Generic.IList properties, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.verified.cs new file mode 100644 index 0000000000..7fb1cb57b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IOrgsClient.OrgsCreateOrUpdateCustomPropertiesValuesForRepos.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create or update custom property values for organization repositories
+ /// Create new or update existing custom property values for repositories in a batch that belong to an organization.
+ /// Each target repository will have its custom property values updated to match the values provided in the request.
+ /// A maximum of 30 repositories can be updated in a single request.
+ /// Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_values_editor` in the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertiesValuesForReposAsync( + string org, + global::G.OrgsCreateOrUpdateCustomPropertiesValuesForReposRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update custom property values for organization repositories
+ /// Create new or update existing custom property values for repositories in a batch that belong to an organization.
+ /// Each target repository will have its custom property values updated to match the values provided in the request.
+ /// A maximum of 30 repositories can be updated in a single request.
+ /// Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_values_editor` in the organization. + ///
+ /// + /// + /// The names of repositories that the custom property values will be applied to. + /// + /// + /// List of custom property names and associated values to apply to the repositories. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertiesValuesForReposAsync( + string org, + global::System.Collections.Generic.IList repositoryNames, + global::System.Collections.Generic.IList properties, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs new file mode 100644 index 0000000000..e4d51b14f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IOrgsClient.OrgsCreateOrUpdateCustomProperty.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create or update a custom property for an organization
+ /// Creates a new or updates an existing custom property that is defined for an organization.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + string org, + string customPropertyName, + global::G.OrgsCreateOrUpdateCustomPropertyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update a custom property for an organization
+ /// Creates a new or updates an existing custom property that is defined for an organization.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. + ///
+ /// + /// + /// + /// The type of the value for the property
+ /// Example: single_select + /// + /// + /// Whether the property is required. + /// + /// + /// Default value of the property + /// + /// + /// Short description of the property + /// + /// + /// An ordered list of the allowed values of the property.
+ /// The property can have up to 200 allowed values. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateOrUpdateCustomPropertyAsync( + string org, + string customPropertyName, + global::G.OrgsCreateOrUpdateCustomPropertyRequestValueType valueType, + bool required = default, + global::G.OneOf>? defaultValue = default, + string? description = default, + global::System.Collections.Generic.IList? allowedValues = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateWebhook.g.verified.cs new file mode 100644 index 0000000000..d461bef1ea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsCreateWebhook.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IOrgsClient.OrgsCreateWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create an organization webhook
+ /// Create a hook that posts payloads in JSON format.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or
+ /// edit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateWebhookAsync( + string org, + global::G.OrgsCreateWebhookRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization webhook
+ /// Create a hook that posts payloads in JSON format.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or
+ /// edit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// Must be passed as "web". + /// + /// + /// Key/value pairs to provide settings for this webhook. + /// + /// + /// Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. Set to `["*"]` to receive all possible events.
+ /// Default Value: [push] + /// + /// + /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsCreateWebhookAsync( + string org, + string name, + global::G.OrgsCreateWebhookRequestConfig config, + global::System.Collections.Generic.IList? events = default, + bool active = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDelete.g.verified.cs new file mode 100644 index 0000000000..df53314076 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDelete.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.OrgsDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete an organization
+ /// Deletes an organization and all its repositories.
+ /// The organization login will be unavailable for 90 days after deletion.
+ /// Please review the Terms of Service regarding account deletion before using this endpoint:
+ /// https://docs.github.com/site-policy/github-terms/github-terms-of-service + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsDeleteAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs new file mode 100644 index 0000000000..da48da95a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsDeleteCustomOrganizationRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete a custom organization role.
+ /// Deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsDeleteCustomOrganizationRoleAsync( + string org, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDeleteWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDeleteWebhook.g.verified.cs new file mode 100644 index 0000000000..0f3f6c1d75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsDeleteWebhook.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsDeleteWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete an organization webhook
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsDeleteWebhookAsync( + string org, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs new file mode 100644 index 0000000000..9da08a4632 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IOrgsClient.OrgsEnableOrDisableSecurityProductOnAllOrgRepos.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Enable or disable a security feature for an organization
+ /// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( + string org, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablement enablement, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Enable or disable a security feature for an organization
+ /// Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// 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.Threading.Tasks.Task OrgsEnableOrDisableSecurityProductOnAllOrgReposAsync( + string org, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposSecurityProduct securityProduct, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposEnablement enablement, + global::G.OrgsEnableOrDisableSecurityProductOnAllOrgReposRequestQuerySuite? querySuite = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGet.g.verified.cs new file mode 100644 index 0000000000..6782bce131 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGet.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IOrgsClient.OrgsGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get an organization
+ /// Gets information about an organization.
+ /// When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).
+ /// To see the full details about an organization, the authenticated user must be an organization owner.
+ /// The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration:
+ /// - advanced_security_enabled_for_new_repositories
+ /// - dependabot_alerts_enabled_for_new_repositories
+ /// - dependabot_security_updates_enabled_for_new_repositories
+ /// - dependency_graph_enabled_for_new_repositories
+ /// - secret_scanning_enabled_for_new_repositories
+ /// - secret_scanning_push_protection_enabled_for_new_repositories
+ /// For more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.
+ /// To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs new file mode 100644 index 0000000000..037f306c6b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetAllCustomProperties.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IOrgsClient.OrgsGetAllCustomProperties.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get all custom properties for an organization
+ /// Gets all custom properties defined for an organization.
+ /// Organization members can read these properties. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsGetAllCustomPropertiesAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs new file mode 100644 index 0000000000..a19338abe7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetCustomProperty.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.OrgsGetCustomProperty.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get a custom property for an organization
+ /// Gets a custom property that is defined for an organization.
+ /// Organization members can read these properties. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetCustomPropertyAsync( + string org, + string customPropertyName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetMembershipForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetMembershipForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..b65ab36d3c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetMembershipForAuthenticatedUser.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.OrgsGetMembershipForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get an organization membership for the authenticated user
+ /// If the authenticated user is an active or pending member of the organization, this endpoint will return the user's membership. If the authenticated user is not affiliated with the organization, a `404` is returned. This endpoint will return a `403` if the request is made by a GitHub App that is blocked by the organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetMembershipForAuthenticatedUserAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetMembershipForUser.g.verified.cs new file mode 100644 index 0000000000..e8fbab6fde --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetMembershipForUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsGetMembershipForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get organization membership for a user
+ /// In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetMembershipForUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs new file mode 100644 index 0000000000..092643e63e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetOrgRole.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsGetOrgRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get an organization role
+ /// Gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetOrgRoleAsync( + string org, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhook.g.verified.cs new file mode 100644 index 0000000000..4e213812f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhook.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsGetWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get an organization webhook
+ /// Returns a webhook configured in an organization. To get only the webhook
+ /// `config` properties, see "[Get a webhook configuration for an organization](/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization).
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetWebhookAsync( + string org, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhookConfigForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhookConfigForOrg.g.verified.cs new file mode 100644 index 0000000000..7d80ef019a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhookConfigForOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IOrgsClient.OrgsGetWebhookConfigForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get a webhook configuration for an organization
+ /// Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/orgs/webhooks#get-an-organization-webhook)."
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetWebhookConfigForOrgAsync( + string org, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..beceaed064 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsGetWebhookDelivery.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IOrgsClient.OrgsGetWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get a webhook delivery for an organization webhook
+ /// Returns a delivery for a webhook configured in an organization.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsGetWebhookDeliveryAsync( + string org, + int hookId, + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsList.g.verified.cs new file mode 100644 index 0000000000..f032c0e402 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsList.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IOrgsClient.OrgsList.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organizations
+ /// Lists all organizations, in the order that they were created.
+ /// **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. + ///
+ /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListAsync( + int since = default, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListAppInstallations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListAppInstallations.g.verified.cs new file mode 100644 index 0000000000..2a9017b5e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListAppInstallations.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.OrgsListAppInstallations.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List app installations for an organization
+ /// Lists all GitHub Apps in an organization. The installation count includes
+ /// all GitHub Apps installed on repositories in the organization.
+ /// The authenticated user must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:read` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListAppInstallationsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListBlockedUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListBlockedUsers.g.verified.cs new file mode 100644 index 0000000000..858028bd7f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListBlockedUsers.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IOrgsClient.OrgsListBlockedUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List users blocked by an organization
+ /// List the users blocked by an organization. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListBlockedUsersAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListCustomPropertiesValuesForRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListCustomPropertiesValuesForRepos.g.verified.cs new file mode 100644 index 0000000000..2d04ed4ac1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListCustomPropertiesValuesForRepos.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.OrgsListCustomPropertiesValuesForRepos.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List custom property values for organization repositories
+ /// Lists organization repositories with all of their custom property values.
+ /// Organization members can read these properties. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListCustomPropertiesValuesForReposAsync( + string org, + int perPage = 30, + int page = 1, + string? repositoryQuery = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListFailedInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListFailedInvitations.g.verified.cs new file mode 100644 index 0000000000..35b4a42bcf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListFailedInvitations.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IOrgsClient.OrgsListFailedInvitations.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List failed organization invitations
+ /// The return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListFailedInvitationsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..723fe66563 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IOrgsClient.OrgsListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organizations for the authenticated user
+ /// List organizations for the authenticated user.
+ /// For OAuth app tokens and personal access tokens (classic), this endpoint only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope for OAuth app tokens and personal access tokens (classic). Requests with insufficient scope will receive a `403 Forbidden` response. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListForUser.g.verified.cs new file mode 100644 index 0000000000..b827bba8f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListForUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IOrgsClient.OrgsListForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organizations for a user
+ /// List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.
+ /// This method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/orgs/orgs#list-organizations-for-the-authenticated-user) API instead. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListInvitationTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListInvitationTeams.g.verified.cs new file mode 100644 index 0000000000..9a6282c236 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListInvitationTeams.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IOrgsClient.OrgsListInvitationTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organization invitation teams
+ /// List all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListInvitationTeamsAsync( + string org, + int invitationId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListMembers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListMembers.g.verified.cs new file mode 100644 index 0000000000..4cd185c38c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListMembers.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IOrgsClient.OrgsListMembers.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organization members
+ /// List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListMembersAsync( + string org, + global::G.OrgsListMembersFilter? filter = global::G.OrgsListMembersFilter.All, + global::G.OrgsListMembersRole? role = global::G.OrgsListMembersRole.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListMembershipsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListMembershipsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..c67fe09a01 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListMembershipsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IOrgsClient.OrgsListMembershipsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organization memberships for the authenticated user
+ /// Lists all of the authenticated user's organization memberships. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListMembershipsForAuthenticatedUserAsync( + global::G.OrgsListMembershipsForAuthenticatedUserState? state = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs new file mode 100644 index 0000000000..f3f21100bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleTeams.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IOrgsClient.OrgsListOrgRoleTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List teams that are assigned to an organization role
+ /// Lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, you must be an administrator for the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListOrgRoleTeamsAsync( + string org, + int roleId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs new file mode 100644 index 0000000000..e253364c29 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoleUsers.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IOrgsClient.OrgsListOrgRoleUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List users that are assigned to an organization role
+ /// Lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, you must be an administrator for the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListOrgRoleUsersAsync( + string org, + int roleId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs new file mode 100644 index 0000000000..1c6e50745a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrgRoles.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsListOrgRoles.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get all organization roles for an organization
+ /// Lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListOrgRolesAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs new file mode 100644 index 0000000000..5e9922a0bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IOrgsClient.OrgsListOrganizationFineGrainedPermissions.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organization fine-grained permissions for an organization
+ /// Lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListOrganizationFineGrainedPermissionsAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOutsideCollaborators.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOutsideCollaborators.g.verified.cs new file mode 100644 index 0000000000..2363fdc456 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListOutsideCollaborators.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IOrgsClient.OrgsListOutsideCollaborators.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List outside collaborators for an organization
+ /// List all users who are outside collaborators of an organization. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListOutsideCollaboratorsAsync( + string org, + global::G.OrgsListOutsideCollaboratorsFilter? filter = global::G.OrgsListOutsideCollaboratorsFilter.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRepositories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRepositories.g.verified.cs new file mode 100644 index 0000000000..2f148f7313 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRepositories.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.OrgsListPatGrantRepositories.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List repositories a fine-grained personal access token has access to
+ /// Lists the repositories a fine-grained personal access token has access to.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListPatGrantRepositoriesAsync( + string org, + int patId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRequestRepositories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRequestRepositories.g.verified.cs new file mode 100644 index 0000000000..ea8f7c48b1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRequestRepositories.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.OrgsListPatGrantRequestRepositories.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List repositories requested to be accessed by a fine-grained personal access token
+ /// Lists the repositories a fine-grained personal access token request is requesting access to.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListPatGrantRequestRepositoriesAsync( + string org, + int patRequestId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRequests.g.verified.cs new file mode 100644 index 0000000000..609477081d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrantRequests.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IOrgsClient.OrgsListPatGrantRequests.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List requests to access organization resources with fine-grained personal access tokens
+ /// Lists requests from organization members to access organization resources with a fine-grained personal access token.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: desc + /// + /// + /// Example: owner[]=octocat1,owner[]=octocat2 + /// + /// + /// Example: Hello-World + /// + /// + /// Example: issues_read + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListPatGrantRequestsAsync( + string org, + int perPage = 30, + int page = 1, + global::G.OrgsListPatGrantRequestsSort? sort = global::G.OrgsListPatGrantRequestsSort.CreatedAt, + global::G.OrgsListPatGrantRequestsDirection? direction = global::G.OrgsListPatGrantRequestsDirection.Desc, + global::System.Collections.Generic.IList? owner = default, + string? repository = default, + string? permission = default, + global::System.DateTime lastUsedBefore = default, + global::System.DateTime lastUsedAfter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrants.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrants.g.verified.cs new file mode 100644 index 0000000000..6982d22457 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPatGrants.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IOrgsClient.OrgsListPatGrants.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List fine-grained personal access tokens with access to organization resources
+ /// Lists approved fine-grained personal access tokens owned by organization members that can access organization resources.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: desc + /// + /// + /// Example: owner[]=octocat1,owner[]=octocat2 + /// + /// + /// Example: Hello-World + /// + /// + /// Example: issues_read + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsListPatGrantsAsync( + string org, + int perPage = 30, + int page = 1, + global::G.OrgsListPatGrantsSort? sort = global::G.OrgsListPatGrantsSort.CreatedAt, + global::G.OrgsListPatGrantsDirection? direction = global::G.OrgsListPatGrantsDirection.Desc, + global::System.Collections.Generic.IList? owner = default, + string? repository = default, + string? permission = default, + global::System.DateTime lastUsedBefore = default, + global::System.DateTime lastUsedAfter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs new file mode 100644 index 0000000000..85f9e31588 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPendingInvitations.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IOrgsClient.OrgsListPendingInvitations.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List pending organization invitations
+ /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: all + /// + /// + /// Default Value: all + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListPendingInvitationsAsync( + string org, + int perPage = 30, + int page = 1, + global::G.OrgsListPendingInvitationsRole? role = global::G.OrgsListPendingInvitationsRole.All, + global::G.OrgsListPendingInvitationsInvitationSource? invitationSource = global::G.OrgsListPendingInvitationsInvitationSource.All, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPublicMembers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPublicMembers.g.verified.cs new file mode 100644 index 0000000000..9aa27b20d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListPublicMembers.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IOrgsClient.OrgsListPublicMembers.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List public organization members
+ /// Members of an organization can choose to have their membership publicized or not. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListPublicMembersAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListSecurityManagerTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListSecurityManagerTeams.g.verified.cs new file mode 100644 index 0000000000..e75205365c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListSecurityManagerTeams.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsListSecurityManagerTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List security manager teams
+ /// Lists teams that are security managers for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListSecurityManagerTeamsAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListWebhookDeliveries.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListWebhookDeliveries.g.verified.cs new file mode 100644 index 0000000000..dd50fe67b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListWebhookDeliveries.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IOrgsClient.OrgsListWebhookDeliveries.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List deliveries for an organization webhook
+ /// Returns a list of webhook deliveries for a webhook configured in an organization.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListWebhookDeliveriesAsync( + string org, + int hookId, + int perPage = 30, + string? cursor = default, + bool redelivery = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListWebhooks.g.verified.cs new file mode 100644 index 0000000000..1fb5b604e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsListWebhooks.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IOrgsClient.OrgsListWebhooks.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List organization webhooks
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OrgsListWebhooksAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs new file mode 100644 index 0000000000..dc7c71abb3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IOrgsClient.OrgsPatchCustomOrganizationRole.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update a custom organization role
+ /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( + string org, + int roleId, + global::G.OrgsPatchCustomOrganizationRoleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a custom organization role
+ /// Updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The name of the custom role. + /// + /// + /// A short description about the intended usage of this role or what permissions it grants. + /// + /// + /// A list of additional permissions included in this role. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsPatchCustomOrganizationRoleAsync( + string org, + int roleId, + string? name = default, + string? description = default, + global::System.Collections.Generic.IList? permissions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsPingWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsPingWebhook.g.verified.cs new file mode 100644 index 0000000000..7c04b8716c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsPingWebhook.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsPingWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Ping an organization webhook
+ /// This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event)
+ /// to be sent to the hook.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsPingWebhookAsync( + string org, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRedeliverWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRedeliverWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..1cc4c3806f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRedeliverWebhookDelivery.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IOrgsClient.OrgsRedeliverWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Redeliver a delivery for an organization webhook
+ /// Redeliver a delivery for a webhook configured in an organization.
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRedeliverWebhookDeliveryAsync( + string org, + int hookId, + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveCustomProperty.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveCustomProperty.g.verified.cs new file mode 100644 index 0000000000..2e47461d54 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveCustomProperty.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IOrgsClient.OrgsRemoveCustomProperty.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove a custom property for an organization
+ /// Removes a custom property that is defined for an organization.
+ /// To use this endpoint, the authenticated user must be one of:
+ /// - An administrator for the organization.
+ /// - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemoveCustomPropertyAsync( + string org, + string customPropertyName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveMember.g.verified.cs new file mode 100644 index 0000000000..c998c10517 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveMember.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsRemoveMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove an organization member
+ /// Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemoveMemberAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveMembershipForUser.g.verified.cs new file mode 100644 index 0000000000..67405be86b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveMembershipForUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.OrgsRemoveMembershipForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove organization membership for a user
+ /// In order to remove a user's membership with an organization, the authenticated user must be an organization owner.
+ /// If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemoveMembershipForUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveOutsideCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveOutsideCollaborator.g.verified.cs new file mode 100644 index 0000000000..6233991e40 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveOutsideCollaborator.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsRemoveOutsideCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove outside collaborator from an organization
+ /// Removing a user from this list will remove them from all the organization's repositories. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemoveOutsideCollaboratorAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemovePublicMembershipForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemovePublicMembershipForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6dbd0732b1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemovePublicMembershipForAuthenticatedUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsRemovePublicMembershipForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove public organization membership for the authenticated user
+ /// Removes the public membership for the authenticated user from the specified organization, unless public visibility is enforced by default. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemovePublicMembershipForAuthenticatedUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveSecurityManagerTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveSecurityManagerTeam.g.verified.cs new file mode 100644 index 0000000000..0e7fe9b3b8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRemoveSecurityManagerTeam.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsRemoveSecurityManagerTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove a security manager team
+ /// Removes the security manager role from a team for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRemoveSecurityManagerTeamAsync( + string org, + string teamSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsReviewPatGrantRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsReviewPatGrantRequest.g.verified.cs new file mode 100644 index 0000000000..7406174dd9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsReviewPatGrantRequest.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IOrgsClient.OrgsReviewPatGrantRequest.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Review a request to access organization resources with a fine-grained personal access token
+ /// Approves or denies a pending request to access organization resources via a fine-grained personal access token.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsReviewPatGrantRequestAsync( + string org, + int patRequestId, + global::G.OrgsReviewPatGrantRequestRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Review a request to access organization resources with a fine-grained personal access token
+ /// Approves or denies a pending request to access organization resources via a fine-grained personal access token.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// Action to apply to the request. + /// + /// + /// Reason for approving or denying the request. Max 1024 characters. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsReviewPatGrantRequestAsync( + string org, + int patRequestId, + global::G.OrgsReviewPatGrantRequestRequestAction action, + string? reason = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsReviewPatGrantRequestsInBulk.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsReviewPatGrantRequestsInBulk.g.verified.cs new file mode 100644 index 0000000000..25fc26ec48 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsReviewPatGrantRequestsInBulk.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IOrgsClient.OrgsReviewPatGrantRequestsInBulk.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Review requests to access organization resources with fine-grained personal access tokens
+ /// Approves or denies multiple pending requests to access organization resources via a fine-grained personal access token.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsReviewPatGrantRequestsInBulkAsync( + string org, + global::G.OrgsReviewPatGrantRequestsInBulkRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Review requests to access organization resources with fine-grained personal access tokens
+ /// Approves or denies multiple pending requests to access organization resources via a fine-grained personal access token.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 `pat_request_id` values. + /// + /// + /// Action to apply to the requests. + /// + /// + /// Reason for approving or denying the requests. Max 1024 characters. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsReviewPatGrantRequestsInBulkAsync( + string org, + global::G.OrgsReviewPatGrantRequestsInBulkRequestAction action, + global::System.Collections.Generic.IList? patRequestIds = default, + string? reason = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs new file mode 100644 index 0000000000..6ed54c0ca1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsRevokeAllOrgRolesTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove all organization roles for a team
+ /// Removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRevokeAllOrgRolesTeamAsync( + string org, + string teamSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs new file mode 100644 index 0000000000..af2045d784 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IOrgsClient.OrgsRevokeAllOrgRolesUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove all organization roles for a user
+ /// Revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRevokeAllOrgRolesUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs new file mode 100644 index 0000000000..69d8d5a7b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsRevokeOrgRoleTeam.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove an organization role from a team
+ /// Removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRevokeOrgRoleTeamAsync( + string org, + string teamSlug, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs new file mode 100644 index 0000000000..0b5fd936d9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsRevokeOrgRoleUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.OrgsRevokeOrgRoleUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove an organization role from a user
+ /// Remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
+ /// The authenticated user must be an administrator for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsRevokeOrgRoleUserAsync( + string org, + string username, + int roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs new file mode 100644 index 0000000000..09788934bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetMembershipForUser.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IOrgsClient.OrgsSetMembershipForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Set organization membership for a user
+ /// Only authenticated organization owners can add a member to the organization or update the member's role.
+ /// * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.
+ ///
+ /// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
+ /// **Rate limits**
+ /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsSetMembershipForUserAsync( + string org, + string username, + global::G.OrgsSetMembershipForUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set organization membership for a user
+ /// Only authenticated organization owners can add a member to the organization or update the member's role.
+ /// * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.
+ ///
+ /// * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.
+ /// **Rate limits**
+ /// To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. + ///
+ /// + /// + /// + /// The role to give the user in the organization. Can be one of:
+ /// * `admin` - The user will become an owner of the organization.
+ /// * `member` - The user will become a non-owner member of the organization.
+ /// Default Value: member + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsSetMembershipForUserAsync( + string org, + string username, + global::G.OrgsSetMembershipForUserRequestRole? role = global::G.OrgsSetMembershipForUserRequestRole.Member, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetPublicMembershipForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetPublicMembershipForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..82772d38a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsSetPublicMembershipForAuthenticatedUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.OrgsSetPublicMembershipForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Set public organization membership for the authenticated user
+ /// The user can publicize their own membership. (A user cannot publicize the membership for another user.)
+ /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsSetPublicMembershipForAuthenticatedUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUnblockUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUnblockUser.g.verified.cs new file mode 100644 index 0000000000..febcfa9298 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUnblockUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IOrgsClient.OrgsUnblockUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Unblock a user from an organization
+ /// Unblocks the given user on behalf of the specified organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUnblockUserAsync( + string org, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs new file mode 100644 index 0000000000..fb5616f8e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdate.g.verified.cs @@ -0,0 +1,190 @@ +//HintName: G.IOrgsClient.OrgsUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update an organization
+ /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// Updates the organization's profile and member privileges.
+ /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
+ /// - advanced_security_enabled_for_new_repositories
+ /// - dependabot_alerts_enabled_for_new_repositories
+ /// - dependabot_security_updates_enabled_for_new_repositories
+ /// - dependency_graph_enabled_for_new_repositories
+ /// - secret_scanning_enabled_for_new_repositories
+ /// - secret_scanning_push_protection_enabled_for_new_repositories
+ /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
+ /// The authenticated user must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateAsync( + string org, + global::G.OrgsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an organization
+ /// **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).
+ /// Updates the organization's profile and member privileges.
+ /// With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:
+ /// - advanced_security_enabled_for_new_repositories
+ /// - dependabot_alerts_enabled_for_new_repositories
+ /// - dependabot_security_updates_enabled_for_new_repositories
+ /// - dependency_graph_enabled_for_new_repositories
+ /// - secret_scanning_enabled_for_new_repositories
+ /// - secret_scanning_push_protection_enabled_for_new_repositories
+ /// For more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."
+ /// The authenticated user must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. + ///
+ /// + /// + /// Billing email address. This address is not publicized. + /// + /// + /// The company name. + /// + /// + /// The publicly visible email address. + /// + /// + /// The Twitter username of the company. + /// + /// + /// The location. + /// + /// + /// The shorthand name of the company. + /// + /// + /// The description of the company. The maximum size is 160 characters. + /// + /// + /// Whether an organization can use organization projects. + /// + /// + /// Whether repositories that belong to the organization can use repository projects. + /// + /// + /// Default permission level members have for organization repositories.
+ /// Default Value: read + /// + /// + /// Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.
+ /// Default Value: true + /// + /// + /// Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. + /// + /// + /// Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. + /// + /// + /// Whether organization members can create public repositories, which are visible to anyone. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. + /// + /// + /// Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud.
+ /// **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. + /// + /// + /// Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.
+ /// Default Value: true + /// + /// + /// Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.
+ /// Default Value: true + /// + /// + /// Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.
+ /// Default Value: true + /// + /// + /// Whether organization members can fork private organization repositories.
+ /// Default Value: false + /// + /// + /// Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.
+ /// Default Value: false + /// + /// + /// Example: "http://github.blog" + /// + /// + /// Whether GitHub Advanced Security is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether Dependabot alerts is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether Dependabot security updates is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether dependency graph is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether secret scanning is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether secret scanning push protection is automatically enabled for new repositories.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. + /// + /// + /// Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection. + /// + /// + /// If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateAsync( + string org, + string? billingEmail = default, + string? company = default, + string? email = default, + string? twitterUsername = default, + string? location = default, + string? name = default, + string? description = default, + bool hasOrganizationProjects = default, + bool hasRepositoryProjects = default, + global::G.OrgsUpdateRequestDefaultRepositoryPermission? defaultRepositoryPermission = global::G.OrgsUpdateRequestDefaultRepositoryPermission.Read, + bool membersCanCreateRepositories = true, + bool membersCanCreateInternalRepositories = default, + bool membersCanCreatePrivateRepositories = default, + bool membersCanCreatePublicRepositories = default, + global::G.OrgsUpdateRequestMembersAllowedRepositoryCreationType? membersAllowedRepositoryCreationType = default, + bool membersCanCreatePages = true, + bool membersCanCreatePublicPages = true, + bool membersCanCreatePrivatePages = true, + bool membersCanForkPrivateRepositories = false, + bool webCommitSignoffRequired = false, + string? blog = default, + bool advancedSecurityEnabledForNewRepositories = default, + bool dependabotAlertsEnabledForNewRepositories = default, + bool dependabotSecurityUpdatesEnabledForNewRepositories = default, + bool dependencyGraphEnabledForNewRepositories = default, + bool secretScanningEnabledForNewRepositories = default, + bool secretScanningPushProtectionEnabledForNewRepositories = default, + bool secretScanningPushProtectionCustomLinkEnabled = default, + string? secretScanningPushProtectionCustomLink = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..72cb5a50b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IOrgsClient.OrgsUpdateMembershipForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update an organization membership for the authenticated user
+ /// Converts the authenticated user to an active member of the organization, if that user has a pending invitation from the organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateMembershipForAuthenticatedUserAsync( + string org, + global::G.OrgsUpdateMembershipForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an organization membership for the authenticated user
+ /// Converts the authenticated user to an active member of the organization, if that user has a pending invitation from the organization. + ///
+ /// + /// + /// The state that the membership should be in. Only `"active"` will be accepted. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateMembershipForAuthenticatedUserAsync( + string org, + global::G.OrgsUpdateMembershipForAuthenticatedUserRequestState state = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdatePatAccess.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdatePatAccess.g.verified.cs new file mode 100644 index 0000000000..e0e7feb158 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdatePatAccess.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IOrgsClient.OrgsUpdatePatAccess.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update the access a fine-grained personal access token has to organization resources
+ /// Updates the access an organization member has to organization resources via a fine-grained personal access token. Limited to revoking the token's existing access. Limited to revoking a token's existing access.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdatePatAccessAsync( + string org, + int patId, + global::G.OrgsUpdatePatAccessRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update the access a fine-grained personal access token has to organization resources
+ /// Updates the access an organization member has to organization resources via a fine-grained personal access token. Limited to revoking the token's existing access. Limited to revoking a token's existing access.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// + /// Action to apply to the fine-grained personal access token. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdatePatAccessAsync( + string org, + int patId, + global::G.OrgsUpdatePatAccessRequestAction action = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdatePatAccesses.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdatePatAccesses.g.verified.cs new file mode 100644 index 0000000000..0529a9b50a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdatePatAccesses.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IOrgsClient.OrgsUpdatePatAccesses.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update the access to organization resources via fine-grained personal access tokens
+ /// Updates the access organization members have to organization resources via fine-grained personal access tokens. Limited to revoking a token's existing access.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdatePatAccessesAsync( + string org, + global::G.OrgsUpdatePatAccessesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update the access to organization resources via fine-grained personal access tokens
+ /// Updates the access organization members have to organization resources via fine-grained personal access tokens. Limited to revoking a token's existing access.
+ /// Only GitHub Apps can use this endpoint. + ///
+ /// + /// + /// Action to apply to the fine-grained personal access token. + /// + /// + /// The IDs of the fine-grained personal access tokens. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdatePatAccessesAsync( + string org, + global::System.Collections.Generic.IList patIds, + global::G.OrgsUpdatePatAccessesRequestAction action = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateWebhook.g.verified.cs new file mode 100644 index 0000000000..6b089d1a6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateWebhook.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IOrgsClient.OrgsUpdateWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update an organization webhook
+ /// Updates a webhook configured in an organization. When you update a webhook,
+ /// the `secret` will be overwritten. If you previously had a `secret` set, you must
+ /// provide the same `secret` or set a new `secret` or the secret will be removed. If
+ /// you are only updating individual webhook `config` properties, use "[Update a webhook
+ /// configuration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)".
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateWebhookAsync( + string org, + int hookId, + global::G.OrgsUpdateWebhookRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an organization webhook
+ /// Updates a webhook configured in an organization. When you update a webhook,
+ /// the `secret` will be overwritten. If you previously had a `secret` set, you must
+ /// provide the same `secret` or set a new `secret` or the secret will be removed. If
+ /// you are only updating individual webhook `config` properties, use "[Update a webhook
+ /// configuration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)".
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// Key/value pairs to provide settings for this webhook. + /// + /// + /// Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for.
+ /// Default Value: [push] + /// + /// + /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
+ /// Default Value: true + /// + /// + /// Example: "web" + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateWebhookAsync( + string org, + int hookId, + global::G.OrgsUpdateWebhookRequestConfig? config = default, + global::System.Collections.Generic.IList? events = default, + bool active = true, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateWebhookConfigForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateWebhookConfigForOrg.g.verified.cs new file mode 100644 index 0000000000..406e616ff3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.OrgsUpdateWebhookConfigForOrg.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IOrgsClient.OrgsUpdateWebhookConfigForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update a webhook configuration for an organization
+ /// Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook)."
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateWebhookConfigForOrgAsync( + string org, + int hookId, + global::G.OrgsUpdateWebhookConfigForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a webhook configuration for an organization
+ /// Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook)."
+ /// You must be an organization owner to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
+ /// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. + ///
+ /// + /// + /// + /// The URL to which the payloads will be delivered.
+ /// Example: https://example.com/webhook + /// + /// + /// The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
+ /// Example: "json" + /// + /// + /// 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).
+ /// Example: "********" + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OrgsUpdateWebhookConfigForOrgAsync( + string org, + int hookId, + string? url = default, + string? contentType = default, + string? secret = default, + global::G.WebhookConfigInsecureSsl? insecureSsl = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.g.verified.cs new file mode 100644 index 0000000000..1573594075 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IOrgsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IOrgsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Orgs.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IOrgsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..b3051b1e10 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForAuthenticatedUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete a package for the authenticated user
+ /// Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, `repo` scope is also required. For the list these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageForAuthenticatedUserAsync( + global::G.PackagesDeletePackageForAuthenticatedUserPackageType packageType, + string packageName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForOrg.g.verified.cs new file mode 100644 index 0000000000..9bfabd183f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForOrg.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete a package for an organization
+ /// Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
+ /// The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageForOrgAsync( + global::G.PackagesDeletePackageForOrgPackageType packageType, + string packageName, + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForUser.g.verified.cs new file mode 100644 index 0000000000..5a85ff1f9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageForUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete a package for a user
+ /// Deletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
+ /// If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageForUserAsync( + global::G.PackagesDeletePackageForUserPackageType packageType, + string packageName, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..4923a12351 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageVersionForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete a package version for the authenticated user
+ /// Deletes a specific package version for a package owned by the authenticated user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.
+ /// The authenticated user must have admin permissions in the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageVersionForAuthenticatedUserAsync( + global::G.PackagesDeletePackageVersionForAuthenticatedUserPackageType packageType, + string packageName, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForOrg.g.verified.cs new file mode 100644 index 0000000000..dedc5d92e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForOrg.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageVersionForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete package version for an organization
+ /// Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.
+ /// The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageVersionForOrgAsync( + global::G.PackagesDeletePackageVersionForOrgPackageType packageType, + string packageName, + string org, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForUser.g.verified.cs new file mode 100644 index 0000000000..bade40d57c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesDeletePackageVersionForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IPackagesClient.PackagesDeletePackageVersionForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Delete package version for a user
+ /// Deletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.
+ /// If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesDeletePackageVersionForUserAsync( + global::G.PackagesDeletePackageVersionForUserPackageType packageType, + string packageName, + string username, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..9d41733bf0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List package versions for a package owned by the authenticated user
+ /// Lists package versions for a package owned by the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: active + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserAsync( + global::G.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserPackageType packageType, + string packageName, + int page = 1, + int perPage = 30, + global::G.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState? state = global::G.PackagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUserState.Active, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.verified.cs new file mode 100644 index 0000000000..24384315d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List package versions for a package owned by an organization
+ /// Lists package versions for a package owned by an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: active + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesGetAllPackageVersionsForPackageOwnedByOrgAsync( + global::G.PackagesGetAllPackageVersionsForPackageOwnedByOrgPackageType packageType, + string packageName, + string org, + int page = 1, + int perPage = 30, + global::G.PackagesGetAllPackageVersionsForPackageOwnedByOrgState? state = global::G.PackagesGetAllPackageVersionsForPackageOwnedByOrgState.Active, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByUser.g.verified.cs new file mode 100644 index 0000000000..7a8917a8d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IPackagesClient.PackagesGetAllPackageVersionsForPackageOwnedByUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List package versions for a package owned by a user
+ /// Lists package versions for a public package owned by a specified user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesGetAllPackageVersionsForPackageOwnedByUserAsync( + global::G.PackagesGetAllPackageVersionsForPackageOwnedByUserPackageType packageType, + string packageName, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..1780e60f59 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForAuthenticatedUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IPackagesClient.PackagesGetPackageForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package for the authenticated user
+ /// Gets a specific package for a package owned by the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageForAuthenticatedUserAsync( + global::G.PackagesGetPackageForAuthenticatedUserPackageType packageType, + string packageName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForOrganization.g.verified.cs new file mode 100644 index 0000000000..573d0ef8fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForOrganization.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IPackagesClient.PackagesGetPackageForOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package for an organization
+ /// Gets a specific package in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageForOrganizationAsync( + global::G.PackagesGetPackageForOrganizationPackageType packageType, + string packageName, + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForUser.g.verified.cs new file mode 100644 index 0000000000..9dee8239c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageForUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IPackagesClient.PackagesGetPackageForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package for a user
+ /// Gets a specific package metadata for a public package owned by a user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageForUserAsync( + global::G.PackagesGetPackageForUserPackageType packageType, + string packageName, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..50c9a6b6c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForAuthenticatedUser.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IPackagesClient.PackagesGetPackageVersionForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package version for the authenticated user
+ /// Gets a specific package version for a package owned by the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageVersionForAuthenticatedUserAsync( + global::G.PackagesGetPackageVersionForAuthenticatedUserPackageType packageType, + string packageName, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForOrganization.g.verified.cs new file mode 100644 index 0000000000..d8532fd20d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForOrganization.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IPackagesClient.PackagesGetPackageVersionForOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package version for an organization
+ /// Gets a specific package version in an organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageVersionForOrganizationAsync( + global::G.PackagesGetPackageVersionForOrganizationPackageType packageType, + string packageName, + string org, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForUser.g.verified.cs new file mode 100644 index 0000000000..014922596d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesGetPackageVersionForUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IPackagesClient.PackagesGetPackageVersionForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get a package version for a user
+ /// Gets a specific package version for a public package owned by a specified user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesGetPackageVersionForUserAsync( + global::G.PackagesGetPackageVersionForUserPackageType packageType, + string packageName, + int packageVersionId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..11ef4a2ee0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForAuthenticatedUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get list of conflicting packages during Docker migration for authenticated-user
+ /// Lists all packages that are owned by the authenticated user within the user's namespace, and that encountered a conflict during a Docker migration.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListDockerMigrationConflictingPackagesForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForOrganization.g.verified.cs new file mode 100644 index 0000000000..5ee0ccdcd8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForOrganization.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get list of conflicting packages during Docker migration for organization
+ /// Lists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListDockerMigrationConflictingPackagesForOrganizationAsync( + string org, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForUser.g.verified.cs new file mode 100644 index 0000000000..773349df53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IPackagesClient.PackagesListDockerMigrationConflictingPackagesForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Get list of conflicting packages during Docker migration for user
+ /// Lists all packages that are in a specific user's namespace, that the requesting user has access to, and that encountered a conflict during Docker migration.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListDockerMigrationConflictingPackagesForUserAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6c1193e906 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForAuthenticatedUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPackagesClient.PackagesListPackagesForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List packages for the authenticated user's namespace
+ /// Lists packages owned by the authenticated user within the user's namespace.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListPackagesForAuthenticatedUserAsync( + global::G.PackagesListPackagesForAuthenticatedUserPackageType packageType, + global::G.PackagesListPackagesForAuthenticatedUserVisibility? visibility = default, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForOrganization.g.verified.cs new file mode 100644 index 0000000000..4c7158e9b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForOrganization.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPackagesClient.PackagesListPackagesForOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List packages for an organization
+ /// Lists packages in an organization readable by the user.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListPackagesForOrganizationAsync( + global::G.PackagesListPackagesForOrganizationPackageType packageType, + string org, + global::G.PackagesListPackagesForOrganizationVisibility? visibility = default, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForUser.g.verified.cs new file mode 100644 index 0000000000..c7501a39c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesListPackagesForUser.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPackagesClient.PackagesListPackagesForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// List packages for a user
+ /// Lists all packages in a user's namespace for which the requesting user has access.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PackagesListPackagesForUserAsync( + global::G.PackagesListPackagesForUserPackageType packageType, + string username, + global::G.PackagesListPackagesForUserVisibility? visibility = default, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..b2372c2dde --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore a package for the authenticated user
+ /// Restores a package owned by the authenticated user.
+ /// You can restore a deleted package under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageForAuthenticatedUserAsync( + global::G.PackagesRestorePackageForAuthenticatedUserPackageType packageType, + string packageName, + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForOrg.g.verified.cs new file mode 100644 index 0000000000..48d8d9c46c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore a package for an organization
+ /// Restores an entire package in an organization.
+ /// You can restore a deleted package under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageForOrgAsync( + global::G.PackagesRestorePackageForOrgPackageType packageType, + string packageName, + string org, + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForUser.g.verified.cs new file mode 100644 index 0000000000..c72e0e8497 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageForUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore a package for a user
+ /// Restores an entire package for a user.
+ /// You can restore a deleted package under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageForUserAsync( + global::G.PackagesRestorePackageForUserPackageType packageType, + string packageName, + string username, + string? token = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..3839aff81a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageVersionForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore a package version for the authenticated user
+ /// Restores a package version owned by the authenticated user.
+ /// You can restore a deleted package version under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageVersionForAuthenticatedUserAsync( + global::G.PackagesRestorePackageVersionForAuthenticatedUserPackageType packageType, + string packageName, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForOrg.g.verified.cs new file mode 100644 index 0000000000..0f97741137 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageVersionForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore package version for an organization
+ /// Restores a specific package version in an organization.
+ /// You can restore a deleted package under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageVersionForOrgAsync( + global::G.PackagesRestorePackageVersionForOrgPackageType packageType, + string packageName, + string org, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForUser.g.verified.cs new file mode 100644 index 0000000000..84f30c3790 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.PackagesRestorePackageVersionForUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPackagesClient.PackagesRestorePackageVersionForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IPackagesClient + { + /// + /// Restore package version for a user
+ /// Restores a specific package version for a user.
+ /// You can restore a deleted package under the following conditions:
+ /// - The package was deleted within the last 30 days.
+ /// - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.
+ /// If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PackagesRestorePackageVersionForUserAsync( + global::G.PackagesRestorePackageVersionForUserPackageType packageType, + string packageName, + string username, + int packageVersionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.g.verified.cs new file mode 100644 index 0000000000..bba1361fa8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPackagesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IPackagesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Manage packages for authenticated users and organizations.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPackagesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsAddCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsAddCollaborator.g.verified.cs new file mode 100644 index 0000000000..77e66b7ed3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsAddCollaborator.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IProjectsClient.ProjectsAddCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Add project collaborator
+ /// Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsAddCollaboratorAsync( + int projectId, + string username, + global::G.ProjectsAddCollaboratorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add project collaborator
+ /// Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator. + ///
+ /// + /// + /// + /// The permission to grant the collaborator.
+ /// Default Value: write
+ /// Example: write + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsAddCollaboratorAsync( + int projectId, + string username, + global::G.ProjectsAddCollaboratorRequestPermission? permission = global::G.ProjectsAddCollaboratorRequestPermission.Write, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateCard.g.verified.cs new file mode 100644 index 0000000000..e5d75ebdc2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateCard.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IProjectsClient.ProjectsCreateCard.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create a project card + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateCardAsync( + int columnId, + global::G.OneOf request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a project card + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateCardAsync( + int columnId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateColumn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateColumn.g.verified.cs new file mode 100644 index 0000000000..0db7672ac7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateColumn.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IProjectsClient.ProjectsCreateColumn.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create a project column
+ /// Creates a new project column. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateColumnAsync( + int projectId, + global::G.ProjectsCreateColumnRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a project column
+ /// Creates a new project column. + ///
+ /// + /// + /// Name of the project column
+ /// Example: Remaining tasks + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateColumnAsync( + int projectId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..407b6c68e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForAuthenticatedUser.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IProjectsClient.ProjectsCreateForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create a user project
+ /// Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForAuthenticatedUserAsync( + global::G.ProjectsCreateForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a user project
+ /// Creates a user project board. Returns a `410 Gone` status if the user does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// Name of the project
+ /// Example: Week One Sprint + /// + /// + /// Body of the project
+ /// Example: This project represents the sprint of the first week in January + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForAuthenticatedUserAsync( + string name, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForOrg.g.verified.cs new file mode 100644 index 0000000000..957a23ddc7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForOrg.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IProjectsClient.ProjectsCreateForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create an organization project
+ /// Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForOrgAsync( + string org, + global::G.ProjectsCreateForOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization project
+ /// Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// The name of the project. + /// + /// + /// The description of the project. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForOrgAsync( + string org, + string name, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForRepo.g.verified.cs new file mode 100644 index 0000000000..856e79f874 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsCreateForRepo.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IProjectsClient.ProjectsCreateForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create a repository project
+ /// Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForRepoAsync( + string owner, + string repo, + global::G.ProjectsCreateForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository project
+ /// Creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// + /// The name of the project. + /// + /// + /// The description of the project. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsCreateForRepoAsync( + string owner, + string repo, + string name, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDelete.g.verified.cs new file mode 100644 index 0000000000..633a771484 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDelete.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Delete a project
+ /// Deletes a project board. Returns a `404 Not Found` status if projects are disabled. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsDeleteAsync( + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDeleteCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDeleteCard.g.verified.cs new file mode 100644 index 0000000000..72185251a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDeleteCard.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsDeleteCard.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Delete a project card
+ /// Deletes a project card + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsDeleteCardAsync( + int cardId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDeleteColumn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDeleteColumn.g.verified.cs new file mode 100644 index 0000000000..5058118d21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsDeleteColumn.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsDeleteColumn.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Delete a project column
+ /// Deletes a project column. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsDeleteColumnAsync( + int columnId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGet.g.verified.cs new file mode 100644 index 0000000000..f4499ac69c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGet.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Get a project
+ /// Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsGetAsync( + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetCard.g.verified.cs new file mode 100644 index 0000000000..b3ca68bf60 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetCard.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsGetCard.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Get a project card
+ /// Gets information about a project card. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsGetCardAsync( + int cardId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetColumn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetColumn.g.verified.cs new file mode 100644 index 0000000000..4192468020 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetColumn.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IProjectsClient.ProjectsGetColumn.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Get a project column
+ /// Gets information about a project column. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsGetColumnAsync( + int columnId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetPermissionForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetPermissionForUser.g.verified.cs new file mode 100644 index 0000000000..8c1e75560e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsGetPermissionForUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IProjectsClient.ProjectsGetPermissionForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Get project permission for a user
+ /// Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsGetPermissionForUserAsync( + int projectId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListCards.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListCards.g.verified.cs new file mode 100644 index 0000000000..285c591159 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListCards.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IProjectsClient.ProjectsListCards.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List project cards
+ /// Lists the project cards in a project. + ///
+ /// + /// + /// Default Value: not_archived + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListCardsAsync( + int columnId, + global::G.ProjectsListCardsArchivedState? archivedState = global::G.ProjectsListCardsArchivedState.NotArchived, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListCollaborators.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListCollaborators.g.verified.cs new file mode 100644 index 0000000000..7c00fdb8b8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListCollaborators.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IProjectsClient.ProjectsListCollaborators.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List project collaborators
+ /// Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListCollaboratorsAsync( + int projectId, + global::G.ProjectsListCollaboratorsAffiliation? affiliation = global::G.ProjectsListCollaboratorsAffiliation.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListColumns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListColumns.g.verified.cs new file mode 100644 index 0000000000..3519247a2b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListColumns.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IProjectsClient.ProjectsListColumns.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List project columns
+ /// Lists the project columns in a project. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListColumnsAsync( + int projectId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForOrg.g.verified.cs new file mode 100644 index 0000000000..b3ec4a163c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForOrg.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IProjectsClient.ProjectsListForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List organization projects
+ /// Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// Default Value: open + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListForOrgAsync( + string org, + global::G.ProjectsListForOrgState? state = global::G.ProjectsListForOrgState.Open, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForRepo.g.verified.cs new file mode 100644 index 0000000000..c3f6b93e65 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForRepo.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IProjectsClient.ProjectsListForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List repository projects
+ /// Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// + /// Default Value: open + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListForRepoAsync( + string owner, + string repo, + global::G.ProjectsListForRepoState? state = global::G.ProjectsListForRepoState.Open, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForUser.g.verified.cs new file mode 100644 index 0000000000..387ba8e134 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsListForUser.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IProjectsClient.ProjectsListForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// List user projects
+ /// Lists projects for a user. + ///
+ /// + /// + /// Default Value: open + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ProjectsListForUserAsync( + string username, + global::G.ProjectsListForUserState? state = global::G.ProjectsListForUserState.Open, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsMoveCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsMoveCard.g.verified.cs new file mode 100644 index 0000000000..9a0ad15ba9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsMoveCard.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IProjectsClient.ProjectsMoveCard.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Move a project card + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsMoveCardAsync( + int cardId, + global::G.ProjectsMoveCardRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Move a project card + /// + /// + /// + /// The position of the card in a column. Can be one of: `top`, `bottom`, or `after:<card_id>` to place after the specified card.
+ /// Example: bottom + /// + /// + /// The unique identifier of the column the card should be moved to
+ /// Example: 42 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsMoveCardAsync( + int cardId, + string position, + int columnId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsMoveColumn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsMoveColumn.g.verified.cs new file mode 100644 index 0000000000..5e4bb2895e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsMoveColumn.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IProjectsClient.ProjectsMoveColumn.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Move a project column + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsMoveColumnAsync( + int columnId, + global::G.ProjectsMoveColumnRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Move a project column + /// + /// + /// + /// The position of the column in a project. Can be one of: `first`, `last`, or `after:<column_id>` to place after the specified column.
+ /// Example: last + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsMoveColumnAsync( + int columnId, + string position, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsRemoveCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsRemoveCollaborator.g.verified.cs new file mode 100644 index 0000000000..6b8fd57414 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsRemoveCollaborator.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IProjectsClient.ProjectsRemoveCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Remove user as a collaborator
+ /// Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsRemoveCollaboratorAsync( + int projectId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdate.g.verified.cs new file mode 100644 index 0000000000..04bc0396a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdate.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.IProjectsClient.ProjectsUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Update a project
+ /// Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateAsync( + int projectId, + global::G.ProjectsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a project
+ /// Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. + ///
+ /// + /// + /// Name of the project
+ /// Example: Week One Sprint + /// + /// + /// Body of the project
+ /// Example: This project represents the sprint of the first week in January + /// + /// + /// State of the project; either 'open' or 'closed'
+ /// Example: open + /// + /// + /// The baseline permission that all organization members have on this project + /// + /// + /// Whether or not this project can be seen by everyone. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateAsync( + int projectId, + string? name = default, + string? body = default, + string? state = default, + global::G.ProjectsUpdateRequestOrganizationPermission? organizationPermission = default, + bool @private = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdateCard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdateCard.g.verified.cs new file mode 100644 index 0000000000..d899742fbd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdateCard.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IProjectsClient.ProjectsUpdateCard.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Update an existing project card + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateCardAsync( + int cardId, + global::G.ProjectsUpdateCardRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an existing project card + /// + /// + /// + /// The project card's note
+ /// Example: Update all gems + /// + /// + /// Whether or not the card is archived
+ /// Example: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateCardAsync( + int cardId, + string? note = default, + bool archived = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdateColumn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdateColumn.g.verified.cs new file mode 100644 index 0000000000..5d0947a78c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.ProjectsUpdateColumn.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IProjectsClient.ProjectsUpdateColumn.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Update an existing project column + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateColumnAsync( + int columnId, + global::G.ProjectsUpdateColumnRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an existing project column + /// + /// + /// + /// Name of the project column
+ /// Example: Remaining tasks + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ProjectsUpdateColumnAsync( + int columnId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.g.verified.cs new file mode 100644 index 0000000000..01b3e3868f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IProjectsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IProjectsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Projects.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IProjectsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCheckIfMerged.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCheckIfMerged.g.verified.cs new file mode 100644 index 0000000000..c9ce10d669 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCheckIfMerged.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPullsClient.PullsCheckIfMerged.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Check if a pull request has been merged
+ /// Checks if a pull request has been merged into the base branch. The HTTP status of the response indicates whether or not the pull request has been merged; the response body is empty. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCheckIfMergedAsync( + string owner, + string repo, + int pullNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreate.g.verified.cs new file mode 100644 index 0000000000..4441d03b12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreate.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.IPullsClient.PullsCreate.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Create a pull request
+ /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateAsync( + string owner, + string repo, + global::G.PullsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a pull request
+ /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The title of the new pull request. Required unless `issue` is specified. + /// + /// + /// The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`. + /// + /// + /// The name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization.
+ /// Example: octo-org/octo-repo + /// + /// + /// The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository. + /// + /// + /// The contents of the pull request. + /// + /// + /// Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. + /// + /// + /// Indicates whether the pull request is a draft. See "[Draft Pull Requests](https://docs.github.com/articles/about-pull-requests#draft-pull-requests)" in the GitHub Help documentation to learn more. + /// + /// + /// An issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless `title` is specified.
+ /// Example: 1L + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateAsync( + string owner, + string repo, + string head, + string @base, + string? title = default, + string? headRepo = default, + string? body = default, + bool maintainerCanModify = default, + bool draft = default, + long issue = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs new file mode 100644 index 0000000000..c094236fa1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReplyForReviewComment.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IPullsClient.PullsCreateReplyForReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Create a reply for a review comment
+ /// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReplyForReviewCommentAsync( + string owner, + string repo, + int pullNumber, + int commentId, + global::G.PullsCreateReplyForReviewCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a reply for a review comment
+ /// Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The text of the review comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReplyForReviewCommentAsync( + string owner, + string repo, + int pullNumber, + int commentId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs new file mode 100644 index 0000000000..ada3c8b2ac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReview.g.verified.cs @@ -0,0 +1,74 @@ +//HintName: G.IPullsClient.PullsCreateReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Create a review for a pull request
+ /// Creates a review on a specified pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
+ /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// 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.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReviewAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsCreateReviewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a review for a pull request
+ /// Creates a review on a specified pull request.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request)."
+ /// **Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/rest/pulls/pulls#get-a-pull-request) endpoint.
+ /// 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.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value. + /// + /// + /// **Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review. + /// + /// + /// The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request) when you are ready. + /// + /// + /// Use the following table to specify the location, destination, and contents of the draft review comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReviewAsync( + string owner, + string repo, + int pullNumber, + string? commitId = default, + string? body = default, + global::G.PullsCreateReviewRequestEvent? @event = default, + global::System.Collections.Generic.IList? comments = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs new file mode 100644 index 0000000000..b849a5349f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsCreateReviewComment.g.verified.cs @@ -0,0 +1,95 @@ +//HintName: G.IPullsClient.PullsCreateReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Create a review comment for a pull request
+ /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
+ /// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
+ /// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReviewCommentAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsCreateReviewCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a review comment for a pull request
+ /// Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/rest/issues/comments#create-an-issue-comment)."
+ /// If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.
+ /// The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"
+ /// and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The text of the review comment. + /// + /// + /// The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`. + /// + /// + /// The relative path to the file that necessitates a comment. + /// + /// + /// In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see "[Diff view options](https://docs.github.com/articles/about-comparing-branches-in-pull-requests#diff-view-options)" in the GitHub Help documentation. + /// + /// + /// **Required unless using `subject_type:file`**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to. + /// + /// + /// **Required when using multi-line comments unless using `in_reply_to`**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "[Commenting on a pull request](https://docs.github.com/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)" in the GitHub Help documentation. + /// + /// + /// **Required when using multi-line comments unless using `in_reply_to`**. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see "[Commenting on a pull request](https://docs.github.com/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)" in the GitHub Help documentation. See `side` in this table for additional context. + /// + /// + /// The ID of the review comment to reply to. To find the ID of a review comment with ["List review comments on a pull request"](#list-review-comments-on-a-pull-request). When specified, all parameters other than `body` in the request body are ignored.
+ /// Example: 2 + /// + /// + /// The level at which the comment is targeted. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsCreateReviewCommentAsync( + string owner, + string repo, + int pullNumber, + string body, + string commitId, + string path, + global::G.PullsCreateReviewCommentRequestSide? side = default, + int line = default, + int startLine = default, + global::G.PullsCreateReviewCommentRequestStartSide? startSide = default, + int inReplyTo = default, + global::G.PullsCreateReviewCommentRequestSubjectType? subjectType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeletePendingReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeletePendingReview.g.verified.cs new file mode 100644 index 0000000000..9801596654 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeletePendingReview.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPullsClient.PullsDeletePendingReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Delete a pending review for a pull request
+ /// Deletes a pull request review that has not been submitted. Submitted reviews cannot be deleted.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsDeletePendingReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs new file mode 100644 index 0000000000..0a1c72d519 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDeleteReviewComment.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPullsClient.PullsDeleteReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Delete a review comment for a pull request
+ /// Deletes a review comment. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsDeleteReviewCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs new file mode 100644 index 0000000000..c506829726 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsDismissReview.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IPullsClient.PullsDismissReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Dismiss a review for a pull request
+ /// Dismisses a specified review on a pull request.
+ /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
+ /// you must be a repository administrator or be included in the list of people or teams
+ /// who can dismiss pull request reviews.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsDismissReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::G.PullsDismissReviewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Dismiss a review for a pull request
+ /// Dismisses a specified review on a pull request.
+ /// **Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/rest/branches/branch-protection),
+ /// you must be a repository administrator or be included in the list of people or teams
+ /// who can dismiss pull request reviews.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The message for the pull request review dismissal + /// + /// + /// Example: "DISMISS" + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsDismissReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + string message, + global::G.PullsDismissReviewRequestEvent? @event = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGet.g.verified.cs new file mode 100644 index 0000000000..3363e91a43 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGet.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IPullsClient.PullsGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Get a pull request
+ /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Lists details of a pull request by providing its number.
+ /// When you get, [create](https://docs.github.com/rest/pulls/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/pulls/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".
+ /// The value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.
+ /// The value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:
+ /// * If merged as a [merge commit](https://docs.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.
+ /// * If merged via a [squash](https://docs.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.
+ /// * If [rebased](https://docs.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.
+ /// Pass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.
+ /// - **`application/vnd.github.diff`**: For more information, see "[git-diff](https://git-scm.com/docs/git-diff)" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsGetAsync( + string owner, + string repo, + int pullNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReview.g.verified.cs new file mode 100644 index 0000000000..1c4294af12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReview.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPullsClient.PullsGetReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Get a review for a pull request
+ /// Retrieves a pull request review by its ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsGetReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs new file mode 100644 index 0000000000..17582d9862 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsGetReviewComment.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IPullsClient.PullsGetReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Get a review comment for a pull request
+ /// Provides details for a specified review comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsGetReviewCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsList.g.verified.cs new file mode 100644 index 0000000000..ed5091decf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsList.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IPullsClient.PullsList.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List pull requests
+ /// Lists pull requests in a specified repository.
+ /// Draft pull requests are available in public repositories with GitHub
+ /// Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing
+ /// plans, and in public and private repositories with GitHub Team and GitHub Enterprise
+ /// Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)
+ /// in the GitHub Help documentation.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// Default Value: open + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListAsync( + string owner, + string repo, + global::G.PullsListState? state = global::G.PullsListState.Open, + string? head = default, + string? @base = default, + global::G.PullsListSort? sort = global::G.PullsListSort.Created, + global::G.PullsListDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListCommentsForReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListCommentsForReview.g.verified.cs new file mode 100644 index 0000000000..63b35fcff7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListCommentsForReview.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IPullsClient.PullsListCommentsForReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List comments for a pull request review
+ /// Lists comments for a specific pull request review.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListCommentsForReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListCommits.g.verified.cs new file mode 100644 index 0000000000..93c8b757be --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListCommits.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IPullsClient.PullsListCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List commits on a pull request
+ /// Lists a maximum of 250 commits for a pull request. To receive a complete
+ /// commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/commits/commits#list-commits)
+ /// endpoint.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListCommitsAsync( + string owner, + string repo, + int pullNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListFiles.g.verified.cs new file mode 100644 index 0000000000..0bd2c43e05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListFiles.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IPullsClient.PullsListFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List pull requests files
+ /// Lists the files in a specified pull request.
+ /// **Note:** Responses include a maximum of 3000 files. The paginated response
+ /// returns 30 files per page by default.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListFilesAsync( + string owner, + string repo, + int pullNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListRequestedReviewers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListRequestedReviewers.g.verified.cs new file mode 100644 index 0000000000..97681ca5b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListRequestedReviewers.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPullsClient.PullsListRequestedReviewers.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Get all requested reviewers for a pull request
+ /// Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request) operation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsListRequestedReviewersAsync( + string owner, + string repo, + int pullNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviewComments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviewComments.g.verified.cs new file mode 100644 index 0000000000..8658bb3fd1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviewComments.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IPullsClient.PullsListReviewComments.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List review comments on a pull request
+ /// Lists all review comments for a specified pull request. By default, review comments
+ /// are in ascending order by ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: created + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListReviewCommentsAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsListReviewCommentsSort? sort = global::G.PullsListReviewCommentsSort.Created, + global::G.PullsListReviewCommentsDirection? direction = default, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviewCommentsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviewCommentsForRepo.g.verified.cs new file mode 100644 index 0000000000..b4bcacdf44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviewCommentsForRepo.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IPullsClient.PullsListReviewCommentsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List review comments in a repository
+ /// Lists review comments for all pull requests in a repository. By default,
+ /// review comments are in ascending order by ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListReviewCommentsForRepoAsync( + string owner, + string repo, + global::G.PullsListReviewCommentsForRepoSort? sort = default, + global::G.PullsListReviewCommentsForRepoDirection? direction = default, + global::System.DateTime since = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviews.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviews.g.verified.cs new file mode 100644 index 0000000000..40ecbabefc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsListReviews.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPullsClient.PullsListReviews.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// List reviews for a pull request
+ /// Lists all reviews for a specified pull request. The list of reviews returns in chronological order.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> PullsListReviewsAsync( + string owner, + string repo, + int pullNumber, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsMerge.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsMerge.g.verified.cs new file mode 100644 index 0000000000..1742165974 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsMerge.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IPullsClient.PullsMerge.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Merge a pull request
+ /// Merges a pull request into the base branch.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsMergeAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsMergeRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Merge a pull request
+ /// Merges a pull request into the base branch.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// + /// Title for the automatic commit message. + /// + /// + /// Extra detail to append to automatic commit message. + /// + /// + /// SHA that pull request head must match to allow merge. + /// + /// + /// The merge method to use. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsMergeAsync( + string owner, + string repo, + int pullNumber, + string? commitTitle = default, + string? commitMessage = default, + string? sha = default, + global::G.PullsMergeRequestMergeMethod? mergeMethod = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRemoveRequestedReviewers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRemoveRequestedReviewers.g.verified.cs new file mode 100644 index 0000000000..37e86dad3a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRemoveRequestedReviewers.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IPullsClient.PullsRemoveRequestedReviewers.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Remove requested reviewers from a pull request
+ /// Removes review requests from a pull request for a given set of users and/or teams. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsRemoveRequestedReviewersAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsRemoveRequestedReviewersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove requested reviewers from a pull request
+ /// Removes review requests from a pull request for a given set of users and/or teams. + ///
+ /// + /// + /// + /// + /// An array of user `login`s that will be removed. + /// + /// + /// An array of team `slug`s that will be removed. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsRemoveRequestedReviewersAsync( + string owner, + string repo, + int pullNumber, + global::System.Collections.Generic.IList reviewers, + global::System.Collections.Generic.IList? teamReviewers = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs new file mode 100644 index 0000000000..a3f1ab5357 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsRequestReviewers.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IPullsClient.PullsRequestReviewers.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Request reviewers for a pull request
+ /// Requests reviews for a pull request from a given set of users and/or teams.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsRequestReviewersAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsRequestReviewersRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Request reviewers for a pull request
+ /// Requests reviews for a pull request from a given set of users and/or teams.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// + /// 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 + /// + 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); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsSubmitReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsSubmitReview.g.verified.cs new file mode 100644 index 0000000000..daa001f393 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsSubmitReview.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IPullsClient.PullsSubmitReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Submit a review for a pull request
+ /// Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see "[Create a review for a pull request](https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsSubmitReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::G.PullsSubmitReviewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Submit a review for a pull request
+ /// Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see "[Create a review for a pull request](https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The body text of the pull request review + /// + /// + /// The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsSubmitReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::G.PullsSubmitReviewRequestEvent @event, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdate.g.verified.cs new file mode 100644 index 0000000000..9184500083 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdate.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IPullsClient.PullsUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Update a pull request
+ /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a pull request
+ /// Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The title of the pull request. + /// + /// + /// The contents of the pull request. + /// + /// + /// State of this Pull Request. Either `open` or `closed`. + /// + /// + /// The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository. + /// + /// + /// Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateAsync( + string owner, + string repo, + int pullNumber, + string? title = default, + string? body = default, + global::G.PullsUpdateRequestState? state = default, + string? @base = default, + bool maintainerCanModify = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs new file mode 100644 index 0000000000..959fc422bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateBranch.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IPullsClient.PullsUpdateBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Update a pull request branch
+ /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateBranchAsync( + string owner, + string repo, + int pullNumber, + global::G.PullsUpdateBranchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a pull request branch
+ /// Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. + ///
+ /// + /// + /// + /// + /// The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the "[List commits](https://docs.github.com/rest/commits/commits#list-commits)" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateBranchAsync( + string owner, + string repo, + int pullNumber, + string? expectedHeadSha = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReview.g.verified.cs new file mode 100644 index 0000000000..e4cf4d614a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReview.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IPullsClient.PullsUpdateReview.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Update a review for a pull request
+ /// Updates the contents of a specified review summary comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + global::G.PullsUpdateReviewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a review for a pull request
+ /// Updates the contents of a specified review summary comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// + /// The body text of the pull request review. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateReviewAsync( + string owner, + string repo, + int pullNumber, + int reviewId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs new file mode 100644 index 0000000000..ed0a7e7e84 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.PullsUpdateReviewComment.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IPullsClient.PullsUpdateReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IPullsClient + { + /// + /// Update a review comment for a pull request
+ /// Edits the content of a specified review comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( + string owner, + string repo, + int commentId, + global::G.PullsUpdateReviewCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a review comment for a pull request
+ /// Edits the content of a specified review comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The text of the reply to the review comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PullsUpdateReviewCommentAsync( + string owner, + string repo, + int commentId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.g.verified.cs new file mode 100644 index 0000000000..c1f73d2148 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IPullsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IPullsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Pull Requests.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPullsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs new file mode 100644 index 0000000000..1263c0e00b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.RateLimitGet.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IRateLimitClient.RateLimitGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IRateLimitClient + { + /// + /// Get rate limit status for the authenticated user
+ /// **Note:** Accessing this endpoint does not count against your REST API rate limit.
+ /// Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under `resources`, you'll see objects relating to different categories:
+ /// * The `core` object provides your rate limit status for all non-search-related resources in the REST API.
+ /// * The `search` object provides your rate limit status for the REST API for searching (excluding code searches). For more information, see "[Search](https://docs.github.com/rest/search/search)."
+ /// * The `code_search` object provides your rate limit status for the REST API for searching code. For more information, see "[Search code](https://docs.github.com/rest/search/search#search-code)."
+ /// * The `graphql` object provides your rate limit status for the GraphQL API. For more information, see "[Resource limitations](https://docs.github.com/graphql/overview/resource-limitations#rate-limit)."
+ /// * The `integration_manifest` object provides your rate limit status for the `POST /app-manifests/{code}/conversions` operation. For more information, see "[Creating a GitHub App from a manifest](https://docs.github.com/apps/creating-github-apps/setting-up-a-github-app/creating-a-github-app-from-a-manifest#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration)."
+ /// * The `dependency_snapshots` object provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "[Dependency graph](https://docs.github.com/rest/dependency-graph)."
+ /// * The `code_scanning_upload` object provides your rate limit status for uploading SARIF results to code scanning. For more information, see "[Uploading a SARIF file to GitHub](https://docs.github.com/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github)."
+ /// * The `actions_runner_registration` object provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "[Self-hosted runners](https://docs.github.com/rest/actions/self-hosted-runners)."
+ /// * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "[API Versions](https://docs.github.com/rest/overview/api-versions)."
+ /// **Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RateLimitGetAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.g.verified.cs new file mode 100644 index 0000000000..aa621d1c42 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IRateLimitClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IRateLimitClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Check your current rate limit status
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRateLimitClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs new file mode 100644 index 0000000000..76b1e64c18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForCommitComment.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReactionsClient.ReactionsCreateForCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a commit comment
+ /// Create a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForCommitCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a commit comment
+ /// Create a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the commit comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForCommitCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForCommitCommentRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssue.g.verified.cs new file mode 100644 index 0000000000..fbcf680072 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssue.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReactionsClient.ReactionsCreateForIssue.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for an issue
+ /// Create a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForIssueAsync( + string owner, + string repo, + int issueNumber, + global::G.ReactionsCreateForIssueRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for an issue
+ /// Create a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the issue. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForIssueAsync( + string owner, + string repo, + int issueNumber, + global::G.ReactionsCreateForIssueRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs new file mode 100644 index 0000000000..2244d7ab13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForIssueComment.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReactionsClient.ReactionsCreateForIssueComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for an issue comment
+ /// Create a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForIssueCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for an issue comment
+ /// Create a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the issue comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForIssueCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForIssueCommentRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs new file mode 100644 index 0000000000..6c5fae853d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReactionsClient.ReactionsCreateForPullRequestReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a pull request review comment
+ /// Create a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForPullRequestReviewCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a pull request review comment
+ /// Create a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the pull request review comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForPullRequestReviewCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsCreateForPullRequestReviewCommentRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForRelease.g.verified.cs new file mode 100644 index 0000000000..1c4eac2aed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForRelease.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReactionsClient.ReactionsCreateForRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a release
+ /// Create a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). A response with a `Status: 200 OK` means that you already added the reaction type to this release. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForReleaseAsync( + string owner, + string repo, + int releaseId, + global::G.ReactionsCreateForReleaseRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a release
+ /// Create a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). A response with a `Status: 200 OK` means that you already added the reaction type to this release. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the release. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForReleaseAsync( + string owner, + string repo, + int releaseId, + global::G.ReactionsCreateForReleaseRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..978db47f43 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a team discussion comment
+ /// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::G.ReactionsCreateForTeamDiscussionCommentInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a team discussion comment
+ /// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::G.ReactionsCreateForTeamDiscussionCommentInOrgRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..8836ed7ff0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IReactionsClient.ReactionsCreateForTeamDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a team discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::G.ReactionsCreateForTeamDiscussionCommentLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a team discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Create reaction for a team discussion comment](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)" endpoint.
+ /// Create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion comment. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::G.ReactionsCreateForTeamDiscussionCommentLegacyRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..5fbde8f372 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReactionsClient.ReactionsCreateForTeamDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a team discussion
+ /// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.ReactionsCreateForTeamDiscussionInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a team discussion
+ /// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.ReactionsCreateForTeamDiscussionInOrgRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..d12eab2451 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReactionsClient.ReactionsCreateForTeamDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Create reaction for a team discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::G.ReactionsCreateForTeamDiscussionLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create reaction for a team discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.
+ /// Create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// A response with an HTTP `200` status means that you already added the reaction type to this team discussion.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the team discussion. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task ReactionsCreateForTeamDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::G.ReactionsCreateForTeamDiscussionLegacyRequestContent content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs new file mode 100644 index 0000000000..4d6b4d0a06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForCommitComment.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete a commit comment reaction
+ /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.
+ /// Delete a reaction to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForCommitCommentAsync( + string owner, + string repo, + int commentId, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs new file mode 100644 index 0000000000..40b47ab59b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssue.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForIssue.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete an issue reaction
+ /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.
+ /// Delete a reaction to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForIssueAsync( + string owner, + string repo, + int issueNumber, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs new file mode 100644 index 0000000000..e8d43337c5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForIssueComment.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForIssueComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete an issue comment reaction
+ /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.
+ /// Delete a reaction to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForIssueCommentAsync( + string owner, + string repo, + int commentId, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs new file mode 100644 index 0000000000..8d0c9e235f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForPullRequestComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete a pull request comment reaction
+ /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`
+ /// Delete a reaction to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForPullRequestCommentAsync( + string owner, + string repo, + int commentId, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs new file mode 100644 index 0000000000..43c87f2069 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForRelease.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete a release reaction
+ /// **Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.
+ /// Delete a reaction to a [release](https://docs.github.com/rest/releases/releases#get-a-release). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForReleaseAsync( + string owner, + string repo, + int releaseId, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs new file mode 100644 index 0000000000..6d44cd477d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForTeamDiscussion.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete team discussion reaction
+ /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.
+ /// Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForTeamDiscussionAsync( + string org, + string teamSlug, + int discussionNumber, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs new file mode 100644 index 0000000000..365ca9b987 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IReactionsClient.ReactionsDeleteForTeamDiscussionComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// Delete team discussion comment reaction
+ /// **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.
+ /// Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReactionsDeleteForTeamDiscussionCommentAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + int reactionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs new file mode 100644 index 0000000000..db3f483329 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForCommitComment.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReactionsClient.ReactionsListForCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a commit comment
+ /// List the reactions to a [commit comment](https://docs.github.com/rest/commits/comments#get-a-commit-comment). + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForCommitCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsListForCommitCommentContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssue.g.verified.cs new file mode 100644 index 0000000000..4eb2e7c0f0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssue.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReactionsClient.ReactionsListForIssue.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for an issue
+ /// List the reactions to an [issue](https://docs.github.com/rest/issues/issues#get-an-issue). + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForIssueAsync( + string owner, + string repo, + int issueNumber, + global::G.ReactionsListForIssueContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs new file mode 100644 index 0000000000..f1a18b9586 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForIssueComment.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReactionsClient.ReactionsListForIssueComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for an issue comment
+ /// List the reactions to an [issue comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment). + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForIssueCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsListForIssueCommentContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs new file mode 100644 index 0000000000..beb360683e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReactionsClient.ReactionsListForPullRequestReviewComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a pull request review comment
+ /// List the reactions to a [pull request review comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request). + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForPullRequestReviewCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReactionsListForPullRequestReviewCommentContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForRelease.g.verified.cs new file mode 100644 index 0000000000..89b4e43d90 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForRelease.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReactionsClient.ReactionsListForRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a release
+ /// List the reactions to a [release](https://docs.github.com/rest/releases/releases#get-a-release). + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForReleaseAsync( + string owner, + string repo, + int releaseId, + global::G.ReactionsListForReleaseContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..7da6328ddc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IReactionsClient.ReactionsListForTeamDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a team discussion comment
+ /// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForTeamDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::G.ReactionsListForTeamDiscussionCommentInOrgContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..a0fa7de579 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IReactionsClient.ReactionsListForTeamDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a team discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.
+ /// List the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> ReactionsListForTeamDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::G.ReactionsListForTeamDiscussionCommentLegacyContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..43281baee9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IReactionsClient.ReactionsListForTeamDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a team discussion
+ /// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReactionsListForTeamDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.ReactionsListForTeamDiscussionInOrgContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..b19653eb06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IReactionsClient.ReactionsListForTeamDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReactionsClient + { + /// + /// List reactions for a team discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.
+ /// List the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> ReactionsListForTeamDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::G.ReactionsListForTeamDiscussionLegacyContent? content = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.g.verified.cs new file mode 100644 index 0000000000..6b66fc7ff3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReactionsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReactionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with reactions to various GitHub entities.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IReactionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAcceptInvitationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAcceptInvitationForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ddf89ff53c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAcceptInvitationForAuthenticatedUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IReposClient.ReposAcceptInvitationForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Accept a repository invitation + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposAcceptInvitationForAuthenticatedUserAsync( + int invitationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..a859f98d50 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddAppAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposAddAppAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Add app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified apps push access for this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified apps push access for this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs new file mode 100644 index 0000000000..ba53c56628 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddCollaborator.g.verified.cs @@ -0,0 +1,67 @@ +//HintName: G.IReposClient.ReposAddCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Add a repository collaborator
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
+ /// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
+ /// ```
+ /// Cannot assign {member} permission of {role name}
+ /// ```
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
+ /// The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [API](https://docs.github.com/rest/collaborators/invitations).
+ /// **Updating an existing collaborator's permission level**
+ /// The endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.
+ /// **Rate limits**
+ /// You are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposAddCollaboratorAsync( + string owner, + string repo, + string username, + global::G.ReposAddCollaboratorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add a repository collaborator
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
+ /// For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:
+ /// ```
+ /// Cannot assign {member} permission of {role name}
+ /// ```
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
+ /// The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [API](https://docs.github.com/rest/collaborators/invitations).
+ /// **Updating an existing collaborator's permission level**
+ /// The endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.
+ /// **Rate limits**
+ /// You are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository. + ///
+ /// + /// + /// + /// + /// The permission to grant the collaborator. **Only valid on organization-owned repositories.** We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any.
+ /// Default Value: push + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposAddCollaboratorAsync( + string owner, + string repo, + string username, + string? permission = "push", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddStatusCheckContexts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddStatusCheckContexts.g.verified.cs new file mode 100644 index 0000000000..010e7a51f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddStatusCheckContexts.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IReposClient.ReposAddStatusCheckContexts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Add status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddTeamAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddTeamAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..2caa97187f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddTeamAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposAddTeamAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Add team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified teams push access for this branch. You can also give push access to child teams. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified teams push access for this branch. You can also give push access to child teams. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..5520bd6c4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposAddUserAccessRestrictions.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposAddUserAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Add user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified people push access for this branch.
+ /// | Type | Description |
+ /// | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Grants the specified people push access for this branch.
+ /// | Type | Description |
+ /// | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposAddUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCancelPagesDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCancelPagesDeployment.g.verified.cs new file mode 100644 index 0000000000..17c42f3de9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCancelPagesDeployment.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposCancelPagesDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Cancel a GitHub Pages deployment
+ /// Cancels a GitHub Pages deployment.
+ /// The authenticated user must have write permissions for the GitHub Pages site. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCancelPagesDeploymentAsync( + string owner, + string repo, + global::G.OneOf pagesDeploymentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckAutomatedSecurityFixes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckAutomatedSecurityFixes.g.verified.cs new file mode 100644 index 0000000000..14b016193b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckAutomatedSecurityFixes.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposCheckAutomatedSecurityFixes.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Check if automated security fixes are enabled for a repository
+ /// Shows whether automated security fixes are enabled, disabled or paused for a repository. The authenticated user must have admin read access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCheckAutomatedSecurityFixesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckCollaborator.g.verified.cs new file mode 100644 index 0000000000..1d2e162807 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckCollaborator.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposCheckCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Check if a user is a repository collaborator
+ /// For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
+ /// Team members will include the members of child teams.
+ /// The authenticated user must have push access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCheckCollaboratorAsync( + string owner, + string repo, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckPrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckPrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..d5ed54406b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckPrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposCheckPrivateVulnerabilityReporting.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Check if private vulnerability reporting is enabled for a repository
+ /// Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see "[Evaluating the security settings of a repository](https://docs.github.com/code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCheckPrivateVulnerabilityReportingAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckVulnerabilityAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckVulnerabilityAlerts.g.verified.cs new file mode 100644 index 0000000000..441d02bfac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCheckVulnerabilityAlerts.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposCheckVulnerabilityAlerts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Check if vulnerability alerts are enabled for a repository
+ /// Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCheckVulnerabilityAlertsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCodeownersErrors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCodeownersErrors.g.verified.cs new file mode 100644 index 0000000000..2c6a1c4cbf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCodeownersErrors.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposCodeownersErrors.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List CODEOWNERS errors
+ /// List any syntax errors that are detected in the CODEOWNERS
+ /// file.
+ /// For more information about the correct CODEOWNERS syntax,
+ /// see "[About code owners](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCodeownersErrorsAsync( + string owner, + string repo, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs new file mode 100644 index 0000000000..6466fc0bb9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCompareCommits.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IReposClient.ReposCompareCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Compare two commits
+ /// Compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."
+ /// This endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.diff`**: Returns the diff of the commit.
+ /// - **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property.
+ /// The API response includes details about the files that were changed between the two commits. This includes the status of the change (if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.
+ /// When calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.
+ /// **Working with large comparisons**
+ /// To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:
+ /// - The list of changed files is only shown on the first page of results, but it includes all changed files for the entire comparison.
+ /// - The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.
+ /// For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api)."
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The `verification` object includes the following fields:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCompareCommitsAsync( + string owner, + string repo, + string basehead, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateAutolink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateAutolink.g.verified.cs new file mode 100644 index 0000000000..8b5b1a16e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateAutolink.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IReposClient.ReposCreateAutolink.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create an autolink reference for a repository
+ /// Users with admin access to the repository can create an autolink. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateAutolinkAsync( + string owner, + string repo, + global::G.ReposCreateAutolinkRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an autolink reference for a repository
+ /// Users with admin access to the repository can create an autolink. + ///
+ /// + /// + /// + /// This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit. + /// + /// + /// The URL must contain `<num>` for the reference number. `<num>` matches different characters depending on the value of `is_alphanumeric`. + /// + /// + /// Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateAutolinkAsync( + string owner, + string repo, + string keyPrefix, + string urlTemplate, + bool isAlphanumeric = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs new file mode 100644 index 0000000000..b623cd2819 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitComment.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IReposClient.ReposCreateCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a commit comment
+ /// Create a comment for a commit using its `:commit_sha`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateCommitCommentAsync( + string owner, + string repo, + string commitSha, + global::G.ReposCreateCommitCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a commit comment
+ /// Create a comment for a commit using its `:commit_sha`.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The contents of the comment. + /// + /// + /// Relative path of the file to comment on. + /// + /// + /// Line index in the diff to comment on. + /// + /// + /// **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateCommitCommentAsync( + string owner, + string repo, + string commitSha, + string body, + string? path = default, + int position = default, + int line = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitSignatureProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitSignatureProtection.g.verified.cs new file mode 100644 index 0000000000..0b262ad230 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitSignatureProtection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposCreateCommitSignatureProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create commit signature protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateCommitSignatureProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitStatus.g.verified.cs new file mode 100644 index 0000000000..5eb4ca8208 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateCommitStatus.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IReposClient.ReposCreateCommitStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a commit status
+ /// Users with push access in a repository can create commit statuses for a given SHA.
+ /// Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateCommitStatusAsync( + string owner, + string repo, + string sha, + global::G.ReposCreateCommitStatusRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a commit status
+ /// Users with push access in a repository can create commit statuses for a given SHA.
+ /// Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error. + ///
+ /// + /// + /// + /// + /// The state of the status. + /// + /// + /// The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status.
+ /// For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA:
+ /// `http://ci.example.com/user/repo/build/sha` + /// + /// + /// A short description of the status. + /// + /// + /// A string label to differentiate this status from the status of other systems. This field is case-insensitive.
+ /// Default Value: default + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateCommitStatusAsync( + string owner, + string repo, + string sha, + global::G.ReposCreateCommitStatusRequestState state, + string? targetUrl = default, + string? description = default, + string? context = "default", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeployKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeployKey.g.verified.cs new file mode 100644 index 0000000000..ef0041f2b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeployKey.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReposClient.ReposCreateDeployKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a deploy key
+ /// You can create a read-only deploy key. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeployKeyAsync( + string owner, + string repo, + global::G.ReposCreateDeployKeyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a deploy key
+ /// You can create a read-only deploy key. + ///
+ /// + /// + /// + /// A name for the key. + /// + /// + /// The contents of the key. + /// + /// + /// If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write.
+ ///
+ /// Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "[Repository permission levels for an organization](https://docs.github.com/articles/repository-permission-levels-for-an-organization/)" and "[Permission levels for a user account repository](https://docs.github.com/articles/permission-levels-for-a-user-account-repository/)." + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeployKeyAsync( + string owner, + string repo, + string key, + string? title = default, + bool readOnly = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeployment.g.verified.cs new file mode 100644 index 0000000000..93986866d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeployment.g.verified.cs @@ -0,0 +1,140 @@ +//HintName: G.IReposClient.ReposCreateDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a deployment
+ /// Deployments offer a few configurable parameters with certain defaults.
+ /// The `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them
+ /// before we merge a pull request.
+ /// The `environment` parameter allows deployments to be issued to different runtime environments. Teams often have
+ /// multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter
+ /// makes it easier to track which environments have requested deployments. The default environment is `production`.
+ /// The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If
+ /// the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,
+ /// the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will
+ /// return a failure response.
+ /// By default, [commit statuses](https://docs.github.com/rest/commits/statuses) for every submitted context must be in a `success`
+ /// state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to
+ /// specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do
+ /// not require any contexts or create any commit statuses, the deployment will always succeed.
+ /// The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text
+ /// field that will be passed on when a deployment event is dispatched.
+ /// The `task` parameter is used by the deployment system to allow different execution paths. In the web world this might
+ /// be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an
+ /// application with debugging enabled.
+ /// Merged branch response:
+ /// You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating
+ /// a deployment. This auto-merge happens when:
+ /// * Auto-merge option is enabled in the repository
+ /// * Topic branch does not include the latest changes on the base branch, which is `master` in the response example
+ /// * There are no merge conflicts
+ /// If there are no new commits in the base branch, a new request to create a deployment should give a successful
+ /// response.
+ /// Merge conflict response:
+ /// This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't
+ /// be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.
+ /// Failed commit status checks:
+ /// This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`
+ /// status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentAsync( + string owner, + string repo, + global::G.ReposCreateDeploymentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a deployment
+ /// Deployments offer a few configurable parameters with certain defaults.
+ /// The `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them
+ /// before we merge a pull request.
+ /// The `environment` parameter allows deployments to be issued to different runtime environments. Teams often have
+ /// multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter
+ /// makes it easier to track which environments have requested deployments. The default environment is `production`.
+ /// The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If
+ /// the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,
+ /// the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will
+ /// return a failure response.
+ /// By default, [commit statuses](https://docs.github.com/rest/commits/statuses) for every submitted context must be in a `success`
+ /// state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to
+ /// specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do
+ /// not require any contexts or create any commit statuses, the deployment will always succeed.
+ /// The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text
+ /// field that will be passed on when a deployment event is dispatched.
+ /// The `task` parameter is used by the deployment system to allow different execution paths. In the web world this might
+ /// be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an
+ /// application with debugging enabled.
+ /// Merged branch response:
+ /// You will see this response when GitHub automatically merges the base branch into the topic branch instead of creating
+ /// a deployment. This auto-merge happens when:
+ /// * Auto-merge option is enabled in the repository
+ /// * Topic branch does not include the latest changes on the base branch, which is `master` in the response example
+ /// * There are no merge conflicts
+ /// If there are no new commits in the base branch, a new request to create a deployment should give a successful
+ /// response.
+ /// Merge conflict response:
+ /// This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't
+ /// be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.
+ /// Failed commit status checks:
+ /// This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`
+ /// status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint. + ///
+ /// + /// + /// + /// The ref to deploy. This can be a branch, tag, or SHA. + /// + /// + /// Specifies a task to execute (e.g., `deploy` or `deploy:migrations`).
+ /// Default Value: deploy + /// + /// + /// Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch.
+ /// Default Value: true + /// + /// + /// 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. + /// + /// + /// + /// Name for the target deployment environment (e.g., `production`, `staging`, `qa`).
+ /// Default Value: production + /// + /// + /// Short description of the deployment. + /// + /// + /// Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false`
+ /// Default Value: false + /// + /// + /// Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentAsync( + string owner, + string repo, + string @ref, + string? task = "deploy", + bool autoMerge = true, + global::System.Collections.Generic.IList? requiredContexts = default, + global::G.OneOf? payload = default, + string? environment = "production", + string? description = default, + bool transientEnvironment = false, + bool productionEnvironment = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentBranchPolicy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentBranchPolicy.g.verified.cs new file mode 100644 index 0000000000..c653a56f4f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentBranchPolicy.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IReposClient.ReposCreateDeploymentBranchPolicy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a deployment branch policy
+ /// Creates a deployment branch or tag policy for an environment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + global::G.DeploymentBranchPolicyNamePatternWithType request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a deployment branch policy
+ /// Creates a deployment branch or tag policy for an environment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The name pattern that branches or tags must match in order to deploy to the environment.
+ /// Wildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.
+ /// For more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).
+ /// Example: release/* + /// + /// + /// Whether this rule targets a branch or tag
+ /// Example: branch + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + string name, + global::G.DeploymentBranchPolicyNamePatternWithTypeType? type = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentProtectionRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentProtectionRule.g.verified.cs new file mode 100644 index 0000000000..5be4d9f8e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentProtectionRule.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReposClient.ReposCreateDeploymentProtectionRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a custom deployment protection rule on an environment
+ /// Enable a custom deployment protection rule for an environment.
+ /// The authenticated user must have admin or owner permissions to the repository to use this endpoint.
+ /// For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/rest/apps/apps#get-an-app).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentProtectionRuleAsync( + string environmentName, + string repo, + string owner, + global::G.ReposCreateDeploymentProtectionRuleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a custom deployment protection rule on an environment
+ /// Enable a custom deployment protection rule for an environment.
+ /// The authenticated user must have admin or owner permissions to the repository to use this endpoint.
+ /// For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/rest/apps/apps#get-an-app).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The ID of the custom app that will be enabled on the environment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentProtectionRuleAsync( + string environmentName, + string repo, + string owner, + int integrationId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs new file mode 100644 index 0000000000..9adac27e6e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDeploymentStatus.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.IReposClient.ReposCreateDeploymentStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a deployment status
+ /// Users with `push` access can create deployment statuses for a given deployment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo_deployment` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentStatusAsync( + string owner, + string repo, + int deploymentId, + global::G.ReposCreateDeploymentStatusRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a deployment status
+ /// Users with `push` access can create deployment statuses for a given deployment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo_deployment` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The state of the status. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub. + /// + /// + /// The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. + /// + /// + /// The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` + /// + /// + /// A short description of the status. The maximum description length is 140 characters. + /// + /// + /// Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. If not defined, the environment of the previous status on the deployment will be used, if it exists. Otherwise, the environment of the deployment will be used. + /// + /// + /// Sets the URL for accessing your environment. Default: `""` + /// + /// + /// Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDeploymentStatusAsync( + string owner, + string repo, + int deploymentId, + global::G.ReposCreateDeploymentStatusRequestState state, + string? targetUrl = default, + string? logUrl = default, + string? description = default, + string? environment = default, + string? environmentUrl = default, + bool autoInactive = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDispatchEvent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDispatchEvent.g.verified.cs new file mode 100644 index 0000000000..4a329fa1d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateDispatchEvent.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReposClient.ReposCreateDispatchEvent.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a repository dispatch event
+ /// You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch)."
+ /// The `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.
+ /// This input example shows how you can use the `client_payload` as a test to debug your workflow.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDispatchEventAsync( + string owner, + string repo, + global::G.ReposCreateDispatchEventRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository dispatch event
+ /// You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch)."
+ /// The `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.
+ /// This input example shows how you can use the `client_payload` as a test to debug your workflow.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// A custom webhook event name. Must be 100 characters or fewer. + /// + /// + /// 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. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateDispatchEventAsync( + string owner, + string repo, + string eventType, + global::G.ReposCreateDispatchEventRequestClientPayload? clientPayload = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..6f47f53536 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateForAuthenticatedUser.g.verified.cs @@ -0,0 +1,159 @@ +//HintName: G.IReposClient.ReposCreateForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a repository for the authenticated user
+ /// Creates a new repository for the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateForAuthenticatedUserAsync( + global::G.ReposCreateForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository for the authenticated user
+ /// Creates a new repository for the authenticated user.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// The name of the repository.
+ /// Example: Team Environment + /// + /// + /// A short description of the repository. + /// + /// + /// A URL with more information about the repository. + /// + /// + /// Whether the repository is private.
+ /// Default Value: false + /// + /// + /// Whether issues are enabled.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether projects are enabled.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether the wiki is enabled.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether discussions are enabled.
+ /// Default Value: false
+ /// Example: true + /// + /// + /// The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. + /// + /// + /// Whether the repository is initialized with a minimal README.
+ /// Default Value: false + /// + /// + /// The desired language or platform to apply to the .gitignore.
+ /// Example: Haskell + /// + /// + /// The license keyword of the open source license for this repository.
+ /// Example: mit + /// + /// + /// Whether to allow squash merges for pull requests.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether to allow merge commits for pull requests.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether to allow rebase merges for pull requests.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether to allow Auto-merge to be used on pull requests.
+ /// Default Value: false
+ /// Example: false + /// + /// + /// Whether to delete head branches when pull requests are merged
+ /// Default Value: false
+ /// Example: false + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// Whether downloads are enabled.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Whether this repository acts as a template that can be used to generate new repositories.
+ /// Default Value: false
+ /// Example: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateForAuthenticatedUserAsync( + string name, + string? description = default, + string? homepage = default, + bool @private = false, + bool hasIssues = true, + bool hasProjects = true, + bool hasWiki = true, + bool hasDiscussions = false, + int teamId = default, + bool autoInit = false, + string? gitignoreTemplate = default, + string? licenseTemplate = default, + bool allowSquashMerge = true, + bool allowMergeCommit = true, + bool allowRebaseMerge = true, + bool allowAutoMerge = false, + bool deleteBranchOnMerge = false, + global::G.ReposCreateForAuthenticatedUserRequestSquashMergeCommitTitle? squashMergeCommitTitle = default, + global::G.ReposCreateForAuthenticatedUserRequestSquashMergeCommitMessage? squashMergeCommitMessage = default, + global::G.ReposCreateForAuthenticatedUserRequestMergeCommitTitle? mergeCommitTitle = default, + global::G.ReposCreateForAuthenticatedUserRequestMergeCommitMessage? mergeCommitMessage = default, + bool hasDownloads = true, + bool isTemplate = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateFork.g.verified.cs new file mode 100644 index 0000000000..1ec2be1e63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateFork.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IReposClient.ReposCreateFork.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a fork
+ /// Create a fork for the authenticated user.
+ /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateForkAsync( + string owner, + string repo, + global::G.ReposCreateForkRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a fork
+ /// Create a fork for the authenticated user.
+ /// **Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// **Note**: Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. + ///
+ /// + /// + /// + /// Optional parameter to specify the organization name if forking into an organization. + /// + /// + /// When forking from an existing repository, a new name for the fork. + /// + /// + /// When forking from an existing repository, fork with only the default branch. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateForkAsync( + string owner, + string repo, + string? organization = default, + string? name = default, + bool defaultBranchOnly = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs new file mode 100644 index 0000000000..8a10c08ffb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateInOrg.g.verified.cs @@ -0,0 +1,153 @@ +//HintName: G.IReposClient.ReposCreateInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create an organization repository
+ /// Creates a new repository in the specified organization. The authenticated user must be a member of the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateInOrgAsync( + string org, + global::G.ReposCreateInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization repository
+ /// Creates a new repository in the specified organization. The authenticated user must be a member of the organization.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// + /// The name of the repository. + /// + /// + /// A short description of the repository. + /// + /// + /// A URL with more information about the repository. + /// + /// + /// Whether the repository is private.
+ /// Default Value: false + /// + /// + /// The visibility of the repository. + /// + /// + /// Either `true` to enable issues for this repository or `false` to disable them.
+ /// Default Value: true + /// + /// + /// Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.
+ /// Default Value: true + /// + /// + /// Either `true` to enable the wiki for this repository or `false` to disable it.
+ /// Default Value: true + /// + /// + /// Whether downloads are enabled.
+ /// Default Value: true
+ /// Example: true + /// + /// + /// Either `true` to make this repo available as a template repository or `false` to prevent it.
+ /// Default Value: false + /// + /// + /// The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. + /// + /// + /// Pass `true` to create an initial commit with empty README.
+ /// Default Value: false + /// + /// + /// Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". + /// + /// + /// Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". + /// + /// + /// Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.
+ /// Default Value: true + /// + /// + /// Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.
+ /// Default Value: true + /// + /// + /// Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.
+ /// Default Value: true + /// + /// + /// Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.
+ /// Default Value: false + /// + /// + /// Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. **The authenticated user must be an organization owner to set this property to `true`.**
+ /// Default Value: false + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateInOrgAsync( + string org, + string name, + string? description = default, + string? homepage = default, + bool @private = false, + global::G.ReposCreateInOrgRequestVisibility? visibility = default, + bool hasIssues = true, + bool hasProjects = true, + bool hasWiki = true, + bool hasDownloads = true, + bool isTemplate = false, + int teamId = default, + bool autoInit = false, + string? gitignoreTemplate = default, + string? licenseTemplate = default, + bool allowSquashMerge = true, + bool allowMergeCommit = true, + bool allowRebaseMerge = true, + bool allowAutoMerge = false, + bool deleteBranchOnMerge = false, + global::G.ReposCreateInOrgRequestSquashMergeCommitTitle? squashMergeCommitTitle = default, + global::G.ReposCreateInOrgRequestSquashMergeCommitMessage? squashMergeCommitMessage = default, + global::G.ReposCreateInOrgRequestMergeCommitTitle? mergeCommitTitle = default, + global::G.ReposCreateInOrgRequestMergeCommitMessage? mergeCommitMessage = default, + global::G.ReposCreateInOrgRequestCustomProperties? customProperties = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.verified.cs new file mode 100644 index 0000000000..2b4d628b06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IReposClient.ReposCreateOrUpdateCustomPropertiesValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create or update custom property values for a repository
+ /// Create new or update existing custom property values for a repository.
+ /// Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.
+ /// Repository admins and other users with the repository-level "edit custom property values" fine-grained permission can use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateCustomPropertiesValuesAsync( + string owner, + string repo, + global::G.ReposCreateOrUpdateCustomPropertiesValuesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update custom property values for a repository
+ /// Create new or update existing custom property values for a repository.
+ /// Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.
+ /// Repository admins and other users with the repository-level "edit custom property values" fine-grained permission can use this endpoint. + ///
+ /// + /// + /// + /// A list of custom property names and associated values to apply to the repositories. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateCustomPropertiesValuesAsync( + string owner, + string repo, + global::System.Collections.Generic.IList properties, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs new file mode 100644 index 0000000000..1de8611484 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateEnvironment.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IReposClient.ReposCreateOrUpdateEnvironment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create or update an environment
+ /// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
+ /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateEnvironmentAsync( + string owner, + string repo, + string environmentName, + global::G.ReposCreateOrUpdateEnvironmentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update an environment
+ /// Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."
+ /// **Note:** To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."
+ /// **Note:** To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// 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 + /// + /// + /// Whether or not a user who created the job is prevented from approving their own job.
+ /// Example: false + /// + /// + /// 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. + /// + /// + /// The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateEnvironmentAsync( + string owner, + string repo, + string environmentName, + int waitTimer = default, + bool preventSelfReview = default, + global::System.Collections.Generic.IList? reviewers = default, + global::G.DeploymentBranchPolicySettings? deploymentBranchPolicy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs new file mode 100644 index 0000000000..8cd28e7e55 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrUpdateFileContents.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IReposClient.ReposCreateOrUpdateFileContents.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create or update file contents
+ /// Creates a new file or replaces an existing file in a repository.
+ /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateFileContentsAsync( + string owner, + string repo, + string path, + global::G.ReposCreateOrUpdateFileContentsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create or update file contents
+ /// Creates a new file or replaces an existing file in a repository.
+ /// **Note:** If you use this endpoint and the "[Delete a file](https://docs.github.com/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. + ///
+ /// + /// + /// + /// + /// The commit message. + /// + /// + /// The new file content, using Base64 encoding. + /// + /// + /// **Required if you are updating a file**. The blob SHA of the file being replaced. + /// + /// + /// The branch name. Default: the repository’s default branch. + /// + /// + /// The person that committed the file. Default: the authenticated user. + /// + /// + /// The author of the file. Default: The `committer` or the authenticated user if you omit `committer`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrUpdateFileContentsAsync( + string owner, + string repo, + string path, + string message, + string content, + string? sha = default, + string? branch = default, + global::G.ReposCreateOrUpdateFileContentsRequestCommitter? committer = default, + global::G.ReposCreateOrUpdateFileContentsRequestAuthor? author = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs new file mode 100644 index 0000000000..0a944b42b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateOrgRuleset.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.IReposClient.ReposCreateOrgRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create an organization repository ruleset
+ /// Create a repository ruleset for an organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrgRulesetAsync( + string org, + global::G.ReposCreateOrgRulesetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an organization repository ruleset
+ /// Create a repository ruleset for an organization. + ///
+ /// + /// + /// The name of the ruleset. + /// + /// + /// The target of the ruleset
+ /// **Note**: The `push` target is in beta and is subject to change. + /// + /// + /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + /// + /// + /// The actors that can bypass the rules in this ruleset + /// + /// + /// 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. + /// + /// + /// An array of rules within the ruleset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateOrgRulesetAsync( + string org, + string name, + global::G.RepositoryRuleEnforcement enforcement, + global::G.ReposCreateOrgRulesetRequestTarget? target = default, + global::System.Collections.Generic.IList? bypassActors = default, + global::G.OrgRulesetConditions? conditions = default, + global::System.Collections.Generic.IList? rules = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreatePagesDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreatePagesDeployment.g.verified.cs new file mode 100644 index 0000000000..586c31ab23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreatePagesDeployment.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IReposClient.ReposCreatePagesDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a GitHub Pages deployment
+ /// Create a GitHub Pages deployment for a repository.
+ /// The authenticated user must have write permission to the repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreatePagesDeploymentAsync( + string owner, + string repo, + global::G.ReposCreatePagesDeploymentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a GitHub Pages deployment
+ /// Create a GitHub Pages deployment for a repository.
+ /// The authenticated user must have write permission to the repository. + ///
+ /// + /// + /// + /// The ID of an artifact that contains the .zip or .tar of static assets to deploy. The artifact belongs to the repository. Either `artifact_id` or `artifact_url` are required. + /// + /// + /// The URL of an artifact that contains the .zip or .tar of static assets to deploy. The artifact belongs to the repository. Either `artifact_id` or `artifact_url` are required. + /// + /// + /// The target environment for this GitHub Pages deployment.
+ /// Default Value: github-pages + /// + /// + /// A unique string that represents the version of the build for this deployment.
+ /// Default Value: GITHUB_SHA + /// + /// + /// The OIDC token issued by GitHub Actions certifying the origin of the deployment. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreatePagesDeploymentAsync( + string owner, + string repo, + string pagesBuildVersion, + string oidcToken, + double artifactId = default, + string? artifactUrl = default, + string? environment = "github-pages", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreatePagesSite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreatePagesSite.g.verified.cs new file mode 100644 index 0000000000..f6d43f9dba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreatePagesSite.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposCreatePagesSite.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a GitHub Pages site
+ /// Configures a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)."
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreatePagesSiteAsync( + string owner, + string repo, + global::G.ReposCreatePagesSiteRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a GitHub Pages site
+ /// Configures a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)."
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task ReposCreatePagesSiteAsync( + string owner, + string repo, + global::G.ReposCreatePagesSiteRequestBuildType? buildType = default, + global::G.ReposCreatePagesSiteRequestSource? source = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs new file mode 100644 index 0000000000..8b03b80a9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRelease.g.verified.cs @@ -0,0 +1,78 @@ +//HintName: G.IReposClient.ReposCreateRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a release
+ /// Users with push access to the repository can create a release.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateReleaseAsync( + string owner, + string repo, + global::G.ReposCreateReleaseRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a release
+ /// Users with push access to the repository can create a release.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + ///
+ /// + /// + /// + /// The name of the tag. + /// + /// + /// Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch. + /// + /// + /// The name of the release. + /// + /// + /// Text describing the contents of the tag. + /// + /// + /// `true` to create a draft (unpublished) release, `false` to create a published one.
+ /// Default Value: false + /// + /// + /// `true` to identify the release as a prerelease. `false` to identify the release as a full release.
+ /// Default Value: false + /// + /// + /// If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see "[Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)." + /// + /// + /// Whether to automatically generate the name and body for this release. If `name` is specified, the specified name will be used; otherwise, a name will be automatically generated. If `body` is specified, the body will be pre-pended to the automatically generated notes.
+ /// Default Value: false + /// + /// + /// Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateReleaseAsync( + string owner, + string repo, + string tagName, + string? targetCommitish = default, + string? name = default, + string? body = default, + bool draft = false, + bool prerelease = false, + string? discussionCategoryName = default, + bool generateReleaseNotes = false, + global::G.ReposCreateReleaseRequestMakeLatest? makeLatest = global::G.ReposCreateReleaseRequestMakeLatest.True, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs new file mode 100644 index 0000000000..5f8a4fd82d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateRepoRuleset.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IReposClient.ReposCreateRepoRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a repository ruleset
+ /// Create a ruleset for a repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateRepoRulesetAsync( + string owner, + string repo, + global::G.ReposCreateRepoRulesetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository ruleset
+ /// Create a ruleset for a repository. + ///
+ /// + /// + /// + /// The name of the ruleset. + /// + /// + /// The target of the ruleset
+ /// **Note**: The `push` target is in beta and is subject to change. + /// + /// + /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + /// + /// + /// The actors that can bypass the rules in this ruleset + /// + /// + /// Parameters for a repository ruleset ref name condition + /// + /// + /// An array of rules within the ruleset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateRepoRulesetAsync( + string owner, + string repo, + string name, + global::G.RepositoryRuleEnforcement enforcement, + global::G.ReposCreateRepoRulesetRequestTarget? target = default, + global::System.Collections.Generic.IList? bypassActors = default, + global::G.RepositoryRulesetConditions? conditions = default, + global::System.Collections.Generic.IList? rules = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs new file mode 100644 index 0000000000..174d198b4e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateTagProtection.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposCreateTagProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a tag protection state for a repository
+ /// This creates a tag protection state for a repository.
+ /// This endpoint is only available to repository administrators. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( + string owner, + string repo, + global::G.ReposCreateTagProtectionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a tag protection state for a repository
+ /// This creates a tag protection state for a repository.
+ /// This endpoint is only available to repository administrators. + ///
+ /// + /// + /// + /// An optional glob pattern to match against when enforcing tag protection. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateTagProtectionAsync( + string owner, + string repo, + string pattern, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateUsingTemplate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateUsingTemplate.g.verified.cs new file mode 100644 index 0000000000..428898c0aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateUsingTemplate.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IReposClient.ReposCreateUsingTemplate.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a repository using a template
+ /// Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/repos/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateUsingTemplateAsync( + string templateOwner, + string templateRepo, + global::G.ReposCreateUsingTemplateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository using a template
+ /// Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/repos/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. + ///
+ /// + /// + /// + /// The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization. + /// + /// + /// The name of the new repository. + /// + /// + /// A short description of the new repository. + /// + /// + /// Set to `true` to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: `false`.
+ /// Default Value: false + /// + /// + /// Either `true` to create a new private repository or `false` to create a new public one.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateUsingTemplateAsync( + string templateOwner, + string templateRepo, + string name, + string? owner = default, + string? description = default, + bool includeAllBranches = false, + bool @private = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateWebhook.g.verified.cs new file mode 100644 index 0000000000..f8a6bae040 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposCreateWebhook.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IReposClient.ReposCreateWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create a repository webhook
+ /// Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can
+ /// share the same `config` as long as those webhooks do not have any `events` that overlap. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateWebhookAsync( + string owner, + string repo, + global::G.ReposCreateWebhookRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository webhook
+ /// Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can
+ /// share the same `config` as long as those webhooks do not have any `events` that overlap. + ///
+ /// + /// + /// + /// Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`. + /// + /// + /// Key/value pairs to provide settings for this webhook. + /// + /// + /// Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for.
+ /// Default Value: [push] + /// + /// + /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposCreateWebhookAsync( + string owner, + string repo, + string? name = default, + global::G.ReposCreateWebhookRequestConfig? config = default, + global::System.Collections.Generic.IList? events = default, + bool active = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeclineInvitationForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeclineInvitationForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..2d815774b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeclineInvitationForAuthenticatedUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IReposClient.ReposDeclineInvitationForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Decline a repository invitation + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeclineInvitationForAuthenticatedUserAsync( + int invitationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDelete.g.verified.cs new file mode 100644 index 0000000000..1af142f0d8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDelete.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a repository
+ /// Deleting a repository requires admin access.
+ /// If an organization owner has configured the organization to prevent members from deleting organization-owned
+ /// repositories, you will get a `403 Forbidden` response.
+ /// OAuth app tokens and personal access tokens (classic) need the `delete_repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..85a5b9654d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAccessRestrictions.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDeleteAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Disables the ability to restrict who can push to this branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAdminBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAdminBranchProtection.g.verified.cs new file mode 100644 index 0000000000..f7bdb513d9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAdminBranchProtection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDeleteAdminBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete admin branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteAdminBranchProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAnEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAnEnvironment.g.verified.cs new file mode 100644 index 0000000000..3663705a15 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAnEnvironment.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeleteAnEnvironment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete an environment
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteAnEnvironmentAsync( + string owner, + string repo, + string environmentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAutolink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAutolink.g.verified.cs new file mode 100644 index 0000000000..e399ca3837 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteAutolink.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDeleteAutolink.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete an autolink reference from a repository
+ /// This deletes a single autolink reference by ID that was configured for the given repository.
+ /// Information about autolinks are only available to repository administrators. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteAutolinkAsync( + string owner, + string repo, + int autolinkId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteBranchProtection.g.verified.cs new file mode 100644 index 0000000000..ed957f88da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteBranchProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeleteBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteBranchProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs new file mode 100644 index 0000000000..79175448d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitComment.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposDeleteCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a commit comment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteCommitCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitSignatureProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitSignatureProtection.g.verified.cs new file mode 100644 index 0000000000..6c4065c2b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteCommitSignatureProtection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDeleteCommitSignatureProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete commit signature protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteCommitSignatureProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeployKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeployKey.g.verified.cs new file mode 100644 index 0000000000..990a25181e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeployKey.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeleteDeployKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a deploy key
+ /// Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteDeployKeyAsync( + string owner, + string repo, + int keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeployment.g.verified.cs new file mode 100644 index 0000000000..1e2185aa23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeployment.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposDeleteDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a deployment
+ /// If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment.
+ /// To set a deployment as inactive, you must:
+ /// * Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.
+ /// * Mark the active deployment as inactive by adding any non-successful deployment status.
+ /// For more information, see "[Create a deployment](https://docs.github.com/rest/deployments/deployments/#create-a-deployment)" and "[Create a deployment status](https://docs.github.com/rest/deployments/statuses#create-a-deployment-status)."
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteDeploymentAsync( + string owner, + string repo, + int deploymentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeploymentBranchPolicy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeploymentBranchPolicy.g.verified.cs new file mode 100644 index 0000000000..f87713a2e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteDeploymentBranchPolicy.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposDeleteDeploymentBranchPolicy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a deployment branch policy
+ /// Deletes a deployment branch or tag policy for an environment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + int branchPolicyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs new file mode 100644 index 0000000000..91379c6f14 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteFile.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IReposClient.ReposDeleteFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a file
+ /// Deletes a file in a repository.
+ /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
+ /// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
+ /// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
+ /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteFileAsync( + string owner, + string repo, + string path, + global::G.ReposDeleteFileRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete a file
+ /// Deletes a file in a repository.
+ /// You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.
+ /// The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.
+ /// You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.
+ /// **Note:** If you use this endpoint and the "[Create or update file contents](https://docs.github.com/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. + ///
+ /// + /// + /// + /// + /// The commit message. + /// + /// + /// The blob SHA of the file being deleted. + /// + /// + /// The branch name. Default: the repository’s default branch + /// + /// + /// object containing information about the committer. + /// + /// + /// object containing information about the author. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteFileAsync( + string owner, + string repo, + string path, + string message, + string sha, + string? branch = default, + global::G.ReposDeleteFileRequestCommitter? committer = default, + global::G.ReposDeleteFileRequestAuthor? author = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteInvitation.g.verified.cs new file mode 100644 index 0000000000..fd8b11bb11 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteInvitation.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposDeleteInvitation.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a repository invitation + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteInvitationAsync( + string owner, + string repo, + int invitationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteOrgRuleset.g.verified.cs new file mode 100644 index 0000000000..d896cbae4f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteOrgRuleset.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposDeleteOrgRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete an organization repository ruleset
+ /// Delete a ruleset for an organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteOrgRulesetAsync( + string org, + int rulesetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeletePagesSite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeletePagesSite.g.verified.cs new file mode 100644 index 0000000000..1fbf146e62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeletePagesSite.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeletePagesSite.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a GitHub Pages site
+ /// Deletes a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages).
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeletePagesSiteAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeletePullRequestReviewProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeletePullRequestReviewProtection.g.verified.cs new file mode 100644 index 0000000000..d0fe28d01d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeletePullRequestReviewProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeletePullRequestReviewProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete pull request review protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeletePullRequestReviewProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteRelease.g.verified.cs new file mode 100644 index 0000000000..3117321653 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteRelease.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeleteRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a release
+ /// Users with push access to the repository can delete a release. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteReleaseAsync( + string owner, + string repo, + int releaseId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteReleaseAsset.g.verified.cs new file mode 100644 index 0000000000..36a6d8c7c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteReleaseAsset.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposDeleteReleaseAsset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a release asset + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteReleaseAssetAsync( + string owner, + string repo, + int assetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteRepoRuleset.g.verified.cs new file mode 100644 index 0000000000..2632df5ea7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteRepoRuleset.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDeleteRepoRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a repository ruleset
+ /// Delete a ruleset for a repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteRepoRulesetAsync( + string owner, + string repo, + int rulesetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs new file mode 100644 index 0000000000..f50aa423a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteTagProtection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposDeleteTagProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a tag protection state for a repository
+ /// This deletes a tag protection state for a repository.
+ /// This endpoint is only available to repository administrators. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteTagProtectionAsync( + string owner, + string repo, + int tagProtectionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteWebhook.g.verified.cs new file mode 100644 index 0000000000..b16951cf56 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDeleteWebhook.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposDeleteWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete a repository webhook + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDeleteWebhookAsync( + string owner, + string repo, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableAutomatedSecurityFixes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableAutomatedSecurityFixes.g.verified.cs new file mode 100644 index 0000000000..ef39b448f8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableAutomatedSecurityFixes.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposDisableAutomatedSecurityFixes.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Disable automated security fixes
+ /// Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDisableAutomatedSecurityFixesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableDeploymentProtectionRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableDeploymentProtectionRule.g.verified.cs new file mode 100644 index 0000000000..9b454212a2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableDeploymentProtectionRule.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReposClient.ReposDisableDeploymentProtectionRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Disable a custom protection rule for an environment
+ /// Disables a custom deployment protection rule for an environment.
+ /// The authenticated user must have admin or owner permissions to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDisableDeploymentProtectionRuleAsync( + string environmentName, + string repo, + string owner, + int protectionRuleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisablePrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisablePrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..0acc7e12ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisablePrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposDisablePrivateVulnerabilityReporting.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Disable private vulnerability reporting for a repository
+ /// Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see "[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDisablePrivateVulnerabilityReportingAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableVulnerabilityAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableVulnerabilityAlerts.g.verified.cs new file mode 100644 index 0000000000..c9a230e35c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDisableVulnerabilityAlerts.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposDisableVulnerabilityAlerts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Disable vulnerability alerts
+ /// Disables dependency alerts and the dependency graph for a repository.
+ /// The authenticated user must have admin access to the repository. For more information,
+ /// see "[About security alerts for vulnerable dependencies](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDisableVulnerabilityAlertsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs new file mode 100644 index 0000000000..d432cc7190 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadTarballArchive.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposDownloadTarballArchive.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Download a repository archive (tar)
+ /// Gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually
+ /// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
+ /// the `Location` header to make a second `GET` request.
+ /// **Note**: For private repositories, these links are temporary and expire after five minutes. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDownloadTarballArchiveAsync( + string owner, + string repo, + string @ref, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs new file mode 100644 index 0000000000..3a02c266fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposDownloadZipballArchive.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposDownloadZipballArchive.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Download a repository archive (zip)
+ /// Gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually
+ /// `main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use
+ /// the `Location` header to make a second `GET` request.
+ /// **Note**: For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposDownloadZipballArchiveAsync( + string owner, + string repo, + string @ref, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnableAutomatedSecurityFixes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnableAutomatedSecurityFixes.g.verified.cs new file mode 100644 index 0000000000..ad1d4f9382 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnableAutomatedSecurityFixes.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposEnableAutomatedSecurityFixes.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Enable automated security fixes
+ /// Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposEnableAutomatedSecurityFixesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnablePrivateVulnerabilityReporting.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnablePrivateVulnerabilityReporting.g.verified.cs new file mode 100644 index 0000000000..d48a244f23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnablePrivateVulnerabilityReporting.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposEnablePrivateVulnerabilityReporting.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Enable private vulnerability reporting for a repository
+ /// Enables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see "[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposEnablePrivateVulnerabilityReportingAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnableVulnerabilityAlerts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnableVulnerabilityAlerts.g.verified.cs new file mode 100644 index 0000000000..1a15da4ada --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposEnableVulnerabilityAlerts.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposEnableVulnerabilityAlerts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Enable vulnerability alerts
+ /// Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposEnableVulnerabilityAlertsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGenerateReleaseNotes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGenerateReleaseNotes.g.verified.cs new file mode 100644 index 0000000000..987e45d552 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGenerateReleaseNotes.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IReposClient.ReposGenerateReleaseNotes.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Generate release notes content for a release
+ /// Generate a name and body describing a [release](https://docs.github.com/rest/releases/releases#get-a-release). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGenerateReleaseNotesAsync( + string owner, + string repo, + global::G.ReposGenerateReleaseNotesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate release notes content for a release
+ /// Generate a name and body describing a [release](https://docs.github.com/rest/releases/releases#get-a-release). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release. + ///
+ /// + /// + /// + /// The tag name for the release. This can be an existing tag or a new one. + /// + /// + /// Specifies the commitish value that will be the target for the release's tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists. + /// + /// + /// The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release. + /// + /// + /// Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at '.github/release.yml' or '.github/release.yaml' will be used. If that is not present, the default configuration will be used. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGenerateReleaseNotesAsync( + string owner, + string repo, + string tagName, + string? targetCommitish = default, + string? previousTagName = default, + string? configurationFilePath = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGet.g.verified.cs new file mode 100644 index 0000000000..de8ebdc2ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGet.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository
+ /// The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.
+ /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..013acb0c8e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAccessRestrictions.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Lists who has access to this protected branch.
+ /// **Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAdminBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAdminBranchProtection.g.verified.cs new file mode 100644 index 0000000000..0de14d36c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAdminBranchProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetAdminBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get admin branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAdminBranchProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllDeploymentProtectionRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllDeploymentProtectionRules.g.verified.cs new file mode 100644 index 0000000000..6c9f837cf6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllDeploymentProtectionRules.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetAllDeploymentProtectionRules.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all deployment protection rules for an environment
+ /// Gets all custom deployment protection rules that are enabled for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
+ /// For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/rest/apps/apps#get-an-app).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAllDeploymentProtectionRulesAsync( + string environmentName, + string repo, + string owner, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllEnvironments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllEnvironments.g.verified.cs new file mode 100644 index 0000000000..be7a6fb2a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllEnvironments.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IReposClient.ReposGetAllEnvironments.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List environments
+ /// Lists the environments for a repository.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAllEnvironmentsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllStatusCheckContexts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllStatusCheckContexts.g.verified.cs new file mode 100644 index 0000000000..06bc74ba1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllStatusCheckContexts.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetAllStatusCheckContexts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetAllStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllTopics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllTopics.g.verified.cs new file mode 100644 index 0000000000..d3f25d78ed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAllTopics.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposGetAllTopics.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all repository topics + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAllTopicsAsync( + string owner, + string repo, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAppsWithAccessToProtectedBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAppsWithAccessToProtectedBranch.g.verified.cs new file mode 100644 index 0000000000..df52d721f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAppsWithAccessToProtectedBranch.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetAppsWithAccessToProtectedBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get apps with access to the protected branch
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Lists the GitHub Apps that have push access to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetAppsWithAccessToProtectedBranchAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAutolink.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAutolink.g.verified.cs new file mode 100644 index 0000000000..2cbda4e3e4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetAutolink.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetAutolink.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get an autolink reference of a repository
+ /// This returns a single autolink reference by ID that was configured for the given repository.
+ /// Information about autolinks are only available to repository administrators. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetAutolinkAsync( + string owner, + string repo, + int autolinkId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranch.g.verified.cs new file mode 100644 index 0000000000..eab905bdce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranch.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a branch + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetBranchAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranchProtection.g.verified.cs new file mode 100644 index 0000000000..eefb281fa0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranchProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetBranchProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranchRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranchRules.g.verified.cs new file mode 100644 index 0000000000..bae028e068 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetBranchRules.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IReposClient.ReposGetBranchRules.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get rules for a branch
+ /// Returns all active rules that apply to the specified branch. The branch does not need to exist; rules that would apply
+ /// to a branch with that name will be returned. All active rules that apply will be returned, regardless of the level
+ /// at which they are configured (e.g. repository or organization). Rules in rulesets with "evaluate" or "disabled"
+ /// enforcement statuses are not returned. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetBranchRulesAsync( + string owner, + string repo, + string branch, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetClones.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetClones.g.verified.cs new file mode 100644 index 0000000000..231cd5c3b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetClones.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetClones.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get repository clones
+ /// Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. + ///
+ /// + /// + /// + /// Default Value: day + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetClonesAsync( + string owner, + string repo, + global::G.ReposGetClonesPer? per = global::G.ReposGetClonesPer.Day, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs new file mode 100644 index 0000000000..dcf0efab07 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCodeFrequencyStats.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetCodeFrequencyStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the weekly commit activity
+ /// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
+ /// **Note:** This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains
+ /// 10,000 or more commits, a 422 status code will be returned. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> ReposGetCodeFrequencyStatsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCollaboratorPermissionLevel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCollaboratorPermissionLevel.g.verified.cs new file mode 100644 index 0000000000..2c166f9398 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCollaboratorPermissionLevel.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposGetCollaboratorPermissionLevel.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get repository permissions for a user
+ /// Checks the repository permission of a collaborator. The possible repository
+ /// permissions are `admin`, `write`, `read`, and `none`.
+ /// *Note*: The `permission` attribute provides the legacy base roles of `admin`, `write`, `read`, and `none`, where the
+ /// `maintain` role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role assigned to the
+ /// collaborator, see the `role_name` attribute, which will provide the full role name, including custom roles. The
+ /// `permissions` hash can also be used to determine which base level of access the collaborator has to the repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCollaboratorPermissionLevelAsync( + string owner, + string repo, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCombinedStatusForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCombinedStatusForRef.g.verified.cs new file mode 100644 index 0000000000..30e6fb8c74 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCombinedStatusForRef.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IReposClient.ReposGetCombinedStatusForRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the combined status for a specific reference
+ /// Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.
+ /// Additionally, a combined `state` is returned. The `state` is one of:
+ /// * **failure** if any of the contexts report as `error` or `failure`
+ /// * **pending** if there are no statuses or a context is `pending`
+ /// * **success** if the latest status for all contexts is `success` + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCombinedStatusForRefAsync( + string owner, + string repo, + string @ref, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommit.g.verified.cs new file mode 100644 index 0000000000..430190be0f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommit.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IReposClient.ReposGetCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a commit
+ /// Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.
+ /// **Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types.
+ /// - **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.
+ /// - **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.
+ /// - **`application/vnd.github.sha`**: Returns the commit's SHA-1 hash. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCommitAsync( + string owner, + string repo, + string @ref, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitActivityStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitActivityStats.g.verified.cs new file mode 100644 index 0000000000..e7ab8cfa30 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitActivityStats.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposGetCommitActivityStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the last year of commit activity
+ /// Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetCommitActivityStatsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs new file mode 100644 index 0000000000..33a74567d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitComment.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposGetCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a commit comment
+ /// Gets a specified commit comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCommitCommentAsync( + string owner, + string repo, + int commentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs new file mode 100644 index 0000000000..4615423312 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommitSignatureProtection.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetCommitSignatureProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get commit signature protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/articles/signing-commits-with-gpg) in GitHub Help.
+ /// **Note**: You must enable branch protection to require signed commits. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCommitSignatureProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommunityProfileMetrics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommunityProfileMetrics.g.verified.cs new file mode 100644 index 0000000000..eb54a32368 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCommunityProfileMetrics.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposGetCommunityProfileMetrics.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get community profile metrics
+ /// Returns all community profile metrics for a repository. The repository cannot be a fork.
+ /// The returned metrics include an overall health score, the repository description, the presence of documentation, the
+ /// detected code of conduct, the detected license, and the presence of ISSUE\_TEMPLATE, PULL\_REQUEST\_TEMPLATE,
+ /// README, and CONTRIBUTING files.
+ /// The `health_percentage` score is defined as a percentage of how many of
+ /// the recommended community health files are present. For more information, see
+ /// "[About community profiles for public repositories](https://docs.github.com/communities/setting-up-your-project-for-healthy-contributions/about-community-profiles-for-public-repositories)."
+ /// `content_reports_enabled` is only returned for organization-owned repositories. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCommunityProfileMetricsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContent.g.verified.cs new file mode 100644 index 0000000000..8e852a6e55 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContent.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposGetContent.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get repository content
+ /// Gets the contents of a file or directory in a repository. Specify the file path or directory with the `path` parameter. If you omit the `path` parameter, you will receive the contents of the repository's root directory.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw file contents for files and symlinks.
+ /// - **`application/vnd.github.html+json`**: Returns the file contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).
+ /// - **`application/vnd.github.object+json`**: Returns the contents in a consistent object format regardless of the content type. For example, instead of an array of objects for a directory, the response will be an object with an `entries` attribute containing the array of objects.
+ /// If the content is a directory, the response will be an array of objects, one object for each item in the directory. When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value _should_ be "submodule". This behavior exists [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as "submodule".
+ /// If the content is a symlink and the symlink's target is a normal file in the repository, then the API responds with the content of the file. Otherwise, the API responds with an object describing the symlink itself.
+ /// If the content is a submodule, the `submodule_git_url` field identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the github.com URLs (`html_url` and `_links["html"]`) will have null values.
+ /// **Notes**:
+ /// - To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/rest/git/trees#get-a-tree).
+ /// - This API has an upper limit of 1,000 files for a directory. If you need to retrieve
+ /// more files, use the [Git Trees API](https://docs.github.com/rest/git/trees#get-a-tree).
+ /// - Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.
+ /// - If the requested file's size is:
+ /// - 1 MB or smaller: All features of this endpoint are supported.
+ /// - Between 1-100 MB: Only the `raw` or `object` custom media types are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty
+ /// string and the `encoding` field will be `"none"`. To get the contents of these larger files, use the `raw` media type.
+ /// - Greater than 100 MB: This endpoint is not supported. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetContentAsync( + string owner, + string repo, + string path, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs new file mode 100644 index 0000000000..a7a3716461 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetContributorsStats.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposGetContributorsStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all contributor commit activity
+ /// Returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:
+ /// * `w` - Start of the week, given as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time).
+ /// * `a` - Number of additions
+ /// * `d` - Number of deletions
+ /// * `c` - Number of commits
+ /// **Note:** This endpoint will return `0` values for all addition and deletion counts in repositories with 10,000 or more commits. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetContributorsStatsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCustomDeploymentProtectionRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCustomDeploymentProtectionRule.g.verified.cs new file mode 100644 index 0000000000..fdf8639b4e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCustomDeploymentProtectionRule.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReposClient.ReposGetCustomDeploymentProtectionRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a custom deployment protection rule
+ /// Gets an enabled custom deployment protection rule for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
+ /// For more information about the app that is providing this custom deployment rule, see [`GET /apps/{app_slug}`](https://docs.github.com/rest/apps/apps#get-an-app).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetCustomDeploymentProtectionRuleAsync( + string owner, + string repo, + string environmentName, + int protectionRuleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCustomPropertiesValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCustomPropertiesValues.g.verified.cs new file mode 100644 index 0000000000..972b7db5d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetCustomPropertiesValues.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetCustomPropertiesValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all custom property values for a repository
+ /// Gets all custom property values that are set for a repository.
+ /// Users with read access to the repository can use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetCustomPropertiesValuesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeployKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeployKey.g.verified.cs new file mode 100644 index 0000000000..54a335d540 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeployKey.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetDeployKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a deploy key + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetDeployKeyAsync( + string owner, + string repo, + int keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeployment.g.verified.cs new file mode 100644 index 0000000000..88e5dc493b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeployment.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a deployment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetDeploymentAsync( + string owner, + string repo, + int deploymentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeploymentBranchPolicy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeploymentBranchPolicy.g.verified.cs new file mode 100644 index 0000000000..6441b6a311 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeploymentBranchPolicy.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReposClient.ReposGetDeploymentBranchPolicy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a deployment branch policy
+ /// Gets a deployment branch or tag policy for an environment.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + int branchPolicyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeploymentStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeploymentStatus.g.verified.cs new file mode 100644 index 0000000000..3ad8cee339 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetDeploymentStatus.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetDeploymentStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a deployment status
+ /// Users with pull access can view a deployment status for a deployment: + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetDeploymentStatusAsync( + string owner, + string repo, + int deploymentId, + int statusId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs new file mode 100644 index 0000000000..b1889487a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetEnvironment.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetEnvironment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get an environment
+ /// **Note:** To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetEnvironmentAsync( + string owner, + string repo, + string environmentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetLatestPagesBuild.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetLatestPagesBuild.g.verified.cs new file mode 100644 index 0000000000..a5ec85b2f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetLatestPagesBuild.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetLatestPagesBuild.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get latest Pages build
+ /// Gets information about the single most recent build of a GitHub Pages site.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetLatestPagesBuildAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetLatestRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetLatestRelease.g.verified.cs new file mode 100644 index 0000000000..1d0972149f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetLatestRelease.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetLatestRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the latest release
+ /// View the latest published full release for the repository.
+ /// The latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetLatestReleaseAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuite.g.verified.cs new file mode 100644 index 0000000000..acf510c056 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuite.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetOrgRuleSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get an organization rule suite
+ /// Gets information about a suite of rule evaluations from within an organization.
+ /// For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetOrgRuleSuiteAsync( + string org, + int ruleSuiteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs new file mode 100644 index 0000000000..15d1f0df4f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleSuites.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IReposClient.ReposGetOrgRuleSuites.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List organization rule suites
+ /// Lists suites of rule evaluations at the organization level.
+ /// For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." + ///
+ /// + /// + /// + /// Default Value: day + /// + /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetOrgRuleSuitesAsync( + string org, + int repositoryName = default, + global::G.ReposGetOrgRuleSuitesTimePeriod? timePeriod = global::G.ReposGetOrgRuleSuitesTimePeriod.Day, + string? actorName = default, + global::G.ReposGetOrgRuleSuitesRuleSuiteResult? ruleSuiteResult = global::G.ReposGetOrgRuleSuitesRuleSuiteResult.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs new file mode 100644 index 0000000000..2b5c87d207 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRuleset.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposGetOrgRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get an organization repository ruleset
+ /// Get a repository ruleset for an organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetOrgRulesetAsync( + string org, + int rulesetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs new file mode 100644 index 0000000000..3cf62fd2ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetOrgRulesets.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReposClient.ReposGetOrgRulesets.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all organization repository rulesets
+ /// Get all the repository rulesets for an organization. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetOrgRulesetsAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPages.g.verified.cs new file mode 100644 index 0000000000..a5cfe5e0e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPages.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposGetPages.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a GitHub Pages site
+ /// Gets information about a GitHub Pages site.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetPagesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesBuild.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesBuild.g.verified.cs new file mode 100644 index 0000000000..1525872e8b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesBuild.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetPagesBuild.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get GitHub Pages build
+ /// Gets information about a GitHub Pages build.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetPagesBuildAsync( + string owner, + string repo, + int buildId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesDeployment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesDeployment.g.verified.cs new file mode 100644 index 0000000000..411512490e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesDeployment.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetPagesDeployment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the status of a GitHub Pages deployment
+ /// Gets the current status of a GitHub Pages deployment.
+ /// The authenticated user must have read permission for the GitHub Pages site. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetPagesDeploymentAsync( + string owner, + string repo, + global::G.OneOf pagesDeploymentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesHealthCheck.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesHealthCheck.g.verified.cs new file mode 100644 index 0000000000..ad96d1bbe6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPagesHealthCheck.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetPagesHealthCheck.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a DNS health check for GitHub Pages
+ /// Gets a health check of the DNS settings for the `CNAME` record configured for a repository's GitHub Pages.
+ /// The first request to this endpoint returns a `202 Accepted` status and starts an asynchronous background task to get the results for the domain. After the background task completes, subsequent requests to this endpoint return a `200 OK` status with the health check results in the response.
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetPagesHealthCheckAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetParticipationStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetParticipationStats.g.verified.cs new file mode 100644 index 0000000000..515d94e2c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetParticipationStats.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetParticipationStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the weekly commit count
+ /// Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.
+ /// The array order is oldest week (index 0) to most recent week.
+ /// The most recent week is seven days ago at UTC midnight to today at UTC midnight. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetParticipationStatsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPullRequestReviewProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPullRequestReviewProtection.g.verified.cs new file mode 100644 index 0000000000..4b5fe0e319 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPullRequestReviewProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetPullRequestReviewProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get pull request review protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetPullRequestReviewProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPunchCardStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPunchCardStats.g.verified.cs new file mode 100644 index 0000000000..e7ea8b4b6f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetPunchCardStats.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetPunchCardStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get the hourly commit count for each day
+ /// Each array contains the day number, hour number, and number of commits:
+ /// * `0-6`: Sunday - Saturday
+ /// * `0-23`: Hour of day
+ /// * Number of commits
+ /// For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> ReposGetPunchCardStatsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReadme.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReadme.g.verified.cs new file mode 100644 index 0000000000..5a04b954d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReadme.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposGetReadme.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository README
+ /// Gets the preferred README for a repository.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.
+ /// - **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetReadmeAsync( + string owner, + string repo, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReadmeInDirectory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReadmeInDirectory.g.verified.cs new file mode 100644 index 0000000000..06ea32a796 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReadmeInDirectory.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposGetReadmeInDirectory.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository README for a directory
+ /// Gets the README from a repository directory.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.
+ /// - **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetReadmeInDirectoryAsync( + string owner, + string repo, + string dir, + string? @ref = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRelease.g.verified.cs new file mode 100644 index 0000000000..3af5403edf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRelease.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.ReposGetRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a release
+ /// Gets a public release with the specified release ID.
+ /// **Note:** This returns an `upload_url` key corresponding to the endpoint
+ /// for uploading release assets. This key is a hypermedia resource. For more information, see
+ /// "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetReleaseAsync( + string owner, + string repo, + int releaseId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs new file mode 100644 index 0000000000..b39a0b900e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseAsset.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetReleaseAsset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a release asset
+ /// To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetReleaseAssetAsync( + string owner, + string repo, + int assetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseByTag.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseByTag.g.verified.cs new file mode 100644 index 0000000000..163ce15816 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetReleaseByTag.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetReleaseByTag.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a release by tag name
+ /// Get a published release with the specified tag. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetReleaseByTagAsync( + string owner, + string repo, + string tag, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleSuite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleSuite.g.verified.cs new file mode 100644 index 0000000000..cd43c46cb7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleSuite.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetRepoRuleSuite.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository rule suite
+ /// Gets information about a suite of rule evaluations from within a repository.
+ /// For more information, see "[Managing rulesets for a repository](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#viewing-insights-for-rulesets)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetRepoRuleSuiteAsync( + string owner, + string repo, + int ruleSuiteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleSuites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleSuites.g.verified.cs new file mode 100644 index 0000000000..a5415f7fe1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleSuites.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposGetRepoRuleSuites.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository rule suites
+ /// Lists suites of rule evaluations at the repository level.
+ /// For more information, see "[Managing rulesets for a repository](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/managing-rulesets-for-a-repository#viewing-insights-for-rulesets)." + ///
+ /// + /// + /// + /// + /// Default Value: day + /// + /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetRepoRuleSuitesAsync( + string owner, + string repo, + string? @ref = default, + global::G.ReposGetRepoRuleSuitesTimePeriod? timePeriod = global::G.ReposGetRepoRuleSuitesTimePeriod.Day, + string? actorName = default, + global::G.ReposGetRepoRuleSuitesRuleSuiteResult? ruleSuiteResult = global::G.ReposGetRepoRuleSuitesRuleSuiteResult.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs new file mode 100644 index 0000000000..9071558a50 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRuleset.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IReposClient.ReposGetRepoRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository ruleset
+ /// Get a ruleset for a repository. + ///
+ /// + /// + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetRepoRulesetAsync( + string owner, + string repo, + int rulesetId, + bool includesParents = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs new file mode 100644 index 0000000000..f5f06b000d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetRepoRulesets.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReposClient.ReposGetRepoRulesets.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all repository rulesets
+ /// Get all the rulesets for a repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetRepoRulesetsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + bool includesParents = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetStatusChecksProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetStatusChecksProtection.g.verified.cs new file mode 100644 index 0000000000..62755b93b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetStatusChecksProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetStatusChecksProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get status checks protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetStatusChecksProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTeamsWithAccessToProtectedBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTeamsWithAccessToProtectedBranch.g.verified.cs new file mode 100644 index 0000000000..071fadbb58 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTeamsWithAccessToProtectedBranch.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetTeamsWithAccessToProtectedBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get teams with access to the protected branch
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Lists the teams who have push access to this branch. The list includes child teams. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetTeamsWithAccessToProtectedBranchAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTopPaths.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTopPaths.g.verified.cs new file mode 100644 index 0000000000..a8827bdb24 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTopPaths.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposGetTopPaths.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get top referral paths
+ /// Get the top 10 popular contents over the last 14 days. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetTopPathsAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTopReferrers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTopReferrers.g.verified.cs new file mode 100644 index 0000000000..1535262610 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetTopReferrers.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposGetTopReferrers.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get top referral sources
+ /// Get the top 10 referrers over the last 14 days. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetTopReferrersAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetUsersWithAccessToProtectedBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetUsersWithAccessToProtectedBranch.g.verified.cs new file mode 100644 index 0000000000..635ee3eac8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetUsersWithAccessToProtectedBranch.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetUsersWithAccessToProtectedBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get users with access to the protected branch
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Lists the people who have push access to this branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposGetUsersWithAccessToProtectedBranchAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetViews.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetViews.g.verified.cs new file mode 100644 index 0000000000..935ad18714 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetViews.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetViews.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get page views
+ /// Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday. + ///
+ /// + /// + /// + /// Default Value: day + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetViewsAsync( + string owner, + string repo, + global::G.ReposGetViewsPer? per = global::G.ReposGetViewsPer.Day, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhook.g.verified.cs new file mode 100644 index 0000000000..1758df91c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhook.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposGetWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a repository webhook
+ /// Returns a webhook configured in a repository. To get only the webhook `config` properties, see "[Get a webhook configuration for a repository](/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository)." + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetWebhookAsync( + string owner, + string repo, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhookConfigForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhookConfigForRepo.g.verified.cs new file mode 100644 index 0000000000..f1eb7ce851 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhookConfigForRepo.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposGetWebhookConfigForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a webhook configuration for a repository
+ /// Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use "[Get a repository webhook](/rest/webhooks/repos#get-a-repository-webhook)."
+ /// OAuth app tokens and personal access tokens (classic) need the `read:repo_hook` or `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetWebhookConfigForRepoAsync( + string owner, + string repo, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..1feb6c86b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposGetWebhookDelivery.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposGetWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get a delivery for a repository webhook
+ /// Returns a delivery for a webhook configured in a repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposGetWebhookDeliveryAsync( + string owner, + string repo, + int hookId, + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListActivities.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListActivities.g.verified.cs new file mode 100644 index 0000000000..ce27df4615 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListActivities.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IReposClient.ReposListActivities.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository activities
+ /// Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.
+ /// For more information about viewing repository activity,
+ /// see "[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository)." + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListActivitiesAsync( + string owner, + string repo, + global::G.ReposListActivitiesDirection? direction = global::G.ReposListActivitiesDirection.Desc, + int perPage = 30, + string? before = default, + string? after = default, + string? @ref = default, + string? actor = default, + global::G.ReposListActivitiesTimePeriod? timePeriod = default, + global::G.ReposListActivitiesActivityType? activityType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListAutolinks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListAutolinks.g.verified.cs new file mode 100644 index 0000000000..f3e9ccd4a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListAutolinks.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposListAutolinks.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get all autolinks of a repository
+ /// Gets all autolinks that are configured for a repository.
+ /// Information about autolinks are only available to repository administrators. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListAutolinksAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListBranches.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListBranches.g.verified.cs new file mode 100644 index 0000000000..fca4c0c61e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListBranches.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IReposClient.ReposListBranches.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List branches + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListBranchesAsync( + string owner, + string repo, + bool @protected = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListBranchesForHeadCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListBranchesForHeadCommit.g.verified.cs new file mode 100644 index 0000000000..a770516210 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListBranchesForHeadCommit.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposListBranchesForHeadCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List branches for HEAD commit
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListBranchesForHeadCommitAsync( + string owner, + string repo, + string commitSha, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCollaborators.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCollaborators.g.verified.cs new file mode 100644 index 0000000000..290d2efc60 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCollaborators.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IReposClient.ReposListCollaborators.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository collaborators
+ /// For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
+ /// Organization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.
+ /// Team members will include the members of child teams.
+ /// The authenticated user must have push access to the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: all + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListCollaboratorsAsync( + string owner, + string repo, + global::G.ReposListCollaboratorsAffiliation? affiliation = global::G.ReposListCollaboratorsAffiliation.All, + global::G.ReposListCollaboratorsPermission? permission = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommentsForCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommentsForCommit.g.verified.cs new file mode 100644 index 0000000000..4d85c505f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommentsForCommit.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IReposClient.ReposListCommentsForCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List commit comments
+ /// Lists the comments for a specified commit.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListCommentsForCommitAsync( + string owner, + string repo, + string commitSha, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommitCommentsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommitCommentsForRepo.g.verified.cs new file mode 100644 index 0000000000..a6cad762e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommitCommentsForRepo.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IReposClient.ReposListCommitCommentsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List commit comments for a repository
+ /// Lists the commit comments for a specified repository. Comments are ordered by ascending ID.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListCommitCommentsForRepoAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommitStatusesForRef.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommitStatusesForRef.g.verified.cs new file mode 100644 index 0000000000..b8b52b07a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommitStatusesForRef.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IReposClient.ReposListCommitStatusesForRef.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List commit statuses for a reference
+ /// Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.
+ /// This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListCommitStatusesForRefAsync( + string owner, + string repo, + string @ref, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommits.g.verified.cs new file mode 100644 index 0000000000..00e6f25ead --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCommits.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IReposClient.ReposListCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List commits
+ /// **Signature verification object**
+ /// The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:
+ /// | Name | Type | Description |
+ /// | ---- | ---- | ----------- |
+ /// | `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |
+ /// | `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |
+ /// | `signature` | `string` | The signature that was extracted from the commit. |
+ /// | `payload` | `string` | The value that was signed. |
+ /// These are the possible values for `reason` in the `verification` object:
+ /// | Value | Description |
+ /// | ----- | ----------- |
+ /// | `expired_key` | The key that made the signature is expired. |
+ /// | `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. |
+ /// | `gpgverify_error` | There was an error communicating with the signature verification service. |
+ /// | `gpgverify_unavailable` | The signature verification service is currently unavailable. |
+ /// | `unsigned` | The object does not include a signature. |
+ /// | `unknown_signature_type` | A non-PGP signature was found in the commit. |
+ /// | `no_user` | No user was associated with the `committer` email address in the commit. |
+ /// | `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |
+ /// | `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |
+ /// | `unknown_key` | The key that made the signature has not been registered with any user's account. |
+ /// | `malformed_signature` | There was an error parsing the signature. |
+ /// | `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |
+ /// | `valid` | None of the above errors applied, so the signature is considered to be verified. | + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListCommitsAsync( + string owner, + string repo, + string? sha = default, + string? path = default, + string? author = default, + string? committer = default, + global::System.DateTime since = default, + global::System.DateTime until = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListContributors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListContributors.g.verified.cs new file mode 100644 index 0000000000..e598724e33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListContributors.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IReposClient.ReposListContributors.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository contributors
+ /// Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API caches contributor data to improve performance.
+ /// GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListContributorsAsync( + string owner, + string repo, + string? anon = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs new file mode 100644 index 0000000000..4689737571 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IReposClient.ReposListCustomDeploymentRuleIntegrations.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List custom deployment rule integrations available for an environment
+ /// Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint.
+ /// For more information about environments, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)."
+ /// For more information about the app that is providing this custom deployment rule, see "[GET an app](https://docs.github.com/rest/apps/apps#get-an-app)".
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposListCustomDeploymentRuleIntegrationsAsync( + string environmentName, + string repo, + string owner, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeployKeys.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeployKeys.g.verified.cs new file mode 100644 index 0000000000..1dc8464515 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeployKeys.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposListDeployKeys.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List deploy keys + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListDeployKeysAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeploymentBranchPolicies.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeploymentBranchPolicies.g.verified.cs new file mode 100644 index 0000000000..4d57de94b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeploymentBranchPolicies.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IReposClient.ReposListDeploymentBranchPolicies.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List deployment branch policies
+ /// Lists the deployment branch policies for an environment.
+ /// Anyone with read access to the repository can use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposListDeploymentBranchPoliciesAsync( + string owner, + string repo, + string environmentName, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeploymentStatuses.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeploymentStatuses.g.verified.cs new file mode 100644 index 0000000000..5d43b2110e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeploymentStatuses.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IReposClient.ReposListDeploymentStatuses.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List deployment statuses
+ /// Users with pull access can view deployment statuses for a deployment: + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListDeploymentStatusesAsync( + string owner, + string repo, + int deploymentId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeployments.g.verified.cs new file mode 100644 index 0000000000..befbdcc5c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListDeployments.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IReposClient.ReposListDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List deployments
+ /// Simple filtering of deployments is available via query parameters: + ///
+ /// + /// + /// + /// Default Value: none + /// + /// + /// Default Value: none + /// + /// + /// Default Value: none + /// + /// + /// Default Value: none + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListDeploymentsAsync( + string owner, + string repo, + string? sha = "none", + string? @ref = "none", + string? task = "none", + string? environment = "none", + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..c03c5e13dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repositories for the authenticated user
+ /// Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.
+ /// The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership. + ///
+ /// + /// Default Value: all + /// + /// + /// Default Value: owner,collaborator,organization_member + /// + /// + /// Default Value: all + /// + /// + /// Default Value: full_name + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListForAuthenticatedUserAsync( + global::G.ReposListForAuthenticatedUserVisibility? visibility = global::G.ReposListForAuthenticatedUserVisibility.All, + string? affiliation = "owner,collaborator,organization_member", + global::G.ReposListForAuthenticatedUserType? type = global::G.ReposListForAuthenticatedUserType.All, + global::G.ReposListForAuthenticatedUserSort? sort = global::G.ReposListForAuthenticatedUserSort.FullName, + global::G.ReposListForAuthenticatedUserDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.DateTime since = default, + global::System.DateTime before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForOrg.g.verified.cs new file mode 100644 index 0000000000..9bf9eb1bee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForOrg.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IReposClient.ReposListForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List organization repositories
+ /// Lists repositories for the specified organization.
+ /// **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: created + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListForOrgAsync( + string org, + global::G.ReposListForOrgType? type = global::G.ReposListForOrgType.All, + global::G.ReposListForOrgSort? sort = global::G.ReposListForOrgSort.Created, + global::G.ReposListForOrgDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForUser.g.verified.cs new file mode 100644 index 0000000000..9d7ce2b0da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForUser.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IReposClient.ReposListForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repositories for a user
+ /// Lists public repositories for the specified user. + ///
+ /// + /// + /// Default Value: owner + /// + /// + /// Default Value: full_name + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListForUserAsync( + string username, + global::G.ReposListForUserType? type = global::G.ReposListForUserType.Owner, + global::G.ReposListForUserSort? sort = global::G.ReposListForUserSort.FullName, + global::G.ReposListForUserDirection? direction = default, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForks.g.verified.cs new file mode 100644 index 0000000000..1e60a36340 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListForks.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IReposClient.ReposListForks.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List forks + /// + /// + /// + /// + /// Default Value: newest + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListForksAsync( + string owner, + string repo, + global::G.ReposListForksSort? sort = global::G.ReposListForksSort.Newest, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListInvitations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListInvitations.g.verified.cs new file mode 100644 index 0000000000..0edf8042a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListInvitations.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IReposClient.ReposListInvitations.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository invitations
+ /// When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListInvitationsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListInvitationsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListInvitationsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..d7b982df28 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListInvitationsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposListInvitationsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository invitations for the authenticated user
+ /// When authenticating as a user, this endpoint will list all currently open repository invitations for that user. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListInvitationsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListLanguages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListLanguages.g.verified.cs new file mode 100644 index 0000000000..fdb62ca0ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListLanguages.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.ReposListLanguages.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository languages
+ /// Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposListLanguagesAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPagesBuilds.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPagesBuilds.g.verified.cs new file mode 100644 index 0000000000..ad07f6ac73 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPagesBuilds.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IReposClient.ReposListPagesBuilds.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List GitHub Pages builds
+ /// Lists builts of a GitHub Pages site.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListPagesBuildsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPublic.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPublic.g.verified.cs new file mode 100644 index 0000000000..bb0f04380a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPublic.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposListPublic.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List public repositories
+ /// Lists all public repositories in the order that they were created.
+ /// Note:
+ /// - For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.
+ /// - Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of repositories. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListPublicAsync( + int since = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPullRequestsAssociatedWithCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPullRequestsAssociatedWithCommit.g.verified.cs new file mode 100644 index 0000000000..96f46a56b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListPullRequestsAssociatedWithCommit.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IReposClient.ReposListPullRequestsAssociatedWithCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List pull requests associated with a commit
+ /// Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.
+ /// To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListPullRequestsAssociatedWithCommitAsync( + string owner, + string repo, + string commitSha, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListReleaseAssets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListReleaseAssets.g.verified.cs new file mode 100644 index 0000000000..3820aa55ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListReleaseAssets.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IReposClient.ReposListReleaseAssets.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List release assets + /// + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListReleaseAssetsAsync( + string owner, + string repo, + int releaseId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListReleases.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListReleases.g.verified.cs new file mode 100644 index 0000000000..1bafcbf3cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListReleases.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IReposClient.ReposListReleases.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List releases
+ /// This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/rest/repos/repos#list-repository-tags).
+ /// Information about published releases are available to everyone. Only users with push access will receive listings for draft releases. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListReleasesAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs new file mode 100644 index 0000000000..5864887f7a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTagProtection.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposListTagProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List tag protection states for a repository
+ /// This returns the tag protection states of a repository.
+ /// This information is only available to repository administrators. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListTagProtectionAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTags.g.verified.cs new file mode 100644 index 0000000000..b8769c08e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTags.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IReposClient.ReposListTags.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository tags + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListTagsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTeams.g.verified.cs new file mode 100644 index 0000000000..c4a934cd99 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListTeams.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IReposClient.ReposListTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository teams
+ /// Lists the teams that have access to the specified repository and that are also visible to the authenticated user.
+ /// For a public repository, a team is listed only if that team added the public repository explicitly.
+ /// OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to use this endpoint with a public repository, and `repo` scope to use this endpoint with a private repository. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListTeamsAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListWebhookDeliveries.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListWebhookDeliveries.g.verified.cs new file mode 100644 index 0000000000..c2726c378a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListWebhookDeliveries.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IReposClient.ReposListWebhookDeliveries.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List deliveries for a repository webhook
+ /// Returns a list of webhook deliveries for a webhook configured in a repository. + ///
+ /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListWebhookDeliveriesAsync( + string owner, + string repo, + int hookId, + int perPage = 30, + string? cursor = default, + bool redelivery = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListWebhooks.g.verified.cs new file mode 100644 index 0000000000..55abedeb37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposListWebhooks.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IReposClient.ReposListWebhooks.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List repository webhooks
+ /// Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposListWebhooksAsync( + string owner, + string repo, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposMerge.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposMerge.g.verified.cs new file mode 100644 index 0000000000..84d6426882 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposMerge.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IReposClient.ReposMerge.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Merge a branch + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposMergeAsync( + string owner, + string repo, + global::G.ReposMergeRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Merge a branch + /// + /// + /// + /// + /// The name of the base branch that the head will be merged into. + /// + /// + /// The head to merge. This can be a branch name or a commit SHA1. + /// + /// + /// Commit message to use for the merge commit. If omitted, a default message will be used. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposMergeAsync( + string owner, + string repo, + string @base, + string head, + string? commitMessage = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposMergeUpstream.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposMergeUpstream.g.verified.cs new file mode 100644 index 0000000000..9ace6dfc43 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposMergeUpstream.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IReposClient.ReposMergeUpstream.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Sync a fork branch with the upstream repository
+ /// Sync a branch of a forked repository to keep it up-to-date with the upstream repository. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposMergeUpstreamAsync( + string owner, + string repo, + global::G.ReposMergeUpstreamRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Sync a fork branch with the upstream repository
+ /// Sync a branch of a forked repository to keep it up-to-date with the upstream repository. + ///
+ /// + /// + /// + /// The name of the branch which should be updated to match upstream. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposMergeUpstreamAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposPingWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposPingWebhook.g.verified.cs new file mode 100644 index 0000000000..793df256e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposPingWebhook.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposPingWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Ping a repository webhook
+ /// This will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposPingWebhookAsync( + string owner, + string repo, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRedeliverWebhookDelivery.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRedeliverWebhookDelivery.g.verified.cs new file mode 100644 index 0000000000..a6eeb97676 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRedeliverWebhookDelivery.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.ReposRedeliverWebhookDelivery.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Redeliver a delivery for a repository webhook
+ /// Redeliver a webhook delivery for a webhook configured in a repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRedeliverWebhookDeliveryAsync( + string owner, + string repo, + int hookId, + int deliveryId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..2ef60e87d3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveAppAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposRemoveAppAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of an app to push to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of an app to push to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs new file mode 100644 index 0000000000..2ab4b1772f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveCollaborator.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IReposClient.ReposRemoveCollaborator.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove a repository collaborator
+ /// Removes a collaborator from a repository.
+ /// To use this endpoint, the authenticated user must either be an administrator of the repository or target themselves for removal.
+ /// This endpoint also:
+ /// - Cancels any outstanding invitations
+ /// - Unasigns the user from any issues
+ /// - Removes access to organization projects if the user is not an organization member and is not a collaborator on any other organization repositories.
+ /// - Unstars the repository
+ /// - Updates access permissions to packages
+ /// Removing a user as a collaborator has the following effects on forks:
+ /// - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork.
+ /// - If the user had their own fork of the repository, the fork will be deleted.
+ /// - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.
+ /// **Note**: A user can still have access to the repository through organization permissions like base repository permissions.
+ /// Although the API responds immediately, the additional permission updates might take some extra time to complete in the background.
+ /// For more information on fork permissions, see "[About permissions and visibility of forks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)". + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRemoveCollaboratorAsync( + string owner, + string repo, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveStatusCheckContexts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveStatusCheckContexts.g.verified.cs new file mode 100644 index 0000000000..b10e93f10a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveStatusCheckContexts.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IReposClient.ReposRemoveStatusCheckContexts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveStatusCheckProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveStatusCheckProtection.g.verified.cs new file mode 100644 index 0000000000..c04e655ac2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveStatusCheckProtection.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IReposClient.ReposRemoveStatusCheckProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove status check protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRemoveStatusCheckProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveTeamAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveTeamAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..1208f37ea9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveTeamAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposRemoveTeamAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of a team to push to this branch. You can also remove push access for child teams. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of a team to push to this branch. You can also remove push access for child teams. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..1a621e4eed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRemoveUserAccessRestrictions.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposRemoveUserAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Remove user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of a user to push to this branch.
+ /// | Type | Description |
+ /// | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Remove user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Removes the ability of a user to push to this branch.
+ /// | Type | Description |
+ /// | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposRemoveUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs new file mode 100644 index 0000000000..78849135af --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRenameBranch.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReposClient.ReposRenameBranch.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Rename a branch
+ /// Renames a branch in a repository.
+ /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
+ /// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRenameBranchAsync( + string owner, + string repo, + string branch, + global::G.ReposRenameBranchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Rename a branch
+ /// Renames a branch in a repository.
+ /// **Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/github/administering-a-repository/renaming-a-branch)".
+ /// The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.
+ /// In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. + ///
+ /// + /// + /// + /// + /// The new name of the branch. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRenameBranchAsync( + string owner, + string repo, + string branch, + string newName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposReplaceAllTopics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposReplaceAllTopics.g.verified.cs new file mode 100644 index 0000000000..9d012b2e15 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposReplaceAllTopics.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IReposClient.ReposReplaceAllTopics.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Replace all repository topics + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposReplaceAllTopicsAsync( + string owner, + string repo, + global::G.ReposReplaceAllTopicsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Replace all repository topics + /// + /// + /// + /// + /// An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposReplaceAllTopicsAsync( + string owner, + string repo, + global::System.Collections.Generic.IList names, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRequestPagesBuild.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRequestPagesBuild.g.verified.cs new file mode 100644 index 0000000000..0ccb1bc2c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposRequestPagesBuild.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IReposClient.ReposRequestPagesBuild.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Request a GitHub Pages build
+ /// You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.
+ /// Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposRequestPagesBuildAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAdminBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAdminBranchProtection.g.verified.cs new file mode 100644 index 0000000000..b3a0a4fafc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAdminBranchProtection.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposSetAdminBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Set admin branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposSetAdminBranchProtectionAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..6bf2aed116 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetAppAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposSetAppAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Set app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set app access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetAppAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetStatusCheckContexts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetStatusCheckContexts.g.verified.cs new file mode 100644 index 0000000000..4a996e1743 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetStatusCheckContexts.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IReposClient.ReposSetStatusCheckContexts.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Set status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set status check contexts
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetStatusCheckContextsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetTeamAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetTeamAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..54b76da569 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetTeamAccessRestrictions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposSetTeamAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Set team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set team access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetTeamAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs new file mode 100644 index 0000000000..d2ba9680a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposSetUserAccessRestrictions.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposSetUserAccessRestrictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Set user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.
+ /// | Type | Description |
+ /// | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::G.OneOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set user access restrictions
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.
+ /// | Type | Description |
+ /// | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
+ /// | `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReposSetUserAccessRestrictionsAsync( + string owner, + string repo, + string branch, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs new file mode 100644 index 0000000000..03f7f590db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTestPushWebhook.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IReposClient.ReposTestPushWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Test the push repository webhook
+ /// This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.
+ /// **Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test` + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposTestPushWebhookAsync( + string owner, + string repo, + int hookId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTransfer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTransfer.g.verified.cs new file mode 100644 index 0000000000..aacace2c60 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposTransfer.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IReposClient.ReposTransfer.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Transfer a repository
+ /// A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposTransferAsync( + string owner, + string repo, + global::G.ReposTransferRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Transfer a repository
+ /// A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/articles/about-repository-transfers/). + ///
+ /// + /// + /// + /// The username or organization name the repository will be transferred to. + /// + /// + /// The new name to be given to the repository. + /// + /// + /// ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposTransferAsync( + string owner, + string repo, + string newOwner, + string? newName = default, + global::System.Collections.Generic.IList? teamIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdate.g.verified.cs new file mode 100644 index 0000000000..1e80d5679b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdate.g.verified.cs @@ -0,0 +1,161 @@ +//HintName: G.IReposClient.ReposUpdate.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a repository
+ /// **Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/repos/repos#replace-all-repository-topics) endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateAsync( + string owner, + string repo, + global::G.ReposUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository
+ /// **Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/rest/repos/repos#replace-all-repository-topics) endpoint. + ///
+ /// + /// + /// + /// The name of the repository. + /// + /// + /// A short description of the repository. + /// + /// + /// A URL with more information about the repository. + /// + /// + /// Either `true` to make the repository private or `false` to make it public. Default: `false`.
+ /// **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.
+ /// Default Value: false + /// + /// + /// The visibility of the repository. + /// + /// + /// Specify which security and analysis features to enable or disable for the repository.
+ /// To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
+ /// For example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:
+ /// `{ "security_and_analysis": {"advanced_security": { "status": "enabled" } } }`.
+ /// You can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request. + /// + /// + /// Either `true` to enable issues for this repository or `false` to disable them.
+ /// Default Value: true + /// + /// + /// Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.
+ /// Default Value: true + /// + /// + /// Either `true` to enable the wiki for this repository or `false` to disable it.
+ /// Default Value: true + /// + /// + /// Either `true` to make this repo available as a template repository or `false` to prevent it.
+ /// Default Value: false + /// + /// + /// Updates the default branch for this repository. + /// + /// + /// Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.
+ /// Default Value: true + /// + /// + /// Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.
+ /// Default Value: true + /// + /// + /// Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.
+ /// Default Value: true + /// + /// + /// Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.
+ /// Default Value: false + /// + /// + /// Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.
+ /// Default Value: false + /// + /// + /// Either `true` to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.
+ /// Default Value: false + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// 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). + /// + /// + /// 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. + /// + /// + /// Whether to archive this repository. `false` will unarchive a previously archived repository.
+ /// Default Value: false + /// + /// + /// Either `true` to allow private forks, or `false` to prevent private forks.
+ /// Default Value: false + /// + /// + /// Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateAsync( + string owner, + string repo, + string? name = default, + string? description = default, + string? homepage = default, + bool @private = false, + global::G.ReposUpdateRequestVisibility? visibility = default, + global::G.ReposUpdateRequestSecurityAndAnalysis? securityAndAnalysis = default, + bool hasIssues = true, + bool hasProjects = true, + bool hasWiki = true, + bool isTemplate = false, + string? defaultBranch = default, + bool allowSquashMerge = true, + bool allowMergeCommit = true, + bool allowRebaseMerge = true, + bool allowAutoMerge = false, + bool deleteBranchOnMerge = false, + bool allowUpdateBranch = false, + global::G.ReposUpdateRequestSquashMergeCommitTitle? squashMergeCommitTitle = default, + global::G.ReposUpdateRequestSquashMergeCommitMessage? squashMergeCommitMessage = default, + global::G.ReposUpdateRequestMergeCommitTitle? mergeCommitTitle = default, + global::G.ReposUpdateRequestMergeCommitMessage? mergeCommitMessage = default, + bool archived = false, + bool allowForking = false, + bool webCommitSignoffRequired = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs new file mode 100644 index 0000000000..f4b67941ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateBranchProtection.g.verified.cs @@ -0,0 +1,92 @@ +//HintName: G.IReposClient.ReposUpdateBranchProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Protecting a branch requires admin or owner permissions to the repository.
+ /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
+ /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateBranchProtectionAsync( + string owner, + string repo, + string branch, + global::G.ReposUpdateBranchProtectionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update branch protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Protecting a branch requires admin or owner permissions to the repository.
+ /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values.
+ /// **Note**: The list of users, apps, and teams in total is limited to 100 items. + ///
+ /// + /// + /// + /// + /// Require status checks to pass before merging. Set to `null` to disable. + /// + /// + /// Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable. + /// + /// + /// Require at least one approving review on a pull request, before merging. Set to `null` to disable. + /// + /// + /// Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable. + /// + /// + /// Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://docs.github.com/github/administering-a-repository/requiring-a-linear-commit-history)" in the GitHub Help documentation. + /// + /// + /// Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation." + /// + /// + /// Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation. + /// + /// + /// If set to `true`, the `restrictions` branch protection settings which limits who can push will also block pushes which create new branches, unless the push is initiated by a user, team, or app which has the ability to push. Set to `true` to restrict new branch creation. Default: `false`. + /// + /// + /// Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`. + /// + /// + /// Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. Default: `false`.
+ /// Default Value: false + /// + /// + /// Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. Default: `false`.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateBranchProtectionAsync( + string owner, + string repo, + string branch, + global::G.ReposUpdateBranchProtectionRequestRequiredStatusChecks? requiredStatusChecks, + bool? enforceAdmins, + global::G.ReposUpdateBranchProtectionRequestRequiredPullRequestReviews? requiredPullRequestReviews, + global::G.ReposUpdateBranchProtectionRequestRestrictions? restrictions, + bool requiredLinearHistory = default, + bool? allowForcePushes = default, + bool allowDeletions = default, + bool blockCreations = default, + bool requiredConversationResolution = default, + bool lockBranch = false, + bool allowForkSyncing = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs new file mode 100644 index 0000000000..1ae43c0942 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateCommitComment.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IReposClient.ReposUpdateCommitComment.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a commit comment
+ /// Updates the contents of a specified commit comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( + string owner, + string repo, + int commentId, + global::G.ReposUpdateCommitCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a commit comment
+ /// Updates the contents of a specified commit comment.
+ /// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
+ /// - **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.
+ /// - **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.
+ /// - **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.
+ /// - **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. + ///
+ /// + /// + /// + /// + /// The contents of the comment + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateCommitCommentAsync( + string owner, + string repo, + int commentId, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateDeploymentBranchPolicy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateDeploymentBranchPolicy.g.verified.cs new file mode 100644 index 0000000000..87d801f76e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateDeploymentBranchPolicy.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IReposClient.ReposUpdateDeploymentBranchPolicy.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a deployment branch policy
+ /// Updates a deployment branch or tag policy for an environment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + int branchPolicyId, + global::G.DeploymentBranchPolicyNamePattern request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a deployment branch policy
+ /// Updates a deployment branch or tag policy for an environment.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The name pattern that branches must match in order to deploy to the environment.
+ /// Wildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.
+ /// For more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).
+ /// Example: release/* + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateDeploymentBranchPolicyAsync( + string owner, + string repo, + string environmentName, + int branchPolicyId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateInformationAboutPagesSite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateInformationAboutPagesSite.g.verified.cs new file mode 100644 index 0000000000..f5156a4280 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateInformationAboutPagesSite.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.IReposClient.ReposUpdateInformationAboutPagesSite.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update information about a GitHub Pages site
+ /// Updates information for a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages).
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateInformationAboutPagesSiteAsync( + string owner, + string repo, + global::G.ReposUpdateInformationAboutPagesSiteRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update information about a GitHub Pages site
+ /// Updates information for a GitHub Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages).
+ /// The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// 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 + /// + global::System.Threading.Tasks.Task ReposUpdateInformationAboutPagesSiteAsync( + string owner, + string repo, + string? cname = default, + bool httpsEnforced = default, + global::G.ReposUpdateInformationAboutPagesSiteRequestBuildType? buildType = default, + global::G.AnyOf? source = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateInvitation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateInvitation.g.verified.cs new file mode 100644 index 0000000000..eb0dd09474 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateInvitation.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IReposClient.ReposUpdateInvitation.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a repository invitation + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateInvitationAsync( + string owner, + string repo, + int invitationId, + global::G.ReposUpdateInvitationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository invitation + /// + /// + /// + /// + /// + /// The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateInvitationAsync( + string owner, + string repo, + int invitationId, + global::G.ReposUpdateInvitationRequestPermissions? permissions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs new file mode 100644 index 0000000000..2ccad29953 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateOrgRuleset.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IReposClient.ReposUpdateOrgRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update an organization repository ruleset
+ /// Update a ruleset for an organization. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateOrgRulesetAsync( + string org, + int rulesetId, + global::G.ReposUpdateOrgRulesetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update an organization repository ruleset
+ /// Update a ruleset for an organization. + ///
+ /// + /// + /// + /// The name of the ruleset. + /// + /// + /// The target of the ruleset
+ /// **Note**: The `push` target is in beta and is subject to change. + /// + /// + /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + /// + /// + /// The actors that can bypass the rules in this ruleset + /// + /// + /// 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. + /// + /// + /// An array of rules within the ruleset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateOrgRulesetAsync( + string org, + int rulesetId, + string? name = default, + global::G.ReposUpdateOrgRulesetRequestTarget? target = default, + global::G.RepositoryRuleEnforcement? enforcement = default, + global::System.Collections.Generic.IList? bypassActors = default, + global::G.OrgRulesetConditions? conditions = default, + global::System.Collections.Generic.IList? rules = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs new file mode 100644 index 0000000000..76ac1b9186 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdatePullRequestReviewProtection.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.IReposClient.ReposUpdatePullRequestReviewProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update pull request review protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
+ /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdatePullRequestReviewProtectionAsync( + string owner, + string repo, + string branch, + global::G.ReposUpdatePullRequestReviewProtectionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update pull request review protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
+ /// **Note**: Passing new arrays of `users` and `teams` replaces their previous values. + ///
+ /// + /// + /// + /// + /// Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. + /// + /// + /// Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. + /// + /// + /// Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) have reviewed. + /// + /// + /// Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers. + /// + /// + /// Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`
+ /// Default Value: false + /// + /// + /// Allow specific users, teams, or apps to bypass pull request requirements. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdatePullRequestReviewProtectionAsync( + string owner, + string repo, + string branch, + global::G.ReposUpdatePullRequestReviewProtectionRequestDismissalRestrictions? dismissalRestrictions = default, + bool dismissStaleReviews = default, + bool requireCodeOwnerReviews = default, + int requiredApprovingReviewCount = default, + bool requireLastPushApproval = false, + global::G.ReposUpdatePullRequestReviewProtectionRequestBypassPullRequestAllowances? bypassPullRequestAllowances = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRelease.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRelease.g.verified.cs new file mode 100644 index 0000000000..f0cc9a4453 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRelease.g.verified.cs @@ -0,0 +1,73 @@ +//HintName: G.IReposClient.ReposUpdateRelease.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a release
+ /// Users with push access to the repository can edit a release. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateReleaseAsync( + string owner, + string repo, + int releaseId, + global::G.ReposUpdateReleaseRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a release
+ /// Users with push access to the repository can edit a release. + ///
+ /// + /// + /// + /// + /// The name of the tag. + /// + /// + /// Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch. + /// + /// + /// The name of the release. + /// + /// + /// Text describing the contents of the tag. + /// + /// + /// `true` makes the release a draft, and `false` publishes the release. + /// + /// + /// `true` to identify the release as a prerelease, `false` to identify the release as a full release. + /// + /// + /// Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.
+ /// Default Value: true + /// + /// + /// If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored. For more information, see "[Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)." + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateReleaseAsync( + string owner, + string repo, + int releaseId, + string? tagName = default, + string? targetCommitish = default, + string? name = default, + string? body = default, + bool draft = default, + bool prerelease = default, + global::G.ReposUpdateReleaseRequestMakeLatest? makeLatest = global::G.ReposUpdateReleaseRequestMakeLatest.True, + string? discussionCategoryName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateReleaseAsset.g.verified.cs new file mode 100644 index 0000000000..a3eca79f4a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateReleaseAsset.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IReposClient.ReposUpdateReleaseAsset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a release asset
+ /// Users with push access to the repository can edit a release asset. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateReleaseAssetAsync( + string owner, + string repo, + int assetId, + global::G.ReposUpdateReleaseAssetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a release asset
+ /// Users with push access to the repository can edit a release asset. + ///
+ /// + /// + /// + /// + /// The file name of the asset. + /// + /// + /// An alternate short description of the asset. Used in place of the filename. + /// + /// + /// Example: "uploaded" + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateReleaseAssetAsync( + string owner, + string repo, + int assetId, + string? name = default, + string? label = default, + string? state = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs new file mode 100644 index 0000000000..316babf0c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateRepoRuleset.g.verified.cs @@ -0,0 +1,65 @@ +//HintName: G.IReposClient.ReposUpdateRepoRuleset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a repository ruleset
+ /// Update a ruleset for a repository. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateRepoRulesetAsync( + string owner, + string repo, + int rulesetId, + global::G.ReposUpdateRepoRulesetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository ruleset
+ /// Update a ruleset for a repository. + ///
+ /// + /// + /// + /// + /// The name of the ruleset. + /// + /// + /// The target of the ruleset
+ /// **Note**: The `push` target is in beta and is subject to change. + /// + /// + /// The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). + /// + /// + /// The actors that can bypass the rules in this ruleset + /// + /// + /// Parameters for a repository ruleset ref name condition + /// + /// + /// An array of rules within the ruleset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateRepoRulesetAsync( + string owner, + string repo, + int rulesetId, + string? name = default, + global::G.ReposUpdateRepoRulesetRequestTarget? target = default, + global::G.RepositoryRuleEnforcement? enforcement = default, + global::System.Collections.Generic.IList? bypassActors = default, + global::G.RepositoryRulesetConditions? conditions = default, + global::System.Collections.Generic.IList? rules = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateStatusCheckProtection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateStatusCheckProtection.g.verified.cs new file mode 100644 index 0000000000..86187bd09d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateStatusCheckProtection.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IReposClient.ReposUpdateStatusCheckProtection.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update status check protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateStatusCheckProtectionAsync( + string owner, + string repo, + string branch, + global::G.ReposUpdateStatusCheckProtectionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update status check protection
+ /// Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. + ///
+ /// + /// + /// + /// + /// Require branches to be up to date before merging. + /// + /// + /// The list of status checks to require in order to merge into this branch. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateStatusCheckProtectionAsync( + string owner, + string repo, + string branch, + bool strict = default, + global::System.Collections.Generic.IList? checks = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateWebhook.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateWebhook.g.verified.cs new file mode 100644 index 0000000000..10e9653f05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateWebhook.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IReposClient.ReposUpdateWebhook.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a repository webhook
+ /// Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for a repository](/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateWebhookAsync( + string owner, + string repo, + int hookId, + global::G.ReposUpdateWebhookRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository webhook
+ /// Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for a repository](/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository)." + ///
+ /// + /// + /// + /// + /// Configuration object of the webhook + /// + /// + /// Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events.
+ /// Default Value: [push] + /// + /// + /// Determines a list of events to be added to the list of events that the Hook triggers for. + /// + /// + /// Determines a list of events to be removed from the list of events that the Hook triggers for. + /// + /// + /// Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateWebhookAsync( + string owner, + string repo, + int hookId, + global::G.WebhookConfig? config = 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); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateWebhookConfigForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateWebhookConfigForRepo.g.verified.cs new file mode 100644 index 0000000000..984a62c9dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUpdateWebhookConfigForRepo.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IReposClient.ReposUpdateWebhookConfigForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update a webhook configuration for a repository
+ /// Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use "[Update a repository webhook](/rest/webhooks/repos#update-a-repository-webhook)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:repo_hook` or `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateWebhookConfigForRepoAsync( + string owner, + string repo, + int hookId, + global::G.ReposUpdateWebhookConfigForRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a webhook configuration for a repository
+ /// Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use "[Update a repository webhook](/rest/webhooks/repos#update-a-repository-webhook)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:repo_hook` or `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The URL to which the payloads will be delivered.
+ /// Example: https://example.com/webhook + /// + /// + /// The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
+ /// Example: "json" + /// + /// + /// 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).
+ /// Example: "********" + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUpdateWebhookConfigForRepoAsync( + string owner, + string repo, + int hookId, + string? url = default, + string? contentType = default, + string? secret = default, + global::G.WebhookConfigInsecureSsl? insecureSsl = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUploadReleaseAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUploadReleaseAsset.g.verified.cs new file mode 100644 index 0000000000..bf4f976c9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.ReposUploadReleaseAsset.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IReposClient.ReposUploadReleaseAsset.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Upload a release asset
+ /// This endpoint makes use of a [Hypermedia relation](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in
+ /// the response of the [Create a release endpoint](https://docs.github.com/rest/releases/releases#create-a-release) to upload a release asset.
+ /// You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.
+ /// Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example:
+ /// `application/zip`
+ /// GitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,
+ /// you'll still need to pass your authentication to be able to upload an asset.
+ /// When an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.
+ /// **Notes:**
+ /// * GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List release assets](https://docs.github.com/rest/releases/assets#list-release-assets)"
+ /// endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// * To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/rest/releases/releases#get-the-latest-release).
+ /// * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUploadReleaseAssetAsync( + string owner, + string repo, + int releaseId, + string name, + byte[] request, + string? label = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload a release asset
+ /// This endpoint makes use of a [Hypermedia relation](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in
+ /// the response of the [Create a release endpoint](https://docs.github.com/rest/releases/releases#create-a-release) to upload a release asset.
+ /// You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.
+ /// Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example:
+ /// `application/zip`
+ /// GitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,
+ /// you'll still need to pass your authentication to be able to upload an asset.
+ /// When an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.
+ /// **Notes:**
+ /// * GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List release assets](https://docs.github.com/rest/releases/assets#list-release-assets)"
+ /// endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api).
+ /// * To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/rest/releases/releases#get-the-latest-release).
+ /// * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReposUploadReleaseAssetAsync( + string owner, + string repo, + int releaseId, + string name, + string? label = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.g.verified.cs new file mode 100644 index 0000000000..95deeeff38 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IReposClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IReposClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Repos.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IReposClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchCode.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchCode.g.verified.cs new file mode 100644 index 0000000000..6fa9358ca1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchCode.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ISearchClient.SearchCode.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search code
+ /// Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:
+ /// `q=addClass+in:file+language:js+repo:jquery/jquery`
+ /// This query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.
+ /// Considerations for code search:
+ /// Due to the complexity of searching code, there are a few restrictions on how searches are performed:
+ /// * Only the _default branch_ is considered. In most cases, this will be the `master` branch.
+ /// * Only files smaller than 384 KB are searchable.
+ /// * You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing
+ /// language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.
+ /// This endpoint requires you to authenticate and limits you to 10 requests per minute. + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchCodeAsync( + string q, + global::G.SearchCodeSort? sort = default, + global::G.SearchCodeOrder? order = global::G.SearchCodeOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchCommits.g.verified.cs new file mode 100644 index 0000000000..5729e2334f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchCommits.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.ISearchClient.SearchCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search commits
+ /// Find commits via various criteria on the default branch (usually `main`). This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match
+ /// metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:
+ /// `q=repo:octocat/Spoon-Knife+css` + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchCommitsAsync( + string q, + global::G.SearchCommitsSort? sort = default, + global::G.SearchCommitsOrder? order = global::G.SearchCommitsOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs new file mode 100644 index 0000000000..03109568c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchIssuesAndPullRequests.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.ISearchClient.SearchIssuesAndPullRequests.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search issues and pull requests
+ /// Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted
+ /// search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.
+ /// `q=windows+label:bug+language:python+state:open&sort=created&order=asc`
+ /// This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.
+ /// **Note:** For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchIssuesAndPullRequestsAsync( + string q, + global::G.SearchIssuesAndPullRequestsSort? sort = default, + global::G.SearchIssuesAndPullRequestsOrder? order = global::G.SearchIssuesAndPullRequestsOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchLabels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchLabels.g.verified.cs new file mode 100644 index 0000000000..a2f52e3785 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchLabels.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.ISearchClient.SearchLabels.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search labels
+ /// Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:
+ /// `q=bug+defect+enhancement&repository_id=64778136`
+ /// The labels that best match the query appear first in the search results. + ///
+ /// + /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchLabelsAsync( + int repositoryId, + string q, + global::G.SearchLabelsSort? sort = default, + global::G.SearchLabelsOrder? order = global::G.SearchLabelsOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchRepos.g.verified.cs new file mode 100644 index 0000000000..09663cbf03 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchRepos.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.ISearchClient.SearchRepos.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search repositories
+ /// Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:
+ /// `q=tetris+language:assembly&sort=stars&order=desc`
+ /// This query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results. + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchReposAsync( + string q, + global::G.SearchReposSort? sort = default, + global::G.SearchReposOrder? order = global::G.SearchReposOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchTopics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchTopics.g.verified.cs new file mode 100644 index 0000000000..d51ca4428b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchTopics.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.ISearchClient.SearchTopics.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search topics
+ /// Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api). See "[Searching topics](https://docs.github.com/articles/searching-topics/)" for a detailed list of qualifiers.
+ /// When searching for topics, you can get text match metadata for the topic's **short\_description**, **description**, **name**, or **display\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:
+ /// `q=ruby+is:featured`
+ /// This query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchTopicsAsync( + string q, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchUsers.g.verified.cs new file mode 100644 index 0000000000..39998b7d02 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.SearchUsers.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ISearchClient.SearchUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Search users
+ /// Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).
+ /// When searching for users, you can get text match metadata for the issue **login**, public **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).
+ /// For example, if you're looking for a list of popular users, you might try this query:
+ /// `q=tom+repos:%3E42+followers:%3E1000`
+ /// This query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.
+ /// This endpoint does not accept authentication and will only include publicly visible users. As an alternative, you can use the GraphQL API. The GraphQL API requires authentication and will return private users, including Enterprise Managed Users (EMUs), that you are authorized to view. For more information, see "[GraphQL Queries](https://docs.github.com/graphql/reference/queries#search)." + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchUsersAsync( + string q, + global::G.SearchUsersSort? sort = default, + global::G.SearchUsersOrder? order = global::G.SearchUsersOrder.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.g.verified.cs new file mode 100644 index 0000000000..220a711893 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISearchClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISearchClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Look for stuff on GitHub.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISearchClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningGetAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningGetAlert.g.verified.cs new file mode 100644 index 0000000000..5818134d3a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningGetAlert.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ISecretScanningClient.SecretScanningGetAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// Get a secret scanning alert
+ /// Gets a single secret scanning alert detected in an eligible repository.
+ /// The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecretScanningGetAlertAsync( + string owner, + string repo, + int alertNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForEnterprise.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForEnterprise.g.verified.cs new file mode 100644 index 0000000000..406ff6a347 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForEnterprise.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ISecretScanningClient.SecretScanningListAlertsForEnterprise.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// List secret scanning alerts for an enterprise
+ /// Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.
+ /// Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).
+ /// The authenticated user must be a member of the enterprise in order to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecretScanningListAlertsForEnterpriseAsync( + string enterprise, + global::G.SecretScanningListAlertsForEnterpriseState? state = default, + string? secretType = default, + string? resolution = default, + global::G.SecretScanningListAlertsForEnterpriseSort? sort = global::G.SecretScanningListAlertsForEnterpriseSort.Created, + global::G.SecretScanningListAlertsForEnterpriseDirection? direction = global::G.SecretScanningListAlertsForEnterpriseDirection.Desc, + int perPage = 30, + string? before = default, + string? after = default, + string? validity = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForOrg.g.verified.cs new file mode 100644 index 0000000000..2b0dff0d45 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForOrg.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.ISecretScanningClient.SecretScanningListAlertsForOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// List secret scanning alerts for an organization
+ /// Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.
+ /// The authenticated user must be an administrator or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecretScanningListAlertsForOrgAsync( + string org, + global::G.SecretScanningListAlertsForOrgState? state = default, + string? secretType = default, + string? resolution = default, + global::G.SecretScanningListAlertsForOrgSort? sort = global::G.SecretScanningListAlertsForOrgSort.Created, + global::G.SecretScanningListAlertsForOrgDirection? direction = global::G.SecretScanningListAlertsForOrgDirection.Desc, + int page = 1, + int perPage = 30, + string? before = default, + string? after = default, + string? validity = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForRepo.g.verified.cs new file mode 100644 index 0000000000..0f8fc2e1e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListAlertsForRepo.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.ISecretScanningClient.SecretScanningListAlertsForRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// List secret scanning alerts for a repository
+ /// Lists secret scanning alerts for an eligible repository, from newest to oldest.
+ /// The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: created + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecretScanningListAlertsForRepoAsync( + string owner, + string repo, + global::G.SecretScanningListAlertsForRepoState? state = default, + string? secretType = default, + string? resolution = default, + global::G.SecretScanningListAlertsForRepoSort? sort = global::G.SecretScanningListAlertsForRepoSort.Created, + global::G.SecretScanningListAlertsForRepoDirection? direction = global::G.SecretScanningListAlertsForRepoDirection.Desc, + int page = 1, + int perPage = 30, + string? before = default, + string? after = default, + string? validity = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListLocationsForAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListLocationsForAlert.g.verified.cs new file mode 100644 index 0000000000..facf08272a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningListLocationsForAlert.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.ISecretScanningClient.SecretScanningListLocationsForAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// List locations for a secret scanning alert
+ /// Lists all locations for a given secret scanning alert for an eligible repository.
+ /// The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecretScanningListLocationsForAlertAsync( + string owner, + string repo, + int alertNumber, + int page = 1, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningUpdateAlert.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningUpdateAlert.g.verified.cs new file mode 100644 index 0000000000..6fa8674d5d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.SecretScanningUpdateAlert.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.ISecretScanningClient.SecretScanningUpdateAlert.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecretScanningClient + { + /// + /// Update a secret scanning alert
+ /// Updates the status of a secret scanning alert in an eligible repository.
+ /// The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecretScanningUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.SecretScanningUpdateAlertRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a secret scanning alert
+ /// Updates the status of a secret scanning alert in an eligible repository.
+ /// The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. + ///
+ /// + /// + /// + /// The security alert number. + /// + /// + /// Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. + /// + /// + /// **Required when the `state` is `resolved`.** The reason for resolving the alert. + /// + /// + /// An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecretScanningUpdateAlertAsync( + string owner, + string repo, + int alertNumber, + global::G.SecretScanningAlertState state, + global::G.SecretScanningAlertResolution? resolution = default, + string? resolutionComment = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.g.verified.cs new file mode 100644 index 0000000000..690c0b8d20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecretScanningClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISecretScanningClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Retrieve secret scanning alerts from a repository.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISecretScanningClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs new file mode 100644 index 0000000000..0c88b67fe9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateFork.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Create a temporary private fork
+ /// Create a temporary private fork to collaborate on fixing a security vulnerability in your repository.
+ /// **Note**: Forking a repository happens asynchronously. You may have to wait up to 5 minutes before you can access the fork. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreateForkAsync( + string owner, + string repo, + string ghsaId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.verified.cs new file mode 100644 index 0000000000..5915ba7a75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.verified.cs @@ -0,0 +1,67 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreatePrivateVulnerabilityReport.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Privately report a security vulnerability
+ /// Report a security vulnerability to the maintainers of the repository.
+ /// See "[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)" for more information about private vulnerability reporting. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreatePrivateVulnerabilityReportAsync( + string owner, + string repo, + global::G.PrivateVulnerabilityReportCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Privately report a security vulnerability
+ /// Report a security vulnerability to the maintainers of the repository.
+ /// See "[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)" for more information about private vulnerability reporting. + ///
+ /// + /// + /// + /// A short summary of the advisory. + /// + /// + /// A detailed description of what the advisory impacts. + /// + /// + /// An array of products affected by the vulnerability detailed in a repository security advisory. + /// + /// + /// A list of Common Weakness Enumeration (CWE) IDs. + /// + /// + /// The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. + /// + /// + /// The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`. + /// + /// + /// Whether to create a temporary private fork of the repository to collaborate on a fix.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreatePrivateVulnerabilityReportAsync( + string owner, + string repo, + string summary, + string description, + global::System.Collections.Generic.IList? vulnerabilities = default, + global::System.Collections.Generic.IList? cweIds = default, + global::G.PrivateVulnerabilityReportCreateSeverity? severity = default, + string? cvssVectorString = default, + bool startPrivateFork = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.verified.cs new file mode 100644 index 0000000000..0218f5f60e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisory.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Create a repository security advisory
+ /// Creates a new repository security advisory.
+ /// In order to create a draft repository security advisory, the authenticated user must be a security manager or administrator of that repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreateRepositoryAdvisoryAsync( + string owner, + string repo, + global::G.RepositoryAdvisoryCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a repository security advisory
+ /// Creates a new repository security advisory.
+ /// In order to create a draft repository security advisory, the authenticated user must be a security manager or administrator of that repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// + /// A short summary of the advisory. + /// + /// + /// A detailed description of what the advisory impacts. + /// + /// + /// The Common Vulnerabilities and Exposures (CVE) ID. + /// + /// + /// A product affected by the vulnerability detailed in a repository security advisory. + /// + /// + /// A list of Common Weakness Enumeration (CWE) IDs. + /// + /// + /// A list of users receiving credit for their participation in the security advisory. + /// + /// + /// The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. + /// + /// + /// The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`. + /// + /// + /// Whether to create a temporary private fork of the repository to collaborate on a fix.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreateRepositoryAdvisoryAsync( + string owner, + string repo, + string summary, + string description, + global::System.Collections.Generic.IList vulnerabilities, + string? cveId = default, + global::System.Collections.Generic.IList? cweIds = default, + global::System.Collections.Generic.IList? credits = default, + global::G.RepositoryAdvisoryCreateSeverity? severity = default, + string? cvssVectorString = default, + bool startPrivateFork = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.verified.cs new file mode 100644 index 0000000000..a4ff4a38ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesCreateRepositoryAdvisoryCveRequest.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Request a CVE for a repository security advisory
+ /// If you want a CVE identification number for the security vulnerability in your project, and don't already have one, you can request a CVE identification number from GitHub. For more information see "[Requesting a CVE identification number](https://docs.github.com/code-security/security-advisories/repository-security-advisories/publishing-a-repository-security-advisory#requesting-a-cve-identification-number-optional)."
+ /// You may request a CVE for public repositories, but cannot do so for private repositories.
+ /// In order to request a CVE for a repository security advisory, the authenticated user must be a security manager or administrator of that repository.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesCreateRepositoryAdvisoryCveRequestAsync( + string owner, + string repo, + string ghsaId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetGlobalAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetGlobalAdvisory.g.verified.cs new file mode 100644 index 0000000000..636398c9ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetGlobalAdvisory.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetGlobalAdvisory.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Get a global security advisory
+ /// Gets a global security advisory using its GitHub Security Advisory (GHSA) identifier. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesGetGlobalAdvisoryAsync( + string ghsaId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetRepositoryAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetRepositoryAdvisory.g.verified.cs new file mode 100644 index 0000000000..044000e996 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetRepositoryAdvisory.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesGetRepositoryAdvisory.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Get a repository security advisory
+ /// Get a repository security advisory using its GitHub Security Advisory (GHSA) identifier.
+ /// Anyone can access any published security advisory on a public repository.
+ /// The authenticated user can access an unpublished security advisory from a repository if they are a security manager or administrator of that repository, or if they are a
+ /// collaborator on the security advisory.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:read` scope to to get a published security advisory in a private repository, or any unpublished security advisory that the authenticated user has access to. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesGetRepositoryAdvisoryAsync( + string owner, + string repo, + string ghsaId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs new file mode 100644 index 0000000000..55c5dba130 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesListGlobalAdvisories.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// List global security advisories
+ /// Lists all global security advisories that match the specified parameters. If no other parameters are defined, the request will return only GitHub-reviewed advisories that are not malware.
+ /// By default, all responses will exclude advisories for malware, because malware are not standard vulnerabilities. To list advisories for malware, you must include the `type` parameter in your request, with the value `malware`. For more information about the different types of security advisories, see "[About the GitHub Advisory database](https://docs.github.com/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database#about-types-of-security-advisories)." + ///
+ /// + /// + /// Default Value: reviewed + /// + /// + /// + /// The package's language or package management ecosystem. + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: published + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityAdvisoriesListGlobalAdvisoriesAsync( + string? ghsaId = default, + global::G.SecurityAdvisoriesListGlobalAdvisoriesType? type = global::G.SecurityAdvisoriesListGlobalAdvisoriesType.Reviewed, + string? cveId = default, + global::G.SecurityAdvisoryEcosystems? ecosystem = default, + global::G.SecurityAdvisoriesListGlobalAdvisoriesSeverity? severity = default, + global::G.OneOf>? cwes = default, + bool isWithdrawn = default, + global::G.OneOf>? affects = default, + string? published = default, + string? updated = default, + string? modified = default, + string? before = default, + string? after = default, + global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection? direction = global::G.SecurityAdvisoriesListGlobalAdvisoriesDirection.Desc, + int perPage = 30, + global::G.SecurityAdvisoriesListGlobalAdvisoriesSort? sort = global::G.SecurityAdvisoriesListGlobalAdvisoriesSort.Published, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.verified.cs new file mode 100644 index 0000000000..77945e492e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesListOrgRepositoryAdvisories.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// List repository security advisories for an organization
+ /// Lists repository security advisories for an organization.
+ /// The authenticated user must be an owner or security manager for the organization to use this endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: desc + /// + /// + /// Default Value: created + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityAdvisoriesListOrgRepositoryAdvisoriesAsync( + string org, + global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection? direction = global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesDirection.Desc, + global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort? sort = global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesSort.Created, + string? before = default, + string? after = default, + int perPage = 30, + global::G.SecurityAdvisoriesListOrgRepositoryAdvisoriesState? state = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.verified.cs new file mode 100644 index 0000000000..a8000dac08 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesListRepositoryAdvisories.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// List repository security advisories
+ /// Lists security advisories in a repository.
+ /// The authenticated user can access unpublished security advisories from a repository if they are a security manager or administrator of that repository, or if they are a collaborator on any security advisory.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:read` scope to to get a published security advisory in a private repository, or any unpublished security advisory that the authenticated user has access to. + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: created + /// + /// + /// + /// + /// Default Value: 30 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> SecurityAdvisoriesListRepositoryAdvisoriesAsync( + string owner, + string repo, + global::G.SecurityAdvisoriesListRepositoryAdvisoriesDirection? direction = global::G.SecurityAdvisoriesListRepositoryAdvisoriesDirection.Desc, + global::G.SecurityAdvisoriesListRepositoryAdvisoriesSort? sort = global::G.SecurityAdvisoriesListRepositoryAdvisoriesSort.Created, + string? before = default, + string? after = default, + int perPage = 30, + global::G.SecurityAdvisoriesListRepositoryAdvisoriesState? state = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.verified.cs new file mode 100644 index 0000000000..02aef81bcc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.ISecurityAdvisoriesClient.SecurityAdvisoriesUpdateRepositoryAdvisory.g.cs +#nullable enable + +namespace G +{ + public partial interface ISecurityAdvisoriesClient + { + /// + /// Update a repository security advisory
+ /// Update a repository security advisory using its GitHub Security Advisory (GHSA) identifier.
+ /// In order to update any security advisory, the authenticated user must be a security manager or administrator of that repository,
+ /// or a collaborator on the repository security advisory.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesUpdateRepositoryAdvisoryAsync( + string owner, + string repo, + string ghsaId, + global::G.RepositoryAdvisoryUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a repository security advisory
+ /// Update a repository security advisory using its GitHub Security Advisory (GHSA) identifier.
+ /// In order to update any security advisory, the authenticated user must be a security manager or administrator of that repository,
+ /// or a collaborator on the repository security advisory.
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// A short summary of the advisory. + /// + /// + /// A detailed description of what the advisory impacts. + /// + /// + /// The Common Vulnerabilities and Exposures (CVE) ID. + /// + /// + /// A product affected by the vulnerability detailed in a repository security advisory. + /// + /// + /// A list of Common Weakness Enumeration (CWE) IDs. + /// + /// + /// A list of users receiving credit for their participation in the security advisory. + /// + /// + /// The severity of the advisory. You must choose between setting this field or `cvss_vector_string`. + /// + /// + /// The CVSS vector that calculates the severity of the advisory. You must choose between setting this field or `severity`. + /// + /// + /// The state of the advisory. + /// + /// + /// A list of usernames who have been granted write access to the advisory. + /// + /// + /// A list of team slugs which have been granted write access to the advisory. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SecurityAdvisoriesUpdateRepositoryAdvisoryAsync( + string owner, + string repo, + string ghsaId, + 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::G.RepositoryAdvisoryUpdateSeverity? severity = default, + string? cvssVectorString = default, + global::G.RepositoryAdvisoryUpdateState? state = default, + global::System.Collections.Generic.IList? collaboratingUsers = default, + global::System.Collections.Generic.IList? collaboratingTeams = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.g.verified.cs new file mode 100644 index 0000000000..246c63d89f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ISecurityAdvisoriesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISecurityAdvisoriesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Manage security advisories.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISecurityAdvisoriesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs new file mode 100644 index 0000000000..84e34d72e4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddMemberLegacy.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITeamsClient.TeamsAddMemberLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add team member (Legacy)
+ /// The "Add team member" endpoint (described below) is deprecated.
+ /// We recommend using the [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddMemberLegacyAsync( + int teamId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs new file mode 100644 index 0000000000..ee76ea474b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateMembershipForUserInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team membership for a user
+ /// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
+ /// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateMembershipForUserInOrgAsync( + string org, + string teamSlug, + string username, + global::G.TeamsAddOrUpdateMembershipForUserInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team membership for a user
+ /// Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.
+ /// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. + ///
+ /// + /// + /// + /// + /// The role that this user should have in the team.
+ /// Default Value: member + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateMembershipForUserInOrgAsync( + string org, + string teamSlug, + string username, + global::G.TeamsAddOrUpdateMembershipForUserInOrgRequestRole? role = global::G.TeamsAddOrUpdateMembershipForUserInOrgRequestRole.Member, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs new file mode 100644 index 0000000000..62aab488fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateMembershipForUserLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team membership for a user (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
+ /// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateMembershipForUserLegacyAsync( + int teamId, + string username, + global::G.TeamsAddOrUpdateMembershipForUserLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team membership for a user (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the "pending" state until the user accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.
+ /// If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. + ///
+ /// + /// + /// + /// The role that this user should have in the team.
+ /// Default Value: member + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateMembershipForUserLegacyAsync( + int teamId, + string username, + global::G.TeamsAddOrUpdateMembershipForUserLegacyRequestRole? role = global::G.TeamsAddOrUpdateMembershipForUserLegacyRequestRole.Member, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs new file mode 100644 index 0000000000..e882e993e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team project permissions
+ /// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateProjectPermissionsInOrgAsync( + string org, + string teamSlug, + int projectId, + global::G.TeamsAddOrUpdateProjectPermissionsInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team project permissions
+ /// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + ///
+ /// + /// + /// + /// + /// The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateProjectPermissionsInOrgAsync( + string org, + string teamSlug, + int projectId, + global::G.TeamsAddOrUpdateProjectPermissionsInOrgRequestPermission? permission = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs new file mode 100644 index 0000000000..24d9c3572a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateProjectPermissionsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team project permissions (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateProjectPermissionsLegacyAsync( + int teamId, + int projectId, + global::G.TeamsAddOrUpdateProjectPermissionsLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team project permissions (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions) endpoint.
+ /// Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. + ///
+ /// + /// + /// + /// The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateProjectPermissionsLegacyAsync( + int teamId, + int projectId, + global::G.TeamsAddOrUpdateProjectPermissionsLegacyRequestPermission? permission = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs new file mode 100644 index 0000000000..7463f41bdb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team repository permissions
+ /// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateRepoPermissionsInOrgAsync( + string org, + string teamSlug, + string owner, + string repo, + global::G.TeamsAddOrUpdateRepoPermissionsInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team repository permissions
+ /// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
+ /// For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". + ///
+ /// + /// + /// + /// + /// + /// The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.
+ /// Default Value: push + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsAddOrUpdateRepoPermissionsInOrgAsync( + string org, + string teamSlug, + string owner, + string repo, + string? permission = "push", + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs new file mode 100644 index 0000000000..c206085110 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ITeamsClient.TeamsAddOrUpdateRepoPermissionsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Add or update team repository permissions (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateRepoPermissionsLegacyAsync( + int teamId, + string owner, + string repo, + global::G.TeamsAddOrUpdateRepoPermissionsLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add or update team repository permissions (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new "[Add or update team repository permissions](https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions)" endpoint.
+ /// To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.
+ /// Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." + ///
+ /// + /// + /// + /// + /// The permission to grant the team on this repository. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsAddOrUpdateRepoPermissionsLegacyAsync( + int teamId, + string owner, + string repo, + global::G.TeamsAddOrUpdateRepoPermissionsLegacyRequestPermission? permission = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs new file mode 100644 index 0000000000..f33dc8473c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITeamsClient.TeamsCheckPermissionsForProjectInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Check team permissions for a project
+ /// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCheckPermissionsForProjectInOrgAsync( + string org, + string teamSlug, + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs new file mode 100644 index 0000000000..ed646f750f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ITeamsClient.TeamsCheckPermissionsForProjectLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Check team permissions for a project (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project) endpoint.
+ /// Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCheckPermissionsForProjectLegacyAsync( + int teamId, + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs new file mode 100644 index 0000000000..4a66ab3e24 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ITeamsClient.TeamsCheckPermissionsForRepoInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Check team permissions for a repository
+ /// Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.
+ /// If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.
+ /// If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCheckPermissionsForRepoInOrgAsync( + string org, + string teamSlug, + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs new file mode 100644 index 0000000000..e7ae7960a6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsCheckPermissionsForRepoLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Check team permissions for a repository (Legacy)
+ /// **Note**: Repositories inherited through a parent team will also be checked.
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.
+ /// You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCheckPermissionsForRepoLegacyAsync( + int teamId, + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreate.g.verified.cs new file mode 100644 index 0000000000..af46f2a281 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreate.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.ITeamsClient.TeamsCreate.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Create a team
+ /// To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://docs.github.com/articles/setting-team-creation-permissions-in-your-organization)."
+ /// When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/about-teams)". + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateAsync( + string org, + global::G.TeamsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a team
+ /// To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://docs.github.com/articles/setting-team-creation-permissions-in-your-organization)."
+ /// When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/about-teams)". + ///
+ /// + /// + /// The name of the team. + /// + /// + /// The description of the team. + /// + /// + /// List GitHub IDs for organization members who will become team maintainers. + /// + /// + /// The full name (e.g., "organization-name/repository-name") of repositories to add the team to. + /// + /// + /// The level of privacy this team should have. The options are:
+ /// **For a non-nested team:**
+ /// * `secret` - only visible to organization owners and members of this team.
+ /// * `closed` - visible to all members of this organization.
+ /// Default: `secret`
+ /// **For a parent or child team:**
+ /// * `closed` - visible to all members of this organization.
+ /// Default for child team: `closed` + /// + /// + /// The notification setting the team has chosen. The options are:
+ /// * `notifications_enabled` - team members receive notifications when the team is @mentioned.
+ /// * `notifications_disabled` - no one receives notifications.
+ /// Default: `notifications_enabled` + /// + /// + /// **Deprecated**. The permission that new repositories will be added to the team with when none is specified.
+ /// Default Value: pull + /// + /// + /// The ID of a team to set as the parent team. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateAsync( + string org, + string name, + string? description = default, + global::System.Collections.Generic.IList? maintainers = default, + global::System.Collections.Generic.IList? repoNames = default, + global::G.TeamsCreateRequestPrivacy? privacy = default, + global::G.TeamsCreateRequestNotificationSetting? notificationSetting = default, + global::G.TeamsCreateRequestPermission? permission = global::G.TeamsCreateRequestPermission.Pull, + int parentTeamId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..7c0ecdb006 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ITeamsClient.TeamsCreateDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Create a discussion comment
+ /// Creates a new comment on a team discussion.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.TeamsCreateDiscussionCommentInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a discussion comment
+ /// Creates a new comment on a team discussion.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The discussion comment's body text. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..48ec498cd7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ITeamsClient.TeamsCreateDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Create a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// Creates a new comment on a team discussion.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCreateDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + global::G.TeamsCreateDiscussionCommentLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.
+ /// Creates a new comment on a team discussion.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The discussion comment's body text. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCreateDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..4d92c8fcf3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionInOrg.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.ITeamsClient.TeamsCreateDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Create a discussion
+ /// Creates a new discussion post on a team's page.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateDiscussionInOrgAsync( + string org, + string teamSlug, + global::G.TeamsCreateDiscussionInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a discussion
+ /// Creates a new discussion post on a team's page.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The discussion post's title. + /// + /// + /// The discussion post's body text. + /// + /// + /// Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsCreateDiscussionInOrgAsync( + string org, + string teamSlug, + string title, + string body, + bool @private = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..7f0ee4301a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsCreateDiscussionLegacy.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.ITeamsClient.TeamsCreateDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Create a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// Creates a new discussion post on a team's page.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCreateDiscussionLegacyAsync( + int teamId, + global::G.TeamsCreateDiscussionLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/rest/teams/discussions#create-a-discussion) endpoint.
+ /// Creates a new discussion post on a team's page.
+ /// This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// The discussion post's title. + /// + /// + /// The discussion post's body text. + /// + /// + /// Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.
+ /// Default Value: false + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsCreateDiscussionLegacyAsync( + int teamId, + string title, + string body, + bool @private = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..14e13b9b95 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITeamsClient.TeamsDeleteDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a discussion comment
+ /// Deletes a comment on a team discussion.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsDeleteDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..7bb37326c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsDeleteDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.
+ /// Deletes a comment on a team discussion.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsDeleteDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..90bb4590da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITeamsClient.TeamsDeleteDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a discussion
+ /// Delete a discussion from a team's page.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsDeleteDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..6a017e587b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITeamsClient.TeamsDeleteDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/rest/teams/discussions#delete-a-discussion) endpoint.
+ /// Delete a discussion from a team's page.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsDeleteDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs new file mode 100644 index 0000000000..8d95286d1e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteInOrg.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ITeamsClient.TeamsDeleteInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a team
+ /// To delete a team, the authenticated user must be an organization owner or team maintainer.
+ /// If you are an organization owner, deleting a parent team will delete all of its child teams as well.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsDeleteInOrgAsync( + string org, + string teamSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs new file mode 100644 index 0000000000..a33c80460e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsDeleteLegacy.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITeamsClient.TeamsDeleteLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Delete a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/rest/teams/teams#delete-a-team) endpoint.
+ /// To delete a team, the authenticated user must be an organization owner or team maintainer.
+ /// If you are an organization owner, deleting a parent team will delete all of its child teams as well. + ///
+ /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsDeleteLegacyAsync( + int teamId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs new file mode 100644 index 0000000000..b7d789f1de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetByName.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ITeamsClient.TeamsGetByName.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a team by name
+ /// Gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsGetByNameAsync( + string org, + string teamSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..0cf9028f38 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITeamsClient.TeamsGetDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a discussion comment
+ /// Get a specific comment on a team discussion.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsGetDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..916c6a2f7f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsGetDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.
+ /// Get a specific comment on a team discussion.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsGetDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..a795b09bd9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionInOrg.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITeamsClient.TeamsGetDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a discussion
+ /// Get a specific discussion on a team's page.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsGetDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..5d60bd79a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetDiscussionLegacy.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITeamsClient.TeamsGetDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion) endpoint.
+ /// Get a specific discussion on a team's page.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsGetDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs new file mode 100644 index 0000000000..2aed319c4b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetLegacy.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.ITeamsClient.TeamsGetLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/rest/teams/teams#get-a-team-by-name) endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsGetLegacyAsync( + int teamId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMemberLegacy.g.verified.cs new file mode 100644 index 0000000000..43a95c90b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMemberLegacy.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITeamsClient.TeamsGetMemberLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get team member (Legacy)
+ /// The "Get team member" endpoint (described below) is deprecated.
+ /// We recommend using the [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.
+ /// To list members in a team, the team must be visible to the authenticated user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsGetMemberLegacyAsync( + int teamId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs new file mode 100644 index 0000000000..3b1a67a953 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITeamsClient.TeamsGetMembershipForUserInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get team membership for a user
+ /// Team members will include the members of child teams.
+ /// To get a user's membership with a team, the team must be visible to the authenticated user.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.
+ /// **Note:**
+ /// The response contains the `state` of the membership and the member's `role`.
+ /// The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsGetMembershipForUserInOrgAsync( + string org, + string teamSlug, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs new file mode 100644 index 0000000000..a983ca07ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITeamsClient.TeamsGetMembershipForUserLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Get team membership for a user (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/rest/teams/members#get-team-membership-for-a-user) endpoint.
+ /// Team members will include the members of child teams.
+ /// To get a user's membership with a team, the team must be visible to the authenticated user.
+ /// **Note:**
+ /// The response contains the `state` of the membership and the member's `role`.
+ /// The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsGetMembershipForUserLegacyAsync( + int teamId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsList.g.verified.cs new file mode 100644 index 0000000000..5cfa905ab8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsList.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITeamsClient.TeamsList.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List teams
+ /// Lists all teams in an organization that are visible to the authenticated user. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListAsync( + string org, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs new file mode 100644 index 0000000000..0843535a84 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITeamsClient.TeamsListChildInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List child teams
+ /// Lists the child teams of the team specified by `{team_slug}`.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListChildInOrgAsync( + string org, + string teamSlug, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs new file mode 100644 index 0000000000..637bf39b6b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListChildLegacy.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITeamsClient.TeamsListChildLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List child teams (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/rest/teams/teams#list-child-teams) endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListChildLegacyAsync( + int teamId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs new file mode 100644 index 0000000000..8c95fd42ea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.ITeamsClient.TeamsListDiscussionCommentsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List discussion comments
+ /// List all comments on a team discussion.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListDiscussionCommentsInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.TeamsListDiscussionCommentsInOrgDirection? direction = global::G.TeamsListDiscussionCommentsInOrgDirection.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs new file mode 100644 index 0000000000..a9823f6e62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.ITeamsClient.TeamsListDiscussionCommentsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List discussion comments (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments) endpoint.
+ /// List all comments on a team discussion.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListDiscussionCommentsLegacyAsync( + int teamId, + int discussionNumber, + global::G.TeamsListDiscussionCommentsLegacyDirection? direction = global::G.TeamsListDiscussionCommentsLegacyDirection.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs new file mode 100644 index 0000000000..22566e4685 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsInOrg.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.ITeamsClient.TeamsListDiscussionsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List discussions
+ /// List all discussions on a team's page.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListDiscussionsInOrgAsync( + string org, + string teamSlug, + global::G.TeamsListDiscussionsInOrgDirection? direction = global::G.TeamsListDiscussionsInOrgDirection.Desc, + int perPage = 30, + int page = 1, + string? pinned = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs new file mode 100644 index 0000000000..bf06a50161 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListDiscussionsLegacy.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ITeamsClient.TeamsListDiscussionsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List discussions (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/rest/teams/discussions#list-discussions) endpoint.
+ /// List all discussions on a team's page.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. + ///
+ /// + /// + /// Default Value: desc + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListDiscussionsLegacyAsync( + int teamId, + global::G.TeamsListDiscussionsLegacyDirection? direction = global::G.TeamsListDiscussionsLegacyDirection.Desc, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..4bb5a7cb54 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITeamsClient.TeamsListForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List teams for the authenticated user
+ /// List all of the teams across all of the organizations to which the authenticated
+ /// user belongs.
+ /// OAuth app tokens and personal access tokens (classic) need the `user`, `repo`, or `read:org` scope to use this endpoint.
+ /// When using a fine-grained personal access token, the resource owner of the token must be a single organization, and the response will only include the teams from that organization. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersInOrg.g.verified.cs new file mode 100644 index 0000000000..7791b63b03 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersInOrg.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ITeamsClient.TeamsListMembersInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team members
+ /// Team members will include the members of child teams.
+ /// To list members in a team, the team must be visible to the authenticated user. + ///
+ /// + /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListMembersInOrgAsync( + string org, + string teamSlug, + global::G.TeamsListMembersInOrgRole? role = global::G.TeamsListMembersInOrgRole.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs new file mode 100644 index 0000000000..c2586ab36b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListMembersLegacy.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.ITeamsClient.TeamsListMembersLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team members (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/rest/teams/members#list-team-members) endpoint.
+ /// Team members will include the members of child teams. + ///
+ /// + /// + /// Default Value: all + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListMembersLegacyAsync( + int teamId, + global::G.TeamsListMembersLegacyRole? role = global::G.TeamsListMembersLegacyRole.All, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs new file mode 100644 index 0000000000..4ba10efbeb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITeamsClient.TeamsListPendingInvitationsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List pending team invitations
+ /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListPendingInvitationsInOrgAsync( + string org, + string teamSlug, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs new file mode 100644 index 0000000000..cae8f7d7c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ITeamsClient.TeamsListPendingInvitationsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List pending team invitations (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://docs.github.com/rest/teams/members#list-pending-team-invitations) endpoint.
+ /// The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListPendingInvitationsLegacyAsync( + int teamId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs new file mode 100644 index 0000000000..21869edb7f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITeamsClient.TeamsListProjectsInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team projects
+ /// Lists the organization projects for a team.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListProjectsInOrgAsync( + string org, + string teamSlug, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs new file mode 100644 index 0000000000..d333bb07e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListProjectsLegacy.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ITeamsClient.TeamsListProjectsLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team projects (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/rest/teams/teams#list-team-projects) endpoint.
+ /// Lists the organization projects for a team. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListProjectsLegacyAsync( + int teamId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs new file mode 100644 index 0000000000..a1958bd899 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposInOrg.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITeamsClient.TeamsListReposInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team repositories
+ /// Lists a team's repositories visible to the authenticated user.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. + ///
+ /// + /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> TeamsListReposInOrgAsync( + string org, + string teamSlug, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs new file mode 100644 index 0000000000..d0d505070c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsListReposLegacy.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ITeamsClient.TeamsListReposLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// List team repositories (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/rest/teams/teams#list-team-repositories) endpoint. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task> TeamsListReposLegacyAsync( + int teamId, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs new file mode 100644 index 0000000000..7758e5ca21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMemberLegacy.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsRemoveMemberLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove team member (Legacy)
+ /// The "Remove team member" endpoint (described below) is deprecated.
+ /// We recommend using the [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsRemoveMemberLegacyAsync( + int teamId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs new file mode 100644 index 0000000000..a9481f8292 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsRemoveMembershipForUserInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove team membership for a user
+ /// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsRemoveMembershipForUserInOrgAsync( + string org, + string teamSlug, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs new file mode 100644 index 0000000000..5f8159fc5c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITeamsClient.TeamsRemoveMembershipForUserLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove team membership for a user (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user) endpoint.
+ /// Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.
+ /// To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.
+ /// **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)." + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsRemoveMembershipForUserLegacyAsync( + int teamId, + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs new file mode 100644 index 0000000000..18e49c1828 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectInOrg.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ITeamsClient.TeamsRemoveProjectInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove a project from a team
+ /// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsRemoveProjectInOrgAsync( + string org, + string teamSlug, + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs new file mode 100644 index 0000000000..411dcb028e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveProjectLegacy.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ITeamsClient.TeamsRemoveProjectLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove a project from a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team) endpoint.
+ /// Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsRemoveProjectLegacyAsync( + int teamId, + int projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs new file mode 100644 index 0000000000..60d1a6fa40 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoInOrg.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.TeamsRemoveRepoInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove a repository from a team
+ /// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsRemoveRepoInOrgAsync( + string org, + string teamSlug, + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs new file mode 100644 index 0000000000..80d2cc4ec6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsRemoveRepoLegacy.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITeamsClient.TeamsRemoveRepoLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Remove a repository from a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team) endpoint.
+ /// If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsRemoveRepoLegacyAsync( + int teamId, + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs new file mode 100644 index 0000000000..07de1fc091 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.ITeamsClient.TeamsUpdateDiscussionCommentInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a discussion comment
+ /// Edits the body text of a discussion comment.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + global::G.TeamsUpdateDiscussionCommentInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a discussion comment
+ /// Edits the body text of a discussion comment.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// + /// The discussion comment's body text. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateDiscussionCommentInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + int commentNumber, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs new file mode 100644 index 0000000000..9d1440d143 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ITeamsClient.TeamsUpdateDiscussionCommentLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// Edits the body text of a discussion comment.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + global::G.TeamsUpdateDiscussionCommentLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a discussion comment (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.
+ /// Edits the body text of a discussion comment.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The discussion comment's body text. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateDiscussionCommentLegacyAsync( + int teamId, + int discussionNumber, + int commentNumber, + string body, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs new file mode 100644 index 0000000000..9f187e4c18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.ITeamsClient.TeamsUpdateDiscussionInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a discussion
+ /// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + global::G.TeamsUpdateDiscussionInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a discussion
+ /// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// + /// The discussion post's title. + /// + /// + /// The discussion post's body text. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateDiscussionInOrgAsync( + string org, + string teamSlug, + int discussionNumber, + string? title = default, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs new file mode 100644 index 0000000000..dea4e1e51c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ITeamsClient.TeamsUpdateDiscussionLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateDiscussionLegacyAsync( + int teamId, + int discussionNumber, + global::G.TeamsUpdateDiscussionLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a discussion (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/rest/teams/discussions#update-a-discussion) endpoint.
+ /// Edits the title and body text of a discussion post. Only the parameters you provide are updated.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. + ///
+ /// + /// + /// + /// The discussion post's title. + /// + /// + /// The discussion post's body text. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateDiscussionLegacyAsync( + int teamId, + int discussionNumber, + string? title = default, + string? body = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs new file mode 100644 index 0000000000..a2154551c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateInOrg.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.ITeamsClient.TeamsUpdateInOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a team
+ /// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateInOrgAsync( + string org, + string teamSlug, + global::G.TeamsUpdateInOrgRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a team
+ /// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
+ /// **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. + ///
+ /// + /// + /// + /// The name of the team. + /// + /// + /// The description of the team. + /// + /// + /// The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are:
+ /// **For a non-nested team:**
+ /// * `secret` - only visible to organization owners and members of this team.
+ /// * `closed` - visible to all members of this organization.
+ /// **For a parent or child team:**
+ /// * `closed` - visible to all members of this organization. + /// + /// + /// The notification setting the team has chosen. Editing teams without specifying this parameter leaves `notification_setting` intact. The options are:
+ /// * `notifications_enabled` - team members receive notifications when the team is @mentioned.
+ /// * `notifications_disabled` - no one receives notifications. + /// + /// + /// **Deprecated**. The permission that new repositories will be added to the team with when none is specified.
+ /// Default Value: pull + /// + /// + /// The ID of a team to set as the parent team. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TeamsUpdateInOrgAsync( + string org, + string teamSlug, + string? name = default, + string? description = default, + global::G.TeamsUpdateInOrgRequestPrivacy? privacy = default, + global::G.TeamsUpdateInOrgRequestNotificationSetting? notificationSetting = default, + global::G.TeamsUpdateInOrgRequestPermission? permission = global::G.TeamsUpdateInOrgRequestPermission.Pull, + int? parentTeamId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs new file mode 100644 index 0000000000..b0270bbc99 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.TeamsUpdateLegacy.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.ITeamsClient.TeamsUpdateLegacy.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Update a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
+ /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + ///
+ /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateLegacyAsync( + int teamId, + global::G.TeamsUpdateLegacyRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a team (Legacy)
+ /// **Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/rest/teams/teams#update-a-team) endpoint.
+ /// To edit a team, the authenticated user must either be an organization owner or a team maintainer.
+ /// **Note:** With nested teams, the `privacy` for parent teams cannot be `secret`. + ///
+ /// + /// + /// The name of the team. + /// + /// + /// The description of the team. + /// + /// + /// The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. The options are:
+ /// **For a non-nested team:**
+ /// * `secret` - only visible to organization owners and members of this team.
+ /// * `closed` - visible to all members of this organization.
+ /// **For a parent or child team:**
+ /// * `closed` - visible to all members of this organization. + /// + /// + /// The notification setting the team has chosen. Editing teams without specifying this parameter leaves `notification_setting` intact. The options are:
+ /// * `notifications_enabled` - team members receive notifications when the team is @mentioned.
+ /// * `notifications_disabled` - no one receives notifications. + /// + /// + /// **Deprecated**. The permission that new repositories will be added to the team with when none is specified.
+ /// Default Value: pull + /// + /// + /// The ID of a team to set as the parent team. + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task TeamsUpdateLegacyAsync( + int teamId, + string name, + string? description = default, + global::G.TeamsUpdateLegacyRequestPrivacy? privacy = default, + global::G.TeamsUpdateLegacyRequestNotificationSetting? notificationSetting = default, + global::G.TeamsUpdateLegacyRequestPermission? permission = global::G.TeamsUpdateLegacyRequestPermission.Pull, + int? parentTeamId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.g.verified.cs new file mode 100644 index 0000000000..36880709ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ITeamsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ITeamsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with GitHub Teams.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITeamsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersAddEmailForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersAddEmailForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..316c356466 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersAddEmailForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IUsersClient.UsersAddEmailForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Add an email address for the authenticated user
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersAddEmailForAuthenticatedUserAsync( + global::G.OneOf, string> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add an email address for the authenticated user
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersAddEmailForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersAddSocialAccountForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersAddSocialAccountForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..318a61d527 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersAddSocialAccountForAuthenticatedUser.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IUsersClient.UsersAddSocialAccountForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Add social accounts for the authenticated user
+ /// Add one or more social accounts to the authenticated user's profile.
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersAddSocialAccountForAuthenticatedUserAsync( + global::G.UsersAddSocialAccountForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add social accounts for the authenticated user
+ /// Add one or more social accounts to the authenticated user's profile.
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// Full URLs for the social media profiles to add.
+ /// Example: [] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersAddSocialAccountForAuthenticatedUserAsync( + global::System.Collections.Generic.IList accountUrls, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersBlock.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersBlock.g.verified.cs new file mode 100644 index 0000000000..25bb9f1afc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersBlock.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.UsersBlock.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Block a user
+ /// Blocks the given user and returns a 204. If the authenticated user cannot block the given user a 422 is returned. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersBlockAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckBlocked.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckBlocked.g.verified.cs new file mode 100644 index 0000000000..748bb4d412 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckBlocked.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.UsersCheckBlocked.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Check if a user is blocked by the authenticated user
+ /// Returns a 204 if the given user is blocked by the authenticated user. Returns a 404 if the given user is not blocked by the authenticated user, or if the given user account has been identified as spam by GitHub. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCheckBlockedAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckFollowingForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckFollowingForUser.g.verified.cs new file mode 100644 index 0000000000..b7a6a895df --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckFollowingForUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersCheckFollowingForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Check if a user follows another user + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCheckFollowingForUserAsync( + string username, + string targetUser, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckPersonIsFollowedByAuthenticated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckPersonIsFollowedByAuthenticated.g.verified.cs new file mode 100644 index 0000000000..1bfc70b108 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCheckPersonIsFollowedByAuthenticated.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUsersClient.UsersCheckPersonIsFollowedByAuthenticated.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Check if a person is followed by the authenticated user + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCheckPersonIsFollowedByAuthenticatedAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreateGpgKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreateGpgKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..1f1191c435 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreateGpgKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IUsersClient.UsersCreateGpgKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Create a GPG key for the authenticated user
+ /// Adds a GPG key to the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreateGpgKeyForAuthenticatedUserAsync( + global::G.UsersCreateGpgKeyForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a GPG key for the authenticated user
+ /// Adds a GPG key to the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + ///
+ /// + /// A descriptive name for the new key. + /// + /// + /// A GPG key in ASCII-armored format. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreateGpgKeyForAuthenticatedUserAsync( + string armoredPublicKey, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreatePublicSshKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreatePublicSshKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..10743b6499 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreatePublicSshKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IUsersClient.UsersCreatePublicSshKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Create a public SSH key for the authenticated user
+ /// Adds a public SSH key to the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreatePublicSshKeyForAuthenticatedUserAsync( + global::G.UsersCreatePublicSshKeyForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a public SSH key for the authenticated user
+ /// Adds a public SSH key to the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:gpg_key` scope to use this endpoint. + ///
+ /// + /// A descriptive name for the new key.
+ /// Example: Personal MacBook Air + /// + /// + /// The public SSH key to add to your GitHub account. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreatePublicSshKeyForAuthenticatedUserAsync( + string key, + string? title = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreateSshSigningKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreateSshSigningKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..f6ec1717f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersCreateSshSigningKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IUsersClient.UsersCreateSshSigningKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Create a SSH signing key for the authenticated user
+ /// Creates an SSH signing key for the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:ssh_signing_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreateSshSigningKeyForAuthenticatedUserAsync( + global::G.UsersCreateSshSigningKeyForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a SSH signing key for the authenticated user
+ /// Creates an SSH signing key for the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `write:ssh_signing_key` scope to use this endpoint. + ///
+ /// + /// A descriptive name for the new key.
+ /// Example: Personal MacBook Air + /// + /// + /// The public SSH key to add to your GitHub account. For more information, see "[Checking for existing SSH keys](https://docs.github.com/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys)." + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersCreateSshSigningKeyForAuthenticatedUserAsync( + string key, + string? title = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteEmailForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteEmailForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..cf97817022 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteEmailForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IUsersClient.UsersDeleteEmailForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Delete an email address for the authenticated user
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteEmailForAuthenticatedUserAsync( + global::G.OneOf, string> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete an email address for the authenticated user
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteEmailForAuthenticatedUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteGpgKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteGpgKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..2f00d9eb1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteGpgKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersDeleteGpgKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Delete a GPG key for the authenticated user
+ /// Removes a GPG key from the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:gpg_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteGpgKeyForAuthenticatedUserAsync( + int gpgKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeletePublicSshKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeletePublicSshKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..806405f9cf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeletePublicSshKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersDeletePublicSshKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Delete a public SSH key for the authenticated user
+ /// Removes a public SSH key from the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:public_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeletePublicSshKeyForAuthenticatedUserAsync( + int keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteSocialAccountForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteSocialAccountForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..9860118cba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteSocialAccountForAuthenticatedUser.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IUsersClient.UsersDeleteSocialAccountForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Delete social accounts for the authenticated user
+ /// Deletes one or more social accounts from the authenticated user's profile.
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteSocialAccountForAuthenticatedUserAsync( + global::G.UsersDeleteSocialAccountForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete social accounts for the authenticated user
+ /// Deletes one or more social accounts from the authenticated user's profile.
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. + ///
+ /// + /// Full URLs for the social media profiles to delete.
+ /// Example: [] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteSocialAccountForAuthenticatedUserAsync( + global::System.Collections.Generic.IList accountUrls, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteSshSigningKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteSshSigningKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..c5bda077ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersDeleteSshSigningKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersDeleteSshSigningKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Delete an SSH signing key for the authenticated user
+ /// Deletes an SSH signing key from the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `admin:ssh_signing_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersDeleteSshSigningKeyForAuthenticatedUserAsync( + int sshSigningKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersFollow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersFollow.g.verified.cs new file mode 100644 index 0000000000..027b7d296d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersFollow.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersFollow.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Follow a user
+ /// Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)."
+ /// OAuth app tokens and personal access tokens (classic) need the `user:follow` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersFollowAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetAuthenticated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetAuthenticated.g.verified.cs new file mode 100644 index 0000000000..e346f97902 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetAuthenticated.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUsersClient.UsersGetAuthenticated.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get the authenticated user
+ /// OAuth app tokens and personal access tokens (classic) need the `user` scope in order for the response to include private profile information. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersGetAuthenticatedAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetByUsername.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetByUsername.g.verified.cs new file mode 100644 index 0000000000..f5ffbdd340 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetByUsername.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IUsersClient.UsersGetByUsername.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get a user
+ /// Provides publicly available information about someone with a GitHub account.
+ /// The `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#authentication).
+ /// The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "[Emails API](https://docs.github.com/rest/users/emails)". + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersGetByUsernameAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetContextForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetContextForUser.g.verified.cs new file mode 100644 index 0000000000..267ef530a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetContextForUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.UsersGetContextForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get contextual information for a user
+ /// Provides hovercard information. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.
+ /// The `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository, you would use a `subject_type` value of `repository` and a `subject_id` value of `1300192` (the ID of the `Spoon-Knife` repository).
+ /// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersGetContextForUserAsync( + string username, + global::G.UsersGetContextForUserSubjectType? subjectType = default, + string? subjectId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetGpgKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetGpgKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..67152d3406 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetGpgKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersGetGpgKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get a GPG key for the authenticated user
+ /// View extended details for a single GPG key.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:gpg_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersGetGpgKeyForAuthenticatedUserAsync( + int gpgKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetPublicSshKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetPublicSshKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..9c013c3dd8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetPublicSshKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersGetPublicSshKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get a public SSH key for the authenticated user
+ /// View extended details for a single public SSH key.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:public_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersGetPublicSshKeyForAuthenticatedUserAsync( + int keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetSshSigningKeyForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetSshSigningKeyForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..de69e987f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersGetSshSigningKeyForAuthenticatedUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUsersClient.UsersGetSshSigningKeyForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get an SSH signing key for the authenticated user
+ /// Gets extended details for an SSH signing key.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:ssh_signing_key` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersGetSshSigningKeyForAuthenticatedUserAsync( + int sshSigningKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersList.g.verified.cs new file mode 100644 index 0000000000..4749e0a26c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersList.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IUsersClient.UsersList.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List users
+ /// Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.
+ /// Note: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users. + ///
+ /// + /// + /// Default Value: 30 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListAsync( + int since = default, + int perPage = 30, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListBlockedByAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListBlockedByAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..dfc8db6b44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListBlockedByAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.UsersListBlockedByAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List users blocked by the authenticated user
+ /// List the users you've blocked on your personal account. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListBlockedByAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListEmailsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListEmailsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..aadd55f06f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListEmailsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListEmailsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List email addresses for the authenticated user
+ /// Lists all of your email addresses, and specifies which one is visible
+ /// to the public.
+ /// OAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListEmailsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowedByAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowedByAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..ac503dbf5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowedByAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.UsersListFollowedByAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List the people the authenticated user follows
+ /// Lists the people who the authenticated user follows. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListFollowedByAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowersForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowersForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..477a2f504e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowersForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.UsersListFollowersForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List followers of the authenticated user
+ /// Lists the people following the authenticated user. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListFollowersForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowersForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowersForUser.g.verified.cs new file mode 100644 index 0000000000..ed552ac938 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowersForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListFollowersForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List followers of a user
+ /// Lists the people following the specified user. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListFollowersForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowingForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowingForUser.g.verified.cs new file mode 100644 index 0000000000..c6e595ec62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListFollowingForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListFollowingForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List the people a user follows
+ /// Lists the people who the specified user follows. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListFollowingForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListGpgKeysForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListGpgKeysForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..e180bd8110 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListGpgKeysForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUsersClient.UsersListGpgKeysForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List GPG keys for the authenticated user
+ /// Lists the current user's GPG keys.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:gpg_key` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListGpgKeysForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListGpgKeysForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListGpgKeysForUser.g.verified.cs new file mode 100644 index 0000000000..4b5633dbfc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListGpgKeysForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListGpgKeysForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List GPG keys for a user
+ /// Lists the GPG keys for a user. This information is accessible by anyone. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListGpgKeysForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicEmailsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicEmailsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..72e35a3f9f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicEmailsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IUsersClient.UsersListPublicEmailsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List public email addresses for the authenticated user
+ /// Lists your publicly visible email address, which you can set with the
+ /// [Set primary email visibility for the authenticated user](https://docs.github.com/rest/users/emails#set-primary-email-visibility-for-the-authenticated-user)
+ /// endpoint.
+ /// OAuth app tokens and personal access tokens (classic) need the `user:email` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListPublicEmailsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicKeysForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicKeysForUser.g.verified.cs new file mode 100644 index 0000000000..8ddb8fccc0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicKeysForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListPublicKeysForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List public keys for a user
+ /// Lists the _verified_ public SSH keys for a user. This is accessible by anyone. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListPublicKeysForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicSshKeysForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicSshKeysForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..edabd98999 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListPublicSshKeysForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUsersClient.UsersListPublicSshKeysForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List public SSH keys for the authenticated user
+ /// Lists the public SSH keys for the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:public_key` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListPublicSshKeysForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSocialAccountsForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSocialAccountsForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..34725091b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSocialAccountsForAuthenticatedUser.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.UsersListSocialAccountsForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List social accounts for the authenticated user
+ /// Lists all of your social accounts. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListSocialAccountsForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSocialAccountsForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSocialAccountsForUser.g.verified.cs new file mode 100644 index 0000000000..ffc95c98a9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSocialAccountsForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListSocialAccountsForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List social accounts for a user
+ /// Lists social media accounts for a user. This endpoint is accessible by anyone. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListSocialAccountsForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSshSigningKeysForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSshSigningKeysForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..f31d0b63ea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSshSigningKeysForAuthenticatedUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUsersClient.UsersListSshSigningKeysForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List SSH signing keys for the authenticated user
+ /// Lists the SSH signing keys for the authenticated user's GitHub account.
+ /// OAuth app tokens and personal access tokens (classic) need the `read:ssh_signing_key` scope to use this endpoint. + ///
+ /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListSshSigningKeysForAuthenticatedUserAsync( + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSshSigningKeysForUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSshSigningKeysForUser.g.verified.cs new file mode 100644 index 0000000000..c8adf86384 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersListSshSigningKeysForUser.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.UsersListSshSigningKeysForUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// List SSH signing keys for a user
+ /// Lists the SSH signing keys for a user. This operation is accessible by anyone. + ///
+ /// + /// + /// Default Value: 30 + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersListSshSigningKeysForUserAsync( + string username, + int perPage = 30, + int page = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.verified.cs new file mode 100644 index 0000000000..c195b30fbb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IUsersClient.UsersSetPrimaryEmailVisibilityForAuthenticatedUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Set primary email visibility for the authenticated user
+ /// Sets the visibility for your primary email addresses. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersSetPrimaryEmailVisibilityForAuthenticatedUserAsync( + global::G.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set primary email visibility for the authenticated user
+ /// Sets the visibility for your primary email addresses. + ///
+ /// + /// Denotes whether an email is publicly visible. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UsersSetPrimaryEmailVisibilityForAuthenticatedUserAsync( + global::G.UsersSetPrimaryEmailVisibilityForAuthenticatedUserRequestVisibility visibility, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUnblock.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUnblock.g.verified.cs new file mode 100644 index 0000000000..7f11262204 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUnblock.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.UsersUnblock.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Unblock a user
+ /// Unblocks the given user and returns a 204. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersUnblockAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUnfollow.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUnfollow.g.verified.cs new file mode 100644 index 0000000000..e34552f62a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUnfollow.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.UsersUnfollow.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Unfollow a user
+ /// OAuth app tokens and personal access tokens (classic) need the `user:follow` scope to use this endpoint. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersUnfollowAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUpdateAuthenticated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUpdateAuthenticated.g.verified.cs new file mode 100644 index 0000000000..86a9302426 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.UsersUpdateAuthenticated.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IUsersClient.UsersUpdateAuthenticated.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Update the authenticated user
+ /// **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersUpdateAuthenticatedAsync( + global::G.UsersUpdateAuthenticatedRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update the authenticated user
+ /// **Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API. + ///
+ /// + /// The new name of the user.
+ /// Example: Omar Jahandar + /// + /// + /// The publicly visible email address of the user.
+ /// Example: omar@example.com + /// + /// + /// The new blog URL of the user.
+ /// Example: blog.example.com + /// + /// + /// The new Twitter username of the user.
+ /// Example: therealomarj + /// + /// + /// The new company of the user.
+ /// Example: Acme corporation + /// + /// + /// The new location of the user.
+ /// Example: Berlin, Germany + /// + /// + /// The new hiring availability of the user. + /// + /// + /// The new short biography of the user. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsersUpdateAuthenticatedAsync( + string? name = default, + string? email = default, + string? blog = default, + string? twitterUsername = default, + string? company = default, + string? location = default, + bool hireable = default, + string? bio = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.g.verified.cs new file mode 100644 index 0000000000..f5399773e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IUsersClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUsersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Interact with and view information about users and also current user.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsersClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.github.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.InteractionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.InteractionsClient.g.verified.cs index 4599f050f1..abac1fd5a2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.InteractionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.InteractionsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class InteractionsClient : global::System.IDisposable + public sealed partial class InteractionsClient : global::G.IInteractionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.g.verified.cs index e46e164f26..e547a066f2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.IssuesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class IssuesClient : global::System.IDisposable + public sealed partial class IssuesClient : global::G.IIssuesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.LicensesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.LicensesClient.g.verified.cs index 28bc201fdf..c5c1f74c85 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.LicensesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.LicensesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LicensesClient : global::System.IDisposable + public sealed partial class LicensesClient : global::G.ILicensesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MarkdownClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MarkdownClient.g.verified.cs index 41f6ba7919..2e4e384d85 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MarkdownClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MarkdownClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MarkdownClient : global::System.IDisposable + public sealed partial class MarkdownClient : global::G.IMarkdownClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MergeQueueClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MergeQueueClient.g.verified.cs index df3c0652be..7b9f479e0c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MergeQueueClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MergeQueueClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MergeQueueClient : global::System.IDisposable + public sealed partial class MergeQueueClient : global::G.IMergeQueueClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MetaClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MetaClient.g.verified.cs index 32509171c0..cb3a8e11c3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MetaClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MetaClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MetaClient : global::System.IDisposable + public sealed partial class MetaClient : global::G.IMetaClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.g.verified.cs index bc6c6b8a63..aaa6a249bc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.MigrationsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MigrationsClient : global::System.IDisposable + public sealed partial class MigrationsClient : global::G.IMigrationsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OidcClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OidcClient.g.verified.cs index 0272a406d0..e1058e2306 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OidcClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OidcClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class OidcClient : global::System.IDisposable + public sealed partial class OidcClient : global::G.IOidcClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.g.verified.cs index c837825069..e08809dd0e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.OrgsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class OrgsClient : global::System.IDisposable + public sealed partial class OrgsClient : global::G.IOrgsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PackagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PackagesClient.g.verified.cs index 70855a50ec..731c4282f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PackagesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PackagesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PackagesClient : global::System.IDisposable + public sealed partial class PackagesClient : global::G.IPackagesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ProjectsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ProjectsClient.g.verified.cs index 2cbd01d425..59eb209efa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ProjectsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ProjectsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ProjectsClient : global::System.IDisposable + public sealed partial class ProjectsClient : global::G.IProjectsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.g.verified.cs index 55b8fd14c8..c769a374bc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.PullsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PullsClient : global::System.IDisposable + public sealed partial class PullsClient : global::G.IPullsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.RateLimitClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.RateLimitClient.g.verified.cs index 4a69d32731..4a85bd12e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.RateLimitClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.RateLimitClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RateLimitClient : global::System.IDisposable + public sealed partial class RateLimitClient : global::G.IRateLimitClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.g.verified.cs index 1f4c311dfd..9e2119e5c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReactionsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ReactionsClient : global::System.IDisposable + public sealed partial class ReactionsClient : global::G.IReactionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.g.verified.cs index 494a64c250..2d40362fb2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.ReposClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ReposClient : global::System.IDisposable + public sealed partial class ReposClient : global::G.IReposClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SearchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SearchClient.g.verified.cs index 9017a6d4c1..fd3c133edb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SearchClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SearchClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SearchClient : global::System.IDisposable + public sealed partial class SearchClient : global::G.ISearchClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecretScanningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecretScanningClient.g.verified.cs index af164f49d5..23543f0690 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecretScanningClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecretScanningClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SecretScanningClient : global::System.IDisposable + public sealed partial class SecretScanningClient : global::G.ISecretScanningClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.g.verified.cs index a14256361a..b3013f5e04 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.SecurityAdvisoriesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SecurityAdvisoriesClient : global::System.IDisposable + public sealed partial class SecurityAdvisoriesClient : global::G.ISecurityAdvisoriesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.g.verified.cs index c61c54a4a2..5eb5db3baa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.TeamsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TeamsClient : global::System.IDisposable + public sealed partial class TeamsClient : global::G.ITeamsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.UsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.UsersClient.g.verified.cs index 17bd257b84..1499706018 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.UsersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/GitHub/SystemTextJson/_#G.UsersClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsersClient : global::System.IDisposable + public sealed partial class UsersClient : global::G.IUsersClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.Api.g.verified.cs index 7cab4b728c..ef93f979d6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.IApi.GenerateText.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.IApi.GenerateText.g.verified.cs new file mode 100644 index 0000000000..74a9e99c0b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.IApi.GenerateText.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IApi.GenerateText.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Creates a completion for the provided prompt and parameters. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GenerateTextAsync( + string modelId, + global::G.GenerateTextRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a completion for the provided prompt and parameters. + /// + /// + /// + /// The prompt that you want to complete.
+ /// Example: This is a test. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GenerateTextAsync( + string modelId, + string? inputs, + global::G.GenerateTextRequestParameters? parameters = default, + global::G.GenerateTextRequestOptions? options = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..0bf51c17fd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// APIs for sampling from and fine-tuning language models
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api-inference.huggingface.co/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.Api.g.verified.cs index 863383d025..2630e703cb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.IApi.GenerateText.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.IApi.GenerateText.g.verified.cs new file mode 100644 index 0000000000..74a9e99c0b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.IApi.GenerateText.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IApi.GenerateText.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Creates a completion for the provided prompt and parameters. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GenerateTextAsync( + string modelId, + global::G.GenerateTextRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a completion for the provided prompt and parameters. + /// + /// + /// + /// The prompt that you want to complete.
+ /// Example: This is a test. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GenerateTextAsync( + string modelId, + string? inputs, + global::G.GenerateTextRequestParameters? parameters = default, + global::G.GenerateTextRequestOptions? options = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..a2ab6c65ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/HuggingFace/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// APIs for sampling from and fine-tuning language models
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api-inference.huggingface.co/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AbuseClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AbuseClient.g.verified.cs index f0c2503583..aa9988edaa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AbuseClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AbuseClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AbuseClient : global::System.IDisposable + public sealed partial class AbuseClient : global::G.IAbuseClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.Api.g.verified.cs index 4b219325cd..5b10542990 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AsnClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AsnClient.g.verified.cs index f4c2414ca1..f98d3b36b9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AsnClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AsnClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AsnClient : global::System.IDisposable + public sealed partial class AsnClient : global::G.IAsnClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.DomainsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.DomainsClient.g.verified.cs index f64bfa5e26..625328efeb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.DomainsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.DomainsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DomainsClient : global::System.IDisposable + public sealed partial class DomainsClient : global::G.IDomainsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.g.verified.cs index 5a1c2268a2..2b4525f4ce 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GeneralClient : global::System.IDisposable + public sealed partial class GeneralClient : global::G.IGeneralClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAbuseClient.GetAbuse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAbuseClient.GetAbuse.g.verified.cs new file mode 100644 index 0000000000..c6587b44e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAbuseClient.GetAbuse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IAbuseClient.GetAbuse.g.cs +#nullable enable + +namespace G +{ + public partial interface IAbuseClient + { + /// + /// Our abuse contact API returns data containing information belonging to the abuse contact of every IP address on the Internet. Fields included in this response are the abuse contact's email address, postal/ZIP code, city, state, country, name, network, and phone number.
+ /// Our abuse contact API returns data containing information belonging to the abuse contact of every IP address on the Internet. Fields included in this response are the abuse contact's email address, postal/ZIP code, city, state, country, name, network, and phone number. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAbuseAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAbuseClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAbuseClient.g.verified.cs new file mode 100644 index 0000000000..736951885f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAbuseClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAbuseClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Abuse Contact API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAbuseClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..165ed33bf8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// [https://ipinfo.io](https://ipinfo.io).
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// General API. + /// + public GeneralClient General { get; } + + /// + /// Single info API. + /// + public SingleClient Single { get; } + + /// + /// Privacy Detection API. + /// + public PrivacyDetectionClient PrivacyDetection { get; } + + /// + /// ASN API. + /// + public AsnClient Asn { get; } + + /// + /// IP Ranges API. + /// + public RangesClient Ranges { get; } + + /// + /// Hosted Domains API. + /// + public DomainsClient Domains { get; } + + /// + /// Abuse Contact API. + /// + public AbuseClient Abuse { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAsnClient.GetAsn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAsnClient.GetAsn.g.verified.cs new file mode 100644 index 0000000000..036b12b839 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAsnClient.GetAsn.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IAsnClient.GetAsn.g.cs +#nullable enable + +namespace G +{ + public partial interface IAsnClient + { + /// + /// Returns information about an ASN, such as the assigned prefixes, related domain, and more.
+ /// Returns information about an AS. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAsnAsync( + int asn, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAsnClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAsnClient.g.verified.cs new file mode 100644 index 0000000000..7c5d38cf6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IAsnClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAsnClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// ASN API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAsnClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IDomainsClient.GetDomains.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IDomainsClient.GetDomains.g.verified.cs new file mode 100644 index 0000000000..a9e951d602 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IDomainsClient.GetDomains.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDomainsClient.GetDomains.g.cs +#nullable enable + +namespace G +{ + public partial interface IDomainsClient + { + /// + /// Our Hosted Domains, or Reverse IP API returns a list of all of the domains hosted on the provided IP address.
+ /// Returns a list of all of the domains hosted on the provided IP address. + ///
+ /// + /// + /// + /// Default Value: 100 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDomainsAsync( + string ip, + int page = default, + int limit = 100, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IDomainsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IDomainsClient.g.verified.cs new file mode 100644 index 0000000000..2d7d417ac0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IDomainsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDomainsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Hosted Domains API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDomainsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.Batch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.Batch.g.verified.cs new file mode 100644 index 0000000000..dd6c0adbbc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.Batch.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IGeneralClient.Batch.g.cs +#nullable enable + +namespace G +{ + public partial interface IGeneralClient + { + /// + /// Returns information about the selected values.
+ /// Returns information about the selected values. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BatchAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.GetCurrentInformation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.GetCurrentInformation.g.verified.cs new file mode 100644 index 0000000000..b0a0df3854 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.GetCurrentInformation.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IGeneralClient.GetCurrentInformation.g.cs +#nullable enable + +namespace G +{ + public partial interface IGeneralClient + { + /// + /// Returns information about the current IP.
+ /// Returns information about the current IP. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentInformationAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.GetInformationByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.GetInformationByIp.g.verified.cs new file mode 100644 index 0000000000..cdfef977b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.GetInformationByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IGeneralClient.GetInformationByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface IGeneralClient + { + /// + /// Returns information about the selected IP.
+ /// Returns information about the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetInformationByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.g.verified.cs new file mode 100644 index 0000000000..2cd5e0aa82 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IGeneralClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGeneralClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// General API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGeneralClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IPrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IPrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs new file mode 100644 index 0000000000..62783d9d71 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IPrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IPrivacyDetectionClient.GetPrivacyInformationByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface IPrivacyDetectionClient + { + /// + /// Returns privacy information about the selected IP.
+ /// Returns privacy information about the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPrivacyInformationByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IPrivacyDetectionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IPrivacyDetectionClient.g.verified.cs new file mode 100644 index 0000000000..ef654e257d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IPrivacyDetectionClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IPrivacyDetectionClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Privacy Detection API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPrivacyDetectionClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IRangesClient.GetRanges.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IRangesClient.GetRanges.g.verified.cs new file mode 100644 index 0000000000..5ab4e447dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IRangesClient.GetRanges.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRangesClient.GetRanges.g.cs +#nullable enable + +namespace G +{ + public partial interface IRangesClient + { + /// + /// Our IP address ranges API returns a list of all of the IP addresses ranges assigned to or operated by a company, identified by the provided domain name.
+ /// Returns information about a domain ranges. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRangesAsync( + string domain, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IRangesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IRangesClient.g.verified.cs new file mode 100644 index 0000000000..4734eb153d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.IRangesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IRangesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// IP Ranges API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRangesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCityByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCityByIp.g.verified.cs new file mode 100644 index 0000000000..7128aad5da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCityByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetCityByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a city for the selected IP.
+ /// Returns a city for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCityByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCountryByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCountryByIp.g.verified.cs new file mode 100644 index 0000000000..a95f92b7fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCountryByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetCountryByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a country for the selected IP.
+ /// Returns a country for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCountryByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentCity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentCity.g.verified.cs new file mode 100644 index 0000000000..d07db146c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentCity.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentCity.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current city.
+ /// Returns the current city. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentCityAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentCountry.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentCountry.g.verified.cs new file mode 100644 index 0000000000..5eb83e9a8b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentCountry.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentCountry.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current country.
+ /// Returns the current country. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentCountryAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentHostname.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentHostname.g.verified.cs new file mode 100644 index 0000000000..872fafbc43 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentHostname.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentHostname.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current hostname.
+ /// Returns the current hostname. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentHostnameAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentIp.g.verified.cs new file mode 100644 index 0000000000..4e129dea57 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentIp.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current IP.
+ /// Returns the current IP. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentIpAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentLocation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentLocation.g.verified.cs new file mode 100644 index 0000000000..db7e094973 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentLocation.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentLocation.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current location.
+ /// Returns the current location. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentLocationAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentOrganization.g.verified.cs new file mode 100644 index 0000000000..532c66fd6c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentOrganization.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current organization.
+ /// Returns the current organization. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentOrganizationAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentPostal.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentPostal.g.verified.cs new file mode 100644 index 0000000000..fec1658238 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentPostal.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentPostal.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current postal.
+ /// Returns the current postal. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentPostalAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentRegion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentRegion.g.verified.cs new file mode 100644 index 0000000000..ce17eebe02 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentRegion.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentRegion.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current region.
+ /// Returns current region. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentRegionAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentTimezone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentTimezone.g.verified.cs new file mode 100644 index 0000000000..a991e06e50 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetCurrentTimezone.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentTimezone.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current timezone.
+ /// Returns the current timezone. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentTimezoneAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetHostnameByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetHostnameByIp.g.verified.cs new file mode 100644 index 0000000000..62d487088b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetHostnameByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetHostnameByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a hostname for the selected IP.
+ /// Returns a hostname for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetHostnameByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetIpByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetIpByIp.g.verified.cs new file mode 100644 index 0000000000..fc719f4ccf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetIpByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetIpByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a ip for the selected IP. Yes, I know this is a pointless method.
+ /// Returns a ip for the selected IP. Yes, I know this is a pointless method. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetIpByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetLocationByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetLocationByIp.g.verified.cs new file mode 100644 index 0000000000..86b15f7682 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetLocationByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetLocationByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Get a location for the selected IP.
+ /// Returns a location for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetLocationByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetOrganizationByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetOrganizationByIp.g.verified.cs new file mode 100644 index 0000000000..7224f89fe9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetOrganizationByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetOrganizationByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a organization for the selected IP.
+ /// Returns a organization for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetOrganizationByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetPostalByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetPostalByIp.g.verified.cs new file mode 100644 index 0000000000..973f54d8aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetPostalByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetPostalByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a postal for the selected IP.
+ /// Returns a postal for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPostalByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetRegionByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetRegionByIp.g.verified.cs new file mode 100644 index 0000000000..98c0a48121 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetRegionByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetRegionByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a region for the selected IP.
+ /// Returns a region for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRegionByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetTimezoneByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetTimezoneByIp.g.verified.cs new file mode 100644 index 0000000000..341eda7b0f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.GetTimezoneByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetTimezoneByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a timezone for the selected IP.
+ /// Returns a timezone for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTimezoneByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.g.verified.cs new file mode 100644 index 0000000000..620ad055e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.ISingleClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISingleClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Single info API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISingleClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.PrivacyDetectionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.PrivacyDetectionClient.g.verified.cs index b7cb7b9fc0..a12f9a6022 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.PrivacyDetectionClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.PrivacyDetectionClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PrivacyDetectionClient : global::System.IDisposable + public sealed partial class PrivacyDetectionClient : global::G.IPrivacyDetectionClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.RangesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.RangesClient.g.verified.cs index cf2bcf203b..efa6f993c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.RangesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.RangesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RangesClient : global::System.IDisposable + public sealed partial class RangesClient : global::G.IRangesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.g.verified.cs index 4c78f1a93d..ecb0ac6e08 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SingleClient : global::System.IDisposable + public sealed partial class SingleClient : global::G.ISingleClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AbuseClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AbuseClient.g.verified.cs index f012304fbe..cea5ef2113 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AbuseClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AbuseClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AbuseClient : global::System.IDisposable + public sealed partial class AbuseClient : global::G.IAbuseClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.Api.g.verified.cs index ba5e60b966..8c50beea4e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AsnClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AsnClient.g.verified.cs index f13508b0d3..6c6f677b02 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AsnClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AsnClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AsnClient : global::System.IDisposable + public sealed partial class AsnClient : global::G.IAsnClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.DomainsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.DomainsClient.g.verified.cs index 2ee4e12d54..dde51b31c1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.DomainsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.DomainsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DomainsClient : global::System.IDisposable + public sealed partial class DomainsClient : global::G.IDomainsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.g.verified.cs index 4b3c9bc920..66dbcc209b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GeneralClient : global::System.IDisposable + public sealed partial class GeneralClient : global::G.IGeneralClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAbuseClient.GetAbuse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAbuseClient.GetAbuse.g.verified.cs new file mode 100644 index 0000000000..c6587b44e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAbuseClient.GetAbuse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IAbuseClient.GetAbuse.g.cs +#nullable enable + +namespace G +{ + public partial interface IAbuseClient + { + /// + /// Our abuse contact API returns data containing information belonging to the abuse contact of every IP address on the Internet. Fields included in this response are the abuse contact's email address, postal/ZIP code, city, state, country, name, network, and phone number.
+ /// Our abuse contact API returns data containing information belonging to the abuse contact of every IP address on the Internet. Fields included in this response are the abuse contact's email address, postal/ZIP code, city, state, country, name, network, and phone number. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAbuseAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAbuseClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAbuseClient.g.verified.cs new file mode 100644 index 0000000000..611da8635a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAbuseClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAbuseClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Abuse Contact API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAbuseClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..cb63b6ecbb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// [https://ipinfo.io](https://ipinfo.io).
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// General API. + /// + public GeneralClient General { get; } + + /// + /// Single info API. + /// + public SingleClient Single { get; } + + /// + /// Privacy Detection API. + /// + public PrivacyDetectionClient PrivacyDetection { get; } + + /// + /// ASN API. + /// + public AsnClient Asn { get; } + + /// + /// IP Ranges API. + /// + public RangesClient Ranges { get; } + + /// + /// Hosted Domains API. + /// + public DomainsClient Domains { get; } + + /// + /// Abuse Contact API. + /// + public AbuseClient Abuse { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAsnClient.GetAsn.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAsnClient.GetAsn.g.verified.cs new file mode 100644 index 0000000000..036b12b839 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAsnClient.GetAsn.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IAsnClient.GetAsn.g.cs +#nullable enable + +namespace G +{ + public partial interface IAsnClient + { + /// + /// Returns information about an ASN, such as the assigned prefixes, related domain, and more.
+ /// Returns information about an AS. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAsnAsync( + int asn, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAsnClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAsnClient.g.verified.cs new file mode 100644 index 0000000000..f9e8c90eee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IAsnClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAsnClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// ASN API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAsnClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IDomainsClient.GetDomains.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IDomainsClient.GetDomains.g.verified.cs new file mode 100644 index 0000000000..a9e951d602 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IDomainsClient.GetDomains.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDomainsClient.GetDomains.g.cs +#nullable enable + +namespace G +{ + public partial interface IDomainsClient + { + /// + /// Our Hosted Domains, or Reverse IP API returns a list of all of the domains hosted on the provided IP address.
+ /// Returns a list of all of the domains hosted on the provided IP address. + ///
+ /// + /// + /// + /// Default Value: 100 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDomainsAsync( + string ip, + int page = default, + int limit = 100, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IDomainsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IDomainsClient.g.verified.cs new file mode 100644 index 0000000000..5e53d99ae4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IDomainsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IDomainsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Hosted Domains API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDomainsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.Batch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.Batch.g.verified.cs new file mode 100644 index 0000000000..dd6c0adbbc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.Batch.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IGeneralClient.Batch.g.cs +#nullable enable + +namespace G +{ + public partial interface IGeneralClient + { + /// + /// Returns information about the selected values.
+ /// Returns information about the selected values. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BatchAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.GetCurrentInformation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.GetCurrentInformation.g.verified.cs new file mode 100644 index 0000000000..b0a0df3854 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.GetCurrentInformation.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IGeneralClient.GetCurrentInformation.g.cs +#nullable enable + +namespace G +{ + public partial interface IGeneralClient + { + /// + /// Returns information about the current IP.
+ /// Returns information about the current IP. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentInformationAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.GetInformationByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.GetInformationByIp.g.verified.cs new file mode 100644 index 0000000000..cdfef977b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.GetInformationByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IGeneralClient.GetInformationByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface IGeneralClient + { + /// + /// Returns information about the selected IP.
+ /// Returns information about the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetInformationByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.g.verified.cs new file mode 100644 index 0000000000..4b64840a67 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IGeneralClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGeneralClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// General API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGeneralClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IPrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IPrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs new file mode 100644 index 0000000000..62783d9d71 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IPrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IPrivacyDetectionClient.GetPrivacyInformationByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface IPrivacyDetectionClient + { + /// + /// Returns privacy information about the selected IP.
+ /// Returns privacy information about the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPrivacyInformationByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IPrivacyDetectionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IPrivacyDetectionClient.g.verified.cs new file mode 100644 index 0000000000..48bd4bf66b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IPrivacyDetectionClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IPrivacyDetectionClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Privacy Detection API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPrivacyDetectionClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IRangesClient.GetRanges.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IRangesClient.GetRanges.g.verified.cs new file mode 100644 index 0000000000..5ab4e447dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IRangesClient.GetRanges.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRangesClient.GetRanges.g.cs +#nullable enable + +namespace G +{ + public partial interface IRangesClient + { + /// + /// Our IP address ranges API returns a list of all of the IP addresses ranges assigned to or operated by a company, identified by the provided domain name.
+ /// Returns information about a domain ranges. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRangesAsync( + string domain, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IRangesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IRangesClient.g.verified.cs new file mode 100644 index 0000000000..a2ee8ef856 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.IRangesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IRangesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// IP Ranges API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRangesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCityByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCityByIp.g.verified.cs new file mode 100644 index 0000000000..7128aad5da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCityByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetCityByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a city for the selected IP.
+ /// Returns a city for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCityByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCountryByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCountryByIp.g.verified.cs new file mode 100644 index 0000000000..a95f92b7fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCountryByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetCountryByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a country for the selected IP.
+ /// Returns a country for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCountryByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentCity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentCity.g.verified.cs new file mode 100644 index 0000000000..d07db146c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentCity.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentCity.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current city.
+ /// Returns the current city. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentCityAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentCountry.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentCountry.g.verified.cs new file mode 100644 index 0000000000..5eb83e9a8b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentCountry.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentCountry.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current country.
+ /// Returns the current country. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentCountryAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentHostname.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentHostname.g.verified.cs new file mode 100644 index 0000000000..872fafbc43 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentHostname.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentHostname.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current hostname.
+ /// Returns the current hostname. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentHostnameAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentIp.g.verified.cs new file mode 100644 index 0000000000..4e129dea57 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentIp.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current IP.
+ /// Returns the current IP. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentIpAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentLocation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentLocation.g.verified.cs new file mode 100644 index 0000000000..db7e094973 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentLocation.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentLocation.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current location.
+ /// Returns the current location. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentLocationAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentOrganization.g.verified.cs new file mode 100644 index 0000000000..532c66fd6c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentOrganization.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current organization.
+ /// Returns the current organization. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentOrganizationAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentPostal.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentPostal.g.verified.cs new file mode 100644 index 0000000000..fec1658238 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentPostal.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentPostal.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current postal.
+ /// Returns the current postal. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentPostalAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentRegion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentRegion.g.verified.cs new file mode 100644 index 0000000000..ce17eebe02 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentRegion.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentRegion.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current region.
+ /// Returns current region. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentRegionAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentTimezone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentTimezone.g.verified.cs new file mode 100644 index 0000000000..a991e06e50 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetCurrentTimezone.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISingleClient.GetCurrentTimezone.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns the current timezone.
+ /// Returns the current timezone. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentTimezoneAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetHostnameByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetHostnameByIp.g.verified.cs new file mode 100644 index 0000000000..62d487088b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetHostnameByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetHostnameByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a hostname for the selected IP.
+ /// Returns a hostname for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetHostnameByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetIpByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetIpByIp.g.verified.cs new file mode 100644 index 0000000000..fc719f4ccf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetIpByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetIpByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a ip for the selected IP. Yes, I know this is a pointless method.
+ /// Returns a ip for the selected IP. Yes, I know this is a pointless method. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetIpByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetLocationByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetLocationByIp.g.verified.cs new file mode 100644 index 0000000000..86b15f7682 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetLocationByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetLocationByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Get a location for the selected IP.
+ /// Returns a location for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetLocationByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetOrganizationByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetOrganizationByIp.g.verified.cs new file mode 100644 index 0000000000..7224f89fe9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetOrganizationByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetOrganizationByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a organization for the selected IP.
+ /// Returns a organization for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetOrganizationByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetPostalByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetPostalByIp.g.verified.cs new file mode 100644 index 0000000000..973f54d8aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetPostalByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetPostalByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a postal for the selected IP.
+ /// Returns a postal for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPostalByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetRegionByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetRegionByIp.g.verified.cs new file mode 100644 index 0000000000..98c0a48121 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetRegionByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetRegionByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a region for the selected IP.
+ /// Returns a region for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRegionByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetTimezoneByIp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetTimezoneByIp.g.verified.cs new file mode 100644 index 0000000000..341eda7b0f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.GetTimezoneByIp.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ISingleClient.GetTimezoneByIp.g.cs +#nullable enable + +namespace G +{ + public partial interface ISingleClient + { + /// + /// Returns a timezone for the selected IP.
+ /// Returns a timezone for the selected IP. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTimezoneByIpAsync( + string ip, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.g.verified.cs new file mode 100644 index 0000000000..e21f285e27 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.ISingleClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISingleClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Single info API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISingleClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://ipinfo.io/"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.PrivacyDetectionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.PrivacyDetectionClient.g.verified.cs index 841f61a1e1..c503f130ee 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.PrivacyDetectionClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.PrivacyDetectionClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PrivacyDetectionClient : global::System.IDisposable + public sealed partial class PrivacyDetectionClient : global::G.IPrivacyDetectionClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.RangesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.RangesClient.g.verified.cs index adeecdff3d..98137b1d81 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.RangesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.RangesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RangesClient : global::System.IDisposable + public sealed partial class RangesClient : global::G.IRangesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.g.verified.cs index 38a3864d06..c278b4cdc5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SingleClient : global::System.IDisposable + public sealed partial class SingleClient : global::G.ISingleClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AnnotationQueuesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AnnotationQueuesClient.g.verified.cs index 2f33da6ce4..1896c8c4ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AnnotationQueuesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AnnotationQueuesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AnnotationQueuesClient : global::System.IDisposable + public sealed partial class AnnotationQueuesClient : global::G.IAnnotationQueuesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.g.verified.cs index 9ab6e69c31..555d6a9b86 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.g.verified.cs index 5135c22e44..4be0e6be8d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ApiKeyClient : global::System.IDisposable + public sealed partial class ApiKeyClient : global::G.IApiKeyClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.g.verified.cs index 7fc35eb2de..a00567c843 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AuthClient : global::System.IDisposable + public sealed partial class AuthClient : global::G.IAuthClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.g.verified.cs index a0f44cca9b..a45d93c178 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChartsClient : global::System.IDisposable + public sealed partial class ChartsClient : global::G.IChartsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommentsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommentsClient.g.verified.cs index b9bcb8d9c3..32c3833dec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommentsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommentsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CommentsClient : global::System.IDisposable + public sealed partial class CommentsClient : global::G.ICommentsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommitsClient.g.verified.cs index 39ee75725e..9f9e740fa2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommitsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CommitsClient : global::System.IDisposable + public sealed partial class CommitsClient : global::G.ICommitsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs index 8662a7e1fb..195aac75ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DatasetsClient : global::System.IDisposable + public sealed partial class DatasetsClient : global::G.IDatasetsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.EventsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.EventsClient.g.verified.cs index 30ffe4bdb2..c3fbde1991 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.EventsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.EventsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EventsClient : global::System.IDisposable + public sealed partial class EventsClient : global::G.IEventsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.g.verified.cs index 46a94b2ed0..e55c62e2f1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ExamplesClient : global::System.IDisposable + public sealed partial class ExamplesClient : global::G.IExamplesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.g.verified.cs index d37dd345f6..0ae81dcacc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FeedbackClient : global::System.IDisposable + public sealed partial class FeedbackClient : global::G.IFeedbackClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackConfigsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackConfigsClient.g.verified.cs index 293cf51b9b..31ca1afa4e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackConfigsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackConfigsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FeedbackConfigsClient : global::System.IDisposable + public sealed partial class FeedbackConfigsClient : global::G.IFeedbackConfigsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.AddRunsToAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.AddRunsToAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..3e095e3a63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.AddRunsToAnnotationQueue.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAnnotationQueuesClient.AddRunsToAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Add Runs To Annotation Queue + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AddRunsToAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.CreateAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.CreateAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..be742e8fd2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.CreateAnnotationQueue.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IAnnotationQueuesClient.CreateAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Create Annotation Queue + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAnnotationQueueAsync( + global::G.AnnotationQueueCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Annotation Queue + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: true + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAnnotationQueueAsync( + string name, + global::G.AnyOf? description = default, + global::System.DateTime createdAt = default, + global::System.DateTime updatedAt = default, + global::G.AnyOf? defaultDataset = default, + global::G.AnyOf? numReviewersPerItem = default, + global::G.AnyOf? enableReservations = default, + global::G.AnyOf? reservationMinutes = default, + global::System.Guid id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.CreateIdentityAnnotationQueueRunStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.CreateIdentityAnnotationQueueRunStatus.g.verified.cs new file mode 100644 index 0000000000..c3348cc9cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.CreateIdentityAnnotationQueueRunStatus.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IAnnotationQueuesClient.CreateIdentityAnnotationQueueRunStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Create Identity Annotation Queue Run Status + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateIdentityAnnotationQueueRunStatusAsync( + global::System.Guid annotationQueueRunId, + global::G.IdentityAnnotationQueueRunStatusCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Identity Annotation Queue Run Status + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateIdentityAnnotationQueueRunStatusAsync( + global::System.Guid annotationQueueRunId, + global::G.AnyOf? status = default, + global::G.AnyOf? overrideAddedAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.DeleteAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.DeleteAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..c1adaa4e07 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.DeleteAnnotationQueue.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAnnotationQueuesClient.DeleteAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Delete Annotation Queue + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.DeleteRunFromAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.DeleteRunFromAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..e436733987 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.DeleteRunFromAnnotationQueue.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAnnotationQueuesClient.DeleteRunFromAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Delete Run From Annotation Queue + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteRunFromAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Guid queueRunId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetAnnotationQueues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetAnnotationQueues.g.verified.cs new file mode 100644 index 0000000000..2304a21611 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetAnnotationQueues.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAnnotationQueuesClient.GetAnnotationQueues.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Get Annotation Queues + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetAnnotationQueuesAsync( + global::G.AnyOf, object>? ids = default, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + int offset = 0, + int limit = 100, + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetAnnotationQueuesForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetAnnotationQueuesForRun.g.verified.cs new file mode 100644 index 0000000000..107a959b05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetAnnotationQueuesForRun.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAnnotationQueuesClient.GetAnnotationQueuesForRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Get Annotation Queues For Run + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetAnnotationQueuesForRunAsync( + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetRunFromAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetRunFromAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..7753a8d1fb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetRunFromAnnotationQueue.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAnnotationQueuesClient.GetRunFromAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Get Run From Annotation Queue + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRunFromAnnotationQueueAsync( + global::System.Guid queueId, + int index, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetSizeFromAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetSizeFromAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..5793c043f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetSizeFromAnnotationQueue.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAnnotationQueuesClient.GetSizeFromAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Get Size From Annotation Queue + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSizeFromAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetTotalSizeFromAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetTotalSizeFromAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..d7f4bb5d46 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.GetTotalSizeFromAnnotationQueue.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAnnotationQueuesClient.GetTotalSizeFromAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Get Total Size From Annotation Queue + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTotalSizeFromAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.UpdateAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.UpdateAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..54b7988730 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.UpdateAnnotationQueue.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IAnnotationQueuesClient.UpdateAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Update Annotation Queue + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAnnotationQueueAsync( + global::System.Guid queueId, + global::G.AnnotationQueueUpdateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Annotation Queue + /// + /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: true + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAnnotationQueueAsync( + global::System.Guid queueId, + global::G.AnyOf? name = default, + global::G.AnyOf? description = default, + global::G.AnyOf? defaultDataset = default, + global::G.AnyOf? numReviewersPerItem = default, + bool enableReservations = true, + global::G.AnyOf? reservationMinutes = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.UpdateRunInAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.UpdateRunInAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..91b12feebf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.UpdateRunInAnnotationQueue.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAnnotationQueuesClient.UpdateRunInAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Update Run In Annotation Queue + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRunInAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Guid queueRunId, + global::G.AnnotationQueueRunUpdateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Run In Annotation Queue + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRunInAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Guid queueRunId, + global::G.AnyOf? lastReviewedTime = default, + global::G.AnyOf? addedAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.g.verified.cs new file mode 100644 index 0000000000..8f3e591c41 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAnnotationQueuesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAnnotationQueuesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAnnotationQueuesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.Ok.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.Ok.g.verified.cs new file mode 100644 index 0000000000..2483172972 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.Ok.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IApi.Ok.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Ok + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OkAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..b7ff0bd9f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,160 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// + /// + public TracerSessionsClient TracerSessions { get; } + + /// + /// + /// + public OrgsClient Orgs { get; } + + /// + /// + /// + public AuthClient Auth { get; } + + /// + /// + /// + public ApiKeyClient ApiKey { get; } + + /// + /// + /// + public ExamplesClient Examples { get; } + + /// + /// + /// + public DatasetsClient Datasets { get; } + + /// + /// + /// + public RunClient Run { get; } + + /// + /// + /// + public FeedbackClient Feedback { get; } + + /// + /// + /// + public PublicClient Public { get; } + + /// + /// + /// + public AnnotationQueuesClient AnnotationQueues { get; } + + /// + /// + /// + public TenantClient Tenant { get; } + + /// + /// + /// + public InfoClient Info { get; } + + /// + /// + /// + public FeedbackConfigsClient FeedbackConfigs { get; } + + /// + /// + /// + public ModelPriceMapClient ModelPriceMap { get; } + + /// + /// + /// + public UsageLimitsClient UsageLimits { get; } + + /// + /// + /// + public TtlSettingsClient TtlSettings { get; } + + /// + /// + /// + public PromptsClient Prompts { get; } + + /// + /// + /// + public WorkspacesClient Workspaces { get; } + + /// + /// + /// + public PlaygroundSettingsClient PlaygroundSettings { get; } + + /// + /// + /// + public ServiceAccountsClient ServiceAccounts { get; } + + /// + /// + /// + public ChartsClient Charts { get; } + + /// + /// + /// + public ReposClient Repos { get; } + + /// + /// + /// + public LikesClient Likes { get; } + + /// + /// + /// + public CommitsClient Commits { get; } + + /// + /// + /// + public SettingsClient Settings { get; } + + /// + /// + /// + public EventsClient Events { get; } + + /// + /// + /// + public CommentsClient Comments { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.DeleteApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.DeleteApiKey.g.verified.cs new file mode 100644 index 0000000000..a83f0b6a54 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.DeleteApiKey.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IApiKeyClient.DeleteApiKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Delete Api Key
+ /// Delete an api key for the user + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteApiKeyAsync( + global::System.Guid apiKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.DeletePersonalAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.DeletePersonalAccessToken.g.verified.cs new file mode 100644 index 0000000000..d638a323c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.DeletePersonalAccessToken.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IApiKeyClient.DeletePersonalAccessToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Delete Personal Access Token
+ /// Delete a Personal Access Token for the user + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeletePersonalAccessTokenAsync( + global::System.Guid patId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs new file mode 100644 index 0000000000..4fbb3527d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IApiKeyClient.GenerateApiKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Generate Api Key
+ /// Generate an api key for the user + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateApiKeyAsync( + global::G.AllOf request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate Api Key
+ /// Generate an api key for the user + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateApiKeyAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs new file mode 100644 index 0000000000..2df9829dc1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IApiKeyClient.GeneratePersonalAccessToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Generate Personal Access Token
+ /// Generate a Personal Access Token the user + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( + global::G.AllOf request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate Personal Access Token
+ /// Generate a Personal Access Token the user + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GetApiKeys.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GetApiKeys.g.verified.cs new file mode 100644 index 0000000000..4076a8eda9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GetApiKeys.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IApiKeyClient.GetApiKeys.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Get Api Keys
+ /// Get the current tenant's API keys + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetApiKeysAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GetPersonalAccessTokens.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GetPersonalAccessTokens.g.verified.cs new file mode 100644 index 0000000000..d78c090d80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GetPersonalAccessTokens.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IApiKeyClient.GetPersonalAccessTokens.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Get Personal Access Tokens
+ /// Get the current users PATs for this tenant + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetPersonalAccessTokensAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.g.verified.cs new file mode 100644 index 0000000000..a635ce5e1a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IApiKeyClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApiKeyClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.Login.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.Login.g.verified.cs new file mode 100644 index 0000000000..705b89806f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.Login.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IAuthClient.Login.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Login + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LoginAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.g.verified.cs new file mode 100644 index 0000000000..af1a9e3602 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAuthClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAuthClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.CreateChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.CreateChart.g.verified.cs new file mode 100644 index 0000000000..ee06cbba67 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.CreateChart.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IChartsClient.CreateChart.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Create Chart
+ /// Create a new chart. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChartAsync( + global::G.CustomChartCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Chart
+ /// Create a new chart. + ///
+ /// + /// + /// + /// + /// Enum for custom chart types. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChartAsync( + string title, + global::G.CustomChartType chartType, + global::System.Collections.Generic.IList series, + global::G.AnyOf? description = default, + global::G.AnyOf? index = default, + global::G.AnyOf? sectionId = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf? commonFilters = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.CreateSection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.CreateSection.g.verified.cs new file mode 100644 index 0000000000..ea02ccf258 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.CreateSection.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IChartsClient.CreateSection.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Create Section
+ /// Create a new section. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSectionAsync( + global::G.CustomChartsSectionCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Section
+ /// Create a new section. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSectionAsync( + string title, + global::G.AnyOf? description = default, + global::G.AnyOf? index = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.DeleteChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.DeleteChart.g.verified.cs new file mode 100644 index 0000000000..4c62b004d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.DeleteChart.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IChartsClient.DeleteChart.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Delete Chart
+ /// Delete a chart. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteChartAsync( + global::System.Guid chartId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.DeleteSection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.DeleteSection.g.verified.cs new file mode 100644 index 0000000000..2212f8fe80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.DeleteSection.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IChartsClient.DeleteSection.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Delete Section
+ /// Delete a section. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteSectionAsync( + global::System.Guid sectionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadChartPreview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadChartPreview.g.verified.cs new file mode 100644 index 0000000000..e526db64f5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadChartPreview.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IChartsClient.ReadChartPreview.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Read Chart Preview
+ /// Get a preview for a chart without actually creating it. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadChartPreviewAsync( + global::G.CustomChartPreviewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Chart Preview
+ /// Get a preview for a chart without actually creating it. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadChartPreviewAsync( + global::G.CustomChartsRequestBase bucketInfo, + global::G.CustomChartCreatePreview chart, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadCharts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadCharts.g.verified.cs new file mode 100644 index 0000000000..4801012e78 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadCharts.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IChartsClient.ReadCharts.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Read Charts
+ /// Get all charts for the tenant. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadChartsAsync( + global::G.CustomChartsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Charts
+ /// Get all charts for the tenant. + ///
+ /// + /// Default Value: UTC + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadChartsAsync( + global::System.DateTime startTime, + string? timezone = "UTC", + global::G.AnyOf? endTime = default, + global::G.AllOf? stride = default, + global::G.AnyOf? afterIndex = default, + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSections.g.verified.cs new file mode 100644 index 0000000000..2c6e02c6e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSections.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IChartsClient.ReadSections.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Read Sections
+ /// Get all sections for the tenant. + ///
+ /// + /// Default Value: 100 + /// + /// + /// Default Value: 0 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSectionsAsync( + int limit = 100, + int offset = 0, + global::G.AnyOf? titleContains = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs new file mode 100644 index 0000000000..4856cc9c70 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IChartsClient.ReadSingleChart.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Read Single Chart
+ /// Get a single chart by ID. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSingleChartAsync( + global::System.Guid chartId, + global::G.CustomChartsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Single Chart
+ /// Get a single chart by ID. + ///
+ /// + /// + /// Default Value: UTC + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSingleChartAsync( + global::System.Guid chartId, + global::System.DateTime startTime, + string? timezone = "UTC", + global::G.AnyOf? endTime = default, + global::G.AllOf? stride = default, + global::G.AnyOf? afterIndex = default, + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.UpdateChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.UpdateChart.g.verified.cs new file mode 100644 index 0000000000..f533e1ef20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.UpdateChart.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IChartsClient.UpdateChart.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Update Chart
+ /// Update a chart. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChartAsync( + global::System.Guid chartId, + global::G.CustomChartUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Chart
+ /// Update a chart. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChartAsync( + global::System.Guid chartId, + global::G.AnyOf? title = default, + global::G.AnyOf? description = default, + global::G.AnyOf? index = default, + global::G.AnyOf? chartType = default, + global::G.AnyOf, global::G.Missing>? series = default, + global::G.AnyOf? sectionId = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf? commonFilters = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.UpdateSection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.UpdateSection.g.verified.cs new file mode 100644 index 0000000000..c4280c14a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.UpdateSection.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IChartsClient.UpdateSection.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Update Section
+ /// Update a section. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateSectionAsync( + global::System.Guid sectionId, + global::G.CustomChartsSectionUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Section
+ /// Update a section. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateSectionAsync( + global::System.Guid sectionId, + global::G.AnyOf? title = default, + global::G.AnyOf? description = default, + global::G.AnyOf? index = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.g.verified.cs new file mode 100644 index 0000000000..a2e6ba7c5a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChartsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChartsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.CreateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.CreateComment.g.verified.cs new file mode 100644 index 0000000000..5ab1578d16 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.CreateComment.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.ICommentsClient.CreateComment.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Create Comment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCommentAsync( + string owner, + string repo, + global::G.CreateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Comment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCommentAsync( + string owner, + string repo, + string content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.CreateSubComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.CreateSubComment.g.verified.cs new file mode 100644 index 0000000000..7ba2ee8135 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.CreateSubComment.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.ICommentsClient.CreateSubComment.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Create Sub Comment + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSubCommentAsync( + string owner, + string repo, + global::System.Guid parentCommentId, + global::G.CreateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Sub Comment + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSubCommentAsync( + string owner, + string repo, + global::System.Guid parentCommentId, + string content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.GetComments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.GetComments.g.verified.cs new file mode 100644 index 0000000000..16a2605d74 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.GetComments.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICommentsClient.GetComments.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Get Comments + /// + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCommentsAsync( + string owner, + string repo, + int limit = 20, + int offset = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.GetSubComments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.GetSubComments.g.verified.cs new file mode 100644 index 0000000000..c95404c302 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.GetSubComments.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICommentsClient.GetSubComments.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Get Sub Comments + /// + /// + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSubCommentsAsync( + string owner, + string repo, + global::System.Guid parentCommentId, + int limit = 20, + int offset = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.LikeComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.LikeComment.g.verified.cs new file mode 100644 index 0000000000..2bdd521b70 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.LikeComment.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICommentsClient.LikeComment.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Like Comment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LikeCommentAsync( + string owner, + string repo, + global::System.Guid parentCommentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.UnlikeComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.UnlikeComment.g.verified.cs new file mode 100644 index 0000000000..4434da3215 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.UnlikeComment.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICommentsClient.UnlikeComment.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Unlike Comment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnlikeCommentAsync( + string owner, + string repo, + global::System.Guid parentCommentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.g.verified.cs new file mode 100644 index 0000000000..30ab935d50 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommentsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICommentsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICommentsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.CreateCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.CreateCommit.g.verified.cs new file mode 100644 index 0000000000..ab01bffff0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.CreateCommit.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.ICommitsClient.CreateCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommitsClient + { + /// + /// Create Commit
+ /// Upload a repo. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCommitAsync( + string owner, + string repo, + global::G.CreateRepoCommitRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Commit
+ /// Upload a repo. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCommitAsync( + string owner, + string repo, + global::G.CreateRepoCommitRequestManifest manifest, + global::G.AnyOf? parentCommit = default, + global::G.AnyOf, object>? exampleRunIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.GetCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.GetCommit.g.verified.cs new file mode 100644 index 0000000000..0e7b85a133 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.GetCommit.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.ICommitsClient.GetCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommitsClient + { + /// + /// Get Commit
+ /// Download a repo. + ///
+ /// + /// + /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCommitAsync( + string owner, + string repo, + string commit, + bool getExamples = false, + bool isView = false, + global::G.AnyOf? includeModel = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.ListCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.ListCommits.g.verified.cs new file mode 100644 index 0000000000..1a0524b2ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.ListCommits.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ICommitsClient.ListCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommitsClient + { + /// + /// List Commits
+ /// Get all commits. + ///
+ /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListCommitsAsync( + string owner, + string repo, + int limit = 20, + int offset = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.g.verified.cs new file mode 100644 index 0000000000..69949b4ca6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ICommitsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICommitsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICommitsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs new file mode 100644 index 0000000000..6d25d07081 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetsClient.CloneDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Clone Dataset
+ /// Clone a dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CloneDatasetAsync( + global::G.BodyCloneDatasetApiV1DatasetsClonePost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Clone Dataset
+ /// Clone a dataset. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CloneDatasetAsync( + global::System.Guid targetDatasetId, + global::System.Guid sourceDatasetId, + global::G.AnyOf?, object>? asOf = default, + global::System.Collections.Generic.IList? examples = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateComparativeExperiment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateComparativeExperiment.g.verified.cs new file mode 100644 index 0000000000..e018be77b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateComparativeExperiment.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IDatasetsClient.CreateComparativeExperiment.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Create Comparative Experiment
+ /// Create a comparative experiment. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateComparativeExperimentAsync( + global::G.ComparativeExperimentCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Comparative Experiment
+ /// Create a comparative experiment. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateComparativeExperimentAsync( + global::System.Collections.Generic.IList experimentIds, + global::System.Guid referenceDatasetId, + global::System.Guid id = default, + global::G.AnyOf? name = default, + global::G.AnyOf? description = default, + global::System.DateTime createdAt = default, + global::System.DateTime modifiedAt = default, + global::G.AnyOf? extra = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs new file mode 100644 index 0000000000..271611d9bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IDatasetsClient.CreateDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Create Dataset
+ /// Create a new dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + global::G.DatasetCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Dataset
+ /// Create a new dataset. + ///
+ /// + /// + /// + /// + /// Default Value: kv + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + string name, + global::G.AnyOf? description = default, + global::System.DateTime createdAt = default, + global::G.AnyOf? dataType = default, + global::G.AnyOf? inputsSchemaDefinition = default, + global::G.AnyOf? outputsSchemaDefinition = default, + global::G.AnyOf? externallyManaged = default, + global::G.AnyOf? id = default, + global::G.AnyOf? extra = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DeleteComparativeExperiment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DeleteComparativeExperiment.g.verified.cs new file mode 100644 index 0000000000..1eabe940dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DeleteComparativeExperiment.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.DeleteComparativeExperiment.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Delete Comparative Experiment
+ /// Delete a specific comparative experiment. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteComparativeExperimentAsync( + global::System.Guid comparativeExperimentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs new file mode 100644 index 0000000000..e32f364a13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.DeleteDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Delete Dataset
+ /// Delete a specific dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteDatasetAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DiffDatasetVersions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DiffDatasetVersions.g.verified.cs new file mode 100644 index 0000000000..882684209f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DiffDatasetVersions.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.DiffDatasetVersions.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Diff Dataset Versions
+ /// Get diff between two dataset versions. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DiffDatasetVersionsAsync( + global::System.Guid datasetId, + global::G.AnyOf fromVersion, + global::G.AnyOf toVersion, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetCsv.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetCsv.g.verified.cs new file mode 100644 index 0000000000..94d94dc275 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetCsv.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.DownloadDatasetCsv.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Download Dataset Csv
+ /// Download a dataset as CSV format. + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DownloadDatasetCsvAsync( + global::System.Guid datasetId, + global::G.AnyOf? asOf = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetOpenai.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetOpenai.g.verified.cs new file mode 100644 index 0000000000..dae60292c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetOpenai.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.DownloadDatasetOpenai.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Download Dataset Openai
+ /// Download a dataset as OpenAI Evals Jsonl format. + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DownloadDatasetOpenaiAsync( + global::System.Guid datasetId, + global::G.AnyOf? asOf = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetOpenaiFt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetOpenaiFt.g.verified.cs new file mode 100644 index 0000000000..70d3ff7194 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DownloadDatasetOpenaiFt.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.DownloadDatasetOpenaiFt.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Download Dataset Openai Ft
+ /// Download a dataset as OpenAI Jsonl format. + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DownloadDatasetOpenaiFtAsync( + global::System.Guid datasetId, + global::G.AnyOf? asOf = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Generate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Generate.g.verified.cs new file mode 100644 index 0000000000..91b382dd38 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Generate.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetsClient.Generate.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Generate
+ /// Generate synthetic examples for a dataset. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateAsync( + global::System.Guid datasetId, + global::G.GenerateSyntheticExamplesBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate
+ /// Generate synthetic examples for a dataset. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateAsync( + global::System.Guid datasetId, + int numExamples, + global::G.AnyOf, object>? exampleIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetSplits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetSplits.g.verified.cs new file mode 100644 index 0000000000..f82590b94d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetSplits.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.GetDatasetSplits.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get Dataset Splits + /// + /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetDatasetSplitsAsync( + global::System.Guid datasetId, + global::G.AnyOf? asOf = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetVersion.g.verified.cs new file mode 100644 index 0000000000..b5435cd86f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetVersion.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.GetDatasetVersion.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get Dataset Version
+ /// Get dataset version by as_of or exact tag. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDatasetVersionAsync( + global::System.Guid datasetId, + global::G.AnyOf? asOf = default, + global::G.AnyOf? tag = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetVersions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetVersions.g.verified.cs new file mode 100644 index 0000000000..478b982da0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetDatasetVersions.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IDatasetsClient.GetDatasetVersions.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get Dataset Versions
+ /// Get dataset versions. + ///
+ /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetDatasetVersionsAsync( + global::System.Guid datasetId, + global::G.AnyOf? search = default, + global::G.AnyOf? example = default, + int limit = 100, + int offset = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetIndexInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetIndexInfo.g.verified.cs new file mode 100644 index 0000000000..ce630faa54 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.GetIndexInfo.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.GetIndexInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get Index Info
+ /// Get index info. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetIndexInfoAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Index.g.verified.cs new file mode 100644 index 0000000000..a8c69c726f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Index.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetsClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Index
+ /// Index a dataset. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + global::System.Guid datasetId, + global::G.DatasetIndexRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Index
+ /// Index a dataset. + ///
+ /// + /// + /// Default Value: latest + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + global::System.Guid datasetId, + global::G.AnyOf? tag = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs new file mode 100644 index 0000000000..c735e78522 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IDatasetsClient.ReadComparativeExperiments.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Comparative Experiments
+ /// Get all comparative experiments for a given dataset. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadComparativeExperimentsAsync( + global::System.Guid datasetId, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + global::G.AnyOf, object>? id = default, + int offset = 0, + int limit = 100, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDataset.g.verified.cs new file mode 100644 index 0000000000..fe0b0fc70a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDataset.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.ReadDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Dataset
+ /// Get a specific dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadDatasetAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasetShareState.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasetShareState.g.verified.cs new file mode 100644 index 0000000000..6229ae5a18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasetShareState.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.ReadDatasetShareState.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Dataset Share State
+ /// Get the state of sharing a dataset + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadDatasetShareStateAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs new file mode 100644 index 0000000000..663f7c4b3e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IDatasetsClient.ReadDatasets.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Datasets
+ /// Get all datasets by query params and owner. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: last_session_start_time + /// + /// + /// Default Value: true + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadDatasetsAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf, global::G.DataType2?, object>? dataType = default, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + global::G.AnyOf? metadata = default, + int offset = 0, + int limit = 100, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDelta.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDelta.g.verified.cs new file mode 100644 index 0000000000..a38cb96f1a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDelta.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IDatasetsClient.ReadDelta.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Delta
+ /// Fetch the number of regressions/improvements for each example in a dataset, between sessions[0] and sessions[1]. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadDeltaAsync( + global::System.Guid datasetId, + global::G.QueryFeedbackDelta request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Delta
+ /// Fetch the number of regressions/improvements for each example in a dataset, between sessions[0] and sessions[1]. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadDeltaAsync( + global::System.Guid datasetId, + global::System.Guid baselineSessionId, + global::System.Collections.Generic.IList comparisonSessionIds, + string feedbackKey, + global::G.AnyOf? filters = default, + int offset = 0, + int limit = 100, + global::G.AnyOf? comparativeExperimentId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadExamplesWithRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadExamplesWithRuns.g.verified.cs new file mode 100644 index 0000000000..81facaccdc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadExamplesWithRuns.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IDatasetsClient.ReadExamplesWithRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Examples With Runs
+ /// Fetch examples for a dataset, and fetch the runs for each example if they are associated with the given session_ids. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadExamplesWithRunsAsync( + global::System.Guid datasetId, + global::G.QueryExampleSchemaWithRuns request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Examples With Runs
+ /// Fetch examples for a dataset, and fetch the runs for each example if they are associated with the given session_ids. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadExamplesWithRunsAsync( + global::System.Guid datasetId, + global::System.Collections.Generic.IList sessionIds, + global::G.AnyOf? comparativeExperimentId = default, + global::G.AnyOf? filters = default, + int offset = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.RemoveIndex.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.RemoveIndex.g.verified.cs new file mode 100644 index 0000000000..e2e4c6f56f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.RemoveIndex.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.RemoveIndex.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Remove Index
+ /// Remove an index for a dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RemoveIndexAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Search.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Search.g.verified.cs new file mode 100644 index 0000000000..1ec0f1efe6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Search.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IDatasetsClient.Search.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Search
+ /// Search a dataset. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchAsync( + global::System.Guid datasetId, + global::G.SearchDatasetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Search
+ /// Search a dataset. + ///
+ /// + /// + /// + /// Default Value: 5 + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchAsync( + global::System.Guid datasetId, + global::G.SearchDatasetRequestInputs inputs, + int limit = 5, + bool debug = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ShareDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ShareDataset.g.verified.cs new file mode 100644 index 0000000000..27a9ae6bb1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ShareDataset.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.ShareDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Share Dataset
+ /// Share a dataset. + ///
+ /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShareDatasetAsync( + global::System.Guid datasetId, + bool shareProjects = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UnshareDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UnshareDataset.g.verified.cs new file mode 100644 index 0000000000..af4a97604e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UnshareDataset.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.UnshareDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Unshare Dataset
+ /// Unshare a dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnshareDatasetAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDataset.g.verified.cs new file mode 100644 index 0000000000..49e7147c5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDataset.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IDatasetsClient.UpdateDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Update Dataset
+ /// Update a specific dataset. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDatasetAsync( + global::System.Guid datasetId, + global::G.DatasetUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Dataset
+ /// Update a specific dataset. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDatasetAsync( + global::System.Guid datasetId, + global::G.AnyOf? name = default, + global::G.AnyOf? description = default, + global::G.AnyOf? inputsSchemaDefinition = default, + global::G.AnyOf? outputsSchemaDefinition = default, + global::G.AnyOf? patchExamples = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetSplits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetSplits.g.verified.cs new file mode 100644 index 0000000000..8bdab654f5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetSplits.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IDatasetsClient.UpdateDatasetSplits.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Update Dataset Splits + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UpdateDatasetSplitsAsync( + global::System.Guid datasetId, + global::G.BodyUpdateDatasetSplitsApiV1DatasetsDatasetIdSplitsPut request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Dataset Splits + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UpdateDatasetSplitsAsync( + global::System.Guid datasetId, + string splitName, + global::System.Collections.Generic.IList examples, + bool remove = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs new file mode 100644 index 0000000000..6c6e9289c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetsClient.UpdateDatasetVersion.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Update Dataset Version
+ /// Set a tag on a dataset version. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDatasetVersionAsync( + global::System.Guid datasetId, + global::G.PutDatasetVersionsSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Dataset Version
+ /// Set a tag on a dataset version. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDatasetVersionAsync( + global::System.Guid datasetId, + global::System.DateTime asOf, + string tag, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs new file mode 100644 index 0000000000..8d04bde243 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IDatasetsClient.UploadCsvDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Upload Csv Dataset
+ /// Create a new dataset from a CSV file. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadCsvDatasetAsync( + global::G.BodyUploadCsvDatasetApiV1DatasetsUploadPost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload Csv Dataset
+ /// Create a new dataset from a CSV file. + ///
+ /// + /// + /// + /// + /// + /// Default Value: kv + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadCsvDatasetAsync( + byte[] file, + string filename, + global::System.Collections.Generic.IList inputKeys, + global::G.AnyOf? name = default, + global::G.AllOf? dataType = default, + global::System.Collections.Generic.IList? outputKeys = default, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadExperiment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadExperiment.g.verified.cs new file mode 100644 index 0000000000..14ad902c9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadExperiment.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IDatasetsClient.UploadExperiment.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Upload Experiment
+ /// Upload an experiment that has already been run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadExperimentAsync( + global::G.ExperimentResultsUpload request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload Experiment
+ /// Upload an experiment that has already been run. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadExperimentAsync( + string experimentName, + global::System.Collections.Generic.IList results, + global::System.DateTime experimentStartTime, + global::System.DateTime experimentEndTime, + global::G.AnyOf? experimentDescription = default, + global::G.AnyOf? datasetId = default, + global::G.AnyOf? datasetName = default, + global::G.AnyOf? datasetDescription = default, + global::G.AnyOf, object>? summaryExperimentScores = default, + global::G.AnyOf? experimentMetadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs new file mode 100644 index 0000000000..e1d57fd4bc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDatasetsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDatasetsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IEventsClient.CreateEvent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IEventsClient.CreateEvent.g.verified.cs new file mode 100644 index 0000000000..e05cadfa36 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IEventsClient.CreateEvent.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IEventsClient.CreateEvent.g.cs +#nullable enable + +namespace G +{ + public partial interface IEventsClient + { + /// + /// Create Event + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEventAsync( + global::G.CreateEventRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Event + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEventAsync( + global::G.CreateEventRequestEventType eventType, + string owner, + string repo, + global::G.AnyOf? commit = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IEventsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IEventsClient.g.verified.cs new file mode 100644 index 0000000000..24175c23d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IEventsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IEventsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEventsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CreateExample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CreateExample.g.verified.cs new file mode 100644 index 0000000000..8c228710d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CreateExample.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IExamplesClient.CreateExample.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Create Example
+ /// Create a new example. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateExampleAsync( + global::G.ExampleCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Example
+ /// Create a new example. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: base + /// + /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateExampleAsync( + global::System.Guid datasetId, + global::G.AnyOf? outputs = default, + global::G.AnyOf? sourceRunId = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf? inputs = default, + global::G.AnyOf, string, object>? split = default, + global::G.AnyOf? id = default, + bool useSourceRunIo = false, + global::System.DateTime createdAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CreateExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CreateExamples.g.verified.cs new file mode 100644 index 0000000000..c4a133f7d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CreateExamples.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IExamplesClient.CreateExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Create Examples
+ /// Create a new example. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateExamplesAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.DeleteExample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.DeleteExample.g.verified.cs new file mode 100644 index 0000000000..0ecf2e0360 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.DeleteExample.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IExamplesClient.DeleteExample.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Delete Example
+ /// Delete a specific example. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteExampleAsync( + global::System.Guid exampleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.DeleteExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.DeleteExamples.g.verified.cs new file mode 100644 index 0000000000..16758228f8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.DeleteExamples.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IExamplesClient.DeleteExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Delete Examples
+ /// Delete a specific set of examples. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteExamplesAsync( + global::System.Collections.Generic.IList exampleIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExample.g.verified.cs new file mode 100644 index 0000000000..242906fb2f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExample.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IExamplesClient.ReadExample.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Read Example
+ /// Get a specific example. + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadExampleAsync( + global::System.Guid exampleId, + global::G.AnyOf? asOf = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExamples.g.verified.cs new file mode 100644 index 0000000000..8dbc139db4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExamples.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IExamplesClient.ReadExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Read Examples
+ /// Get all examples by query params + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: recent + /// + /// + /// + /// Default Value: [id, created_at, modified_at, name, dataset_id, source_run_id, metadata, inputs, outputs] + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadExamplesAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf, object>? fullTextContains = default, + global::G.AnyOf, object>? splits = default, + global::G.AnyOf? dataset = default, + int offset = 0, + int limit = 100, + global::G.AllOf? order = default, + global::G.AnyOf? randomSeed = default, + global::System.Collections.Generic.IList? select = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UpdateExample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UpdateExample.g.verified.cs new file mode 100644 index 0000000000..d353c7463c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UpdateExample.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IExamplesClient.UpdateExample.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Update Example
+ /// Update a specific example. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateExampleAsync( + global::System.Guid exampleId, + global::G.ExampleUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Example
+ /// Update a specific example. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateExampleAsync( + global::System.Guid exampleId, + global::G.AnyOf? datasetId = default, + global::G.AnyOf? inputs = default, + global::G.AnyOf? outputs = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf, string, object>? split = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UpdateExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UpdateExamples.g.verified.cs new file mode 100644 index 0000000000..4c0a1700c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UpdateExamples.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IExamplesClient.UpdateExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Update Examples
+ /// Update examples in bulk. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateExamplesAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UploadExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UploadExamples.g.verified.cs new file mode 100644 index 0000000000..2c606de824 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.UploadExamples.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IExamplesClient.UploadExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Upload Examples
+ /// Create a new example. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UploadExamplesAsync( + global::System.Guid datasetId, + global::G.BodyUploadExamplesApiV1ExamplesUploadDatasetIdPost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload Examples
+ /// Create a new example. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UploadExamplesAsync( + global::System.Guid datasetId, + byte[] file, + string filename, + global::System.Collections.Generic.IList inputKeys, + global::System.Collections.Generic.IList? outputKeys = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.g.verified.cs new file mode 100644 index 0000000000..fc64ad5f28 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IExamplesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IExamplesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedback.g.verified.cs new file mode 100644 index 0000000000..4ac915bdc1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedback.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IFeedbackClient.CreateFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Create Feedback
+ /// Create a new feedback. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackAsync( + global::G.FeedbackCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Feedback
+ /// Create a new feedback. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackAsync( + string key, + global::System.DateTime createdAt = default, + global::System.DateTime modifiedAt = default, + global::G.AnyOf? score = default, + global::G.AnyOf? value = default, + global::G.AnyOf? comment = default, + global::G.AnyOf? correction = default, + global::G.AnyOf? feedbackGroupId = default, + global::G.AnyOf? comparativeExperimentId = default, + global::G.AnyOf? runId = default, + global::G.AnyOf? sessionId = default, + global::System.Guid id = default, + global::G.AnyOf? feedbackSource = default, + global::G.AnyOf? feedbackConfig = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackIngestToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackIngestToken.g.verified.cs new file mode 100644 index 0000000000..bcaa679434 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackIngestToken.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IFeedbackClient.CreateFeedbackIngestToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Create Feedback Ingest Token
+ /// Create a new feedback ingest token. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> CreateFeedbackIngestTokenAsync( + global::G.AnyOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Feedback Ingest Token
+ /// Create a new feedback ingest token. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> CreateFeedbackIngestTokenAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs new file mode 100644 index 0000000000..1218ef7685 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IFeedbackClient.CreateFeedbackWithTokenGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Create Feedback With Token Get
+ /// Create a new feedback with a token. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackWithTokenGetAsync( + global::System.Guid token, + global::G.AnyOf? score = default, + global::G.AnyOf? value = default, + global::G.AnyOf? comment = default, + global::G.AnyOf? correction = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs new file mode 100644 index 0000000000..219a55fe27 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IFeedbackClient.CreateFeedbackWithTokenPost.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Create Feedback With Token Post
+ /// Create a new feedback with a token. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackWithTokenPostAsync( + global::System.Guid token, + global::G.FeedbackCreateWithTokenExtendedSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Feedback With Token Post
+ /// Create a new feedback with a token. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackWithTokenPostAsync( + global::System.Guid token, + global::G.AnyOf? score = default, + global::G.AnyOf? value = default, + global::G.AnyOf? comment = default, + global::G.AnyOf? correction = default, + global::G.AnyOf? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.DeleteFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.DeleteFeedback.g.verified.cs new file mode 100644 index 0000000000..f2e28c30bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.DeleteFeedback.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFeedbackClient.DeleteFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Delete Feedback
+ /// Delete a feedback. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteFeedbackAsync( + global::System.Guid feedbackId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.EagerlyCreateFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.EagerlyCreateFeedback.g.verified.cs new file mode 100644 index 0000000000..dc7f8e9613 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.EagerlyCreateFeedback.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IFeedbackClient.EagerlyCreateFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Eagerly Create Feedback
+ /// Create a new feedback.
+ /// This method is invoked under the assumption that the run
+ /// is already visible in the app, thus already present in DB + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EagerlyCreateFeedbackAsync( + global::G.FeedbackCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Eagerly Create Feedback
+ /// Create a new feedback.
+ /// This method is invoked under the assumption that the run
+ /// is already visible in the app, thus already present in DB + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EagerlyCreateFeedbackAsync( + string key, + global::System.DateTime createdAt = default, + global::System.DateTime modifiedAt = default, + global::G.AnyOf? score = default, + global::G.AnyOf? value = default, + global::G.AnyOf? comment = default, + global::G.AnyOf? correction = default, + global::G.AnyOf? feedbackGroupId = default, + global::G.AnyOf? comparativeExperimentId = default, + global::G.AnyOf? runId = default, + global::G.AnyOf? sessionId = default, + global::System.Guid id = default, + global::G.AnyOf? feedbackSource = default, + global::G.AnyOf? feedbackConfig = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ListFeedbackIngestTokens.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ListFeedbackIngestTokens.g.verified.cs new file mode 100644 index 0000000000..f6d8f46c1f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ListFeedbackIngestTokens.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFeedbackClient.ListFeedbackIngestTokens.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// List Feedback Ingest Tokens
+ /// List all feedback ingest tokens for a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListFeedbackIngestTokensAsync( + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ReadFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ReadFeedback.g.verified.cs new file mode 100644 index 0000000000..96a87b7100 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ReadFeedback.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFeedbackClient.ReadFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Read Feedback
+ /// Get a specific feedback. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadFeedbackAsync( + global::System.Guid feedbackId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ReadFeedbacks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ReadFeedbacks.g.verified.cs new file mode 100644 index 0000000000..1ca9b95725 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.ReadFeedbacks.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IFeedbackClient.ReadFeedbacks.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Read Feedbacks
+ /// List all Feedback by query params. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadFeedbacksAsync( + global::G.AnyOf, object>? run = default, + global::G.AnyOf, object>? key = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? source = default, + int limit = 100, + int offset = 0, + global::G.AnyOf, object>? user = default, + global::G.AnyOf? hasComment = default, + global::G.AnyOf? hasScore = default, + global::G.AnyOf? level = default, + global::G.AnyOf? maxCreatedAt = default, + global::G.AnyOf? minCreatedAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.UpdateFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.UpdateFeedback.g.verified.cs new file mode 100644 index 0000000000..cd638badc6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.UpdateFeedback.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IFeedbackClient.UpdateFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Update Feedback
+ /// Replace an existing feedback entry with a new, modified entry. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFeedbackAsync( + global::System.Guid feedbackId, + global::G.FeedbackUpdateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Feedback
+ /// Replace an existing feedback entry with a new, modified entry. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFeedbackAsync( + global::System.Guid feedbackId, + global::G.AnyOf? score = default, + global::G.AnyOf? value = default, + global::G.AnyOf? comment = default, + global::G.AnyOf? correction = default, + global::G.AnyOf? feedbackConfig = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.g.verified.cs new file mode 100644 index 0000000000..5cbaacb7bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFeedbackClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFeedbackClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.CreateFeedbackConfigEndpoint.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.CreateFeedbackConfigEndpoint.g.verified.cs new file mode 100644 index 0000000000..615d4d3008 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.CreateFeedbackConfigEndpoint.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IFeedbackConfigsClient.CreateFeedbackConfigEndpoint.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackConfigsClient + { + /// + /// Create Feedback Config Endpoint + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackConfigEndpointAsync( + global::G.CreateFeedbackConfigSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Feedback Config Endpoint + /// + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackConfigEndpointAsync( + string feedbackKey, + global::G.FeedbackConfig feedbackConfig, + global::G.AnyOf? isLowerScoreBetter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.ListFeedbackConfigsEndpoint.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.ListFeedbackConfigsEndpoint.g.verified.cs new file mode 100644 index 0000000000..175719ab9c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.ListFeedbackConfigsEndpoint.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFeedbackConfigsClient.ListFeedbackConfigsEndpoint.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackConfigsClient + { + /// + /// List Feedback Configs Endpoint + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListFeedbackConfigsEndpointAsync( + global::G.AnyOf, object>? key = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.UpdateFeedbackConfigEndpoint.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.UpdateFeedbackConfigEndpoint.g.verified.cs new file mode 100644 index 0000000000..809a00905c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.UpdateFeedbackConfigEndpoint.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IFeedbackConfigsClient.UpdateFeedbackConfigEndpoint.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackConfigsClient + { + /// + /// Update Feedback Config Endpoint + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFeedbackConfigEndpointAsync( + global::G.UpdateFeedbackConfigSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Feedback Config Endpoint + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFeedbackConfigEndpointAsync( + string feedbackKey, + global::G.AnyOf? feedbackConfig = default, + global::G.AnyOf? isLowerScoreBetter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.g.verified.cs new file mode 100644 index 0000000000..fd45896a1e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IFeedbackConfigsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFeedbackConfigsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFeedbackConfigsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IInfoClient.GetServerInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IInfoClient.GetServerInfo.g.verified.cs new file mode 100644 index 0000000000..73f934af90 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IInfoClient.GetServerInfo.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IInfoClient.GetServerInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IInfoClient + { + /// + /// Get Server Info
+ /// Get information about the current deployment of LangSmith. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetServerInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IInfoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IInfoClient.g.verified.cs new file mode 100644 index 0000000000..73f369d217 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IInfoClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IInfoClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IInfoClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ILikesClient.LikeRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ILikesClient.LikeRepo.g.verified.cs new file mode 100644 index 0000000000..493fb5c87f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ILikesClient.LikeRepo.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ILikesClient.LikeRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface ILikesClient + { + /// + /// Like Repo
+ /// Like a repo. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LikeRepoAsync( + string owner, + string repo, + global::G.LikeRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Like Repo
+ /// Like a repo. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LikeRepoAsync( + string owner, + string repo, + bool like, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ILikesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ILikesClient.g.verified.cs new file mode 100644 index 0000000000..ca59354239 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ILikesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ILikesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILikesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.CreateNewModelPrice.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.CreateNewModelPrice.g.verified.cs new file mode 100644 index 0000000000..5904a3ac90 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.CreateNewModelPrice.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IModelPriceMapClient.CreateNewModelPrice.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelPriceMapClient + { + /// + /// Create New Model Price + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateNewModelPriceAsync( + global::G.ModelPriceMapCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create New Model Price + /// + /// + /// + /// + /// Default Value: [model, model_name, model_id, model_path, endpoint_name] + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateNewModelPriceAsync( + string name, + string matchPattern, + global::G.AnyOf promptCost, + global::G.AnyOf completionCost, + global::G.AnyOf? startTime = default, + global::System.Collections.Generic.IList? matchPath = default, + global::G.AnyOf? provider = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.DeleteModelPrice.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.DeleteModelPrice.g.verified.cs new file mode 100644 index 0000000000..7c7e57295f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.DeleteModelPrice.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IModelPriceMapClient.DeleteModelPrice.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelPriceMapClient + { + /// + /// Delete Model Price + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelPriceAsync( + global::System.Guid id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.ReadModelPriceMap.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.ReadModelPriceMap.g.verified.cs new file mode 100644 index 0000000000..8e7214c6c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.ReadModelPriceMap.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IModelPriceMapClient.ReadModelPriceMap.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelPriceMapClient + { + /// + /// Read Model Price Map + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadModelPriceMapAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.UpdateModelPrice.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.UpdateModelPrice.g.verified.cs new file mode 100644 index 0000000000..c0f02e060d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.UpdateModelPrice.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IModelPriceMapClient.UpdateModelPrice.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelPriceMapClient + { + /// + /// Update Model Price + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateModelPriceAsync( + global::System.Guid id, + global::G.ModelPriceMapUpdateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Model Price + /// + /// + /// + /// + /// + /// Default Value: [model, model_name, model_id, model_path, endpoint_name] + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateModelPriceAsync( + global::System.Guid id, + string name, + string matchPattern, + global::G.AnyOf promptCost, + global::G.AnyOf completionCost, + global::G.AnyOf? startTime = default, + global::System.Collections.Generic.IList? matchPath = default, + global::G.AnyOf? provider = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.g.verified.cs new file mode 100644 index 0000000000..2507868049 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IModelPriceMapClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModelPriceMapClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelPriceMapClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddBasicAuthMembersToCurrentOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddBasicAuthMembersToCurrentOrg.g.verified.cs new file mode 100644 index 0000000000..d3f0bbf4ba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddBasicAuthMembersToCurrentOrg.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.AddBasicAuthMembersToCurrentOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Add Basic Auth Members To Current Org
+ /// Batch add up to 500 users to the org and specified workspaces in basic auth mode. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AddBasicAuthMembersToCurrentOrgAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddMemberToCurrentOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddMemberToCurrentOrg.g.verified.cs new file mode 100644 index 0000000000..6ef1dd30fa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddMemberToCurrentOrg.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IOrgsClient.AddMemberToCurrentOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Add Member To Current Org + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddMemberToCurrentOrgAsync( + global::G.PendingIdentityCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add Member To Current Org + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddMemberToCurrentOrgAsync( + string email, + bool readOnly = false, + global::G.AnyOf? roleId = default, + global::G.AnyOf, object>? workspaceIds = default, + global::G.AnyOf? workspaceRoleId = default, + global::G.AnyOf? password = default, + global::G.AnyOf? fullName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddMembersToCurrentOrgBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddMembersToCurrentOrgBatch.g.verified.cs new file mode 100644 index 0000000000..bccf851fc4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.AddMembersToCurrentOrgBatch.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.AddMembersToCurrentOrgBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Add Members To Current Org Batch
+ /// Batch invite up to 500 users to the current org. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AddMembersToCurrentOrgBatchAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ChangePaymentPlan.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ChangePaymentPlan.g.verified.cs new file mode 100644 index 0000000000..c2cee26486 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ChangePaymentPlan.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.ChangePaymentPlan.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Change Payment Plan + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChangePaymentPlanAsync( + global::G.ChangePaymentPlanSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Change Payment Plan + /// + /// + /// Enum for payment plans that the user can change to. Developer plans are permanent and enterprise plans will be changed manually. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChangePaymentPlanAsync( + global::G.ChangePaymentPlanReq tier, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ClaimPendingOrganizationInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ClaimPendingOrganizationInvite.g.verified.cs new file mode 100644 index 0000000000..edc67415ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ClaimPendingOrganizationInvite.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IOrgsClient.ClaimPendingOrganizationInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Claim Pending Organization Invite + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClaimPendingOrganizationInviteAsync( + global::System.Guid organizationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateCustomersAndGetStripeSetupIntent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateCustomersAndGetStripeSetupIntent.g.verified.cs new file mode 100644 index 0000000000..40cd132147 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateCustomersAndGetStripeSetupIntent.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.CreateCustomersAndGetStripeSetupIntent.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create Customers And Get Stripe Setup Intent + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCustomersAndGetStripeSetupIntentAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateOrganizationRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateOrganizationRoles.g.verified.cs new file mode 100644 index 0000000000..12f2d47f7a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateOrganizationRoles.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IOrgsClient.CreateOrganizationRoles.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create Organization Roles + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateOrganizationRolesAsync( + global::G.CreateRoleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Organization Roles + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateOrganizationRolesAsync( + string displayName, + string description, + global::System.Collections.Generic.IList permissions, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteCurrentOrgPendingMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteCurrentOrgPendingMember.g.verified.cs new file mode 100644 index 0000000000..d907eb18b8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteCurrentOrgPendingMember.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.DeleteCurrentOrgPendingMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete Current Org Pending Member
+ /// When an admin deletes a pending member invite. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteCurrentOrgPendingMemberAsync( + global::System.Guid identityId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteOrganizationRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteOrganizationRoles.g.verified.cs new file mode 100644 index 0000000000..b46f94c5ec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteOrganizationRoles.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IOrgsClient.DeleteOrganizationRoles.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete Organization Roles + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteOrganizationRolesAsync( + global::System.Guid roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeletePendingOrganizationInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeletePendingOrganizationInvite.g.verified.cs new file mode 100644 index 0000000000..d63fa47e1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeletePendingOrganizationInvite.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IOrgsClient.DeletePendingOrganizationInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete Pending Organization Invite + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeletePendingOrganizationInviteAsync( + global::System.Guid organizationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCompanyInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCompanyInfo.g.verified.cs new file mode 100644 index 0000000000..c1a12e23d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCompanyInfo.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.GetCompanyInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Company Info + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCompanyInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentOrgMembers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentOrgMembers.g.verified.cs new file mode 100644 index 0000000000..5384cca061 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentOrgMembers.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.GetCurrentOrgMembers.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Current Org Members + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentOrgMembersAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentOrganizationInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentOrganizationInfo.g.verified.cs new file mode 100644 index 0000000000..5db672753f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentOrganizationInfo.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.GetCurrentOrganizationInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Current Organization Info + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentOrganizationInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetDashboard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetDashboard.g.verified.cs new file mode 100644 index 0000000000..ca514faedb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetDashboard.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.GetDashboard.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Dashboard + /// + /// + /// Enum for acceptable types of dashboards. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDashboardAsync( + global::G.OrganizationDashboardType type, + global::G.AnyOf colorScheme, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetOrganizationBillingInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetOrganizationBillingInfo.g.verified.cs new file mode 100644 index 0000000000..01f8160341 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetOrganizationBillingInfo.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.GetOrganizationBillingInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Organization Billing Info + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetOrganizationBillingInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetOrganizationInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetOrganizationInfo.g.verified.cs new file mode 100644 index 0000000000..be702d5ddc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetOrganizationInfo.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.GetOrganizationInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Organization Info + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetOrganizationInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizationRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizationRoles.g.verified.cs new file mode 100644 index 0000000000..80901d842b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizationRoles.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.ListOrganizationRoles.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List Organization Roles + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListOrganizationRolesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs new file mode 100644 index 0000000000..9dd8eba011 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IOrgsClient.ListOrganizations.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List Organizations
+ /// Get all orgs visible to this auth + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListOrganizationsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListPendingOrganizationInvites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListPendingOrganizationInvites.g.verified.cs new file mode 100644 index 0000000000..79d609f2bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListPendingOrganizationInvites.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IOrgsClient.ListPendingOrganizationInvites.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List Pending Organization Invites
+ /// Get all pending orgs visible to this auth + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPendingOrganizationInvitesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListPermissions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListPermissions.g.verified.cs new file mode 100644 index 0000000000..703c48b32c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListPermissions.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.ListPermissions.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List Permissions + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPermissionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListTtlSettings.g.verified.cs new file mode 100644 index 0000000000..e46ec282a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListTtlSettings.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IOrgsClient.ListTtlSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List Ttl Settings
+ /// List out the configured TTL settings for a given org (org-level and tenant-level). + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTtlSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.OnPaymentMethodCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.OnPaymentMethodCreated.g.verified.cs new file mode 100644 index 0000000000..0db774ef55 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.OnPaymentMethodCreated.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IOrgsClient.OnPaymentMethodCreated.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// On Payment Method Created + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OnPaymentMethodCreatedAsync( + global::G.StripePaymentInformation request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// On Payment Method Created + /// + /// + /// Stripe customer billing information. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OnPaymentMethodCreatedAsync( + global::G.StripeCustomerBillingInfo billingInfo, + string setupIntent, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.RemoveMemberFromCurrentOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.RemoveMemberFromCurrentOrg.g.verified.cs new file mode 100644 index 0000000000..2aea60925b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.RemoveMemberFromCurrentOrg.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.RemoveMemberFromCurrentOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove Member From Current Org
+ /// Remove a user from the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RemoveMemberFromCurrentOrgAsync( + global::System.Guid identityId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.SetCompanyInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.SetCompanyInfo.g.verified.cs new file mode 100644 index 0000000000..1f016f551c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.SetCompanyInfo.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IOrgsClient.SetCompanyInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Set Company Info + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetCompanyInfoAsync( + global::G.StripeBusinessInfoInput request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set Company Info + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetCompanyInfoAsync( + global::G.AnyOf? companyInfo = default, + global::G.AnyOf? taxId = default, + global::G.AnyOf? invoiceEmail = default, + bool isBusiness = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentOrgMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentOrgMember.g.verified.cs new file mode 100644 index 0000000000..53f74ab13e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentOrgMember.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IOrgsClient.UpdateCurrentOrgMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Current Org Member
+ /// This is used for updating a user's role (all auth modes) or full_name/password (basic auth) + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentOrgMemberAsync( + global::System.Guid identityId, + global::G.OrgIdentityPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Current Org Member
+ /// This is used for updating a user's role (all auth modes) or full_name/password (basic auth) + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentOrgMemberAsync( + global::System.Guid identityId, + global::G.AnyOf? password = default, + global::G.AnyOf? fullName = default, + global::G.AnyOf? roleId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentUser.g.verified.cs new file mode 100644 index 0000000000..a662f88d82 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentUser.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IOrgsClient.UpdateCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Current User
+ /// Update a user's full_name/password (basic auth only) + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentUserAsync( + global::G.BasicAuthUserPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Current User
+ /// Update a user's full_name/password (basic auth only) + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentUserAsync( + global::G.AnyOf? password = default, + global::G.AnyOf? fullName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateOrganizationRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateOrganizationRoles.g.verified.cs new file mode 100644 index 0000000000..0b8725b159 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateOrganizationRoles.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IOrgsClient.UpdateOrganizationRoles.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Organization Roles + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateOrganizationRolesAsync( + global::System.Guid roleId, + global::G.UpdateRoleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Organization Roles + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateOrganizationRolesAsync( + global::System.Guid roleId, + string displayName, + string description, + global::System.Collections.Generic.IList permissions, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs new file mode 100644 index 0000000000..cdb3881d8b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IOrgsClient.UpsertTtlSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Upsert Ttl Settings + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( + global::G.UpsertOrgOrWorkspaceTTLSettingsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upsert Ttl Settings + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( + global::G.TraceTier3 defaultTraceTier, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.g.verified.cs new file mode 100644 index 0000000000..a80abf1667 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IOrgsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.verified.cs new file mode 100644 index 0000000000..412e984a2a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IPlaygroundSettingsClient + { + /// + /// Create Playground Settings
+ /// Create playground settings. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePlaygroundSettingsAsync( + global::G.PlaygroundSettingsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Playground Settings
+ /// Create playground settings. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePlaygroundSettingsAsync( + global::G.PlaygroundSettingsCreateRequestSettings settings, + global::G.AnyOf? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.DeletePlaygroundSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.DeletePlaygroundSettings.g.verified.cs new file mode 100644 index 0000000000..628349aad5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.DeletePlaygroundSettings.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IPlaygroundSettingsClient.DeletePlaygroundSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IPlaygroundSettingsClient + { + /// + /// Delete Playground Settings
+ /// Delete playground settings. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeletePlaygroundSettingsAsync( + string playgroundSettingsId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.ListPlaygroundSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.ListPlaygroundSettings.g.verified.cs new file mode 100644 index 0000000000..c37aab78a9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.ListPlaygroundSettings.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IPlaygroundSettingsClient.ListPlaygroundSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IPlaygroundSettingsClient + { + /// + /// List Playground Settings
+ /// Get all playground settings for this tenant id. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPlaygroundSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.verified.cs new file mode 100644 index 0000000000..8ed32552f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IPlaygroundSettingsClient + { + /// + /// Update Playground Settings
+ /// Update playground settings. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdatePlaygroundSettingsAsync( + string playgroundSettingsId, + global::G.PlaygroundSettingsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Playground Settings
+ /// Update playground settings. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdatePlaygroundSettingsAsync( + string playgroundSettingsId, + global::G.AnyOf? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.g.verified.cs new file mode 100644 index 0000000000..f25a7a4d9f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPlaygroundSettingsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPlaygroundSettingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPlaygroundSettingsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPromptsClient.InvokePrompt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPromptsClient.InvokePrompt.g.verified.cs new file mode 100644 index 0000000000..6f77b24a37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPromptsClient.InvokePrompt.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPromptsClient.InvokePrompt.g.cs +#nullable enable + +namespace G +{ + public partial interface IPromptsClient + { + /// + /// Invoke Prompt + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InvokePromptAsync( + global::G.InvokePromptPayload request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Invoke Prompt + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InvokePromptAsync( + global::System.Collections.Generic.IList> messages, + string templateFormat, + global::G.InvokePromptPayloadInputs inputs, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPromptsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPromptsClient.g.verified.cs new file mode 100644 index 0000000000..d5e857e3d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPromptsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPromptsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPromptsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs new file mode 100644 index 0000000000..b1edfbf106 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPublicClient.GenerateQueryForSharedDatasetRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Generate Query For Shared Dataset Runs
+ /// Get runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateQueryForSharedDatasetRunsAsync( + global::System.Guid shareToken, + global::G.RequestBodyForRunsGenerateQuery request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate Query For Shared Dataset Runs
+ /// Get runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateQueryForSharedDatasetRunsAsync( + global::System.Guid shareToken, + string query, + global::System.Collections.Generic.IList? feedbackKeys = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GetSharedRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GetSharedRun.g.verified.cs new file mode 100644 index 0000000000..8bd86fc048 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GetSharedRun.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPublicClient.GetSharedRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Get Shared Run
+ /// Get the shared run. + ///
+ /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSharedRunAsync( + global::System.Guid shareToken, + bool excludeS3StoredAttributes = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GetSharedRunById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GetSharedRunById.g.verified.cs new file mode 100644 index 0000000000..633f48d35d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.GetSharedRunById.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPublicClient.GetSharedRunById.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Get Shared Run By Id
+ /// Get the shared run. + ///
+ /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSharedRunByIdAsync( + global::System.Guid id, + global::System.Guid shareToken, + bool excludeS3StoredAttributes = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs new file mode 100644 index 0000000000..633e2c89b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs @@ -0,0 +1,78 @@ +//HintName: G.IPublicClient.QuerySharedDatasetRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Query Shared Dataset Runs
+ /// Get runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QuerySharedDatasetRunsAsync( + global::System.Guid shareToken, + global::G.BodyParamsForRunSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Query Shared Dataset Runs
+ /// Get runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// + /// + /// Default Value: desc + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QuerySharedDatasetRunsAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? trace = default, + global::G.AnyOf? parentRun = default, + global::G.AnyOf? runType = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? referenceExample = default, + global::G.AnyOf? executionOrder = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? error = default, + global::G.AnyOf? query = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? isRoot = default, + global::G.AnyOf? dataSourceType = default, + global::G.AnyOf? cursor = default, + int limit = 100, + global::System.Collections.Generic.IList? select = default, + global::G.AllOf? order = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedRuns.g.verified.cs new file mode 100644 index 0000000000..b897ec33d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedRuns.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IPublicClient.QuerySharedRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Query Shared Runs
+ /// Get run by ids or the shared run if not specifed. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QuerySharedRunsAsync( + global::System.Guid shareToken, + global::G.QueryParamsForPublicRunSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Query Shared Runs
+ /// Get run by ids or the shared run if not specifed. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QuerySharedRunsAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs new file mode 100644 index 0000000000..1fdc4ef3ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IPublicClient.ReadSharedComparativeExperiments.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Comparative Experiments
+ /// Get all comparative experiments for a given dataset. + ///
+ /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSharedComparativeExperimentsAsync( + global::System.Guid shareToken, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + int offset = 0, + int limit = 100, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs new file mode 100644 index 0000000000..b856367ec6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IPublicClient.ReadSharedDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Dataset
+ /// Get dataset by ids or the shared dataset if not specifed. + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: last_session_start_time + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSharedDatasetAsync( + global::System.Guid shareToken, + int offset = 0, + int limit = 100, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs new file mode 100644 index 0000000000..b847bfed8b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Dataset Examples With Runs
+ /// Get examples with associated runs from sessions in a dataset that has been shared. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadSharedDatasetExamplesWithRunsAsync( + global::System.Guid shareToken, + global::G.QueryExampleSchemaWithRuns request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Shared Dataset Examples With Runs
+ /// Get examples with associated runs from sessions in a dataset that has been shared. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadSharedDatasetExamplesWithRunsAsync( + global::System.Guid shareToken, + global::System.Collections.Generic.IList sessionIds, + global::G.AnyOf? comparativeExperimentId = default, + global::G.AnyOf? filters = default, + int offset = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetFeedback.g.verified.cs new file mode 100644 index 0000000000..a40ed2ef73 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetFeedback.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IPublicClient.ReadSharedDatasetFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Dataset Feedback
+ /// Get feedback for runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSharedDatasetFeedbackAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? run = default, + global::G.AnyOf, object>? key = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? source = default, + int limit = 100, + int offset = 0, + global::G.AnyOf, object>? user = default, + global::G.AnyOf? hasComment = default, + global::G.AnyOf? hasScore = default, + global::G.AnyOf? level = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetRun.g.verified.cs new file mode 100644 index 0000000000..42c9256518 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPublicClient.ReadSharedDatasetRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Dataset Run
+ /// Get runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSharedDatasetRunAsync( + global::System.Guid runId, + global::System.Guid shareToken, + bool excludeS3StoredAttributes = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs new file mode 100644 index 0000000000..6af0b15b47 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IPublicClient.ReadSharedDatasetTracerSessions.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Dataset Tracer Sessions
+ /// Get projects run on a dataset that has been shared. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: start_time + /// + /// + /// Default Value: true + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSharedDatasetTracerSessionsAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + global::G.AnyOf? datasetVersion = default, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::G.AnyOf? sortByFeedbackKey = default, + int offset = 0, + int limit = 100, + bool facets = false, + global::G.AnyOf? accept = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDelta.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDelta.g.verified.cs new file mode 100644 index 0000000000..a4ecfc4217 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDelta.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IPublicClient.ReadSharedDelta.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Delta
+ /// Fetch the number of regressions/improvements for each example in a dataset, between sessions[0] and sessions[1]. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSharedDeltaAsync( + global::System.Guid shareToken, + global::G.QueryFeedbackDelta request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Shared Delta
+ /// Fetch the number of regressions/improvements for each example in a dataset, between sessions[0] and sessions[1]. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSharedDeltaAsync( + global::System.Guid shareToken, + global::System.Guid baselineSessionId, + global::System.Collections.Generic.IList comparisonSessionIds, + string feedbackKey, + global::G.AnyOf? filters = default, + int offset = 0, + int limit = 100, + global::G.AnyOf? comparativeExperimentId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedExamples.g.verified.cs new file mode 100644 index 0000000000..876ef3a247 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedExamples.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IPublicClient.ReadSharedExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Examples
+ /// Get example by ids or the shared example if not specifed. + ///
+ /// + /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: [id, created_at, modified_at, name, dataset_id, metadata, inputs, outputs] + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSharedExamplesAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + int offset = 0, + int limit = 100, + global::System.Collections.Generic.IList? select = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedFeedbacks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedFeedbacks.g.verified.cs new file mode 100644 index 0000000000..1b8d1e84bb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedFeedbacks.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IPublicClient.ReadSharedFeedbacks.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Feedbacks + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSharedFeedbacksAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? run = default, + global::G.AnyOf, object>? key = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? source = default, + int limit = 100, + int offset = 0, + global::G.AnyOf, object>? user = default, + global::G.AnyOf? hasComment = default, + global::G.AnyOf? hasScore = default, + global::G.AnyOf? level = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.StatsSharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.StatsSharedDatasetRuns.g.verified.cs new file mode 100644 index 0000000000..d8c53c06af --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.StatsSharedDatasetRuns.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IPublicClient.StatsSharedDatasetRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Stats Shared Dataset Runs
+ /// Get run stats in projects run over a dataset that has been shared. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsSharedDatasetRunsAsync( + global::System.Guid shareToken, + global::G.FilterQueryParamsForRunSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Stats Shared Dataset Runs
+ /// Get run stats in projects run over a dataset that has been shared. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsSharedDatasetRunsAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? trace = default, + global::G.AnyOf? parentRun = default, + global::G.AnyOf? runType = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? referenceExample = default, + global::G.AnyOf? executionOrder = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? error = default, + global::G.AnyOf? query = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? isRoot = default, + global::G.AnyOf? dataSourceType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.g.verified.cs new file mode 100644 index 0000000000..2d2c4ef514 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPublicClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPublicClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.CreateRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.CreateRepo.g.verified.cs new file mode 100644 index 0000000000..fc14d7b4ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.CreateRepo.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IReposClient.CreateRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create Repo
+ /// Create a repo. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRepoAsync( + global::G.CreateRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Repo
+ /// Create a repo. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRepoAsync( + string repoHandle, + bool isPublic, + global::G.AnyOf? description = default, + global::G.AnyOf? readme = default, + global::G.AnyOf, object>? tags = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.DeleteRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.DeleteRepo.g.verified.cs new file mode 100644 index 0000000000..432ec19834 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.DeleteRepo.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.DeleteRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete Repo
+ /// Delete a repo. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ForkRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ForkRepo.g.verified.cs new file mode 100644 index 0000000000..813f62a14b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ForkRepo.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IReposClient.ForkRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Fork Repo
+ /// Fork a repo. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ForkRepoAsync( + string owner, + string repo, + global::G.ForkRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Fork Repo
+ /// Fork a repo. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ForkRepoAsync( + string owner, + string repo, + string repoHandle, + global::G.AnyOf? readme = default, + global::G.AnyOf? description = default, + global::G.AnyOf, object>? tags = default, + global::G.AnyOf? isPublic = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.GetRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.GetRepo.g.verified.cs new file mode 100644 index 0000000000..9b920254ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.GetRepo.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.GetRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get Repo
+ /// Get a repo. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepoTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepoTags.g.verified.cs new file mode 100644 index 0000000000..1932250523 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepoTags.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IReposClient.ListRepoTags.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List Repo Tags
+ /// Get all repo tags. + ///
+ /// + /// Default Value: 20 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListRepoTagsAsync( + int limit = 20, + int offset = 0, + global::G.AnyOf? tenantHandle = default, + global::G.AnyOf? tenantId = default, + global::G.AnyOf? query = default, + global::G.AnyOf? hasCommits = default, + global::G.AnyOf, object>? tags = default, + global::G.AnyOf? isArchived = default, + global::G.AnyOf? isPublic = default, + global::G.AnyOf? upstreamRepoOwner = default, + global::G.AnyOf? upstreamRepoHandle = default, + global::G.AnyOf? matchPrefix = default, + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepos.g.verified.cs new file mode 100644 index 0000000000..94398518cf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepos.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IReposClient.ListRepos.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List Repos
+ /// Get all repos. + ///
+ /// + /// Default Value: 20 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListReposAsync( + int limit = 20, + int offset = 0, + global::G.AnyOf? tenantHandle = default, + global::G.AnyOf? tenantId = default, + global::G.AnyOf? query = default, + global::G.AnyOf? hasCommits = default, + global::G.AnyOf, object>? tags = default, + global::G.AnyOf? isArchived = default, + global::G.AnyOf? isPublic = default, + global::G.AnyOf? upstreamRepoOwner = default, + global::G.AnyOf? upstreamRepoHandle = default, + global::G.AnyOf? matchPrefix = default, + global::G.AnyOf, object>? tagValueId = default, + global::G.AnyOf? sortField = default, + global::G.AnyOf? sortDirection = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.UpdateRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.UpdateRepo.g.verified.cs new file mode 100644 index 0000000000..08fc0f03de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.UpdateRepo.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IReposClient.UpdateRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update Repo
+ /// Update a repo. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRepoAsync( + string owner, + string repo, + global::G.UpdateRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Repo
+ /// Update a repo. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRepoAsync( + string owner, + string repo, + global::G.AnyOf? description = default, + global::G.AnyOf? readme = default, + global::G.AnyOf, object>? tags = default, + global::G.AnyOf? isPublic = default, + global::G.AnyOf? isArchived = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.g.verified.cs new file mode 100644 index 0000000000..66b98c1e62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IReposClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.BatchIngestRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.BatchIngestRuns.g.verified.cs new file mode 100644 index 0000000000..1993273971 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.BatchIngestRuns.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IRunClient.BatchIngestRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Batch Ingest Runs
+ /// Batch ingest runs. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BatchIngestRunsAsync( + global::G.BatchIngestRunsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Batch Ingest Runs
+ /// Batch ingest runs. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BatchIngestRunsAsync( + global::System.Collections.Generic.IList? post = default, + global::System.Collections.Generic.IList? patch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRule.g.verified.cs new file mode 100644 index 0000000000..1de4e6017e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRule.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IRunClient.CreateRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Create Rule
+ /// Create a new run rule. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRuleAsync( + global::G.RunRulesCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Rule
+ /// Create a new run rule. + ///
+ /// + /// + /// + /// Default Value: true + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRuleAsync( + string displayName, + double samplingRate, + global::G.AnyOf? sessionId = default, + bool isEnabled = true, + global::G.AnyOf? datasetId = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? backfillFrom = default, + bool useCorrectionsDataset = false, + global::G.AnyOf? numFewShotExamples = default, + bool extendOnly = false, + global::G.AnyOf? addToAnnotationQueueId = default, + global::G.AnyOf? addToDatasetId = default, + bool addToDatasetPreferCorrection = false, + global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? alerts = default, + global::G.AnyOf, object>? webhooks = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRun.g.verified.cs new file mode 100644 index 0000000000..7adb562d99 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRun.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IRunClient.CreateRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Create Run
+ /// Create a new run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRunAsync( + global::G.CreateRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Run
+ /// Create a new run. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRunAsync( + string name, + global::G.CreateRunRequestRunType runType, + global::G.OneOf? inputs = default, + global::G.OneOf? startTime = default, + global::G.OneOf? endTime = default, + global::G.OneOf? extra = default, + global::G.OneOf? error = default, + global::G.OneOf? serialized = default, + global::G.OneOf? outputs = default, + global::G.OneOf? parentRunId = default, + global::G.OneOf, object>? events = default, + global::G.OneOf, object>? tags = default, + global::G.OneOf? traceId = default, + global::G.OneOf? dottedOrder = default, + global::G.OneOf? id = default, + global::G.OneOf? sessionId = default, + global::G.OneOf? sessionName = default, + global::G.OneOf? referenceExampleId = default, + global::G.OneOf? inputAttachments = default, + global::G.OneOf? outputAttachments = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.DeleteRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.DeleteRule.g.verified.cs new file mode 100644 index 0000000000..02ca862245 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.DeleteRule.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunClient.DeleteRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Delete Rule
+ /// Delete a run rule. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteRuleAsync( + global::System.Guid ruleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.GenerateQueryForRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.GenerateQueryForRuns.g.verified.cs new file mode 100644 index 0000000000..8c720cc9cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.GenerateQueryForRuns.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IRunClient.GenerateQueryForRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Generate Query For Runs
+ /// Get runs filter expression query for a given natural language query. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateQueryForRunsAsync( + global::G.RequestBodyForRunsGenerateQuery request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate Query For Runs
+ /// Get runs filter expression query for a given natural language query. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateQueryForRunsAsync( + string query, + global::System.Collections.Generic.IList? feedbackKeys = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.GroupRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.GroupRuns.g.verified.cs new file mode 100644 index 0000000000..4929a32e7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.GroupRuns.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IRunClient.GroupRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Group Runs
+ /// Get runs grouped by an expression + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GroupRunsAsync( + global::G.RunGroupRequest request, + global::G.AnyOf? accept = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Group Runs
+ /// Get runs grouped by an expression + ///
+ /// + /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GroupRunsAsync( + global::System.Guid sessionId, + global::G.AnyOf? accept = default, + global::G.RunGroupBy groupBy = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRuleLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRuleLogs.g.verified.cs new file mode 100644 index 0000000000..31291f2696 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRuleLogs.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IRunClient.ListRuleLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// List Rule Logs
+ /// List logs for a particular rule + ///
+ /// + /// + /// Default Value: 720 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListRuleLogsAsync( + global::System.Guid ruleId, + int limit = 720, + int offset = 0, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRules.g.verified.cs new file mode 100644 index 0000000000..68f307ccf6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRules.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IRunClient.ListRules.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// List Rules
+ /// List all run rules. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListRulesAsync( + global::G.AnyOf? datasetId = default, + global::G.AnyOf? sessionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs new file mode 100644 index 0000000000..efbb3342ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IRunClient.MonitorTracerSession.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Monitor Tracer Session
+ /// Get monitoring data for a specific session. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MonitorTracerSessionAsync( + global::G.MonitorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Monitor Tracer Session
+ /// Get monitoring data for a specific session. + ///
+ /// + /// Default Value: UTC + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MonitorTracerSessionAsync( + global::System.Collections.Generic.IList groups, + string? timezone = "UTC", + global::G.AllOf? interval = default, + global::G.AllOf? stride = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.QueryRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.QueryRuns.g.verified.cs new file mode 100644 index 0000000000..6aa447cf9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.QueryRuns.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IRunClient.QueryRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Query Runs + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QueryRunsAsync( + global::G.BodyParamsForRunSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Query Runs + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// + /// + /// Default Value: desc + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QueryRunsAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf? trace = default, + global::G.AnyOf? parentRun = default, + global::G.AnyOf? runType = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? referenceExample = default, + global::G.AnyOf? executionOrder = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? error = default, + global::G.AnyOf? query = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? isRoot = default, + global::G.AnyOf? dataSourceType = default, + global::G.AnyOf? cursor = default, + int limit = 100, + global::System.Collections.Generic.IList? select = default, + global::G.AllOf? order = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ReadRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ReadRun.g.verified.cs new file mode 100644 index 0000000000..34cd99ebaa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ReadRun.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IRunClient.ReadRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Read Run
+ /// Get a specific run. + ///
+ /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadRunAsync( + global::System.Guid runId, + bool excludeS3StoredAttributes = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ReadRunShareState.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ReadRunShareState.g.verified.cs new file mode 100644 index 0000000000..d6dee0d664 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ReadRunShareState.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunClient.ReadRunShareState.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Read Run Share State
+ /// Get the state of sharing of a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadRunShareStateAsync( + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ShareRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ShareRun.g.verified.cs new file mode 100644 index 0000000000..1e36264265 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ShareRun.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunClient.ShareRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Share Run
+ /// Share a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShareRunAsync( + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.StatsGroupRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.StatsGroupRuns.g.verified.cs new file mode 100644 index 0000000000..f39b34b6fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.StatsGroupRuns.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IRunClient.StatsGroupRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Stats Group Runs
+ /// Get stats for the grouped runs. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsGroupRunsAsync( + global::G.RunGroupRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Stats Group Runs
+ /// Get stats for the grouped runs. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsGroupRunsAsync( + global::System.Guid sessionId, + global::G.RunGroupBy groupBy = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.StatsRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.StatsRuns.g.verified.cs new file mode 100644 index 0000000000..3b47c420d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.StatsRuns.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IRunClient.StatsRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Stats Runs
+ /// Get all runs by query in body payload. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsRunsAsync( + global::G.FilterQueryParamsForRunSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Stats Runs
+ /// Get all runs by query in body payload. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsRunsAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf? trace = default, + global::G.AnyOf? parentRun = default, + global::G.AnyOf? runType = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? referenceExample = default, + global::G.AnyOf? executionOrder = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? error = default, + global::G.AnyOf? query = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? isRoot = default, + global::G.AnyOf? dataSourceType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.TriggerRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.TriggerRule.g.verified.cs new file mode 100644 index 0000000000..bb2137d10d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.TriggerRule.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunClient.TriggerRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Trigger Rule
+ /// Trigger a run rule manually. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TriggerRuleAsync( + global::System.Guid ruleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UnshareRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UnshareRun.g.verified.cs new file mode 100644 index 0000000000..e22edbc862 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UnshareRun.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunClient.UnshareRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Unshare Run
+ /// Unshare a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnshareRunAsync( + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRule.g.verified.cs new file mode 100644 index 0000000000..b0af6882de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRule.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.IRunClient.UpdateRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Update Rule
+ /// Update a run rule. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRuleAsync( + global::System.Guid ruleId, + global::G.RunRulesCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Rule
+ /// Update a run rule. + ///
+ /// + /// + /// + /// + /// Default Value: true + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRuleAsync( + global::System.Guid ruleId, + string displayName, + double samplingRate, + global::G.AnyOf? sessionId = default, + bool isEnabled = true, + global::G.AnyOf? datasetId = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? backfillFrom = default, + bool useCorrectionsDataset = false, + global::G.AnyOf? numFewShotExamples = default, + bool extendOnly = false, + global::G.AnyOf? addToAnnotationQueueId = default, + global::G.AnyOf? addToDatasetId = default, + bool addToDatasetPreferCorrection = false, + global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? alerts = default, + global::G.AnyOf, object>? webhooks = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRun.g.verified.cs new file mode 100644 index 0000000000..c9f210bc78 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRun.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IRunClient.UpdateRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Update Run
+ /// Update a run. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRunAsync( + global::System.Guid runId, + global::G.UpdateRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Run
+ /// Update a run. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRunAsync( + global::System.Guid runId, + global::G.OneOf? traceId = default, + global::G.OneOf? dottedOrder = default, + global::G.OneOf? parentRunId = default, + global::G.OneOf? endTime = default, + global::G.OneOf? error = default, + global::G.OneOf? inputs = default, + global::G.OneOf? outputs = default, + global::G.OneOf, object>? events = default, + global::G.OneOf, object>? tags = default, + global::G.OneOf? extra = default, + global::G.OneOf? inputAttachments = default, + global::G.OneOf? outputAttachments = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.g.verified.cs new file mode 100644 index 0000000000..948547388b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRunClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRunClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.CreateServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.CreateServiceAccount.g.verified.cs new file mode 100644 index 0000000000..dacaf2c48a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.CreateServiceAccount.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IServiceAccountsClient.CreateServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IServiceAccountsClient + { + /// + /// Create Service Account
+ /// Create a service account + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateServiceAccountAsync( + global::G.ServiceAccountCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Service Account
+ /// Create a service account + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateServiceAccountAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.DeleteServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.DeleteServiceAccount.g.verified.cs new file mode 100644 index 0000000000..c175542e20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.DeleteServiceAccount.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IServiceAccountsClient.DeleteServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IServiceAccountsClient + { + /// + /// Delete Service Account
+ /// Delete a service account + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteServiceAccountAsync( + global::System.Guid serviceAccountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.GetServiceAccounts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.GetServiceAccounts.g.verified.cs new file mode 100644 index 0000000000..b2fa3e845a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.GetServiceAccounts.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IServiceAccountsClient.GetServiceAccounts.g.cs +#nullable enable + +namespace G +{ + public partial interface IServiceAccountsClient + { + /// + /// Get Service Accounts
+ /// Get the current organization's service accounts. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetServiceAccountsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.g.verified.cs new file mode 100644 index 0000000000..04d8fd694a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IServiceAccountsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IServiceAccountsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IServiceAccountsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.GetSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.GetSettings.g.verified.cs new file mode 100644 index 0000000000..de85a6a9de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.GetSettings.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISettingsClient.GetSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface ISettingsClient + { + /// + /// Get Settings
+ /// Get settings. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.SetTenantHandle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.SetTenantHandle.g.verified.cs new file mode 100644 index 0000000000..24bb9ac3ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.SetTenantHandle.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ISettingsClient.SetTenantHandle.g.cs +#nullable enable + +namespace G +{ + public partial interface ISettingsClient + { + /// + /// Set Tenant Handle
+ /// Set tenant handle. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetTenantHandleAsync( + global::G.SetTenantHandleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set Tenant Handle
+ /// Set tenant handle. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetTenantHandleAsync( + string tenantHandle, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.g.verified.cs new file mode 100644 index 0000000000..249644b837 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ISettingsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISettingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISettingsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.CreateTenant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.CreateTenant.g.verified.cs new file mode 100644 index 0000000000..4493a9c05b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.CreateTenant.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.ITenantClient.CreateTenant.g.cs +#nullable enable + +namespace G +{ + public partial interface ITenantClient + { + /// + /// Create Tenant
+ /// Create a new organization and corresponding workspace. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTenantAsync( + global::G.TenantCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Tenant
+ /// Create a new organization and corresponding workspace. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTenantAsync( + string displayName, + global::System.Guid id = default, + global::G.AnyOf? organizationId = default, + global::G.AnyOf? tenantHandle = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.ListTenants.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.ListTenants.g.verified.cs new file mode 100644 index 0000000000..8c1bff4511 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.ListTenants.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITenantClient.ListTenants.g.cs +#nullable enable + +namespace G +{ + public partial interface ITenantClient + { + /// + /// List Tenants
+ /// Get all tenants visible to this auth + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTenantsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.g.verified.cs new file mode 100644 index 0000000000..d5773ab51c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITenantClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITenantClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs new file mode 100644 index 0000000000..1d35d586c5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ITracerSessionsClient.CreateFilterView.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Create Filter View
+ /// Create a new filter view. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFilterViewAsync( + global::System.Guid sessionId, + global::G.FilterViewCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Filter View
+ /// Create a new filter view. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFilterViewAsync( + global::System.Guid sessionId, + string filterString, + string displayName, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateTracerSession.g.verified.cs new file mode 100644 index 0000000000..0d3c6a93c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateTracerSession.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.ITracerSessionsClient.CreateTracerSession.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Create Tracer Session
+ /// Create a new session. + ///
+ /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTracerSessionAsync( + global::G.TracerSessionCreate request, + bool upsert = false, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Tracer Session
+ /// Create a new session. + ///
+ /// + /// Default Value: false + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTracerSessionAsync( + bool upsert = false, + global::System.DateTime startTime = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? extra = default, + string? name = default, + global::G.AnyOf? description = default, + global::G.AnyOf? defaultDatasetId = default, + global::G.AnyOf? referenceDatasetId = default, + global::G.AnyOf? traceTier = default, + global::G.AnyOf? id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteFilterView.g.verified.cs new file mode 100644 index 0000000000..0ab704153b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteFilterView.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ITracerSessionsClient.DeleteFilterView.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Delete Filter View
+ /// Delete a specific filter view. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteFilterViewAsync( + global::System.Guid sessionId, + global::System.Guid viewId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteTracerSession.g.verified.cs new file mode 100644 index 0000000000..220e99d0a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteTracerSession.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITracerSessionsClient.DeleteTracerSession.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Delete Tracer Session
+ /// Delete a specific session. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTracerSessionAsync( + global::System.Guid sessionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteTracerSessions.g.verified.cs new file mode 100644 index 0000000000..80eb598627 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.DeleteTracerSessions.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITracerSessionsClient.DeleteTracerSessions.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Delete Tracer Sessions
+ /// Delete a specific session. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTracerSessionsAsync( + global::System.Collections.Generic.IList sessionIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadFilterView.g.verified.cs new file mode 100644 index 0000000000..28cadf14b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadFilterView.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ITracerSessionsClient.ReadFilterView.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Read Filter View
+ /// Get a specific filter view. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadFilterViewAsync( + global::System.Guid sessionId, + global::System.Guid viewId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadFilterViews.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadFilterViews.g.verified.cs new file mode 100644 index 0000000000..be826c168f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadFilterViews.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITracerSessionsClient.ReadFilterViews.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Read Filter Views
+ /// Get all filter views for a session. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadFilterViewsAsync( + global::System.Guid sessionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSession.g.verified.cs new file mode 100644 index 0000000000..5e6f8b3aed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSession.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITracerSessionsClient.ReadTracerSession.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Read Tracer Session
+ /// Get a specific session. + ///
+ /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadTracerSessionAsync( + global::System.Guid sessionId, + bool includeStats = false, + global::G.AnyOf? accept = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs new file mode 100644 index 0000000000..609fe2a37c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.ITracerSessionsClient.ReadTracerSessions.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Read Tracer Sessions
+ /// Get all sessions. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// Default Value: start_time + /// + /// + /// Default Value: true + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadTracerSessionsAsync( + global::G.AnyOf? referenceFree = default, + global::G.AnyOf, object>? referenceDataset = default, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + global::G.AnyOf? datasetVersion = default, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::G.AnyOf? metadata = default, + global::G.AnyOf? sortByFeedbackKey = default, + int offset = 0, + int limit = 100, + global::G.AnyOf, object>? tagValueId = default, + bool facets = false, + global::G.AnyOf? accept = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessionsRunsMetadata.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessionsRunsMetadata.g.verified.cs new file mode 100644 index 0000000000..a65f237f73 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessionsRunsMetadata.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.ITracerSessionsClient.ReadTracerSessionsRunsMetadata.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Read Tracer Sessions Runs Metadata
+ /// Given a session, a number K, and (optionally) a list of metadata keys, return the top K values for each key. + ///
+ /// + /// + /// + /// + /// Default Value: 10 + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadTracerSessionsRunsMetadataAsync( + global::System.Guid sessionId, + global::G.AnyOf, object>? metadataKeys = default, + global::G.AnyOf? startTime = default, + int k = 10, + bool rootRunsOnly = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs new file mode 100644 index 0000000000..dda54d1681 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.ITracerSessionsClient.UpdateFilterView.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Update Filter View
+ /// Update a filter view. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFilterViewAsync( + global::System.Guid sessionId, + global::System.Guid viewId, + global::G.FilterViewUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Filter View
+ /// Update a filter view. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFilterViewAsync( + global::System.Guid sessionId, + global::System.Guid viewId, + global::G.AnyOf? filterString = default, + global::G.AnyOf? displayName = default, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateTracerSession.g.verified.cs new file mode 100644 index 0000000000..86637f3d79 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateTracerSession.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ITracerSessionsClient.UpdateTracerSession.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Update Tracer Session
+ /// Create a new session. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTracerSessionAsync( + global::System.Guid sessionId, + global::G.TracerSessionUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Tracer Session
+ /// Create a new session. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTracerSessionAsync( + global::System.Guid sessionId, + global::G.AnyOf? name = default, + global::G.AnyOf? description = default, + global::G.AnyOf? defaultDatasetId = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? extra = default, + global::G.AnyOf? traceTier = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.g.verified.cs new file mode 100644 index 0000000000..e7d2b5bc37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITracerSessionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITracerSessionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.ListTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.ListTtlSettings.g.verified.cs new file mode 100644 index 0000000000..8524cfbcd8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.ListTtlSettings.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITtlSettingsClient.ListTtlSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface ITtlSettingsClient + { + /// + /// List Ttl Settings
+ /// List out the configured TTL settings for a given tenant. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTtlSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs new file mode 100644 index 0000000000..720b701a46 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITtlSettingsClient.UpsertTtlSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface ITtlSettingsClient + { + /// + /// Upsert Ttl Settings + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( + global::G.UpsertTTLSettingsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upsert Ttl Settings + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( + global::G.TraceTier3 defaultTraceTier, + global::G.AnyOf? tenantId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.g.verified.cs new file mode 100644 index 0000000000..446c87060f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITtlSettingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITtlSettingsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.DeleteUsageLimit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.DeleteUsageLimit.g.verified.cs new file mode 100644 index 0000000000..3cd65465f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.DeleteUsageLimit.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsageLimitsClient.DeleteUsageLimit.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsageLimitsClient + { + /// + /// Delete Usage Limit
+ /// Delete a specific usage limit. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteUsageLimitAsync( + global::System.Guid usageLimitId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.ListOrgUsageLimits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.ListOrgUsageLimits.g.verified.cs new file mode 100644 index 0000000000..8566391f01 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.ListOrgUsageLimits.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUsageLimitsClient.ListOrgUsageLimits.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsageLimitsClient + { + /// + /// List Org Usage Limits
+ /// List out the configured usage limits for a given organization. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListOrgUsageLimitsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.ListUsageLimits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.ListUsageLimits.g.verified.cs new file mode 100644 index 0000000000..c1b3997ded --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.ListUsageLimits.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUsageLimitsClient.ListUsageLimits.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsageLimitsClient + { + /// + /// List Usage Limits
+ /// List out the configured usage limits for a given tenant. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListUsageLimitsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.UpsertUsageLimit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.UpsertUsageLimit.g.verified.cs new file mode 100644 index 0000000000..8f53fd96bc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.UpsertUsageLimit.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IUsageLimitsClient.UpsertUsageLimit.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsageLimitsClient + { + /// + /// Upsert Usage Limit
+ /// Create a new usage limit. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertUsageLimitAsync( + global::G.UpsertUsageLimit request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upsert Usage Limit
+ /// Create a new usage limit. + ///
+ /// + /// Type of usage limit. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertUsageLimitAsync( + global::G.UsageLimitType2 limitType, + int limitValue, + global::System.Guid id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.g.verified.cs new file mode 100644 index 0000000000..06f194b3af --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IUsageLimitsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsageLimitsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsageLimitsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.AddMemberToCurrentWorkspace.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.AddMemberToCurrentWorkspace.g.verified.cs new file mode 100644 index 0000000000..4aaaa3a9b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.AddMemberToCurrentWorkspace.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IWorkspacesClient.AddMemberToCurrentWorkspace.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Add Member To Current Workspace
+ /// Add an existing organization member to the current workspace. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddMemberToCurrentWorkspaceAsync( + global::G.IdentityCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add Member To Current Workspace
+ /// Add an existing organization member to the current workspace. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddMemberToCurrentWorkspaceAsync( + global::System.Guid userId, + global::G.AnyOf? readOnly = default, + global::G.AnyOf? roleId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.AddMembersToCurrentWorkspaceBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.AddMembersToCurrentWorkspaceBatch.g.verified.cs new file mode 100644 index 0000000000..4d3b8d4133 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.AddMembersToCurrentWorkspaceBatch.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IWorkspacesClient.AddMembersToCurrentWorkspaceBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Add Members To Current Workspace Batch
+ /// Batch invite up to 500 users to the current workspace and organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AddMembersToCurrentWorkspaceBatchAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.BulkUnshareEntities.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.BulkUnshareEntities.g.verified.cs new file mode 100644 index 0000000000..d5d60760db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.BulkUnshareEntities.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IWorkspacesClient.BulkUnshareEntities.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Bulk Unshare Entities
+ /// Bulk unshare entities by share tokens for the workspace. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BulkUnshareEntitiesAsync( + global::G.TenantBulkUnshareRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Bulk Unshare Entities
+ /// Bulk unshare entities by share tokens for the workspace. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BulkUnshareEntitiesAsync( + global::System.Collections.Generic.IList? shareTokens = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagKey.g.verified.cs new file mode 100644 index 0000000000..b4d73a21ba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagKey.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IWorkspacesClient.CreateTagKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Create Tag Key + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTagKeyAsync( + global::G.TagKeyCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Tag Key + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTagKeyAsync( + string key, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagValue.g.verified.cs new file mode 100644 index 0000000000..0422d83408 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagValue.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IWorkspacesClient.CreateTagValue.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Create Tag Value + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTagValueAsync( + global::System.Guid tagKeyId, + global::G.TagValueCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Tag Value + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTagValueAsync( + global::System.Guid tagKeyId, + string value, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagging.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagging.g.verified.cs new file mode 100644 index 0000000000..3939fb9144 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateTagging.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IWorkspacesClient.CreateTagging.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Create Tagging + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTaggingAsync( + global::G.TaggingCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Tagging + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTaggingAsync( + global::System.Guid tagValueId, + global::G.ResourceType resourceType, + global::System.Guid resourceId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateWorkspace.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateWorkspace.g.verified.cs new file mode 100644 index 0000000000..6b9146468f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.CreateWorkspace.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IWorkspacesClient.CreateWorkspace.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Create Workspace
+ /// Create a new workspace. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateWorkspaceAsync( + global::G.WorkspaceCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Workspace
+ /// Create a new workspace. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateWorkspaceAsync( + string displayName, + global::System.Guid id = default, + global::G.AnyOf? tenantHandle = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteCurrentWorkspaceMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteCurrentWorkspaceMember.g.verified.cs new file mode 100644 index 0000000000..ef907ce41b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteCurrentWorkspaceMember.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.DeleteCurrentWorkspaceMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Current Workspace Member + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteCurrentWorkspaceMemberAsync( + global::System.Guid identityId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteCurrentWorkspacePendingMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteCurrentWorkspacePendingMember.g.verified.cs new file mode 100644 index 0000000000..f521410d62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteCurrentWorkspacePendingMember.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.DeleteCurrentWorkspacePendingMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Current Workspace Pending Member + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteCurrentWorkspacePendingMemberAsync( + global::System.Guid identityId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeletePendingWorkspaceInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeletePendingWorkspaceInvite.g.verified.cs new file mode 100644 index 0000000000..eefdb8832d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeletePendingWorkspaceInvite.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.DeletePendingWorkspaceInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Pending Workspace Invite + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeletePendingWorkspaceInviteAsync( + global::System.Guid id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagKey.g.verified.cs new file mode 100644 index 0000000000..240af142e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagKey.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.DeleteTagKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Tag Key + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTagKeyAsync( + global::System.Guid tagKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagValue.g.verified.cs new file mode 100644 index 0000000000..571a7d124a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagValue.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IWorkspacesClient.DeleteTagValue.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Tag Value + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTagValueAsync( + global::System.Guid tagKeyId, + global::System.Guid tagValueId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagging.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagging.g.verified.cs new file mode 100644 index 0000000000..334c5446ec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.DeleteTagging.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.DeleteTagging.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Tagging + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTaggingAsync( + global::System.Guid taggingId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceMembers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceMembers.g.verified.cs new file mode 100644 index 0000000000..bc57c880aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceMembers.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IWorkspacesClient.GetCurrentWorkspaceMembers.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Current Workspace Members + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentWorkspaceMembersAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceStats.g.verified.cs new file mode 100644 index 0000000000..9d041c3c4c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceStats.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.GetCurrentWorkspaceStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Current Workspace Stats + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentWorkspaceStatsAsync( + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceUsageLimitsInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceUsageLimitsInfo.g.verified.cs new file mode 100644 index 0000000000..7180b22291 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetCurrentWorkspaceUsageLimitsInfo.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IWorkspacesClient.GetCurrentWorkspaceUsageLimitsInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Current Workspace Usage Limits Info + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentWorkspaceUsageLimitsInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetSharedTokens.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetSharedTokens.g.verified.cs new file mode 100644 index 0000000000..0ab9bae48f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetSharedTokens.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IWorkspacesClient.GetSharedTokens.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Shared Tokens
+ /// List all shared entities and their tokens by the workspace. + ///
+ /// + /// Default Value: 50 + /// + /// + /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSharedTokensAsync( + int limit = 50, + int offset = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetTagKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetTagKey.g.verified.cs new file mode 100644 index 0000000000..7ecb221249 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetTagKey.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.GetTagKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Tag Key + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTagKeyAsync( + global::System.Guid tagKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetTagValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetTagValue.g.verified.cs new file mode 100644 index 0000000000..243fabc6fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.GetTagValue.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IWorkspacesClient.GetTagValue.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Tag Value + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTagValueAsync( + global::System.Guid tagKeyId, + global::System.Guid tagValueId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListCurrentWorkspaceSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListCurrentWorkspaceSecrets.g.verified.cs new file mode 100644 index 0000000000..4802c120b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListCurrentWorkspaceSecrets.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IWorkspacesClient.ListCurrentWorkspaceSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Current Workspace Secrets + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListCurrentWorkspaceSecretsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListPendingWorkspaceInvites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListPendingWorkspaceInvites.g.verified.cs new file mode 100644 index 0000000000..600c73b26f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListPendingWorkspaceInvites.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IWorkspacesClient.ListPendingWorkspaceInvites.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Pending Workspace Invites
+ /// Get all workspaces visible to this auth + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPendingWorkspaceInvitesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagKeys.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagKeys.g.verified.cs new file mode 100644 index 0000000000..2511053ad4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagKeys.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IWorkspacesClient.ListTagKeys.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Tag Keys + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTagKeysAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagValues.g.verified.cs new file mode 100644 index 0000000000..49e2188d5d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagValues.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.ListTagValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Tag Values + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTagValuesAsync( + global::System.Guid tagKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTaggings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTaggings.g.verified.cs new file mode 100644 index 0000000000..0f560ff71b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTaggings.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.ListTaggings.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Taggings + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTaggingsAsync( + global::G.AnyOf? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTags.g.verified.cs new file mode 100644 index 0000000000..0f108648d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTags.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IWorkspacesClient.ListTags.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Tags + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTagsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagsForResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagsForResource.g.verified.cs new file mode 100644 index 0000000000..447a085c85 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListTagsForResource.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IWorkspacesClient.ListTagsForResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Tags For Resource + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTagsForResourceAsync( + global::G.ResourceType resourceType, + global::System.Guid resourceId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListWorkspaces.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListWorkspaces.g.verified.cs new file mode 100644 index 0000000000..63eb24d4c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.ListWorkspaces.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IWorkspacesClient.ListWorkspaces.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Workspaces
+ /// Get all workspaces visible to this auth in the current org. Does not create a new workspace/org. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListWorkspacesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.PatchCurrentWorkspaceMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.PatchCurrentWorkspaceMember.g.verified.cs new file mode 100644 index 0000000000..78401a5ac4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.PatchCurrentWorkspaceMember.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IWorkspacesClient.PatchCurrentWorkspaceMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Patch Current Workspace Member + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchCurrentWorkspaceMemberAsync( + global::System.Guid identityId, + global::G.IdentityPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch Current Workspace Member + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchCurrentWorkspaceMemberAsync( + global::System.Guid identityId, + global::System.Guid roleId, + global::G.AnyOf? readOnly = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.PatchWorkspace.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.PatchWorkspace.g.verified.cs new file mode 100644 index 0000000000..43d6910021 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.PatchWorkspace.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IWorkspacesClient.PatchWorkspace.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Patch Workspace + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchWorkspaceAsync( + global::System.Guid workspaceId, + global::G.WorkspacePatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch Workspace + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchWorkspaceAsync( + global::System.Guid workspaceId, + string displayName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpdateTagKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpdateTagKey.g.verified.cs new file mode 100644 index 0000000000..5def66eeef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpdateTagKey.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IWorkspacesClient.UpdateTagKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Update Tag Key + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTagKeyAsync( + global::System.Guid tagKeyId, + global::G.TagKeyUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Tag Key + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTagKeyAsync( + global::System.Guid tagKeyId, + global::G.AnyOf? key = default, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpdateTagValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpdateTagValue.g.verified.cs new file mode 100644 index 0000000000..0a35812079 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpdateTagValue.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IWorkspacesClient.UpdateTagValue.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Update Tag Value + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTagValueAsync( + global::System.Guid tagKeyId, + global::System.Guid tagValueId, + global::G.TagValueUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Tag Value + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTagValueAsync( + global::System.Guid tagKeyId, + global::System.Guid tagValueId, + global::G.AnyOf? value = default, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpsertCurrentWorkspaceSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpsertCurrentWorkspaceSecrets.g.verified.cs new file mode 100644 index 0000000000..5ebeca1979 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.UpsertCurrentWorkspaceSecrets.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.UpsertCurrentWorkspaceSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Upsert Current Workspace Secrets + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertCurrentWorkspaceSecretsAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.g.verified.cs new file mode 100644 index 0000000000..2d34e2949b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IWorkspacesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IWorkspacesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IWorkspacesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.g.verified.cs index 1d9a564f92..cb6bcb4559 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class InfoClient : global::System.IDisposable + public sealed partial class InfoClient : global::G.IInfoClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.LikesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.LikesClient.g.verified.cs index b62acac319..1f066949f8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.LikesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.LikesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LikesClient : global::System.IDisposable + public sealed partial class LikesClient : global::G.ILikesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ModelPriceMapClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ModelPriceMapClient.g.verified.cs index 74d5e2736c..41e8686227 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ModelPriceMapClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ModelPriceMapClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelPriceMapClient : global::System.IDisposable + public sealed partial class ModelPriceMapClient : global::G.IModelPriceMapClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.g.verified.cs index c009d885ce..2b10a3124e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class OrgsClient : global::System.IDisposable + public sealed partial class OrgsClient : global::G.IOrgsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PlaygroundSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PlaygroundSettingsClient.g.verified.cs index 5152807700..6b7464cb97 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PlaygroundSettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PlaygroundSettingsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PlaygroundSettingsClient : global::System.IDisposable + public sealed partial class PlaygroundSettingsClient : global::G.IPlaygroundSettingsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.g.verified.cs index cbf040b04c..bc4ccbbc8e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PromptsClient : global::System.IDisposable + public sealed partial class PromptsClient : global::G.IPromptsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.g.verified.cs index 812c012f0f..21e707981a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PublicClient : global::System.IDisposable + public sealed partial class PublicClient : global::G.IPublicClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.g.verified.cs index 13fd838a39..6df396150a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ReposClient : global::System.IDisposable + public sealed partial class ReposClient : global::G.IReposClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.g.verified.cs index 441bc2a3ba..fcc85b724a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RunClient : global::System.IDisposable + public sealed partial class RunClient : global::G.IRunClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ServiceAccountsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ServiceAccountsClient.g.verified.cs index 2e91f7ab6a..772a936e12 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ServiceAccountsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ServiceAccountsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ServiceAccountsClient : global::System.IDisposable + public sealed partial class ServiceAccountsClient : global::G.IServiceAccountsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.SettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.SettingsClient.g.verified.cs index 9829a4cbd8..865ab81b98 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.SettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.SettingsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SettingsClient : global::System.IDisposable + public sealed partial class SettingsClient : global::G.ISettingsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.g.verified.cs index acb43ec2c3..0d387d52da 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TenantClient : global::System.IDisposable + public sealed partial class TenantClient : global::G.ITenantClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.g.verified.cs index 7ce4955656..630a6389b0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TracerSessionsClient : global::System.IDisposable + public sealed partial class TracerSessionsClient : global::G.ITracerSessionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.g.verified.cs index a9df6295ca..f6be22ff14 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TtlSettingsClient : global::System.IDisposable + public sealed partial class TtlSettingsClient : global::G.ITtlSettingsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.UsageLimitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.UsageLimitsClient.g.verified.cs index 62af6d2048..890b4a9701 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.UsageLimitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.UsageLimitsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsageLimitsClient : global::System.IDisposable + public sealed partial class UsageLimitsClient : global::G.IUsageLimitsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.g.verified.cs index c2ca639221..0ce263092b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class WorkspacesClient : global::System.IDisposable + public sealed partial class WorkspacesClient : global::G.IWorkspacesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AnnotationQueuesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AnnotationQueuesClient.g.verified.cs index 4252794ac9..26e68eafbb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AnnotationQueuesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AnnotationQueuesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AnnotationQueuesClient : global::System.IDisposable + public sealed partial class AnnotationQueuesClient : global::G.IAnnotationQueuesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs index f83c085af6..dffaf868f3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.g.verified.cs index 2ecf4876e1..132da0be5d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ApiKeyClient : global::System.IDisposable + public sealed partial class ApiKeyClient : global::G.IApiKeyClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.g.verified.cs index 7809a59629..c439101099 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AuthClient : global::System.IDisposable + public sealed partial class AuthClient : global::G.IAuthClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.g.verified.cs index 630726ef42..0358f1bcf2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChartsClient : global::System.IDisposable + public sealed partial class ChartsClient : global::G.IChartsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommentsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommentsClient.g.verified.cs index 605f1c0186..f9a04bca5b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommentsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommentsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CommentsClient : global::System.IDisposable + public sealed partial class CommentsClient : global::G.ICommentsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommitsClient.g.verified.cs index 16cb32406b..f64f46bf14 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommitsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CommitsClient : global::System.IDisposable + public sealed partial class CommitsClient : global::G.ICommitsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.g.verified.cs index 9ef0c63fbc..7e7758fb8d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DatasetsClient : global::System.IDisposable + public sealed partial class DatasetsClient : global::G.IDatasetsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.EventsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.EventsClient.g.verified.cs index be90764274..2cf81226c1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.EventsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.EventsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EventsClient : global::System.IDisposable + public sealed partial class EventsClient : global::G.IEventsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.g.verified.cs index 104bbcb43d..4657483cd8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ExamplesClient : global::System.IDisposable + public sealed partial class ExamplesClient : global::G.IExamplesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.g.verified.cs index da59679028..f1642c8721 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FeedbackClient : global::System.IDisposable + public sealed partial class FeedbackClient : global::G.IFeedbackClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackConfigsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackConfigsClient.g.verified.cs index 11f8650055..d5ba04c25c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackConfigsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackConfigsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FeedbackConfigsClient : global::System.IDisposable + public sealed partial class FeedbackConfigsClient : global::G.IFeedbackConfigsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.AddRunsToAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.AddRunsToAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..3e095e3a63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.AddRunsToAnnotationQueue.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAnnotationQueuesClient.AddRunsToAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Add Runs To Annotation Queue + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AddRunsToAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.CreateAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.CreateAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..be742e8fd2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.CreateAnnotationQueue.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IAnnotationQueuesClient.CreateAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Create Annotation Queue + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAnnotationQueueAsync( + global::G.AnnotationQueueCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Annotation Queue + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: true + /// + /// + /// Default Value: 1 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAnnotationQueueAsync( + string name, + global::G.AnyOf? description = default, + global::System.DateTime createdAt = default, + global::System.DateTime updatedAt = default, + global::G.AnyOf? defaultDataset = default, + global::G.AnyOf? numReviewersPerItem = default, + global::G.AnyOf? enableReservations = default, + global::G.AnyOf? reservationMinutes = default, + global::System.Guid id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.CreateIdentityAnnotationQueueRunStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.CreateIdentityAnnotationQueueRunStatus.g.verified.cs new file mode 100644 index 0000000000..c3348cc9cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.CreateIdentityAnnotationQueueRunStatus.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IAnnotationQueuesClient.CreateIdentityAnnotationQueueRunStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Create Identity Annotation Queue Run Status + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateIdentityAnnotationQueueRunStatusAsync( + global::System.Guid annotationQueueRunId, + global::G.IdentityAnnotationQueueRunStatusCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Identity Annotation Queue Run Status + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateIdentityAnnotationQueueRunStatusAsync( + global::System.Guid annotationQueueRunId, + global::G.AnyOf? status = default, + global::G.AnyOf? overrideAddedAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.DeleteAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.DeleteAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..c1adaa4e07 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.DeleteAnnotationQueue.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAnnotationQueuesClient.DeleteAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Delete Annotation Queue + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.DeleteRunFromAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.DeleteRunFromAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..e436733987 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.DeleteRunFromAnnotationQueue.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAnnotationQueuesClient.DeleteRunFromAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Delete Run From Annotation Queue + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteRunFromAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Guid queueRunId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetAnnotationQueues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetAnnotationQueues.g.verified.cs new file mode 100644 index 0000000000..2304a21611 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetAnnotationQueues.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAnnotationQueuesClient.GetAnnotationQueues.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Get Annotation Queues + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetAnnotationQueuesAsync( + global::G.AnyOf, object>? ids = default, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + int offset = 0, + int limit = 100, + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetAnnotationQueuesForRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetAnnotationQueuesForRun.g.verified.cs new file mode 100644 index 0000000000..107a959b05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetAnnotationQueuesForRun.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAnnotationQueuesClient.GetAnnotationQueuesForRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Get Annotation Queues For Run + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetAnnotationQueuesForRunAsync( + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetRunFromAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetRunFromAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..7753a8d1fb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetRunFromAnnotationQueue.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAnnotationQueuesClient.GetRunFromAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Get Run From Annotation Queue + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRunFromAnnotationQueueAsync( + global::System.Guid queueId, + int index, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetSizeFromAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetSizeFromAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..5793c043f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetSizeFromAnnotationQueue.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAnnotationQueuesClient.GetSizeFromAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Get Size From Annotation Queue + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSizeFromAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetTotalSizeFromAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetTotalSizeFromAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..d7f4bb5d46 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.GetTotalSizeFromAnnotationQueue.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAnnotationQueuesClient.GetTotalSizeFromAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Get Total Size From Annotation Queue + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTotalSizeFromAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.UpdateAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.UpdateAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..54b7988730 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.UpdateAnnotationQueue.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IAnnotationQueuesClient.UpdateAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Update Annotation Queue + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAnnotationQueueAsync( + global::System.Guid queueId, + global::G.AnnotationQueueUpdateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Annotation Queue + /// + /// + /// + /// + /// + /// + /// Default Value: 1 + /// + /// + /// Default Value: true + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAnnotationQueueAsync( + global::System.Guid queueId, + global::G.AnyOf? name = default, + global::G.AnyOf? description = default, + global::G.AnyOf? defaultDataset = default, + global::G.AnyOf? numReviewersPerItem = default, + bool enableReservations = true, + global::G.AnyOf? reservationMinutes = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.UpdateRunInAnnotationQueue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.UpdateRunInAnnotationQueue.g.verified.cs new file mode 100644 index 0000000000..91b12feebf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.UpdateRunInAnnotationQueue.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAnnotationQueuesClient.UpdateRunInAnnotationQueue.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnnotationQueuesClient + { + /// + /// Update Run In Annotation Queue + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRunInAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Guid queueRunId, + global::G.AnnotationQueueRunUpdateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Run In Annotation Queue + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRunInAnnotationQueueAsync( + global::System.Guid queueId, + global::System.Guid queueRunId, + global::G.AnyOf? lastReviewedTime = default, + global::G.AnyOf? addedAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.g.verified.cs new file mode 100644 index 0000000000..43cdb976f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAnnotationQueuesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAnnotationQueuesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAnnotationQueuesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.Ok.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.Ok.g.verified.cs new file mode 100644 index 0000000000..2483172972 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.Ok.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IApi.Ok.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Ok + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OkAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..573358163f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,160 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// + /// + public TracerSessionsClient TracerSessions { get; } + + /// + /// + /// + public OrgsClient Orgs { get; } + + /// + /// + /// + public AuthClient Auth { get; } + + /// + /// + /// + public ApiKeyClient ApiKey { get; } + + /// + /// + /// + public ExamplesClient Examples { get; } + + /// + /// + /// + public DatasetsClient Datasets { get; } + + /// + /// + /// + public RunClient Run { get; } + + /// + /// + /// + public FeedbackClient Feedback { get; } + + /// + /// + /// + public PublicClient Public { get; } + + /// + /// + /// + public AnnotationQueuesClient AnnotationQueues { get; } + + /// + /// + /// + public TenantClient Tenant { get; } + + /// + /// + /// + public InfoClient Info { get; } + + /// + /// + /// + public FeedbackConfigsClient FeedbackConfigs { get; } + + /// + /// + /// + public ModelPriceMapClient ModelPriceMap { get; } + + /// + /// + /// + public UsageLimitsClient UsageLimits { get; } + + /// + /// + /// + public TtlSettingsClient TtlSettings { get; } + + /// + /// + /// + public PromptsClient Prompts { get; } + + /// + /// + /// + public WorkspacesClient Workspaces { get; } + + /// + /// + /// + public PlaygroundSettingsClient PlaygroundSettings { get; } + + /// + /// + /// + public ServiceAccountsClient ServiceAccounts { get; } + + /// + /// + /// + public ChartsClient Charts { get; } + + /// + /// + /// + public ReposClient Repos { get; } + + /// + /// + /// + public LikesClient Likes { get; } + + /// + /// + /// + public CommitsClient Commits { get; } + + /// + /// + /// + public SettingsClient Settings { get; } + + /// + /// + /// + public EventsClient Events { get; } + + /// + /// + /// + public CommentsClient Comments { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.DeleteApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.DeleteApiKey.g.verified.cs new file mode 100644 index 0000000000..a83f0b6a54 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.DeleteApiKey.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IApiKeyClient.DeleteApiKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Delete Api Key
+ /// Delete an api key for the user + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteApiKeyAsync( + global::System.Guid apiKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.DeletePersonalAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.DeletePersonalAccessToken.g.verified.cs new file mode 100644 index 0000000000..d638a323c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.DeletePersonalAccessToken.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IApiKeyClient.DeletePersonalAccessToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Delete Personal Access Token
+ /// Delete a Personal Access Token for the user + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeletePersonalAccessTokenAsync( + global::System.Guid patId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs new file mode 100644 index 0000000000..4fbb3527d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IApiKeyClient.GenerateApiKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Generate Api Key
+ /// Generate an api key for the user + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateApiKeyAsync( + global::G.AllOf request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate Api Key
+ /// Generate an api key for the user + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateApiKeyAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs new file mode 100644 index 0000000000..2df9829dc1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IApiKeyClient.GeneratePersonalAccessToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Generate Personal Access Token
+ /// Generate a Personal Access Token the user + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( + global::G.AllOf request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate Personal Access Token
+ /// Generate a Personal Access Token the user + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GetApiKeys.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GetApiKeys.g.verified.cs new file mode 100644 index 0000000000..4076a8eda9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GetApiKeys.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IApiKeyClient.GetApiKeys.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Get Api Keys
+ /// Get the current tenant's API keys + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetApiKeysAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GetPersonalAccessTokens.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GetPersonalAccessTokens.g.verified.cs new file mode 100644 index 0000000000..d78c090d80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GetPersonalAccessTokens.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IApiKeyClient.GetPersonalAccessTokens.g.cs +#nullable enable + +namespace G +{ + public partial interface IApiKeyClient + { + /// + /// Get Personal Access Tokens
+ /// Get the current users PATs for this tenant + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetPersonalAccessTokensAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.g.verified.cs new file mode 100644 index 0000000000..029cbcc037 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IApiKeyClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApiKeyClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.Login.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.Login.g.verified.cs new file mode 100644 index 0000000000..705b89806f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.Login.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IAuthClient.Login.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Login + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LoginAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.g.verified.cs new file mode 100644 index 0000000000..57fda230b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAuthClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAuthClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.CreateChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.CreateChart.g.verified.cs new file mode 100644 index 0000000000..ee06cbba67 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.CreateChart.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IChartsClient.CreateChart.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Create Chart
+ /// Create a new chart. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChartAsync( + global::G.CustomChartCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Chart
+ /// Create a new chart. + ///
+ /// + /// + /// + /// + /// Enum for custom chart types. + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChartAsync( + string title, + global::G.CustomChartType chartType, + global::System.Collections.Generic.IList series, + global::G.AnyOf? description = default, + global::G.AnyOf? index = default, + global::G.AnyOf? sectionId = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf? commonFilters = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.CreateSection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.CreateSection.g.verified.cs new file mode 100644 index 0000000000..ea02ccf258 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.CreateSection.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IChartsClient.CreateSection.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Create Section
+ /// Create a new section. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSectionAsync( + global::G.CustomChartsSectionCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Section
+ /// Create a new section. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSectionAsync( + string title, + global::G.AnyOf? description = default, + global::G.AnyOf? index = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.DeleteChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.DeleteChart.g.verified.cs new file mode 100644 index 0000000000..4c62b004d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.DeleteChart.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IChartsClient.DeleteChart.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Delete Chart
+ /// Delete a chart. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteChartAsync( + global::System.Guid chartId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.DeleteSection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.DeleteSection.g.verified.cs new file mode 100644 index 0000000000..2212f8fe80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.DeleteSection.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IChartsClient.DeleteSection.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Delete Section
+ /// Delete a section. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteSectionAsync( + global::System.Guid sectionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadChartPreview.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadChartPreview.g.verified.cs new file mode 100644 index 0000000000..e526db64f5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadChartPreview.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IChartsClient.ReadChartPreview.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Read Chart Preview
+ /// Get a preview for a chart without actually creating it. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadChartPreviewAsync( + global::G.CustomChartPreviewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Chart Preview
+ /// Get a preview for a chart without actually creating it. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadChartPreviewAsync( + global::G.CustomChartsRequestBase bucketInfo, + global::G.CustomChartCreatePreview chart, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadCharts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadCharts.g.verified.cs new file mode 100644 index 0000000000..4801012e78 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadCharts.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IChartsClient.ReadCharts.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Read Charts
+ /// Get all charts for the tenant. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadChartsAsync( + global::G.CustomChartsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Charts
+ /// Get all charts for the tenant. + ///
+ /// + /// Default Value: UTC + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadChartsAsync( + global::System.DateTime startTime, + string? timezone = "UTC", + global::G.AnyOf? endTime = default, + global::G.AllOf? stride = default, + global::G.AnyOf? afterIndex = default, + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSections.g.verified.cs new file mode 100644 index 0000000000..2c6e02c6e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSections.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IChartsClient.ReadSections.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Read Sections
+ /// Get all sections for the tenant. + ///
+ /// + /// Default Value: 100 + /// + /// + /// Default Value: 0 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSectionsAsync( + int limit = 100, + int offset = 0, + global::G.AnyOf? titleContains = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs new file mode 100644 index 0000000000..4856cc9c70 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IChartsClient.ReadSingleChart.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Read Single Chart
+ /// Get a single chart by ID. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSingleChartAsync( + global::System.Guid chartId, + global::G.CustomChartsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Single Chart
+ /// Get a single chart by ID. + ///
+ /// + /// + /// Default Value: UTC + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSingleChartAsync( + global::System.Guid chartId, + global::System.DateTime startTime, + string? timezone = "UTC", + global::G.AnyOf? endTime = default, + global::G.AllOf? stride = default, + global::G.AnyOf? afterIndex = default, + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.UpdateChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.UpdateChart.g.verified.cs new file mode 100644 index 0000000000..f533e1ef20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.UpdateChart.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IChartsClient.UpdateChart.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Update Chart
+ /// Update a chart. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChartAsync( + global::System.Guid chartId, + global::G.CustomChartUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Chart
+ /// Update a chart. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChartAsync( + global::System.Guid chartId, + global::G.AnyOf? title = default, + global::G.AnyOf? description = default, + global::G.AnyOf? index = default, + global::G.AnyOf? chartType = default, + global::G.AnyOf, global::G.Missing>? series = default, + global::G.AnyOf? sectionId = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf? commonFilters = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.UpdateSection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.UpdateSection.g.verified.cs new file mode 100644 index 0000000000..c4280c14a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.UpdateSection.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IChartsClient.UpdateSection.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Update Section
+ /// Update a section. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateSectionAsync( + global::System.Guid sectionId, + global::G.CustomChartsSectionUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Section
+ /// Update a section. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateSectionAsync( + global::System.Guid sectionId, + global::G.AnyOf? title = default, + global::G.AnyOf? description = default, + global::G.AnyOf? index = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.g.verified.cs new file mode 100644 index 0000000000..0bffc59e13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChartsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChartsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.CreateComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.CreateComment.g.verified.cs new file mode 100644 index 0000000000..5ab1578d16 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.CreateComment.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.ICommentsClient.CreateComment.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Create Comment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCommentAsync( + string owner, + string repo, + global::G.CreateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Comment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCommentAsync( + string owner, + string repo, + string content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.CreateSubComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.CreateSubComment.g.verified.cs new file mode 100644 index 0000000000..7ba2ee8135 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.CreateSubComment.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.ICommentsClient.CreateSubComment.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Create Sub Comment + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSubCommentAsync( + string owner, + string repo, + global::System.Guid parentCommentId, + global::G.CreateCommentRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Sub Comment + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSubCommentAsync( + string owner, + string repo, + global::System.Guid parentCommentId, + string content, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.GetComments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.GetComments.g.verified.cs new file mode 100644 index 0000000000..16a2605d74 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.GetComments.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICommentsClient.GetComments.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Get Comments + /// + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCommentsAsync( + string owner, + string repo, + int limit = 20, + int offset = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.GetSubComments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.GetSubComments.g.verified.cs new file mode 100644 index 0000000000..c95404c302 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.GetSubComments.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ICommentsClient.GetSubComments.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Get Sub Comments + /// + /// + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSubCommentsAsync( + string owner, + string repo, + global::System.Guid parentCommentId, + int limit = 20, + int offset = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.LikeComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.LikeComment.g.verified.cs new file mode 100644 index 0000000000..2bdd521b70 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.LikeComment.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICommentsClient.LikeComment.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Like Comment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LikeCommentAsync( + string owner, + string repo, + global::System.Guid parentCommentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.UnlikeComment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.UnlikeComment.g.verified.cs new file mode 100644 index 0000000000..4434da3215 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.UnlikeComment.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICommentsClient.UnlikeComment.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommentsClient + { + /// + /// Unlike Comment + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnlikeCommentAsync( + string owner, + string repo, + global::System.Guid parentCommentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.g.verified.cs new file mode 100644 index 0000000000..4e3b3b5aeb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommentsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICommentsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICommentsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.CreateCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.CreateCommit.g.verified.cs new file mode 100644 index 0000000000..ab01bffff0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.CreateCommit.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.ICommitsClient.CreateCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommitsClient + { + /// + /// Create Commit
+ /// Upload a repo. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCommitAsync( + string owner, + string repo, + global::G.CreateRepoCommitRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Commit
+ /// Upload a repo. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCommitAsync( + string owner, + string repo, + global::G.CreateRepoCommitRequestManifest manifest, + global::G.AnyOf? parentCommit = default, + global::G.AnyOf, object>? exampleRunIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.GetCommit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.GetCommit.g.verified.cs new file mode 100644 index 0000000000..0e7b85a133 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.GetCommit.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.ICommitsClient.GetCommit.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommitsClient + { + /// + /// Get Commit
+ /// Download a repo. + ///
+ /// + /// + /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCommitAsync( + string owner, + string repo, + string commit, + bool getExamples = false, + bool isView = false, + global::G.AnyOf? includeModel = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.ListCommits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.ListCommits.g.verified.cs new file mode 100644 index 0000000000..1a0524b2ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.ListCommits.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ICommitsClient.ListCommits.g.cs +#nullable enable + +namespace G +{ + public partial interface ICommitsClient + { + /// + /// List Commits
+ /// Get all commits. + ///
+ /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListCommitsAsync( + string owner, + string repo, + int limit = 20, + int offset = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.g.verified.cs new file mode 100644 index 0000000000..4c2175debd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ICommitsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICommitsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICommitsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs new file mode 100644 index 0000000000..6d25d07081 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetsClient.CloneDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Clone Dataset
+ /// Clone a dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CloneDatasetAsync( + global::G.BodyCloneDatasetApiV1DatasetsClonePost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Clone Dataset
+ /// Clone a dataset. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CloneDatasetAsync( + global::System.Guid targetDatasetId, + global::System.Guid sourceDatasetId, + global::G.AnyOf?, object>? asOf = default, + global::System.Collections.Generic.IList? examples = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateComparativeExperiment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateComparativeExperiment.g.verified.cs new file mode 100644 index 0000000000..e018be77b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateComparativeExperiment.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IDatasetsClient.CreateComparativeExperiment.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Create Comparative Experiment
+ /// Create a comparative experiment. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateComparativeExperimentAsync( + global::G.ComparativeExperimentCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Comparative Experiment
+ /// Create a comparative experiment. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateComparativeExperimentAsync( + global::System.Collections.Generic.IList experimentIds, + global::System.Guid referenceDatasetId, + global::System.Guid id = default, + global::G.AnyOf? name = default, + global::G.AnyOf? description = default, + global::System.DateTime createdAt = default, + global::System.DateTime modifiedAt = default, + global::G.AnyOf? extra = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs new file mode 100644 index 0000000000..271611d9bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IDatasetsClient.CreateDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Create Dataset
+ /// Create a new dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + global::G.DatasetCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Dataset
+ /// Create a new dataset. + ///
+ /// + /// + /// + /// + /// Default Value: kv + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + string name, + global::G.AnyOf? description = default, + global::System.DateTime createdAt = default, + global::G.AnyOf? dataType = default, + global::G.AnyOf? inputsSchemaDefinition = default, + global::G.AnyOf? outputsSchemaDefinition = default, + global::G.AnyOf? externallyManaged = default, + global::G.AnyOf? id = default, + global::G.AnyOf? extra = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DeleteComparativeExperiment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DeleteComparativeExperiment.g.verified.cs new file mode 100644 index 0000000000..1eabe940dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DeleteComparativeExperiment.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.DeleteComparativeExperiment.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Delete Comparative Experiment
+ /// Delete a specific comparative experiment. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteComparativeExperimentAsync( + global::System.Guid comparativeExperimentId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs new file mode 100644 index 0000000000..e32f364a13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DeleteDataset.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.DeleteDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Delete Dataset
+ /// Delete a specific dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteDatasetAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DiffDatasetVersions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DiffDatasetVersions.g.verified.cs new file mode 100644 index 0000000000..882684209f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DiffDatasetVersions.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.DiffDatasetVersions.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Diff Dataset Versions
+ /// Get diff between two dataset versions. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DiffDatasetVersionsAsync( + global::System.Guid datasetId, + global::G.AnyOf fromVersion, + global::G.AnyOf toVersion, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetCsv.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetCsv.g.verified.cs new file mode 100644 index 0000000000..94d94dc275 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetCsv.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.DownloadDatasetCsv.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Download Dataset Csv
+ /// Download a dataset as CSV format. + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DownloadDatasetCsvAsync( + global::System.Guid datasetId, + global::G.AnyOf? asOf = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetOpenai.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetOpenai.g.verified.cs new file mode 100644 index 0000000000..dae60292c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetOpenai.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.DownloadDatasetOpenai.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Download Dataset Openai
+ /// Download a dataset as OpenAI Evals Jsonl format. + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DownloadDatasetOpenaiAsync( + global::System.Guid datasetId, + global::G.AnyOf? asOf = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetOpenaiFt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetOpenaiFt.g.verified.cs new file mode 100644 index 0000000000..70d3ff7194 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DownloadDatasetOpenaiFt.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.DownloadDatasetOpenaiFt.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Download Dataset Openai Ft
+ /// Download a dataset as OpenAI Jsonl format. + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DownloadDatasetOpenaiFtAsync( + global::System.Guid datasetId, + global::G.AnyOf? asOf = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Generate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Generate.g.verified.cs new file mode 100644 index 0000000000..91b382dd38 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Generate.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetsClient.Generate.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Generate
+ /// Generate synthetic examples for a dataset. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateAsync( + global::System.Guid datasetId, + global::G.GenerateSyntheticExamplesBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate
+ /// Generate synthetic examples for a dataset. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateAsync( + global::System.Guid datasetId, + int numExamples, + global::G.AnyOf, object>? exampleIds = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetSplits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetSplits.g.verified.cs new file mode 100644 index 0000000000..f82590b94d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetSplits.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.GetDatasetSplits.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get Dataset Splits + /// + /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetDatasetSplitsAsync( + global::System.Guid datasetId, + global::G.AnyOf? asOf = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetVersion.g.verified.cs new file mode 100644 index 0000000000..b5435cd86f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetVersion.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.GetDatasetVersion.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get Dataset Version
+ /// Get dataset version by as_of or exact tag. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDatasetVersionAsync( + global::System.Guid datasetId, + global::G.AnyOf? asOf = default, + global::G.AnyOf? tag = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetVersions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetVersions.g.verified.cs new file mode 100644 index 0000000000..478b982da0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetDatasetVersions.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IDatasetsClient.GetDatasetVersions.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get Dataset Versions
+ /// Get dataset versions. + ///
+ /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetDatasetVersionsAsync( + global::System.Guid datasetId, + global::G.AnyOf? search = default, + global::G.AnyOf? example = default, + int limit = 100, + int offset = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetIndexInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetIndexInfo.g.verified.cs new file mode 100644 index 0000000000..ce630faa54 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.GetIndexInfo.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.GetIndexInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Get Index Info
+ /// Get index info. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetIndexInfoAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Index.g.verified.cs new file mode 100644 index 0000000000..a8c69c726f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Index.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetsClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Index
+ /// Index a dataset. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + global::System.Guid datasetId, + global::G.DatasetIndexRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Index
+ /// Index a dataset. + ///
+ /// + /// + /// Default Value: latest + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + global::System.Guid datasetId, + global::G.AnyOf? tag = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs new file mode 100644 index 0000000000..c735e78522 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IDatasetsClient.ReadComparativeExperiments.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Comparative Experiments
+ /// Get all comparative experiments for a given dataset. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadComparativeExperimentsAsync( + global::System.Guid datasetId, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + global::G.AnyOf, object>? id = default, + int offset = 0, + int limit = 100, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDataset.g.verified.cs new file mode 100644 index 0000000000..fe0b0fc70a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDataset.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.ReadDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Dataset
+ /// Get a specific dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadDatasetAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasetShareState.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasetShareState.g.verified.cs new file mode 100644 index 0000000000..6229ae5a18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasetShareState.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.ReadDatasetShareState.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Dataset Share State
+ /// Get the state of sharing a dataset + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadDatasetShareStateAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs new file mode 100644 index 0000000000..663f7c4b3e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IDatasetsClient.ReadDatasets.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Datasets
+ /// Get all datasets by query params and owner. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: last_session_start_time + /// + /// + /// Default Value: true + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadDatasetsAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf, global::G.DataType2?, object>? dataType = default, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + global::G.AnyOf? metadata = default, + int offset = 0, + int limit = 100, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDelta.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDelta.g.verified.cs new file mode 100644 index 0000000000..a38cb96f1a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDelta.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IDatasetsClient.ReadDelta.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Delta
+ /// Fetch the number of regressions/improvements for each example in a dataset, between sessions[0] and sessions[1]. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadDeltaAsync( + global::System.Guid datasetId, + global::G.QueryFeedbackDelta request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Delta
+ /// Fetch the number of regressions/improvements for each example in a dataset, between sessions[0] and sessions[1]. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadDeltaAsync( + global::System.Guid datasetId, + global::System.Guid baselineSessionId, + global::System.Collections.Generic.IList comparisonSessionIds, + string feedbackKey, + global::G.AnyOf? filters = default, + int offset = 0, + int limit = 100, + global::G.AnyOf? comparativeExperimentId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadExamplesWithRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadExamplesWithRuns.g.verified.cs new file mode 100644 index 0000000000..81facaccdc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadExamplesWithRuns.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IDatasetsClient.ReadExamplesWithRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Read Examples With Runs
+ /// Fetch examples for a dataset, and fetch the runs for each example if they are associated with the given session_ids. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadExamplesWithRunsAsync( + global::System.Guid datasetId, + global::G.QueryExampleSchemaWithRuns request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Examples With Runs
+ /// Fetch examples for a dataset, and fetch the runs for each example if they are associated with the given session_ids. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadExamplesWithRunsAsync( + global::System.Guid datasetId, + global::System.Collections.Generic.IList sessionIds, + global::G.AnyOf? comparativeExperimentId = default, + global::G.AnyOf? filters = default, + int offset = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.RemoveIndex.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.RemoveIndex.g.verified.cs new file mode 100644 index 0000000000..e2e4c6f56f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.RemoveIndex.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.RemoveIndex.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Remove Index
+ /// Remove an index for a dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RemoveIndexAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Search.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Search.g.verified.cs new file mode 100644 index 0000000000..1ec0f1efe6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Search.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IDatasetsClient.Search.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Search
+ /// Search a dataset. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchAsync( + global::System.Guid datasetId, + global::G.SearchDatasetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Search
+ /// Search a dataset. + ///
+ /// + /// + /// + /// Default Value: 5 + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchAsync( + global::System.Guid datasetId, + global::G.SearchDatasetRequestInputs inputs, + int limit = 5, + bool debug = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ShareDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ShareDataset.g.verified.cs new file mode 100644 index 0000000000..27a9ae6bb1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ShareDataset.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IDatasetsClient.ShareDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Share Dataset
+ /// Share a dataset. + ///
+ /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShareDatasetAsync( + global::System.Guid datasetId, + bool shareProjects = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UnshareDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UnshareDataset.g.verified.cs new file mode 100644 index 0000000000..af4a97604e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UnshareDataset.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetsClient.UnshareDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Unshare Dataset
+ /// Unshare a dataset. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnshareDatasetAsync( + global::System.Guid datasetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDataset.g.verified.cs new file mode 100644 index 0000000000..49e7147c5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDataset.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IDatasetsClient.UpdateDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Update Dataset
+ /// Update a specific dataset. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDatasetAsync( + global::System.Guid datasetId, + global::G.DatasetUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Dataset
+ /// Update a specific dataset. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDatasetAsync( + global::System.Guid datasetId, + global::G.AnyOf? name = default, + global::G.AnyOf? description = default, + global::G.AnyOf? inputsSchemaDefinition = default, + global::G.AnyOf? outputsSchemaDefinition = default, + global::G.AnyOf? patchExamples = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetSplits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetSplits.g.verified.cs new file mode 100644 index 0000000000..8bdab654f5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetSplits.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IDatasetsClient.UpdateDatasetSplits.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Update Dataset Splits + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UpdateDatasetSplitsAsync( + global::System.Guid datasetId, + global::G.BodyUpdateDatasetSplitsApiV1DatasetsDatasetIdSplitsPut request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Dataset Splits + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UpdateDatasetSplitsAsync( + global::System.Guid datasetId, + string splitName, + global::System.Collections.Generic.IList examples, + bool remove = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs new file mode 100644 index 0000000000..6c6e9289c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetsClient.UpdateDatasetVersion.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Update Dataset Version
+ /// Set a tag on a dataset version. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDatasetVersionAsync( + global::System.Guid datasetId, + global::G.PutDatasetVersionsSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Dataset Version
+ /// Set a tag on a dataset version. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDatasetVersionAsync( + global::System.Guid datasetId, + global::System.DateTime asOf, + string tag, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs new file mode 100644 index 0000000000..8d04bde243 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IDatasetsClient.UploadCsvDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Upload Csv Dataset
+ /// Create a new dataset from a CSV file. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadCsvDatasetAsync( + global::G.BodyUploadCsvDatasetApiV1DatasetsUploadPost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload Csv Dataset
+ /// Create a new dataset from a CSV file. + ///
+ /// + /// + /// + /// + /// + /// Default Value: kv + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadCsvDatasetAsync( + byte[] file, + string filename, + global::System.Collections.Generic.IList inputKeys, + global::G.AnyOf? name = default, + global::G.AllOf? dataType = default, + global::System.Collections.Generic.IList? outputKeys = default, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadExperiment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadExperiment.g.verified.cs new file mode 100644 index 0000000000..14ad902c9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadExperiment.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IDatasetsClient.UploadExperiment.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Upload Experiment
+ /// Upload an experiment that has already been run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadExperimentAsync( + global::G.ExperimentResultsUpload request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload Experiment
+ /// Upload an experiment that has already been run. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadExperimentAsync( + string experimentName, + global::System.Collections.Generic.IList results, + global::System.DateTime experimentStartTime, + global::System.DateTime experimentEndTime, + global::G.AnyOf? experimentDescription = default, + global::G.AnyOf? datasetId = default, + global::G.AnyOf? datasetName = default, + global::G.AnyOf? datasetDescription = default, + global::G.AnyOf, object>? summaryExperimentScores = default, + global::G.AnyOf? experimentMetadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.g.verified.cs new file mode 100644 index 0000000000..9507a88925 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDatasetsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDatasetsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IEventsClient.CreateEvent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IEventsClient.CreateEvent.g.verified.cs new file mode 100644 index 0000000000..e05cadfa36 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IEventsClient.CreateEvent.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IEventsClient.CreateEvent.g.cs +#nullable enable + +namespace G +{ + public partial interface IEventsClient + { + /// + /// Create Event + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEventAsync( + global::G.CreateEventRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Event + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEventAsync( + global::G.CreateEventRequestEventType eventType, + string owner, + string repo, + global::G.AnyOf? commit = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IEventsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IEventsClient.g.verified.cs new file mode 100644 index 0000000000..91ca467e60 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IEventsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IEventsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEventsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CreateExample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CreateExample.g.verified.cs new file mode 100644 index 0000000000..8c228710d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CreateExample.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IExamplesClient.CreateExample.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Create Example
+ /// Create a new example. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateExampleAsync( + global::G.ExampleCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Example
+ /// Create a new example. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: base + /// + /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateExampleAsync( + global::System.Guid datasetId, + global::G.AnyOf? outputs = default, + global::G.AnyOf? sourceRunId = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf? inputs = default, + global::G.AnyOf, string, object>? split = default, + global::G.AnyOf? id = default, + bool useSourceRunIo = false, + global::System.DateTime createdAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CreateExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CreateExamples.g.verified.cs new file mode 100644 index 0000000000..c4a133f7d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CreateExamples.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IExamplesClient.CreateExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Create Examples
+ /// Create a new example. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateExamplesAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.DeleteExample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.DeleteExample.g.verified.cs new file mode 100644 index 0000000000..0ecf2e0360 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.DeleteExample.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IExamplesClient.DeleteExample.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Delete Example
+ /// Delete a specific example. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteExampleAsync( + global::System.Guid exampleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.DeleteExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.DeleteExamples.g.verified.cs new file mode 100644 index 0000000000..16758228f8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.DeleteExamples.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IExamplesClient.DeleteExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Delete Examples
+ /// Delete a specific set of examples. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteExamplesAsync( + global::System.Collections.Generic.IList exampleIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExample.g.verified.cs new file mode 100644 index 0000000000..242906fb2f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExample.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IExamplesClient.ReadExample.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Read Example
+ /// Get a specific example. + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadExampleAsync( + global::System.Guid exampleId, + global::G.AnyOf? asOf = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExamples.g.verified.cs new file mode 100644 index 0000000000..8dbc139db4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExamples.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IExamplesClient.ReadExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Read Examples
+ /// Get all examples by query params + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: recent + /// + /// + /// + /// Default Value: [id, created_at, modified_at, name, dataset_id, source_run_id, metadata, inputs, outputs] + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadExamplesAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf, object>? fullTextContains = default, + global::G.AnyOf, object>? splits = default, + global::G.AnyOf? dataset = default, + int offset = 0, + int limit = 100, + global::G.AllOf? order = default, + global::G.AnyOf? randomSeed = default, + global::System.Collections.Generic.IList? select = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UpdateExample.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UpdateExample.g.verified.cs new file mode 100644 index 0000000000..d353c7463c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UpdateExample.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IExamplesClient.UpdateExample.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Update Example
+ /// Update a specific example. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateExampleAsync( + global::System.Guid exampleId, + global::G.ExampleUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Example
+ /// Update a specific example. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateExampleAsync( + global::System.Guid exampleId, + global::G.AnyOf? datasetId = default, + global::G.AnyOf? inputs = default, + global::G.AnyOf? outputs = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf, string, object>? split = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UpdateExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UpdateExamples.g.verified.cs new file mode 100644 index 0000000000..4c0a1700c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UpdateExamples.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IExamplesClient.UpdateExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Update Examples
+ /// Update examples in bulk. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateExamplesAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UploadExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UploadExamples.g.verified.cs new file mode 100644 index 0000000000..2c606de824 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.UploadExamples.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IExamplesClient.UploadExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Upload Examples
+ /// Create a new example. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UploadExamplesAsync( + global::System.Guid datasetId, + global::G.BodyUploadExamplesApiV1ExamplesUploadDatasetIdPost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload Examples
+ /// Create a new example. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UploadExamplesAsync( + global::System.Guid datasetId, + byte[] file, + string filename, + global::System.Collections.Generic.IList inputKeys, + global::System.Collections.Generic.IList? outputKeys = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.g.verified.cs new file mode 100644 index 0000000000..5890246176 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IExamplesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IExamplesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedback.g.verified.cs new file mode 100644 index 0000000000..4ac915bdc1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedback.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IFeedbackClient.CreateFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Create Feedback
+ /// Create a new feedback. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackAsync( + global::G.FeedbackCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Feedback
+ /// Create a new feedback. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackAsync( + string key, + global::System.DateTime createdAt = default, + global::System.DateTime modifiedAt = default, + global::G.AnyOf? score = default, + global::G.AnyOf? value = default, + global::G.AnyOf? comment = default, + global::G.AnyOf? correction = default, + global::G.AnyOf? feedbackGroupId = default, + global::G.AnyOf? comparativeExperimentId = default, + global::G.AnyOf? runId = default, + global::G.AnyOf? sessionId = default, + global::System.Guid id = default, + global::G.AnyOf? feedbackSource = default, + global::G.AnyOf? feedbackConfig = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackIngestToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackIngestToken.g.verified.cs new file mode 100644 index 0000000000..bcaa679434 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackIngestToken.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IFeedbackClient.CreateFeedbackIngestToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Create Feedback Ingest Token
+ /// Create a new feedback ingest token. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> CreateFeedbackIngestTokenAsync( + global::G.AnyOf> request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Feedback Ingest Token
+ /// Create a new feedback ingest token. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> CreateFeedbackIngestTokenAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs new file mode 100644 index 0000000000..1218ef7685 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IFeedbackClient.CreateFeedbackWithTokenGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Create Feedback With Token Get
+ /// Create a new feedback with a token. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackWithTokenGetAsync( + global::System.Guid token, + global::G.AnyOf? score = default, + global::G.AnyOf? value = default, + global::G.AnyOf? comment = default, + global::G.AnyOf? correction = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs new file mode 100644 index 0000000000..219a55fe27 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IFeedbackClient.CreateFeedbackWithTokenPost.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Create Feedback With Token Post
+ /// Create a new feedback with a token. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackWithTokenPostAsync( + global::System.Guid token, + global::G.FeedbackCreateWithTokenExtendedSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Feedback With Token Post
+ /// Create a new feedback with a token. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackWithTokenPostAsync( + global::System.Guid token, + global::G.AnyOf? score = default, + global::G.AnyOf? value = default, + global::G.AnyOf? comment = default, + global::G.AnyOf? correction = default, + global::G.AnyOf? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.DeleteFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.DeleteFeedback.g.verified.cs new file mode 100644 index 0000000000..f2e28c30bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.DeleteFeedback.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFeedbackClient.DeleteFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Delete Feedback
+ /// Delete a feedback. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteFeedbackAsync( + global::System.Guid feedbackId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.EagerlyCreateFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.EagerlyCreateFeedback.g.verified.cs new file mode 100644 index 0000000000..dc7f8e9613 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.EagerlyCreateFeedback.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IFeedbackClient.EagerlyCreateFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Eagerly Create Feedback
+ /// Create a new feedback.
+ /// This method is invoked under the assumption that the run
+ /// is already visible in the app, thus already present in DB + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EagerlyCreateFeedbackAsync( + global::G.FeedbackCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Eagerly Create Feedback
+ /// Create a new feedback.
+ /// This method is invoked under the assumption that the run
+ /// is already visible in the app, thus already present in DB + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EagerlyCreateFeedbackAsync( + string key, + global::System.DateTime createdAt = default, + global::System.DateTime modifiedAt = default, + global::G.AnyOf? score = default, + global::G.AnyOf? value = default, + global::G.AnyOf? comment = default, + global::G.AnyOf? correction = default, + global::G.AnyOf? feedbackGroupId = default, + global::G.AnyOf? comparativeExperimentId = default, + global::G.AnyOf? runId = default, + global::G.AnyOf? sessionId = default, + global::System.Guid id = default, + global::G.AnyOf? feedbackSource = default, + global::G.AnyOf? feedbackConfig = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ListFeedbackIngestTokens.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ListFeedbackIngestTokens.g.verified.cs new file mode 100644 index 0000000000..f6d8f46c1f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ListFeedbackIngestTokens.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFeedbackClient.ListFeedbackIngestTokens.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// List Feedback Ingest Tokens
+ /// List all feedback ingest tokens for a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListFeedbackIngestTokensAsync( + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ReadFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ReadFeedback.g.verified.cs new file mode 100644 index 0000000000..96a87b7100 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ReadFeedback.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFeedbackClient.ReadFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Read Feedback
+ /// Get a specific feedback. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadFeedbackAsync( + global::System.Guid feedbackId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ReadFeedbacks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ReadFeedbacks.g.verified.cs new file mode 100644 index 0000000000..1ca9b95725 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.ReadFeedbacks.g.verified.cs @@ -0,0 +1,45 @@ +//HintName: G.IFeedbackClient.ReadFeedbacks.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Read Feedbacks
+ /// List all Feedback by query params. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadFeedbacksAsync( + global::G.AnyOf, object>? run = default, + global::G.AnyOf, object>? key = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? source = default, + int limit = 100, + int offset = 0, + global::G.AnyOf, object>? user = default, + global::G.AnyOf? hasComment = default, + global::G.AnyOf? hasScore = default, + global::G.AnyOf? level = default, + global::G.AnyOf? maxCreatedAt = default, + global::G.AnyOf? minCreatedAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.UpdateFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.UpdateFeedback.g.verified.cs new file mode 100644 index 0000000000..cd638badc6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.UpdateFeedback.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IFeedbackClient.UpdateFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackClient + { + /// + /// Update Feedback
+ /// Replace an existing feedback entry with a new, modified entry. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFeedbackAsync( + global::System.Guid feedbackId, + global::G.FeedbackUpdateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Feedback
+ /// Replace an existing feedback entry with a new, modified entry. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFeedbackAsync( + global::System.Guid feedbackId, + global::G.AnyOf? score = default, + global::G.AnyOf? value = default, + global::G.AnyOf? comment = default, + global::G.AnyOf? correction = default, + global::G.AnyOf? feedbackConfig = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.g.verified.cs new file mode 100644 index 0000000000..c63a55eb56 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFeedbackClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFeedbackClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.CreateFeedbackConfigEndpoint.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.CreateFeedbackConfigEndpoint.g.verified.cs new file mode 100644 index 0000000000..615d4d3008 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.CreateFeedbackConfigEndpoint.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IFeedbackConfigsClient.CreateFeedbackConfigEndpoint.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackConfigsClient + { + /// + /// Create Feedback Config Endpoint + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackConfigEndpointAsync( + global::G.CreateFeedbackConfigSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Feedback Config Endpoint + /// + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFeedbackConfigEndpointAsync( + string feedbackKey, + global::G.FeedbackConfig feedbackConfig, + global::G.AnyOf? isLowerScoreBetter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.ListFeedbackConfigsEndpoint.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.ListFeedbackConfigsEndpoint.g.verified.cs new file mode 100644 index 0000000000..175719ab9c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.ListFeedbackConfigsEndpoint.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFeedbackConfigsClient.ListFeedbackConfigsEndpoint.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackConfigsClient + { + /// + /// List Feedback Configs Endpoint + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListFeedbackConfigsEndpointAsync( + global::G.AnyOf, object>? key = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.UpdateFeedbackConfigEndpoint.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.UpdateFeedbackConfigEndpoint.g.verified.cs new file mode 100644 index 0000000000..809a00905c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.UpdateFeedbackConfigEndpoint.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IFeedbackConfigsClient.UpdateFeedbackConfigEndpoint.g.cs +#nullable enable + +namespace G +{ + public partial interface IFeedbackConfigsClient + { + /// + /// Update Feedback Config Endpoint + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFeedbackConfigEndpointAsync( + global::G.UpdateFeedbackConfigSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Feedback Config Endpoint + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFeedbackConfigEndpointAsync( + string feedbackKey, + global::G.AnyOf? feedbackConfig = default, + global::G.AnyOf? isLowerScoreBetter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.g.verified.cs new file mode 100644 index 0000000000..6da89640c5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IFeedbackConfigsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFeedbackConfigsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFeedbackConfigsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IInfoClient.GetServerInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IInfoClient.GetServerInfo.g.verified.cs new file mode 100644 index 0000000000..73f934af90 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IInfoClient.GetServerInfo.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IInfoClient.GetServerInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IInfoClient + { + /// + /// Get Server Info
+ /// Get information about the current deployment of LangSmith. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetServerInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IInfoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IInfoClient.g.verified.cs new file mode 100644 index 0000000000..9599ac9a99 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IInfoClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IInfoClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IInfoClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ILikesClient.LikeRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ILikesClient.LikeRepo.g.verified.cs new file mode 100644 index 0000000000..493fb5c87f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ILikesClient.LikeRepo.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ILikesClient.LikeRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface ILikesClient + { + /// + /// Like Repo
+ /// Like a repo. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LikeRepoAsync( + string owner, + string repo, + global::G.LikeRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Like Repo
+ /// Like a repo. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task LikeRepoAsync( + string owner, + string repo, + bool like, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ILikesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ILikesClient.g.verified.cs new file mode 100644 index 0000000000..7ca0ba8bfd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ILikesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ILikesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILikesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.CreateNewModelPrice.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.CreateNewModelPrice.g.verified.cs new file mode 100644 index 0000000000..5904a3ac90 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.CreateNewModelPrice.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IModelPriceMapClient.CreateNewModelPrice.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelPriceMapClient + { + /// + /// Create New Model Price + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateNewModelPriceAsync( + global::G.ModelPriceMapCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create New Model Price + /// + /// + /// + /// + /// Default Value: [model, model_name, model_id, model_path, endpoint_name] + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateNewModelPriceAsync( + string name, + string matchPattern, + global::G.AnyOf promptCost, + global::G.AnyOf completionCost, + global::G.AnyOf? startTime = default, + global::System.Collections.Generic.IList? matchPath = default, + global::G.AnyOf? provider = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.DeleteModelPrice.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.DeleteModelPrice.g.verified.cs new file mode 100644 index 0000000000..7c7e57295f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.DeleteModelPrice.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IModelPriceMapClient.DeleteModelPrice.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelPriceMapClient + { + /// + /// Delete Model Price + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelPriceAsync( + global::System.Guid id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.ReadModelPriceMap.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.ReadModelPriceMap.g.verified.cs new file mode 100644 index 0000000000..8e7214c6c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.ReadModelPriceMap.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IModelPriceMapClient.ReadModelPriceMap.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelPriceMapClient + { + /// + /// Read Model Price Map + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadModelPriceMapAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.UpdateModelPrice.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.UpdateModelPrice.g.verified.cs new file mode 100644 index 0000000000..c0f02e060d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.UpdateModelPrice.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IModelPriceMapClient.UpdateModelPrice.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelPriceMapClient + { + /// + /// Update Model Price + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateModelPriceAsync( + global::System.Guid id, + global::G.ModelPriceMapUpdateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Model Price + /// + /// + /// + /// + /// + /// Default Value: [model, model_name, model_id, model_path, endpoint_name] + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateModelPriceAsync( + global::System.Guid id, + string name, + string matchPattern, + global::G.AnyOf promptCost, + global::G.AnyOf completionCost, + global::G.AnyOf? startTime = default, + global::System.Collections.Generic.IList? matchPath = default, + global::G.AnyOf? provider = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.g.verified.cs new file mode 100644 index 0000000000..150f164d1e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IModelPriceMapClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModelPriceMapClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelPriceMapClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddBasicAuthMembersToCurrentOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddBasicAuthMembersToCurrentOrg.g.verified.cs new file mode 100644 index 0000000000..d3f0bbf4ba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddBasicAuthMembersToCurrentOrg.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.AddBasicAuthMembersToCurrentOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Add Basic Auth Members To Current Org
+ /// Batch add up to 500 users to the org and specified workspaces in basic auth mode. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AddBasicAuthMembersToCurrentOrgAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddMemberToCurrentOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddMemberToCurrentOrg.g.verified.cs new file mode 100644 index 0000000000..6ef1dd30fa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddMemberToCurrentOrg.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IOrgsClient.AddMemberToCurrentOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Add Member To Current Org + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddMemberToCurrentOrgAsync( + global::G.PendingIdentityCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add Member To Current Org + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddMemberToCurrentOrgAsync( + string email, + bool readOnly = false, + global::G.AnyOf? roleId = default, + global::G.AnyOf, object>? workspaceIds = default, + global::G.AnyOf? workspaceRoleId = default, + global::G.AnyOf? password = default, + global::G.AnyOf? fullName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddMembersToCurrentOrgBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddMembersToCurrentOrgBatch.g.verified.cs new file mode 100644 index 0000000000..bccf851fc4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.AddMembersToCurrentOrgBatch.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.AddMembersToCurrentOrgBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Add Members To Current Org Batch
+ /// Batch invite up to 500 users to the current org. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AddMembersToCurrentOrgBatchAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ChangePaymentPlan.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ChangePaymentPlan.g.verified.cs new file mode 100644 index 0000000000..c2cee26486 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ChangePaymentPlan.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.ChangePaymentPlan.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Change Payment Plan + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChangePaymentPlanAsync( + global::G.ChangePaymentPlanSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Change Payment Plan + /// + /// + /// Enum for payment plans that the user can change to. Developer plans are permanent and enterprise plans will be changed manually. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChangePaymentPlanAsync( + global::G.ChangePaymentPlanReq tier, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ClaimPendingOrganizationInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ClaimPendingOrganizationInvite.g.verified.cs new file mode 100644 index 0000000000..edc67415ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ClaimPendingOrganizationInvite.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IOrgsClient.ClaimPendingOrganizationInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Claim Pending Organization Invite + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ClaimPendingOrganizationInviteAsync( + global::System.Guid organizationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateCustomersAndGetStripeSetupIntent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateCustomersAndGetStripeSetupIntent.g.verified.cs new file mode 100644 index 0000000000..40cd132147 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateCustomersAndGetStripeSetupIntent.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.CreateCustomersAndGetStripeSetupIntent.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create Customers And Get Stripe Setup Intent + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCustomersAndGetStripeSetupIntentAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateOrganizationRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateOrganizationRoles.g.verified.cs new file mode 100644 index 0000000000..12f2d47f7a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateOrganizationRoles.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IOrgsClient.CreateOrganizationRoles.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create Organization Roles + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateOrganizationRolesAsync( + global::G.CreateRoleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Organization Roles + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateOrganizationRolesAsync( + string displayName, + string description, + global::System.Collections.Generic.IList permissions, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteCurrentOrgPendingMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteCurrentOrgPendingMember.g.verified.cs new file mode 100644 index 0000000000..d907eb18b8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteCurrentOrgPendingMember.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.DeleteCurrentOrgPendingMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete Current Org Pending Member
+ /// When an admin deletes a pending member invite. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteCurrentOrgPendingMemberAsync( + global::System.Guid identityId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteOrganizationRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteOrganizationRoles.g.verified.cs new file mode 100644 index 0000000000..b46f94c5ec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteOrganizationRoles.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IOrgsClient.DeleteOrganizationRoles.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete Organization Roles + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteOrganizationRolesAsync( + global::System.Guid roleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeletePendingOrganizationInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeletePendingOrganizationInvite.g.verified.cs new file mode 100644 index 0000000000..d63fa47e1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeletePendingOrganizationInvite.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IOrgsClient.DeletePendingOrganizationInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete Pending Organization Invite + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeletePendingOrganizationInviteAsync( + global::System.Guid organizationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCompanyInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCompanyInfo.g.verified.cs new file mode 100644 index 0000000000..c1a12e23d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCompanyInfo.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.GetCompanyInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Company Info + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCompanyInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentOrgMembers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentOrgMembers.g.verified.cs new file mode 100644 index 0000000000..5384cca061 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentOrgMembers.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.GetCurrentOrgMembers.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Current Org Members + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentOrgMembersAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentOrganizationInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentOrganizationInfo.g.verified.cs new file mode 100644 index 0000000000..5db672753f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentOrganizationInfo.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.GetCurrentOrganizationInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Current Organization Info + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentOrganizationInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetDashboard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetDashboard.g.verified.cs new file mode 100644 index 0000000000..ca514faedb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetDashboard.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IOrgsClient.GetDashboard.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Dashboard + /// + /// + /// Enum for acceptable types of dashboards. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDashboardAsync( + global::G.OrganizationDashboardType type, + global::G.AnyOf colorScheme, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetOrganizationBillingInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetOrganizationBillingInfo.g.verified.cs new file mode 100644 index 0000000000..01f8160341 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetOrganizationBillingInfo.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.GetOrganizationBillingInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Organization Billing Info + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetOrganizationBillingInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetOrganizationInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetOrganizationInfo.g.verified.cs new file mode 100644 index 0000000000..be702d5ddc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetOrganizationInfo.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.GetOrganizationInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Organization Info + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetOrganizationInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizationRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizationRoles.g.verified.cs new file mode 100644 index 0000000000..80901d842b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizationRoles.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.ListOrganizationRoles.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List Organization Roles + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListOrganizationRolesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs new file mode 100644 index 0000000000..9dd8eba011 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IOrgsClient.ListOrganizations.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List Organizations
+ /// Get all orgs visible to this auth + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListOrganizationsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListPendingOrganizationInvites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListPendingOrganizationInvites.g.verified.cs new file mode 100644 index 0000000000..79d609f2bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListPendingOrganizationInvites.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IOrgsClient.ListPendingOrganizationInvites.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List Pending Organization Invites
+ /// Get all pending orgs visible to this auth + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPendingOrganizationInvitesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListPermissions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListPermissions.g.verified.cs new file mode 100644 index 0000000000..703c48b32c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListPermissions.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IOrgsClient.ListPermissions.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List Permissions + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPermissionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListTtlSettings.g.verified.cs new file mode 100644 index 0000000000..e46ec282a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListTtlSettings.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IOrgsClient.ListTtlSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// List Ttl Settings
+ /// List out the configured TTL settings for a given org (org-level and tenant-level). + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTtlSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.OnPaymentMethodCreated.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.OnPaymentMethodCreated.g.verified.cs new file mode 100644 index 0000000000..0db774ef55 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.OnPaymentMethodCreated.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IOrgsClient.OnPaymentMethodCreated.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// On Payment Method Created + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OnPaymentMethodCreatedAsync( + global::G.StripePaymentInformation request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// On Payment Method Created + /// + /// + /// Stripe customer billing information. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OnPaymentMethodCreatedAsync( + global::G.StripeCustomerBillingInfo billingInfo, + string setupIntent, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.RemoveMemberFromCurrentOrg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.RemoveMemberFromCurrentOrg.g.verified.cs new file mode 100644 index 0000000000..2aea60925b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.RemoveMemberFromCurrentOrg.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.RemoveMemberFromCurrentOrg.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Remove Member From Current Org
+ /// Remove a user from the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RemoveMemberFromCurrentOrgAsync( + global::System.Guid identityId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.SetCompanyInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.SetCompanyInfo.g.verified.cs new file mode 100644 index 0000000000..1f016f551c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.SetCompanyInfo.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IOrgsClient.SetCompanyInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Set Company Info + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetCompanyInfoAsync( + global::G.StripeBusinessInfoInput request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set Company Info + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetCompanyInfoAsync( + global::G.AnyOf? companyInfo = default, + global::G.AnyOf? taxId = default, + global::G.AnyOf? invoiceEmail = default, + bool isBusiness = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentOrgMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentOrgMember.g.verified.cs new file mode 100644 index 0000000000..53f74ab13e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentOrgMember.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IOrgsClient.UpdateCurrentOrgMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Current Org Member
+ /// This is used for updating a user's role (all auth modes) or full_name/password (basic auth) + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentOrgMemberAsync( + global::System.Guid identityId, + global::G.OrgIdentityPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Current Org Member
+ /// This is used for updating a user's role (all auth modes) or full_name/password (basic auth) + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentOrgMemberAsync( + global::System.Guid identityId, + global::G.AnyOf? password = default, + global::G.AnyOf? fullName = default, + global::G.AnyOf? roleId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentUser.g.verified.cs new file mode 100644 index 0000000000..a662f88d82 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentUser.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IOrgsClient.UpdateCurrentUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Current User
+ /// Update a user's full_name/password (basic auth only) + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentUserAsync( + global::G.BasicAuthUserPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Current User
+ /// Update a user's full_name/password (basic auth only) + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentUserAsync( + global::G.AnyOf? password = default, + global::G.AnyOf? fullName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateOrganizationRoles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateOrganizationRoles.g.verified.cs new file mode 100644 index 0000000000..0b8725b159 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateOrganizationRoles.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IOrgsClient.UpdateOrganizationRoles.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Organization Roles + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateOrganizationRolesAsync( + global::System.Guid roleId, + global::G.UpdateRoleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Organization Roles + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateOrganizationRolesAsync( + global::System.Guid roleId, + string displayName, + string description, + global::System.Collections.Generic.IList permissions, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs new file mode 100644 index 0000000000..cdb3881d8b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IOrgsClient.UpsertTtlSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Upsert Ttl Settings + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( + global::G.UpsertOrgOrWorkspaceTTLSettingsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upsert Ttl Settings + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( + global::G.TraceTier3 defaultTraceTier, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.g.verified.cs new file mode 100644 index 0000000000..476aa2d6dc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IOrgsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IOrgsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.verified.cs new file mode 100644 index 0000000000..412e984a2a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPlaygroundSettingsClient.CreatePlaygroundSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IPlaygroundSettingsClient + { + /// + /// Create Playground Settings
+ /// Create playground settings. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePlaygroundSettingsAsync( + global::G.PlaygroundSettingsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Playground Settings
+ /// Create playground settings. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePlaygroundSettingsAsync( + global::G.PlaygroundSettingsCreateRequestSettings settings, + global::G.AnyOf? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.DeletePlaygroundSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.DeletePlaygroundSettings.g.verified.cs new file mode 100644 index 0000000000..628349aad5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.DeletePlaygroundSettings.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IPlaygroundSettingsClient.DeletePlaygroundSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IPlaygroundSettingsClient + { + /// + /// Delete Playground Settings
+ /// Delete playground settings. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeletePlaygroundSettingsAsync( + string playgroundSettingsId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.ListPlaygroundSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.ListPlaygroundSettings.g.verified.cs new file mode 100644 index 0000000000..c37aab78a9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.ListPlaygroundSettings.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IPlaygroundSettingsClient.ListPlaygroundSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IPlaygroundSettingsClient + { + /// + /// List Playground Settings
+ /// Get all playground settings for this tenant id. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPlaygroundSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.verified.cs new file mode 100644 index 0000000000..8ed32552f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IPlaygroundSettingsClient.UpdatePlaygroundSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IPlaygroundSettingsClient + { + /// + /// Update Playground Settings
+ /// Update playground settings. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdatePlaygroundSettingsAsync( + string playgroundSettingsId, + global::G.PlaygroundSettingsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Playground Settings
+ /// Update playground settings. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdatePlaygroundSettingsAsync( + string playgroundSettingsId, + global::G.AnyOf? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.g.verified.cs new file mode 100644 index 0000000000..b115d61faa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPlaygroundSettingsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPlaygroundSettingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPlaygroundSettingsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPromptsClient.InvokePrompt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPromptsClient.InvokePrompt.g.verified.cs new file mode 100644 index 0000000000..6f77b24a37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPromptsClient.InvokePrompt.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPromptsClient.InvokePrompt.g.cs +#nullable enable + +namespace G +{ + public partial interface IPromptsClient + { + /// + /// Invoke Prompt + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InvokePromptAsync( + global::G.InvokePromptPayload request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Invoke Prompt + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InvokePromptAsync( + global::System.Collections.Generic.IList> messages, + string templateFormat, + global::G.InvokePromptPayloadInputs inputs, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPromptsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPromptsClient.g.verified.cs new file mode 100644 index 0000000000..0926b54adc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPromptsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPromptsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPromptsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs new file mode 100644 index 0000000000..b1edfbf106 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPublicClient.GenerateQueryForSharedDatasetRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Generate Query For Shared Dataset Runs
+ /// Get runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateQueryForSharedDatasetRunsAsync( + global::System.Guid shareToken, + global::G.RequestBodyForRunsGenerateQuery request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate Query For Shared Dataset Runs
+ /// Get runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateQueryForSharedDatasetRunsAsync( + global::System.Guid shareToken, + string query, + global::System.Collections.Generic.IList? feedbackKeys = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GetSharedRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GetSharedRun.g.verified.cs new file mode 100644 index 0000000000..8bd86fc048 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GetSharedRun.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPublicClient.GetSharedRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Get Shared Run
+ /// Get the shared run. + ///
+ /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSharedRunAsync( + global::System.Guid shareToken, + bool excludeS3StoredAttributes = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GetSharedRunById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GetSharedRunById.g.verified.cs new file mode 100644 index 0000000000..633f48d35d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.GetSharedRunById.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPublicClient.GetSharedRunById.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Get Shared Run By Id
+ /// Get the shared run. + ///
+ /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSharedRunByIdAsync( + global::System.Guid id, + global::System.Guid shareToken, + bool excludeS3StoredAttributes = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs new file mode 100644 index 0000000000..633e2c89b7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs @@ -0,0 +1,78 @@ +//HintName: G.IPublicClient.QuerySharedDatasetRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Query Shared Dataset Runs
+ /// Get runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QuerySharedDatasetRunsAsync( + global::System.Guid shareToken, + global::G.BodyParamsForRunSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Query Shared Dataset Runs
+ /// Get runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// + /// + /// Default Value: desc + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QuerySharedDatasetRunsAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? trace = default, + global::G.AnyOf? parentRun = default, + global::G.AnyOf? runType = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? referenceExample = default, + global::G.AnyOf? executionOrder = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? error = default, + global::G.AnyOf? query = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? isRoot = default, + global::G.AnyOf? dataSourceType = default, + global::G.AnyOf? cursor = default, + int limit = 100, + global::System.Collections.Generic.IList? select = default, + global::G.AllOf? order = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedRuns.g.verified.cs new file mode 100644 index 0000000000..b897ec33d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedRuns.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IPublicClient.QuerySharedRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Query Shared Runs
+ /// Get run by ids or the shared run if not specifed. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QuerySharedRunsAsync( + global::System.Guid shareToken, + global::G.QueryParamsForPublicRunSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Query Shared Runs
+ /// Get run by ids or the shared run if not specifed. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QuerySharedRunsAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs new file mode 100644 index 0000000000..1fdc4ef3ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IPublicClient.ReadSharedComparativeExperiments.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Comparative Experiments
+ /// Get all comparative experiments for a given dataset. + ///
+ /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSharedComparativeExperimentsAsync( + global::System.Guid shareToken, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + int offset = 0, + int limit = 100, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs new file mode 100644 index 0000000000..b856367ec6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IPublicClient.ReadSharedDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Dataset
+ /// Get dataset by ids or the shared dataset if not specifed. + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: last_session_start_time + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSharedDatasetAsync( + global::System.Guid shareToken, + int offset = 0, + int limit = 100, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs new file mode 100644 index 0000000000..b847bfed8b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IPublicClient.ReadSharedDatasetExamplesWithRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Dataset Examples With Runs
+ /// Get examples with associated runs from sessions in a dataset that has been shared. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadSharedDatasetExamplesWithRunsAsync( + global::System.Guid shareToken, + global::G.QueryExampleSchemaWithRuns request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Shared Dataset Examples With Runs
+ /// Get examples with associated runs from sessions in a dataset that has been shared. + ///
+ /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task, global::System.Collections.Generic.IList>> ReadSharedDatasetExamplesWithRunsAsync( + global::System.Guid shareToken, + global::System.Collections.Generic.IList sessionIds, + global::G.AnyOf? comparativeExperimentId = default, + global::G.AnyOf? filters = default, + int offset = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetFeedback.g.verified.cs new file mode 100644 index 0000000000..a40ed2ef73 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetFeedback.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IPublicClient.ReadSharedDatasetFeedback.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Dataset Feedback
+ /// Get feedback for runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSharedDatasetFeedbackAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? run = default, + global::G.AnyOf, object>? key = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? source = default, + int limit = 100, + int offset = 0, + global::G.AnyOf, object>? user = default, + global::G.AnyOf? hasComment = default, + global::G.AnyOf? hasScore = default, + global::G.AnyOf? level = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetRun.g.verified.cs new file mode 100644 index 0000000000..42c9256518 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetRun.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPublicClient.ReadSharedDatasetRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Dataset Run
+ /// Get runs in projects run over a dataset that has been shared. + ///
+ /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSharedDatasetRunAsync( + global::System.Guid runId, + global::System.Guid shareToken, + bool excludeS3StoredAttributes = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs new file mode 100644 index 0000000000..6af0b15b47 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IPublicClient.ReadSharedDatasetTracerSessions.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Dataset Tracer Sessions
+ /// Get projects run on a dataset that has been shared. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: start_time + /// + /// + /// Default Value: true + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSharedDatasetTracerSessionsAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + global::G.AnyOf? datasetVersion = default, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::G.AnyOf? sortByFeedbackKey = default, + int offset = 0, + int limit = 100, + bool facets = false, + global::G.AnyOf? accept = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDelta.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDelta.g.verified.cs new file mode 100644 index 0000000000..a4ecfc4217 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDelta.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IPublicClient.ReadSharedDelta.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Delta
+ /// Fetch the number of regressions/improvements for each example in a dataset, between sessions[0] and sessions[1]. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSharedDeltaAsync( + global::System.Guid shareToken, + global::G.QueryFeedbackDelta request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Shared Delta
+ /// Fetch the number of regressions/improvements for each example in a dataset, between sessions[0] and sessions[1]. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSharedDeltaAsync( + global::System.Guid shareToken, + global::System.Guid baselineSessionId, + global::System.Collections.Generic.IList comparisonSessionIds, + string feedbackKey, + global::G.AnyOf? filters = default, + int offset = 0, + int limit = 100, + global::G.AnyOf? comparativeExperimentId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedExamples.g.verified.cs new file mode 100644 index 0000000000..876ef3a247 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedExamples.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IPublicClient.ReadSharedExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Examples
+ /// Get example by ids or the shared example if not specifed. + ///
+ /// + /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: [id, created_at, modified_at, name, dataset_id, metadata, inputs, outputs] + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSharedExamplesAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + int offset = 0, + int limit = 100, + global::System.Collections.Generic.IList? select = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedFeedbacks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedFeedbacks.g.verified.cs new file mode 100644 index 0000000000..1b8d1e84bb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedFeedbacks.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IPublicClient.ReadSharedFeedbacks.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Read Shared Feedbacks + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadSharedFeedbacksAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? run = default, + global::G.AnyOf, object>? key = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? source = default, + int limit = 100, + int offset = 0, + global::G.AnyOf, object>? user = default, + global::G.AnyOf? hasComment = default, + global::G.AnyOf? hasScore = default, + global::G.AnyOf? level = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.StatsSharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.StatsSharedDatasetRuns.g.verified.cs new file mode 100644 index 0000000000..d8c53c06af --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.StatsSharedDatasetRuns.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IPublicClient.StatsSharedDatasetRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Stats Shared Dataset Runs
+ /// Get run stats in projects run over a dataset that has been shared. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsSharedDatasetRunsAsync( + global::System.Guid shareToken, + global::G.FilterQueryParamsForRunSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Stats Shared Dataset Runs
+ /// Get run stats in projects run over a dataset that has been shared. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsSharedDatasetRunsAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? trace = default, + global::G.AnyOf? parentRun = default, + global::G.AnyOf? runType = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? referenceExample = default, + global::G.AnyOf? executionOrder = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? error = default, + global::G.AnyOf? query = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? isRoot = default, + global::G.AnyOf? dataSourceType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.g.verified.cs new file mode 100644 index 0000000000..67c5735b83 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPublicClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPublicClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.CreateRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.CreateRepo.g.verified.cs new file mode 100644 index 0000000000..fc14d7b4ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.CreateRepo.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IReposClient.CreateRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Create Repo
+ /// Create a repo. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRepoAsync( + global::G.CreateRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Repo
+ /// Create a repo. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRepoAsync( + string repoHandle, + bool isPublic, + global::G.AnyOf? description = default, + global::G.AnyOf? readme = default, + global::G.AnyOf, object>? tags = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.DeleteRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.DeleteRepo.g.verified.cs new file mode 100644 index 0000000000..432ec19834 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.DeleteRepo.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.DeleteRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Delete Repo
+ /// Delete a repo. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ForkRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ForkRepo.g.verified.cs new file mode 100644 index 0000000000..813f62a14b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ForkRepo.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IReposClient.ForkRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Fork Repo
+ /// Fork a repo. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ForkRepoAsync( + string owner, + string repo, + global::G.ForkRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Fork Repo
+ /// Fork a repo. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ForkRepoAsync( + string owner, + string repo, + string repoHandle, + global::G.AnyOf? readme = default, + global::G.AnyOf? description = default, + global::G.AnyOf, object>? tags = default, + global::G.AnyOf? isPublic = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.GetRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.GetRepo.g.verified.cs new file mode 100644 index 0000000000..9b920254ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.GetRepo.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IReposClient.GetRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Get Repo
+ /// Get a repo. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRepoAsync( + string owner, + string repo, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepoTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepoTags.g.verified.cs new file mode 100644 index 0000000000..1932250523 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepoTags.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IReposClient.ListRepoTags.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List Repo Tags
+ /// Get all repo tags. + ///
+ /// + /// Default Value: 20 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListRepoTagsAsync( + int limit = 20, + int offset = 0, + global::G.AnyOf? tenantHandle = default, + global::G.AnyOf? tenantId = default, + global::G.AnyOf? query = default, + global::G.AnyOf? hasCommits = default, + global::G.AnyOf, object>? tags = default, + global::G.AnyOf? isArchived = default, + global::G.AnyOf? isPublic = default, + global::G.AnyOf? upstreamRepoOwner = default, + global::G.AnyOf? upstreamRepoHandle = default, + global::G.AnyOf? matchPrefix = default, + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepos.g.verified.cs new file mode 100644 index 0000000000..94398518cf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepos.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IReposClient.ListRepos.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// List Repos
+ /// Get all repos. + ///
+ /// + /// Default Value: 20 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListReposAsync( + int limit = 20, + int offset = 0, + global::G.AnyOf? tenantHandle = default, + global::G.AnyOf? tenantId = default, + global::G.AnyOf? query = default, + global::G.AnyOf? hasCommits = default, + global::G.AnyOf, object>? tags = default, + global::G.AnyOf? isArchived = default, + global::G.AnyOf? isPublic = default, + global::G.AnyOf? upstreamRepoOwner = default, + global::G.AnyOf? upstreamRepoHandle = default, + global::G.AnyOf? matchPrefix = default, + global::G.AnyOf, object>? tagValueId = default, + global::G.AnyOf? sortField = default, + global::G.AnyOf? sortDirection = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.UpdateRepo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.UpdateRepo.g.verified.cs new file mode 100644 index 0000000000..08fc0f03de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.UpdateRepo.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IReposClient.UpdateRepo.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Update Repo
+ /// Update a repo. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRepoAsync( + string owner, + string repo, + global::G.UpdateRepoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Repo
+ /// Update a repo. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRepoAsync( + string owner, + string repo, + global::G.AnyOf? description = default, + global::G.AnyOf? readme = default, + global::G.AnyOf, object>? tags = default, + global::G.AnyOf? isPublic = default, + global::G.AnyOf? isArchived = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.g.verified.cs new file mode 100644 index 0000000000..caed04db9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IReposClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IReposClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.BatchIngestRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.BatchIngestRuns.g.verified.cs new file mode 100644 index 0000000000..1993273971 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.BatchIngestRuns.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IRunClient.BatchIngestRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Batch Ingest Runs
+ /// Batch ingest runs. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BatchIngestRunsAsync( + global::G.BatchIngestRunsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Batch Ingest Runs
+ /// Batch ingest runs. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BatchIngestRunsAsync( + global::System.Collections.Generic.IList? post = default, + global::System.Collections.Generic.IList? patch = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRule.g.verified.cs new file mode 100644 index 0000000000..1de4e6017e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRule.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IRunClient.CreateRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Create Rule
+ /// Create a new run rule. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRuleAsync( + global::G.RunRulesCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Rule
+ /// Create a new run rule. + ///
+ /// + /// + /// + /// Default Value: true + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRuleAsync( + string displayName, + double samplingRate, + global::G.AnyOf? sessionId = default, + bool isEnabled = true, + global::G.AnyOf? datasetId = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? backfillFrom = default, + bool useCorrectionsDataset = false, + global::G.AnyOf? numFewShotExamples = default, + bool extendOnly = false, + global::G.AnyOf? addToAnnotationQueueId = default, + global::G.AnyOf? addToDatasetId = default, + bool addToDatasetPreferCorrection = false, + global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? alerts = default, + global::G.AnyOf, object>? webhooks = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRun.g.verified.cs new file mode 100644 index 0000000000..7adb562d99 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRun.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IRunClient.CreateRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Create Run
+ /// Create a new run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRunAsync( + global::G.CreateRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Run
+ /// Create a new run. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRunAsync( + string name, + global::G.CreateRunRequestRunType runType, + global::G.OneOf? inputs = default, + global::G.OneOf? startTime = default, + global::G.OneOf? endTime = default, + global::G.OneOf? extra = default, + global::G.OneOf? error = default, + global::G.OneOf? serialized = default, + global::G.OneOf? outputs = default, + global::G.OneOf? parentRunId = default, + global::G.OneOf, object>? events = default, + global::G.OneOf, object>? tags = default, + global::G.OneOf? traceId = default, + global::G.OneOf? dottedOrder = default, + global::G.OneOf? id = default, + global::G.OneOf? sessionId = default, + global::G.OneOf? sessionName = default, + global::G.OneOf? referenceExampleId = default, + global::G.OneOf? inputAttachments = default, + global::G.OneOf? outputAttachments = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.DeleteRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.DeleteRule.g.verified.cs new file mode 100644 index 0000000000..02ca862245 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.DeleteRule.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunClient.DeleteRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Delete Rule
+ /// Delete a run rule. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteRuleAsync( + global::System.Guid ruleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.GenerateQueryForRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.GenerateQueryForRuns.g.verified.cs new file mode 100644 index 0000000000..8c720cc9cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.GenerateQueryForRuns.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IRunClient.GenerateQueryForRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Generate Query For Runs
+ /// Get runs filter expression query for a given natural language query. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateQueryForRunsAsync( + global::G.RequestBodyForRunsGenerateQuery request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate Query For Runs
+ /// Get runs filter expression query for a given natural language query. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateQueryForRunsAsync( + string query, + global::System.Collections.Generic.IList? feedbackKeys = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.GroupRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.GroupRuns.g.verified.cs new file mode 100644 index 0000000000..4929a32e7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.GroupRuns.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IRunClient.GroupRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Group Runs
+ /// Get runs grouped by an expression + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GroupRunsAsync( + global::G.RunGroupRequest request, + global::G.AnyOf? accept = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Group Runs
+ /// Get runs grouped by an expression + ///
+ /// + /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GroupRunsAsync( + global::System.Guid sessionId, + global::G.AnyOf? accept = default, + global::G.RunGroupBy groupBy = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRuleLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRuleLogs.g.verified.cs new file mode 100644 index 0000000000..31291f2696 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRuleLogs.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IRunClient.ListRuleLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// List Rule Logs
+ /// List logs for a particular rule + ///
+ /// + /// + /// Default Value: 720 + /// + /// + /// Default Value: 0 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListRuleLogsAsync( + global::System.Guid ruleId, + int limit = 720, + int offset = 0, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRules.g.verified.cs new file mode 100644 index 0000000000..68f307ccf6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRules.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IRunClient.ListRules.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// List Rules
+ /// List all run rules. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListRulesAsync( + global::G.AnyOf? datasetId = default, + global::G.AnyOf? sessionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs new file mode 100644 index 0000000000..efbb3342ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IRunClient.MonitorTracerSession.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Monitor Tracer Session
+ /// Get monitoring data for a specific session. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MonitorTracerSessionAsync( + global::G.MonitorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Monitor Tracer Session
+ /// Get monitoring data for a specific session. + ///
+ /// + /// Default Value: UTC + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MonitorTracerSessionAsync( + global::System.Collections.Generic.IList groups, + string? timezone = "UTC", + global::G.AllOf? interval = default, + global::G.AllOf? stride = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.QueryRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.QueryRuns.g.verified.cs new file mode 100644 index 0000000000..6aa447cf9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.QueryRuns.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IRunClient.QueryRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Query Runs + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QueryRunsAsync( + global::G.BodyParamsForRunSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Query Runs + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 100 + /// + /// + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// + /// + /// Default Value: desc + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task QueryRunsAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf? trace = default, + global::G.AnyOf? parentRun = default, + global::G.AnyOf? runType = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? referenceExample = default, + global::G.AnyOf? executionOrder = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? error = default, + global::G.AnyOf? query = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? isRoot = default, + global::G.AnyOf? dataSourceType = default, + global::G.AnyOf? cursor = default, + int limit = 100, + global::System.Collections.Generic.IList? select = default, + global::G.AllOf? order = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ReadRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ReadRun.g.verified.cs new file mode 100644 index 0000000000..34cd99ebaa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ReadRun.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IRunClient.ReadRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Read Run
+ /// Get a specific run. + ///
+ /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadRunAsync( + global::System.Guid runId, + bool excludeS3StoredAttributes = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ReadRunShareState.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ReadRunShareState.g.verified.cs new file mode 100644 index 0000000000..d6dee0d664 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ReadRunShareState.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunClient.ReadRunShareState.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Read Run Share State
+ /// Get the state of sharing of a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadRunShareStateAsync( + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ShareRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ShareRun.g.verified.cs new file mode 100644 index 0000000000..1e36264265 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ShareRun.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunClient.ShareRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Share Run
+ /// Share a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShareRunAsync( + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.StatsGroupRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.StatsGroupRuns.g.verified.cs new file mode 100644 index 0000000000..f39b34b6fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.StatsGroupRuns.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IRunClient.StatsGroupRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Stats Group Runs
+ /// Get stats for the grouped runs. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsGroupRunsAsync( + global::G.RunGroupRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Stats Group Runs
+ /// Get stats for the grouped runs. + ///
+ /// + /// + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsGroupRunsAsync( + global::System.Guid sessionId, + global::G.RunGroupBy groupBy = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.StatsRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.StatsRuns.g.verified.cs new file mode 100644 index 0000000000..3b47c420d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.StatsRuns.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IRunClient.StatsRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Stats Runs
+ /// Get all runs by query in body payload. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsRunsAsync( + global::G.FilterQueryParamsForRunSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Stats Runs
+ /// Get all runs by query in body payload. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StatsRunsAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf? trace = default, + global::G.AnyOf? parentRun = default, + global::G.AnyOf? runType = default, + global::G.AnyOf, object>? session = default, + global::G.AnyOf, object>? referenceExample = default, + global::G.AnyOf? executionOrder = default, + global::G.AnyOf? startTime = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? error = default, + global::G.AnyOf? query = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? isRoot = default, + global::G.AnyOf? dataSourceType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.TriggerRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.TriggerRule.g.verified.cs new file mode 100644 index 0000000000..bb2137d10d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.TriggerRule.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunClient.TriggerRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Trigger Rule
+ /// Trigger a run rule manually. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TriggerRuleAsync( + global::System.Guid ruleId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UnshareRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UnshareRun.g.verified.cs new file mode 100644 index 0000000000..e22edbc862 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UnshareRun.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunClient.UnshareRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Unshare Run
+ /// Unshare a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnshareRunAsync( + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRule.g.verified.cs new file mode 100644 index 0000000000..b0af6882de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRule.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.IRunClient.UpdateRule.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Update Rule
+ /// Update a run rule. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRuleAsync( + global::System.Guid ruleId, + global::G.RunRulesCreateSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Rule
+ /// Update a run rule. + ///
+ /// + /// + /// + /// + /// Default Value: true + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRuleAsync( + global::System.Guid ruleId, + string displayName, + double samplingRate, + global::G.AnyOf? sessionId = default, + bool isEnabled = true, + global::G.AnyOf? datasetId = default, + global::G.AnyOf? filter = default, + global::G.AnyOf? traceFilter = default, + global::G.AnyOf? treeFilter = default, + global::G.AnyOf? backfillFrom = default, + bool useCorrectionsDataset = false, + global::G.AnyOf? numFewShotExamples = default, + bool extendOnly = false, + global::G.AnyOf? addToAnnotationQueueId = default, + global::G.AnyOf? addToDatasetId = default, + bool addToDatasetPreferCorrection = false, + global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? alerts = default, + global::G.AnyOf, object>? webhooks = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRun.g.verified.cs new file mode 100644 index 0000000000..c9f210bc78 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRun.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IRunClient.UpdateRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Update Run
+ /// Update a run. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRunAsync( + global::System.Guid runId, + global::G.UpdateRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Run
+ /// Update a run. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRunAsync( + global::System.Guid runId, + global::G.OneOf? traceId = default, + global::G.OneOf? dottedOrder = default, + global::G.OneOf? parentRunId = default, + global::G.OneOf? endTime = default, + global::G.OneOf? error = default, + global::G.OneOf? inputs = default, + global::G.OneOf? outputs = default, + global::G.OneOf, object>? events = default, + global::G.OneOf, object>? tags = default, + global::G.OneOf? extra = default, + global::G.OneOf? inputAttachments = default, + global::G.OneOf? outputAttachments = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.g.verified.cs new file mode 100644 index 0000000000..48d5aa4d84 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRunClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRunClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.CreateServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.CreateServiceAccount.g.verified.cs new file mode 100644 index 0000000000..dacaf2c48a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.CreateServiceAccount.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IServiceAccountsClient.CreateServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IServiceAccountsClient + { + /// + /// Create Service Account
+ /// Create a service account + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateServiceAccountAsync( + global::G.ServiceAccountCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Service Account
+ /// Create a service account + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateServiceAccountAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.DeleteServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.DeleteServiceAccount.g.verified.cs new file mode 100644 index 0000000000..c175542e20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.DeleteServiceAccount.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IServiceAccountsClient.DeleteServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IServiceAccountsClient + { + /// + /// Delete Service Account
+ /// Delete a service account + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteServiceAccountAsync( + global::System.Guid serviceAccountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.GetServiceAccounts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.GetServiceAccounts.g.verified.cs new file mode 100644 index 0000000000..b2fa3e845a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.GetServiceAccounts.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IServiceAccountsClient.GetServiceAccounts.g.cs +#nullable enable + +namespace G +{ + public partial interface IServiceAccountsClient + { + /// + /// Get Service Accounts
+ /// Get the current organization's service accounts. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetServiceAccountsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.g.verified.cs new file mode 100644 index 0000000000..056fd0d6b9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IServiceAccountsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IServiceAccountsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IServiceAccountsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.GetSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.GetSettings.g.verified.cs new file mode 100644 index 0000000000..de85a6a9de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.GetSettings.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ISettingsClient.GetSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface ISettingsClient + { + /// + /// Get Settings
+ /// Get settings. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.SetTenantHandle.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.SetTenantHandle.g.verified.cs new file mode 100644 index 0000000000..24bb9ac3ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.SetTenantHandle.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ISettingsClient.SetTenantHandle.g.cs +#nullable enable + +namespace G +{ + public partial interface ISettingsClient + { + /// + /// Set Tenant Handle
+ /// Set tenant handle. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetTenantHandleAsync( + global::G.SetTenantHandleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set Tenant Handle
+ /// Set tenant handle. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetTenantHandleAsync( + string tenantHandle, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.g.verified.cs new file mode 100644 index 0000000000..efc841152f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ISettingsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISettingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISettingsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.CreateTenant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.CreateTenant.g.verified.cs new file mode 100644 index 0000000000..4493a9c05b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.CreateTenant.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.ITenantClient.CreateTenant.g.cs +#nullable enable + +namespace G +{ + public partial interface ITenantClient + { + /// + /// Create Tenant
+ /// Create a new organization and corresponding workspace. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTenantAsync( + global::G.TenantCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Tenant
+ /// Create a new organization and corresponding workspace. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTenantAsync( + string displayName, + global::System.Guid id = default, + global::G.AnyOf? organizationId = default, + global::G.AnyOf? tenantHandle = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.ListTenants.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.ListTenants.g.verified.cs new file mode 100644 index 0000000000..8c1bff4511 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.ListTenants.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITenantClient.ListTenants.g.cs +#nullable enable + +namespace G +{ + public partial interface ITenantClient + { + /// + /// List Tenants
+ /// Get all tenants visible to this auth + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTenantsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.g.verified.cs new file mode 100644 index 0000000000..dfaf5fe55f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITenantClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITenantClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs new file mode 100644 index 0000000000..1d35d586c5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.ITracerSessionsClient.CreateFilterView.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Create Filter View
+ /// Create a new filter view. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFilterViewAsync( + global::System.Guid sessionId, + global::G.FilterViewCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Filter View
+ /// Create a new filter view. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFilterViewAsync( + global::System.Guid sessionId, + string filterString, + string displayName, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateTracerSession.g.verified.cs new file mode 100644 index 0000000000..0d3c6a93c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateTracerSession.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.ITracerSessionsClient.CreateTracerSession.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Create Tracer Session
+ /// Create a new session. + ///
+ /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTracerSessionAsync( + global::G.TracerSessionCreate request, + bool upsert = false, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Tracer Session
+ /// Create a new session. + ///
+ /// + /// Default Value: false + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTracerSessionAsync( + bool upsert = false, + global::System.DateTime startTime = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? extra = default, + string? name = default, + global::G.AnyOf? description = default, + global::G.AnyOf? defaultDatasetId = default, + global::G.AnyOf? referenceDatasetId = default, + global::G.AnyOf? traceTier = default, + global::G.AnyOf? id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteFilterView.g.verified.cs new file mode 100644 index 0000000000..0ab704153b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteFilterView.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ITracerSessionsClient.DeleteFilterView.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Delete Filter View
+ /// Delete a specific filter view. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteFilterViewAsync( + global::System.Guid sessionId, + global::System.Guid viewId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteTracerSession.g.verified.cs new file mode 100644 index 0000000000..220e99d0a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteTracerSession.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITracerSessionsClient.DeleteTracerSession.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Delete Tracer Session
+ /// Delete a specific session. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTracerSessionAsync( + global::System.Guid sessionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteTracerSessions.g.verified.cs new file mode 100644 index 0000000000..80eb598627 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.DeleteTracerSessions.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITracerSessionsClient.DeleteTracerSessions.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Delete Tracer Sessions
+ /// Delete a specific session. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTracerSessionsAsync( + global::System.Collections.Generic.IList sessionIds, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadFilterView.g.verified.cs new file mode 100644 index 0000000000..28cadf14b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadFilterView.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ITracerSessionsClient.ReadFilterView.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Read Filter View
+ /// Get a specific filter view. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadFilterViewAsync( + global::System.Guid sessionId, + global::System.Guid viewId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadFilterViews.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadFilterViews.g.verified.cs new file mode 100644 index 0000000000..be826c168f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadFilterViews.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITracerSessionsClient.ReadFilterViews.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Read Filter Views
+ /// Get all filter views for a session. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadFilterViewsAsync( + global::System.Guid sessionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSession.g.verified.cs new file mode 100644 index 0000000000..5e6f8b3aed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSession.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITracerSessionsClient.ReadTracerSession.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Read Tracer Session
+ /// Get a specific session. + ///
+ /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadTracerSessionAsync( + global::System.Guid sessionId, + bool includeStats = false, + global::G.AnyOf? accept = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs new file mode 100644 index 0000000000..609fe2a37c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.ITracerSessionsClient.ReadTracerSessions.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Read Tracer Sessions
+ /// Get all sessions. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// Default Value: start_time + /// + /// + /// Default Value: true + /// + /// + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// + /// Default Value: false + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ReadTracerSessionsAsync( + global::G.AnyOf? referenceFree = default, + global::G.AnyOf, object>? referenceDataset = default, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? name = default, + global::G.AnyOf? nameContains = default, + global::G.AnyOf? datasetVersion = default, + global::G.AllOf? sortBy = default, + bool sortByDesc = true, + global::G.AnyOf? metadata = default, + global::G.AnyOf? sortByFeedbackKey = default, + int offset = 0, + int limit = 100, + global::G.AnyOf, object>? tagValueId = default, + bool facets = false, + global::G.AnyOf? accept = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessionsRunsMetadata.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessionsRunsMetadata.g.verified.cs new file mode 100644 index 0000000000..a65f237f73 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessionsRunsMetadata.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.ITracerSessionsClient.ReadTracerSessionsRunsMetadata.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Read Tracer Sessions Runs Metadata
+ /// Given a session, a number K, and (optionally) a list of metadata keys, return the top K values for each key. + ///
+ /// + /// + /// + /// + /// Default Value: 10 + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadTracerSessionsRunsMetadataAsync( + global::System.Guid sessionId, + global::G.AnyOf, object>? metadataKeys = default, + global::G.AnyOf? startTime = default, + int k = 10, + bool rootRunsOnly = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs new file mode 100644 index 0000000000..dda54d1681 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.ITracerSessionsClient.UpdateFilterView.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Update Filter View
+ /// Update a filter view. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFilterViewAsync( + global::System.Guid sessionId, + global::System.Guid viewId, + global::G.FilterViewUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Filter View
+ /// Update a filter view. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateFilterViewAsync( + global::System.Guid sessionId, + global::System.Guid viewId, + global::G.AnyOf? filterString = default, + global::G.AnyOf? displayName = default, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateTracerSession.g.verified.cs new file mode 100644 index 0000000000..86637f3d79 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateTracerSession.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ITracerSessionsClient.UpdateTracerSession.g.cs +#nullable enable + +namespace G +{ + public partial interface ITracerSessionsClient + { + /// + /// Update Tracer Session
+ /// Create a new session. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTracerSessionAsync( + global::System.Guid sessionId, + global::G.TracerSessionUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Tracer Session
+ /// Create a new session. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTracerSessionAsync( + global::System.Guid sessionId, + global::G.AnyOf? name = default, + global::G.AnyOf? description = default, + global::G.AnyOf? defaultDatasetId = default, + global::G.AnyOf? endTime = default, + global::G.AnyOf? extra = default, + global::G.AnyOf? traceTier = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.g.verified.cs new file mode 100644 index 0000000000..027769ae43 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITracerSessionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITracerSessionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.ListTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.ListTtlSettings.g.verified.cs new file mode 100644 index 0000000000..8524cfbcd8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.ListTtlSettings.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITtlSettingsClient.ListTtlSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface ITtlSettingsClient + { + /// + /// List Ttl Settings
+ /// List out the configured TTL settings for a given tenant. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTtlSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs new file mode 100644 index 0000000000..720b701a46 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ITtlSettingsClient.UpsertTtlSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface ITtlSettingsClient + { + /// + /// Upsert Ttl Settings + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( + global::G.UpsertTTLSettingsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upsert Ttl Settings + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( + global::G.TraceTier3 defaultTraceTier, + global::G.AnyOf? tenantId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.g.verified.cs new file mode 100644 index 0000000000..af2ccaa958 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITtlSettingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITtlSettingsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.DeleteUsageLimit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.DeleteUsageLimit.g.verified.cs new file mode 100644 index 0000000000..3cd65465f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.DeleteUsageLimit.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsageLimitsClient.DeleteUsageLimit.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsageLimitsClient + { + /// + /// Delete Usage Limit
+ /// Delete a specific usage limit. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteUsageLimitAsync( + global::System.Guid usageLimitId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.ListOrgUsageLimits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.ListOrgUsageLimits.g.verified.cs new file mode 100644 index 0000000000..8566391f01 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.ListOrgUsageLimits.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUsageLimitsClient.ListOrgUsageLimits.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsageLimitsClient + { + /// + /// List Org Usage Limits
+ /// List out the configured usage limits for a given organization. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListOrgUsageLimitsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.ListUsageLimits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.ListUsageLimits.g.verified.cs new file mode 100644 index 0000000000..c1b3997ded --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.ListUsageLimits.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUsageLimitsClient.ListUsageLimits.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsageLimitsClient + { + /// + /// List Usage Limits
+ /// List out the configured usage limits for a given tenant. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListUsageLimitsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.UpsertUsageLimit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.UpsertUsageLimit.g.verified.cs new file mode 100644 index 0000000000..8f53fd96bc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.UpsertUsageLimit.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IUsageLimitsClient.UpsertUsageLimit.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsageLimitsClient + { + /// + /// Upsert Usage Limit
+ /// Create a new usage limit. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertUsageLimitAsync( + global::G.UpsertUsageLimit request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upsert Usage Limit
+ /// Create a new usage limit. + ///
+ /// + /// Type of usage limit. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertUsageLimitAsync( + global::G.UsageLimitType2 limitType, + int limitValue, + global::System.Guid id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.g.verified.cs new file mode 100644 index 0000000000..ea274982f0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IUsageLimitsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsageLimitsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsageLimitsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.AddMemberToCurrentWorkspace.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.AddMemberToCurrentWorkspace.g.verified.cs new file mode 100644 index 0000000000..4aaaa3a9b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.AddMemberToCurrentWorkspace.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IWorkspacesClient.AddMemberToCurrentWorkspace.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Add Member To Current Workspace
+ /// Add an existing organization member to the current workspace. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddMemberToCurrentWorkspaceAsync( + global::G.IdentityCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Add Member To Current Workspace
+ /// Add an existing organization member to the current workspace. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddMemberToCurrentWorkspaceAsync( + global::System.Guid userId, + global::G.AnyOf? readOnly = default, + global::G.AnyOf? roleId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.AddMembersToCurrentWorkspaceBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.AddMembersToCurrentWorkspaceBatch.g.verified.cs new file mode 100644 index 0000000000..4d3b8d4133 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.AddMembersToCurrentWorkspaceBatch.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IWorkspacesClient.AddMembersToCurrentWorkspaceBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Add Members To Current Workspace Batch
+ /// Batch invite up to 500 users to the current workspace and organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AddMembersToCurrentWorkspaceBatchAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.BulkUnshareEntities.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.BulkUnshareEntities.g.verified.cs new file mode 100644 index 0000000000..d5d60760db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.BulkUnshareEntities.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IWorkspacesClient.BulkUnshareEntities.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Bulk Unshare Entities
+ /// Bulk unshare entities by share tokens for the workspace. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BulkUnshareEntitiesAsync( + global::G.TenantBulkUnshareRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Bulk Unshare Entities
+ /// Bulk unshare entities by share tokens for the workspace. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BulkUnshareEntitiesAsync( + global::System.Collections.Generic.IList? shareTokens = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagKey.g.verified.cs new file mode 100644 index 0000000000..b4d73a21ba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagKey.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IWorkspacesClient.CreateTagKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Create Tag Key + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTagKeyAsync( + global::G.TagKeyCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Tag Key + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTagKeyAsync( + string key, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagValue.g.verified.cs new file mode 100644 index 0000000000..0422d83408 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagValue.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IWorkspacesClient.CreateTagValue.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Create Tag Value + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTagValueAsync( + global::System.Guid tagKeyId, + global::G.TagValueCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Tag Value + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTagValueAsync( + global::System.Guid tagKeyId, + string value, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagging.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagging.g.verified.cs new file mode 100644 index 0000000000..3939fb9144 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateTagging.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IWorkspacesClient.CreateTagging.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Create Tagging + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTaggingAsync( + global::G.TaggingCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Tagging + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTaggingAsync( + global::System.Guid tagValueId, + global::G.ResourceType resourceType, + global::System.Guid resourceId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateWorkspace.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateWorkspace.g.verified.cs new file mode 100644 index 0000000000..6b9146468f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.CreateWorkspace.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IWorkspacesClient.CreateWorkspace.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Create Workspace
+ /// Create a new workspace. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateWorkspaceAsync( + global::G.WorkspaceCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Workspace
+ /// Create a new workspace. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateWorkspaceAsync( + string displayName, + global::System.Guid id = default, + global::G.AnyOf? tenantHandle = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteCurrentWorkspaceMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteCurrentWorkspaceMember.g.verified.cs new file mode 100644 index 0000000000..ef907ce41b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteCurrentWorkspaceMember.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.DeleteCurrentWorkspaceMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Current Workspace Member + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteCurrentWorkspaceMemberAsync( + global::System.Guid identityId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteCurrentWorkspacePendingMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteCurrentWorkspacePendingMember.g.verified.cs new file mode 100644 index 0000000000..f521410d62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteCurrentWorkspacePendingMember.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.DeleteCurrentWorkspacePendingMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Current Workspace Pending Member + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteCurrentWorkspacePendingMemberAsync( + global::System.Guid identityId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeletePendingWorkspaceInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeletePendingWorkspaceInvite.g.verified.cs new file mode 100644 index 0000000000..eefdb8832d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeletePendingWorkspaceInvite.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.DeletePendingWorkspaceInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Pending Workspace Invite + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeletePendingWorkspaceInviteAsync( + global::System.Guid id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagKey.g.verified.cs new file mode 100644 index 0000000000..240af142e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagKey.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.DeleteTagKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Tag Key + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTagKeyAsync( + global::System.Guid tagKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagValue.g.verified.cs new file mode 100644 index 0000000000..571a7d124a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagValue.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IWorkspacesClient.DeleteTagValue.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Tag Value + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTagValueAsync( + global::System.Guid tagKeyId, + global::System.Guid tagValueId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagging.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagging.g.verified.cs new file mode 100644 index 0000000000..334c5446ec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.DeleteTagging.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.DeleteTagging.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Delete Tagging + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTaggingAsync( + global::System.Guid taggingId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceMembers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceMembers.g.verified.cs new file mode 100644 index 0000000000..bc57c880aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceMembers.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IWorkspacesClient.GetCurrentWorkspaceMembers.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Current Workspace Members + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentWorkspaceMembersAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceStats.g.verified.cs new file mode 100644 index 0000000000..9d041c3c4c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceStats.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.GetCurrentWorkspaceStats.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Current Workspace Stats + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentWorkspaceStatsAsync( + global::G.AnyOf, object>? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceUsageLimitsInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceUsageLimitsInfo.g.verified.cs new file mode 100644 index 0000000000..7180b22291 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetCurrentWorkspaceUsageLimitsInfo.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IWorkspacesClient.GetCurrentWorkspaceUsageLimitsInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Current Workspace Usage Limits Info + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCurrentWorkspaceUsageLimitsInfoAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetSharedTokens.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetSharedTokens.g.verified.cs new file mode 100644 index 0000000000..0ab9bae48f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetSharedTokens.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IWorkspacesClient.GetSharedTokens.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Shared Tokens
+ /// List all shared entities and their tokens by the workspace. + ///
+ /// + /// Default Value: 50 + /// + /// + /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSharedTokensAsync( + int limit = 50, + int offset = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetTagKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetTagKey.g.verified.cs new file mode 100644 index 0000000000..7ecb221249 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetTagKey.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.GetTagKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Tag Key + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTagKeyAsync( + global::System.Guid tagKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetTagValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetTagValue.g.verified.cs new file mode 100644 index 0000000000..243fabc6fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.GetTagValue.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IWorkspacesClient.GetTagValue.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Get Tag Value + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTagValueAsync( + global::System.Guid tagKeyId, + global::System.Guid tagValueId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListCurrentWorkspaceSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListCurrentWorkspaceSecrets.g.verified.cs new file mode 100644 index 0000000000..4802c120b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListCurrentWorkspaceSecrets.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IWorkspacesClient.ListCurrentWorkspaceSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Current Workspace Secrets + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListCurrentWorkspaceSecretsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListPendingWorkspaceInvites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListPendingWorkspaceInvites.g.verified.cs new file mode 100644 index 0000000000..600c73b26f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListPendingWorkspaceInvites.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IWorkspacesClient.ListPendingWorkspaceInvites.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Pending Workspace Invites
+ /// Get all workspaces visible to this auth + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPendingWorkspaceInvitesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagKeys.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagKeys.g.verified.cs new file mode 100644 index 0000000000..2511053ad4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagKeys.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IWorkspacesClient.ListTagKeys.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Tag Keys + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTagKeysAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagValues.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagValues.g.verified.cs new file mode 100644 index 0000000000..49e2188d5d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagValues.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.ListTagValues.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Tag Values + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTagValuesAsync( + global::System.Guid tagKeyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTaggings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTaggings.g.verified.cs new file mode 100644 index 0000000000..0f560ff71b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTaggings.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.ListTaggings.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Taggings + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTaggingsAsync( + global::G.AnyOf? tagValueId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTags.g.verified.cs new file mode 100644 index 0000000000..0f108648d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTags.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IWorkspacesClient.ListTags.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Tags + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTagsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagsForResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagsForResource.g.verified.cs new file mode 100644 index 0000000000..447a085c85 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListTagsForResource.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IWorkspacesClient.ListTagsForResource.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Tags For Resource + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListTagsForResourceAsync( + global::G.ResourceType resourceType, + global::System.Guid resourceId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListWorkspaces.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListWorkspaces.g.verified.cs new file mode 100644 index 0000000000..63eb24d4c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.ListWorkspaces.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IWorkspacesClient.ListWorkspaces.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// List Workspaces
+ /// Get all workspaces visible to this auth in the current org. Does not create a new workspace/org. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListWorkspacesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.PatchCurrentWorkspaceMember.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.PatchCurrentWorkspaceMember.g.verified.cs new file mode 100644 index 0000000000..78401a5ac4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.PatchCurrentWorkspaceMember.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IWorkspacesClient.PatchCurrentWorkspaceMember.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Patch Current Workspace Member + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchCurrentWorkspaceMemberAsync( + global::System.Guid identityId, + global::G.IdentityPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch Current Workspace Member + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchCurrentWorkspaceMemberAsync( + global::System.Guid identityId, + global::System.Guid roleId, + global::G.AnyOf? readOnly = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.PatchWorkspace.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.PatchWorkspace.g.verified.cs new file mode 100644 index 0000000000..43d6910021 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.PatchWorkspace.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IWorkspacesClient.PatchWorkspace.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Patch Workspace + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchWorkspaceAsync( + global::System.Guid workspaceId, + global::G.WorkspacePatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch Workspace + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchWorkspaceAsync( + global::System.Guid workspaceId, + string displayName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpdateTagKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpdateTagKey.g.verified.cs new file mode 100644 index 0000000000..5def66eeef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpdateTagKey.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IWorkspacesClient.UpdateTagKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Update Tag Key + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTagKeyAsync( + global::System.Guid tagKeyId, + global::G.TagKeyUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Tag Key + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTagKeyAsync( + global::System.Guid tagKeyId, + global::G.AnyOf? key = default, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpdateTagValue.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpdateTagValue.g.verified.cs new file mode 100644 index 0000000000..0a35812079 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpdateTagValue.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IWorkspacesClient.UpdateTagValue.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Update Tag Value + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTagValueAsync( + global::System.Guid tagKeyId, + global::System.Guid tagValueId, + global::G.TagValueUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Tag Value + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateTagValueAsync( + global::System.Guid tagKeyId, + global::System.Guid tagValueId, + global::G.AnyOf? value = default, + global::G.AnyOf? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpsertCurrentWorkspaceSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpsertCurrentWorkspaceSecrets.g.verified.cs new file mode 100644 index 0000000000..5ebeca1979 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.UpsertCurrentWorkspaceSecrets.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IWorkspacesClient.UpsertCurrentWorkspaceSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IWorkspacesClient + { + /// + /// Upsert Current Workspace Secrets + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpsertCurrentWorkspaceSecretsAsync( + global::System.Collections.Generic.IList request, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.g.verified.cs new file mode 100644 index 0000000000..bcbf838cd5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IWorkspacesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IWorkspacesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IWorkspacesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.smith.langchain.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.g.verified.cs index 91a3e394cf..804d5b27bd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class InfoClient : global::System.IDisposable + public sealed partial class InfoClient : global::G.IInfoClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.LikesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.LikesClient.g.verified.cs index c8b2cacfe0..ace25c4ac9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.LikesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.LikesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LikesClient : global::System.IDisposable + public sealed partial class LikesClient : global::G.ILikesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ModelPriceMapClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ModelPriceMapClient.g.verified.cs index 118f653c30..80a6c06c85 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ModelPriceMapClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ModelPriceMapClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelPriceMapClient : global::System.IDisposable + public sealed partial class ModelPriceMapClient : global::G.IModelPriceMapClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.g.verified.cs index 92887798ed..3b99682bf7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class OrgsClient : global::System.IDisposable + public sealed partial class OrgsClient : global::G.IOrgsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PlaygroundSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PlaygroundSettingsClient.g.verified.cs index 384afd8abb..fce92f9aa0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PlaygroundSettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PlaygroundSettingsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PlaygroundSettingsClient : global::System.IDisposable + public sealed partial class PlaygroundSettingsClient : global::G.IPlaygroundSettingsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.g.verified.cs index 62bac49de3..ccef006bd2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PromptsClient : global::System.IDisposable + public sealed partial class PromptsClient : global::G.IPromptsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.g.verified.cs index a173f019ec..d18a84fe6c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PublicClient : global::System.IDisposable + public sealed partial class PublicClient : global::G.IPublicClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.g.verified.cs index 05fbf2938a..29ba8e786e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ReposClient : global::System.IDisposable + public sealed partial class ReposClient : global::G.IReposClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.g.verified.cs index dd22a47547..826967723a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RunClient : global::System.IDisposable + public sealed partial class RunClient : global::G.IRunClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ServiceAccountsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ServiceAccountsClient.g.verified.cs index 520e4c4098..5063f148ae 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ServiceAccountsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ServiceAccountsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ServiceAccountsClient : global::System.IDisposable + public sealed partial class ServiceAccountsClient : global::G.IServiceAccountsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.SettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.SettingsClient.g.verified.cs index 53d9d6d45c..3bd2819e3c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.SettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.SettingsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SettingsClient : global::System.IDisposable + public sealed partial class SettingsClient : global::G.ISettingsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.g.verified.cs index 1205b9e153..7ef2771a30 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TenantClient : global::System.IDisposable + public sealed partial class TenantClient : global::G.ITenantClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.g.verified.cs index ef1f1fe4d0..0ea8ef1ede 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TracerSessionsClient : global::System.IDisposable + public sealed partial class TracerSessionsClient : global::G.ITracerSessionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.g.verified.cs index 8defe4a471..c95086a5d2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TtlSettingsClient : global::System.IDisposable + public sealed partial class TtlSettingsClient : global::G.ITtlSettingsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.UsageLimitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.UsageLimitsClient.g.verified.cs index 843fbfed06..5dd89b921a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.UsageLimitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.UsageLimitsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsageLimitsClient : global::System.IDisposable + public sealed partial class UsageLimitsClient : global::G.IUsageLimitsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.WorkspacesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.WorkspacesClient.g.verified.cs index 24b4b9b36c..f631ceb350 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.WorkspacesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.WorkspacesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class WorkspacesClient : global::System.IDisposable + public sealed partial class WorkspacesClient : global::G.IWorkspacesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Api.g.verified.cs index c56b76bba7..6a414cbbfe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.DatasetClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.DatasetClient.g.verified.cs index f860369704..3a7c8ca68f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.DatasetClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.DatasetClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DatasetClient : global::System.IDisposable + public sealed partial class DatasetClient : global::G.IDatasetClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ElementsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ElementsClient.g.verified.cs index 5a6d0a451b..a2efaaaa17 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ElementsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ElementsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ElementsClient : global::System.IDisposable + public sealed partial class ElementsClient : global::G.IElementsClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..2253ca5911 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,91 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// Leonardo.Ai API OpenAPI specification.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// + /// + public DatasetClient Dataset { get; } + + /// + /// + /// + public ElementsClient Elements { get; } + + /// + /// + /// + public ImageClient Image { get; } + + /// + /// + /// + public InitImagesClient InitImages { get; } + + /// + /// + /// + public MotionClient Motion { get; } + + /// + /// + /// + public ModelsClient Models { get; } + + /// + /// + /// + public PricingCalculatorClient PricingCalculator { get; } + + /// + /// + /// + public PromptClient Prompt { get; } + + /// + /// + /// + public RealtimeCanvasClient RealtimeCanvas { get; } + + /// + /// + /// + public TextureClient Texture { get; } + + /// + /// + /// + public UserClient User { get; } + + /// + /// + /// + public VariationClient Variation { get; } + + /// + /// + /// + public x3DModelAssetsClient x3DModelAssets { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.CreateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.CreateDataset.g.verified.cs new file mode 100644 index 0000000000..15cf8b83f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.CreateDataset.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetClient.CreateDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetClient + { + /// + /// Create a Dataset
+ /// This endpoint creates a new dataset + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + global::G.CreateDatasetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Dataset
+ /// This endpoint creates a new dataset + ///
+ /// + /// The name of the dataset. + /// + /// + /// A description for the dataset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + string name, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.DeleteDatasetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.DeleteDatasetById.g.verified.cs new file mode 100644 index 0000000000..a04994afa8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.DeleteDatasetById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetClient.DeleteDatasetById.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetClient + { + /// + /// Delete a Single Dataset by ID
+ /// This endpoint deletes the specific dataset + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteDatasetByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.GetDatasetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.GetDatasetById.g.verified.cs new file mode 100644 index 0000000000..c42e29703e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.GetDatasetById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetClient.GetDatasetById.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetClient + { + /// + /// Get a Single Dataset by ID
+ /// This endpoint gets the specific dataset + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDatasetByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.UploadDatasetImage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.UploadDatasetImage.g.verified.cs new file mode 100644 index 0000000000..aae2604185 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.UploadDatasetImage.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetClient.UploadDatasetImage.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetClient + { + /// + /// Upload dataset image
+ /// This endpoint returns presigned details to upload a dataset image to S3 + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadDatasetImageAsync( + string datasetId, + global::G.UploadDatasetImageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload dataset image
+ /// This endpoint returns presigned details to upload a dataset image to S3 + ///
+ /// + /// + /// Has to be png, jpg, jpeg, or webp. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadDatasetImageAsync( + string datasetId, + string extension, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.UploadDatasetImageFromGen.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.UploadDatasetImageFromGen.g.verified.cs new file mode 100644 index 0000000000..3df8a82541 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.UploadDatasetImageFromGen.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetClient.UploadDatasetImageFromGen.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetClient + { + /// + /// Upload a Single Generated Image to a Dataset
+ /// This endpoint will upload a previously generated image to the dataset + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadDatasetImageFromGenAsync( + string datasetId, + global::G.UploadDatasetImageFromGenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload a Single Generated Image to a Dataset
+ /// This endpoint will upload a previously generated image to the dataset + ///
+ /// + /// + /// The ID of the image to upload to the dataset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadDatasetImageFromGenAsync( + string datasetId, + string generatedImageId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.g.verified.cs new file mode 100644 index 0000000000..6f9efd2cea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IDatasetClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDatasetClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDatasetClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IElementsClient.ListElements.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IElementsClient.ListElements.g.verified.cs new file mode 100644 index 0000000000..45700d56a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IElementsClient.ListElements.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IElementsClient.ListElements.g.cs +#nullable enable + +namespace G +{ + public partial interface IElementsClient + { + /// + /// List Elements
+ /// Get a list of public Elements available for use with generations. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListElementsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IElementsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IElementsClient.g.verified.cs new file mode 100644 index 0000000000..a8633117e8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IElementsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IElementsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IElementsClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.CreateGeneration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.CreateGeneration.g.verified.cs new file mode 100644 index 0000000000..2b4ff13dd0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.CreateGeneration.g.verified.cs @@ -0,0 +1,189 @@ +//HintName: G.IImageClient.CreateGeneration.g.cs +#nullable enable + +namespace G +{ + public partial interface IImageClient + { + /// + /// Create a Generation of Images
+ /// This endpoint will generate images + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateGenerationAsync( + global::G.CreateGenerationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Generation of Images
+ /// This endpoint will generate images + ///
+ /// + /// Enable to use Alchemy. Note: The appropriate Alchemy version is selected for the specified model. For example, XL models will use Alchemy V2.
+ /// Default Value: true + /// + /// + /// Contrast Ratio to use with Alchemy. Must be a float between 0 and 1 inclusive. + /// + /// + /// + /// + /// Enable to use the Expanded Domain feature of Alchemy. + /// + /// + /// Enable to use the Fantasy Avatar feature. + /// + /// + /// How strongly the generation should reflect the prompt. 7 is recommended. Must be between 1 and 20. + /// + /// + /// The input height of the images. Must be between 32 and 1024 and be a multiple of 8. Note: Input resolution is not always the same as output resolution due to upscaling from other features.
+ /// Default Value: 768 + /// + /// + /// Enable to use the High Contrast feature of Prompt Magic. Note: Controls RAW mode. Set to false to enable RAW mode. + /// + /// + /// Enable to use the High Resolution feature of Prompt Magic. + /// + /// + /// + /// + /// The ID of an existing image to use in image2image. + /// + /// + /// The ID of an Init Image to use in image2image. + /// + /// + /// How strongly the generated images should reflect the original image in image2image. Must be a float between 0.1 and 0.9. + /// + /// + /// The model ID used for image generation. If not provided, uses sd_version to determine the version of Stable Diffusion to use. In-app, model IDs are under the Finetune Models menu. Click on the platform model or your custom model, then click View More. For platform models, you can also use the List Platform Models API.
+ /// Default Value: b24e16ff-06e3-43eb-8d33-4416c2d75876 + /// + /// + /// The negative prompt used for the image generation + /// + /// + /// The number of images to generate. Must be between 1 and 8. If either width or height is over 768, must be between 1 and 4.
+ /// Default Value: 4 + /// + /// + /// The Step Count to use for the generation. Must be between 10 and 60. Default is 15. + /// + /// + /// Enable the photoReal feature. Requires enabling alchemy and unspecifying modelId (for photoRealVersion V1). + /// + /// + /// The version of photoReal to use. Must be v1 or v2. + /// + /// + /// Depth of field of photoReal. Must be 0.55 for low, 0.5 for medium, or 0.45 for high. Defaults to 0.55 if not specified. + /// + /// + /// The style to generate images with. When photoReal is enabled, refer to the Guide section for a full list. When alchemy is disabled, use LEONARDO or NONE. When alchemy is enabled, use ANIME, CREATIVE, DYNAMIC, ENVIRONMENT, GENERAL, ILLUSTRATION, PHOTOGRAPHY, RAYTRACED, RENDER_3D, SKETCH_BW, SKETCH_COLOR, or NONE.
+ /// Default Value: DYNAMIC + /// + /// + /// The prompt used to generate images
+ /// Default Value: A majestic cat in the snow + /// + /// + /// Enable to use Prompt Magic. + /// + /// + /// Strength of prompt magic. Must be a float between 0.1 and 1.0 + /// + /// + /// Prompt magic version v2 or v3, for use when promptMagic: true + /// + /// + /// Whether the generated images should show in the community feed. + /// + /// + /// The scheduler to generate images with. Defaults to EULER_DISCRETE if not specified. + /// + /// + /// The base version of stable diffusion to use if not using a custom model. v1_5 is 1.5, v2 is 2.1, if not specified it will default to v1_5. Also includes SDXL and SDXL Lightning models + /// + /// + /// + /// Whether the generated images should tile on all axis. + /// + /// + /// Which type of transparency this image should use + /// + /// + /// Whether the generated images should be unzoomed (requires unzoomAmount and init_image_id to be set). + /// + /// + /// How much the image should be unzoomed (requires an init_image_id and unzoom to be set to true). + /// + /// + /// How much the image should be upscaled. (Enterprise Only) + /// + /// + /// The input width of the images. Must be between 32 and 1024 and be a multiple of 8. Note: Input resolution is not always the same as output resolution due to upscaling from other features.
+ /// Default Value: 1024 + /// + /// + /// Whether the generation is for the Canvas Editor feature. + /// + /// + /// The type of request for the Canvas Editor. + /// + /// + /// The ID of an initial image to use in Canvas Editor request. + /// + /// + /// The ID of a mask image to use in Canvas Editor request. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateGenerationAsync( + string prompt, + bool? alchemy = true, + double? contrastRatio = default, + global::System.Collections.Generic.IList? controlnets = default, + global::System.Collections.Generic.IList? elements = default, + bool? expandedDomain = default, + bool? fantasyAvatar = default, + int? guidanceScale = default, + int? height = 768, + bool? highContrast = default, + bool? highResolution = default, + global::System.Collections.Generic.IList? imagePrompts = default, + double? imagePromptWeight = default, + string? initGenerationImageId = default, + string? initImageId = default, + double? initStrength = default, + string? modelId = "b24e16ff-06e3-43eb-8d33-4416c2d75876", + string? negativePrompt = default, + int? numImages = 4, + int? numInferenceSteps = default, + bool? photoReal = default, + string? photoRealVersion = default, + double? photoRealStrength = default, + global::G.SdGenerationStyle? presetStyle = global::G.SdGenerationStyle.DYNAMIC, + bool? promptMagic = default, + double? promptMagicStrength = default, + string? promptMagicVersion = default, + bool? @public = default, + global::G.SdGenerationSchedulers? scheduler = default, + global::G.SdVersions? sdVersion = default, + int? seed = default, + bool? tiling = default, + global::G.CreateGenerationRequestTransparency? transparency = default, + bool? unzoom = default, + double? unzoomAmount = default, + double? upscaleRatio = default, + int? width = 1024, + bool? canvasRequest = default, + global::G.CanvasRequestType? canvasRequestType = default, + string? canvasInitId = default, + string? canvasMaskId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.DeleteGenerationById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.DeleteGenerationById.g.verified.cs new file mode 100644 index 0000000000..92971e4223 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.DeleteGenerationById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IImageClient.DeleteGenerationById.g.cs +#nullable enable + +namespace G +{ + public partial interface IImageClient + { + /// + /// Delete a Single Generation
+ /// This endpoint deletes a specific generation + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteGenerationByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.GetGenerationById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.GetGenerationById.g.verified.cs new file mode 100644 index 0000000000..028cd9a234 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.GetGenerationById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IImageClient.GetGenerationById.g.cs +#nullable enable + +namespace G +{ + public partial interface IImageClient + { + /// + /// Get a Single Generation
+ /// This endpoint will provide information about a specific generation + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGenerationByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.GetGenerationsByUserId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.GetGenerationsByUserId.g.verified.cs new file mode 100644 index 0000000000..1f05bb87b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.GetGenerationsByUserId.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IImageClient.GetGenerationsByUserId.g.cs +#nullable enable + +namespace G +{ + public partial interface IImageClient + { + /// + /// Get generations by user ID
+ /// This endpoint returns all generations by a specific user + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGenerationsByUserIdAsync( + string userId, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.g.verified.cs new file mode 100644 index 0000000000..d0db8ed25d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IImageClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IImageClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IImageClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.DeleteInitImageById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.DeleteInitImageById.g.verified.cs new file mode 100644 index 0000000000..903cd1e7c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.DeleteInitImageById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IInitImagesClient.DeleteInitImageById.g.cs +#nullable enable + +namespace G +{ + public partial interface IInitImagesClient + { + /// + /// Delete init image
+ /// This endpoint deletes an init image + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteInitImageByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.GetInitImageById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.GetInitImageById.g.verified.cs new file mode 100644 index 0000000000..43388db0d8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.GetInitImageById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IInitImagesClient.GetInitImageById.g.cs +#nullable enable + +namespace G +{ + public partial interface IInitImagesClient + { + /// + /// Get single init image
+ /// This endpoint will return a single init image + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetInitImageByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.UploadCanvasInitImage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.UploadCanvasInitImage.g.verified.cs new file mode 100644 index 0000000000..9ee011bb05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.UploadCanvasInitImage.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IInitImagesClient.UploadCanvasInitImage.g.cs +#nullable enable + +namespace G +{ + public partial interface IInitImagesClient + { + /// + /// Upload Canvas Editor init and mask image
+ /// This endpoint returns presigned details to upload an init image and a mask image to S3 + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadCanvasInitImageAsync( + global::G.UploadCanvasInitImageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload Canvas Editor init and mask image
+ /// This endpoint returns presigned details to upload an init image and a mask image to S3 + ///
+ /// + /// Has to be png, jpg, jpeg, or webp. + /// + /// + /// Has to be png, jpg, jpeg, or webp. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadCanvasInitImageAsync( + string initExtension, + string maskExtension, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.UploadInitImage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.UploadInitImage.g.verified.cs new file mode 100644 index 0000000000..4cb8d0285e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.UploadInitImage.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IInitImagesClient.UploadInitImage.g.cs +#nullable enable + +namespace G +{ + public partial interface IInitImagesClient + { + /// + /// Upload init image
+ /// This endpoint returns presigned details to upload an init image to S3 + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadInitImageAsync( + global::G.UploadInitImageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload init image
+ /// This endpoint returns presigned details to upload an init image to S3 + ///
+ /// + /// Has to be png, jpg, jpeg, or webp. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadInitImageAsync( + string extension, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.g.verified.cs new file mode 100644 index 0000000000..2c9fafcefd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IInitImagesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IInitImagesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IInitImagesClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.CreateModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.CreateModel.g.verified.cs new file mode 100644 index 0000000000..1c04616a62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.CreateModel.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IModelsClient.CreateModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Train a Custom Model
+ /// This endpoint will train a new custom model + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModelAsync( + global::G.CreateModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Train a Custom Model
+ /// This endpoint will train a new custom model + ///
+ /// + /// The name of the model. + /// + /// + /// The description of the model. + /// + /// + /// The ID of the dataset to train the model on. + /// + /// + /// The instance prompt to use during training. + /// + /// + /// The category the most accurately reflects the model.
+ /// Default Value: GENERAL + /// + /// + /// Whether or not the model is NSFW.
+ /// Default Value: false + /// + /// + /// The resolution for training. Must be 512 or 768.
+ /// Default Value: 512 + /// + /// + /// The base version of stable diffusion to use if not using a custom model. v1_5 is 1.5, v2 is 2.1, if not specified it will default to v1_5. Also includes SDXL and SDXL Lightning models + /// + /// + /// When training using the PIXEL_ART model type, this influences the training strength.
+ /// Default Value: MEDIUM + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModelAsync( + string name, + string datasetId, + string instancePrompt, + string? description = default, + global::G.CustomModelType? modelType = global::G.CustomModelType.GENERAL, + bool? nsfw = false, + int? resolution = 512, + global::G.SdVersions? sdVersion = default, + global::G.Strength? strength = global::G.Strength.MEDIUM, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.DeleteModelById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.DeleteModelById.g.verified.cs new file mode 100644 index 0000000000..62ddeb2cac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.DeleteModelById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IModelsClient.DeleteModelById.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Delete a Single Custom Model by ID
+ /// This endpoint will delete a specific custom model + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.GetModelById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.GetModelById.g.verified.cs new file mode 100644 index 0000000000..fe4f3a1924 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.GetModelById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IModelsClient.GetModelById.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Get a Single Custom Model by ID
+ /// This endpoint gets the specific custom model + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetModelByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.ListPlatformModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.ListPlatformModels.g.verified.cs new file mode 100644 index 0000000000..e4f76c9149 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.ListPlatformModels.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IModelsClient.ListPlatformModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// List Platform Models
+ /// Get a list of public Platform Models available for use with generations. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListPlatformModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.g.verified.cs new file mode 100644 index 0000000000..b67983c4e0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IModelsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelsClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IMotionClient.CreateSVDMotionGeneration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IMotionClient.CreateSVDMotionGeneration.g.verified.cs new file mode 100644 index 0000000000..d4771c7074 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IMotionClient.CreateSVDMotionGeneration.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IMotionClient.CreateSVDMotionGeneration.g.cs +#nullable enable + +namespace G +{ + public partial interface IMotionClient + { + /// + /// Create SVD Motion Generation
+ /// This endpoint will generate a SVD motion generation. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSVDMotionGenerationAsync( + global::G.CreateSVDMotionGenerationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create SVD Motion Generation
+ /// This endpoint will generate a SVD motion generation. + ///
+ /// + /// The ID of the image, supports generated images, variation images, and init images. + /// + /// + /// Whether the generation is public or not + /// + /// + /// If it is an init image uploaded by the user. This image is uploaded from endpoint: Upload init image. + /// + /// + /// If it is a variation image. + /// + /// + /// The motion strength. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSVDMotionGenerationAsync( + string imageId, + bool? isPublic = default, + bool? isInitImage = default, + bool? isVariation = default, + int? motionStrength = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IMotionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IMotionClient.g.verified.cs new file mode 100644 index 0000000000..c6ec4a28db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IMotionClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IMotionClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMotionClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPricingCalculatorClient.PricingCalculator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPricingCalculatorClient.PricingCalculator.g.verified.cs new file mode 100644 index 0000000000..5e97239154 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPricingCalculatorClient.PricingCalculator.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPricingCalculatorClient.PricingCalculator.g.cs +#nullable enable + +namespace G +{ + public partial interface IPricingCalculatorClient + { + /// + /// Calculating API Cost
+ /// This endpoint returns the cost used for generating images using a particular service type. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PricingCalculatorAsync( + global::G.PricingCalculatorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Calculating API Cost
+ /// This endpoint returns the cost used for generating images using a particular service type. + ///
+ /// + /// The services to be chosen for calculating the API credit cost. + /// + /// + /// Parameters for the service + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PricingCalculatorAsync( + global::G.PricingCalculatorServices? service = default, + global::G.PricingCalculatorRequestServiceParams? serviceParams = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPricingCalculatorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPricingCalculatorClient.g.verified.cs new file mode 100644 index 0000000000..4a25406327 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPricingCalculatorClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPricingCalculatorClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPricingCalculatorClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.PromptImprove.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.PromptImprove.g.verified.cs new file mode 100644 index 0000000000..5baade808a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.PromptImprove.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPromptClient.PromptImprove.g.cs +#nullable enable + +namespace G +{ + public partial interface IPromptClient + { + /// + /// Improve a Prompt
+ /// This endpoint returns a improved prompt + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PromptImproveAsync( + global::G.PromptImproveRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Improve a Prompt
+ /// This endpoint returns a improved prompt + ///
+ /// + /// The prompt to improve. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PromptImproveAsync( + string prompt, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.PromptRandom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.PromptRandom.g.verified.cs new file mode 100644 index 0000000000..be96e9e65a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.PromptRandom.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IPromptClient.PromptRandom.g.cs +#nullable enable + +namespace G +{ + public partial interface IPromptClient + { + /// + /// Generate a Random prompt
+ /// This endpoint returns a random prompt + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PromptRandomAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.g.verified.cs new file mode 100644 index 0000000000..84f47d0ff8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IPromptClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPromptClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPromptClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.CreateLCMGeneration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.CreateLCMGeneration.g.verified.cs new file mode 100644 index 0000000000..f37439d8e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.CreateLCMGeneration.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IRealtimeCanvasClient.CreateLCMGeneration.g.cs +#nullable enable + +namespace G +{ + public partial interface IRealtimeCanvasClient + { + /// + /// Create LCM Generation
+ /// This endpoint will generate a LCM image generation. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateLCMGenerationAsync( + global::G.CreateLCMGenerationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create LCM Generation
+ /// This endpoint will generate a LCM image generation. + ///
+ /// + /// Image data used to generate image. In base64 format. Prefix: `data:image/jpeg;base64,` + /// + /// + /// The prompt used to generate images + /// + /// + /// How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20. + /// + /// + /// Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. + /// + /// + /// + /// The style to generate LCM images with. + /// + /// + /// The number of steps to use for the generation. Must be between 4 and 16. + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateLCMGenerationAsync( + string imageDataUrl, + string prompt, + double? guidance = default, + double? strength = default, + string? requestTimestamp = default, + global::G.LcmGenerationStyle? style = default, + int? steps = default, + int? width = 512, + int? height = 512, + int? seed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformAlchemyUpscaleLCM.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformAlchemyUpscaleLCM.g.verified.cs new file mode 100644 index 0000000000..eea6ff9ca7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformAlchemyUpscaleLCM.g.verified.cs @@ -0,0 +1,74 @@ +//HintName: G.IRealtimeCanvasClient.PerformAlchemyUpscaleLCM.g.cs +#nullable enable + +namespace G +{ + public partial interface IRealtimeCanvasClient + { + /// + /// Perform Alchemy Upscale on a LCM image
+ /// This endpoint will perform Alchemy Upscale on a LCM image + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformAlchemyUpscaleLCMAsync( + global::G.PerformAlchemyUpscaleLCMRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Perform Alchemy Upscale on a LCM image
+ /// This endpoint will perform Alchemy Upscale on a LCM image + ///
+ /// + /// Image data used to generate image. In base64 format. Prefix: `data:image/jpeg;base64,` + /// + /// + /// The prompt used to generate images + /// + /// + /// How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20. + /// + /// + /// Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. + /// + /// + /// + /// The style to generate LCM images with. + /// + /// + /// The number of steps to use for the generation. Must be between 4 and 16. + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// + /// Refine creative + /// + /// + /// Must be a float between 0.5 and 0.9. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformAlchemyUpscaleLCMAsync( + string imageDataUrl, + string prompt, + double? guidance = default, + double? strength = default, + string? requestTimestamp = default, + global::G.LcmGenerationStyle? style = default, + int? steps = default, + int? width = 512, + int? height = 512, + int? seed = default, + bool? refineCreative = default, + double? refineStrength = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformInpaintingLCM.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformInpaintingLCM.g.verified.cs new file mode 100644 index 0000000000..20de891ddf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformInpaintingLCM.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.IRealtimeCanvasClient.PerformInpaintingLCM.g.cs +#nullable enable + +namespace G +{ + public partial interface IRealtimeCanvasClient + { + /// + /// Perform inpainting on a LCM image
+ /// This endpoint will perform a inpainting on a LCM image + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformInpaintingLCMAsync( + global::G.PerformInpaintingLCMRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Perform inpainting on a LCM image
+ /// This endpoint will perform a inpainting on a LCM image + ///
+ /// + /// Image data used to generate image. In base64 format. Prefix: `data:image/jpeg;base64,` + /// + /// + /// Image data of the mask layer used for inpainting. In base64 format. Prefix: `data:image/jpeg;base64,`. Mask should be white on black where generation is applied to the white area. + /// + /// + /// The prompt used to generate images + /// + /// + /// How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20. + /// + /// + /// Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. + /// + /// + /// + /// The style to generate LCM images with. + /// + /// + /// The number of steps to use for the generation. Must be between 4 and 16. + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformInpaintingLCMAsync( + string imageDataUrl, + string maskDataUrl, + string prompt, + double? guidance = default, + double? strength = default, + string? requestTimestamp = default, + global::G.LcmGenerationStyle? style = default, + int? steps = default, + int? width = 512, + int? height = 512, + int? seed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformInstantRefine.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformInstantRefine.g.verified.cs new file mode 100644 index 0000000000..d94a3b6d61 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.PerformInstantRefine.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IRealtimeCanvasClient.PerformInstantRefine.g.cs +#nullable enable + +namespace G +{ + public partial interface IRealtimeCanvasClient + { + /// + /// Perform instant refine on a LCM image
+ /// This endpoint will perform instant refine on a LCM image + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformInstantRefineAsync( + global::G.PerformInstantRefineRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Perform instant refine on a LCM image
+ /// This endpoint will perform instant refine on a LCM image + ///
+ /// + /// Image data used to generate image. In base64 format. Prefix: `data:image/jpeg;base64,` + /// + /// + /// The prompt used to generate images + /// + /// + /// How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20. + /// + /// + /// Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. + /// + /// + /// + /// The style to generate LCM images with. + /// + /// + /// The number of steps to use for the generation. Must be between 4 and 16. + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformInstantRefineAsync( + string imageDataUrl, + string prompt, + double? guidance = default, + double? strength = default, + string? requestTimestamp = default, + global::G.LcmGenerationStyle? style = default, + int? steps = default, + int? width = 512, + int? height = 512, + int? seed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.g.verified.cs new file mode 100644 index 0000000000..d295602f1c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IRealtimeCanvasClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRealtimeCanvasClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRealtimeCanvasClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.CreateTextureGeneration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.CreateTextureGeneration.g.verified.cs new file mode 100644 index 0000000000..c291c251de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.CreateTextureGeneration.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ITextureClient.CreateTextureGeneration.g.cs +#nullable enable + +namespace G +{ + public partial interface ITextureClient + { + /// + /// Create Texture Generation
+ /// This endpoint will generate a texture generation. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTextureGenerationAsync( + global::G.CreateTextureGenerationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Texture Generation
+ /// This endpoint will generate a texture generation. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTextureGenerationAsync( + int? frontRotationOffset = default, + string? modelAssetId = default, + string? negativePrompt = default, + bool? preview = default, + string? previewDirection = default, + string? prompt = default, + string? sdVersion = default, + int? seed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.DeleteTextureGenerationById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.DeleteTextureGenerationById.g.verified.cs new file mode 100644 index 0000000000..f8ecda6b85 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.DeleteTextureGenerationById.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ITextureClient.DeleteTextureGenerationById.g.cs +#nullable enable + +namespace G +{ + public partial interface ITextureClient + { + /// + /// Delete Texture Generation by ID
+ /// This endpoint deletes the specific texture generation. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTextureGenerationByIdAsync( + string id, + global::G.DeleteTextureGenerationByIdRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete Texture Generation by ID
+ /// This endpoint deletes the specific texture generation. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTextureGenerationByIdAsync( + string id, + string? requestId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.GetTextureGenerationById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.GetTextureGenerationById.g.verified.cs new file mode 100644 index 0000000000..1955fd9f91 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.GetTextureGenerationById.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ITextureClient.GetTextureGenerationById.g.cs +#nullable enable + +namespace G +{ + public partial interface ITextureClient + { + /// + /// Get Texture Generation by ID
+ /// This endpoint gets the specific texture generation. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTextureGenerationByIdAsync( + string id, + global::G.GetTextureGenerationByIdRequest request, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Get Texture Generation by ID
+ /// This endpoint gets the specific texture generation. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTextureGenerationByIdAsync( + string id, + int offset = 0, + int limit = 10, + string? requestId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.GetTextureGenerationsByModelId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.GetTextureGenerationsByModelId.g.verified.cs new file mode 100644 index 0000000000..223c50ad6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.GetTextureGenerationsByModelId.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.ITextureClient.GetTextureGenerationsByModelId.g.cs +#nullable enable + +namespace G +{ + public partial interface ITextureClient + { + /// + /// Get texture generations by 3D Model ID
+ /// This endpoint gets the specific texture generations by the 3d model id. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTextureGenerationsByModelIdAsync( + string modelId, + global::G.GetTextureGenerationsByModelIdRequest request, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Get texture generations by 3D Model ID
+ /// This endpoint gets the specific texture generations by the 3d model id. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTextureGenerationsByModelIdAsync( + string modelId, + int offset = 0, + int limit = 10, + int? requestLimit = default, + string? requestModelId = default, + int? requestOffset = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.g.verified.cs new file mode 100644 index 0000000000..6626303ee9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ITextureClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITextureClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITextureClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IUserClient.GetUserSelf.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IUserClient.GetUserSelf.g.verified.cs new file mode 100644 index 0000000000..154bf8e08e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IUserClient.GetUserSelf.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUserClient.GetUserSelf.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// Get user information
+ /// This endpoint will return your user information such as your user id, username, token renewal date and current amounts of the following: subscription tokens, gpt (prompt generation) tokens, and model training tokens + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserSelfAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IUserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IUserClient.g.verified.cs new file mode 100644 index 0000000000..6b40f2e633 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IUserClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUserClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUserClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateUniversalUpscalerJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateUniversalUpscalerJob.g.verified.cs new file mode 100644 index 0000000000..1af8bcd317 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateUniversalUpscalerJob.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IVariationClient.CreateUniversalUpscalerJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IVariationClient + { + /// + /// Create using Universal Upscaler
+ /// This endpoint will create a high resolution image using Universal Upscaler + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateUniversalUpscalerJobAsync( + global::G.CreateUniversalUpscalerJobRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create using Universal Upscaler
+ /// This endpoint will create a high resolution image using Universal Upscaler + ///
+ /// + /// The ID of the init image uploaded + /// + /// + /// The ID of the generated image + /// + /// + /// The ID of the variation image + /// + /// + /// The style to upscale images using universal upscaler with.
+ /// Default Value: GENERAL + /// + /// + /// The creativity strength of the universal upscaler, must be integer between 1 and 10
+ /// Default Value: 5 + /// + /// + /// The upscale multiplier of the universal upscaler, must be number between 1.00 and 2.00
+ /// Default Value: 1.5 + /// + /// + /// The prompt for the universal upscaler + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateUniversalUpscalerJobAsync( + string? initImageId = default, + string? generatedImageId = default, + string? variationId = default, + global::G.UniversalUpscalerStyle? upscalerStyle = global::G.UniversalUpscalerStyle.GENERAL, + int? creativityStrength = 5, + double? upscaleMultiplier = 1.5, + string? prompt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationNoBG.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationNoBG.g.verified.cs new file mode 100644 index 0000000000..57f7bea095 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationNoBG.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IVariationClient.CreateVariationNoBG.g.cs +#nullable enable + +namespace G +{ + public partial interface IVariationClient + { + /// + /// Create no background
+ /// This endpoint will create a no background variation of the provided image ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationNoBGAsync( + global::G.CreateVariationNoBGRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create no background
+ /// This endpoint will create a no background variation of the provided image ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationNoBGAsync( + string id, + bool isVariation = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationUnzoom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationUnzoom.g.verified.cs new file mode 100644 index 0000000000..247487413a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationUnzoom.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IVariationClient.CreateVariationUnzoom.g.cs +#nullable enable + +namespace G +{ + public partial interface IVariationClient + { + /// + /// Create unzoom
+ /// This endpoint will create an unzoom variation for the provided image ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationUnzoomAsync( + global::G.CreateVariationUnzoomRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create unzoom
+ /// This endpoint will create an unzoom variation for the provided image ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationUnzoomAsync( + string? id = default, + bool? isVariation = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationUpscale.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationUpscale.g.verified.cs new file mode 100644 index 0000000000..01e6a4398a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.CreateVariationUpscale.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IVariationClient.CreateVariationUpscale.g.cs +#nullable enable + +namespace G +{ + public partial interface IVariationClient + { + /// + /// Create upscale
+ /// This endpoint will create an upscale for the provided image ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationUpscaleAsync( + global::G.CreateVariationUpscaleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create upscale
+ /// This endpoint will create an upscale for the provided image ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationUpscaleAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.GetVariationById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.GetVariationById.g.verified.cs new file mode 100644 index 0000000000..de2c863c2b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.GetVariationById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IVariationClient.GetVariationById.g.cs +#nullable enable + +namespace G +{ + public partial interface IVariationClient + { + /// + /// Get variation by ID
+ /// This endpoint will get the variation by ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVariationByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.g.verified.cs new file mode 100644 index 0000000000..785c4632e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.IVariationClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IVariationClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IVariationClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ImageClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ImageClient.g.verified.cs index 466cd30cab..8ef0217c5e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ImageClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ImageClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ImageClient : global::System.IDisposable + public sealed partial class ImageClient : global::G.IImageClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.InitImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.InitImagesClient.g.verified.cs index c03a741eb6..d7ed986fae 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.InitImagesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.InitImagesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class InitImagesClient : global::System.IDisposable + public sealed partial class InitImagesClient : global::G.IInitImagesClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Delete3DModelById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Delete3DModelById.g.verified.cs new file mode 100644 index 0000000000..8d620f7579 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Delete3DModelById.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.Ix3DModelAssetsClient.Delete3DModelById.g.cs +#nullable enable + +namespace G +{ + public partial interface Ix3DModelAssetsClient + { + /// + /// Delete 3D Model by ID
+ /// This endpoint deletes the specific 3D Model + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Delete3DModelByIdAsync( + string id, + global::G.Delete3DModelByIdRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete 3D Model by ID
+ /// This endpoint deletes the specific 3D Model + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Delete3DModelByIdAsync( + string id, + string? requestId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Get3DModelById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Get3DModelById.g.verified.cs new file mode 100644 index 0000000000..23ca9e4644 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Get3DModelById.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.Ix3DModelAssetsClient.Get3DModelById.g.cs +#nullable enable + +namespace G +{ + public partial interface Ix3DModelAssetsClient + { + /// + /// Get 3D Model by ID
+ /// This endpoint gets the specific 3D model + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Get3DModelByIdAsync( + string id, + global::G.Get3DModelByIdRequest request, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Get 3D Model by ID
+ /// This endpoint gets the specific 3D model + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Get3DModelByIdAsync( + string id, + int offset = 0, + int limit = 10, + string? requestId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Get3DModelsByUserId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Get3DModelsByUserId.g.verified.cs new file mode 100644 index 0000000000..2a1396e66e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.Get3DModelsByUserId.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.Ix3DModelAssetsClient.Get3DModelsByUserId.g.cs +#nullable enable + +namespace G +{ + public partial interface Ix3DModelAssetsClient + { + /// + /// Get 3D models by user ID
+ /// This endpoint returns all 3D models by a specific user + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Get3DModelsByUserIdAsync( + string userId, + global::G.Get3DModelsByUserIdRequest request, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Get 3D models by user ID
+ /// This endpoint returns all 3D models by a specific user + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Get3DModelsByUserIdAsync( + string userId, + int offset = 0, + int limit = 10, + string? requestUserId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.UploadModelAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.UploadModelAsset.g.verified.cs new file mode 100644 index 0000000000..4ebf0d538d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.UploadModelAsset.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.Ix3DModelAssetsClient.UploadModelAsset.g.cs +#nullable enable + +namespace G +{ + public partial interface Ix3DModelAssetsClient + { + /// + /// Upload 3D Model
+ /// This endpoint returns presigned details to upload a 3D model to S3 + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadModelAssetAsync( + global::G.UploadModelAssetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload 3D Model
+ /// This endpoint returns presigned details to upload a 3D model to S3 + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadModelAssetAsync( + string? modelExtension = default, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.g.verified.cs new file mode 100644 index 0000000000..7940c29e76 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.Ix3DModelAssetsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.Ix3DModelAssetsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface Ix3DModelAssetsClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ModelsClient.g.verified.cs index 50e048f11f..51e2cbea74 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.ModelsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelsClient : global::System.IDisposable + public sealed partial class ModelsClient : global::G.IModelsClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.MotionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.MotionClient.g.verified.cs index a7201257d5..69c8024c53 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.MotionClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.MotionClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MotionClient : global::System.IDisposable + public sealed partial class MotionClient : global::G.IMotionClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.PricingCalculatorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.PricingCalculatorClient.g.verified.cs index 1ec55e377c..4e58a62be0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.PricingCalculatorClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.PricingCalculatorClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PricingCalculatorClient : global::System.IDisposable + public sealed partial class PricingCalculatorClient : global::G.IPricingCalculatorClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.PromptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.PromptClient.g.verified.cs index 6e6b9c8918..2a3520b8b8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.PromptClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.PromptClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PromptClient : global::System.IDisposable + public sealed partial class PromptClient : global::G.IPromptClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.RealtimeCanvasClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.RealtimeCanvasClient.g.verified.cs index a62cf1d146..18f7639c11 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.RealtimeCanvasClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.RealtimeCanvasClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RealtimeCanvasClient : global::System.IDisposable + public sealed partial class RealtimeCanvasClient : global::G.IRealtimeCanvasClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.TextureClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.TextureClient.g.verified.cs index fbb6c3a1a5..3e101902cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.TextureClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.TextureClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TextureClient : global::System.IDisposable + public sealed partial class TextureClient : global::G.ITextureClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.UserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.UserClient.g.verified.cs index a0367b278a..537e1fa2e3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.UserClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.UserClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UserClient : global::System.IDisposable + public sealed partial class UserClient : global::G.IUserClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.VariationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.VariationClient.g.verified.cs index 7eec98798d..0b5620d6e6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.VariationClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.VariationClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class VariationClient : global::System.IDisposable + public sealed partial class VariationClient : global::G.IVariationClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.x3DModelAssetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.x3DModelAssetsClient.g.verified.cs index 776aea50b0..a81304cd03 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.x3DModelAssetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/NewtonsoftJson/_#G.x3DModelAssetsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class x3DModelAssetsClient : global::System.IDisposable + public sealed partial class x3DModelAssetsClient : global::G.Ix3DModelAssetsClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.g.verified.cs index 27982a1a7d..3ce597336d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.DatasetClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.DatasetClient.g.verified.cs index a4e3cb10b4..f66531e36f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.DatasetClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.DatasetClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class DatasetClient : global::System.IDisposable + public sealed partial class DatasetClient : global::G.IDatasetClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ElementsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ElementsClient.g.verified.cs index d215c8e497..64c6ce9aee 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ElementsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ElementsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ElementsClient : global::System.IDisposable + public sealed partial class ElementsClient : global::G.IElementsClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..085648a6ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,91 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// Leonardo.Ai API OpenAPI specification.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// + /// + public DatasetClient Dataset { get; } + + /// + /// + /// + public ElementsClient Elements { get; } + + /// + /// + /// + public ImageClient Image { get; } + + /// + /// + /// + public InitImagesClient InitImages { get; } + + /// + /// + /// + public MotionClient Motion { get; } + + /// + /// + /// + public ModelsClient Models { get; } + + /// + /// + /// + public PricingCalculatorClient PricingCalculator { get; } + + /// + /// + /// + public PromptClient Prompt { get; } + + /// + /// + /// + public RealtimeCanvasClient RealtimeCanvas { get; } + + /// + /// + /// + public TextureClient Texture { get; } + + /// + /// + /// + public UserClient User { get; } + + /// + /// + /// + public VariationClient Variation { get; } + + /// + /// + /// + public x3DModelAssetsClient x3DModelAssets { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.CreateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.CreateDataset.g.verified.cs new file mode 100644 index 0000000000..15cf8b83f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.CreateDataset.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetClient.CreateDataset.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetClient + { + /// + /// Create a Dataset
+ /// This endpoint creates a new dataset + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + global::G.CreateDatasetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Dataset
+ /// This endpoint creates a new dataset + ///
+ /// + /// The name of the dataset. + /// + /// + /// A description for the dataset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDatasetAsync( + string name, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.DeleteDatasetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.DeleteDatasetById.g.verified.cs new file mode 100644 index 0000000000..a04994afa8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.DeleteDatasetById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetClient.DeleteDatasetById.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetClient + { + /// + /// Delete a Single Dataset by ID
+ /// This endpoint deletes the specific dataset + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteDatasetByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.GetDatasetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.GetDatasetById.g.verified.cs new file mode 100644 index 0000000000..c42e29703e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.GetDatasetById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IDatasetClient.GetDatasetById.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetClient + { + /// + /// Get a Single Dataset by ID
+ /// This endpoint gets the specific dataset + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDatasetByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.UploadDatasetImage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.UploadDatasetImage.g.verified.cs new file mode 100644 index 0000000000..aae2604185 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.UploadDatasetImage.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetClient.UploadDatasetImage.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetClient + { + /// + /// Upload dataset image
+ /// This endpoint returns presigned details to upload a dataset image to S3 + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadDatasetImageAsync( + string datasetId, + global::G.UploadDatasetImageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload dataset image
+ /// This endpoint returns presigned details to upload a dataset image to S3 + ///
+ /// + /// + /// Has to be png, jpg, jpeg, or webp. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadDatasetImageAsync( + string datasetId, + string extension, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.UploadDatasetImageFromGen.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.UploadDatasetImageFromGen.g.verified.cs new file mode 100644 index 0000000000..3df8a82541 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.UploadDatasetImageFromGen.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IDatasetClient.UploadDatasetImageFromGen.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetClient + { + /// + /// Upload a Single Generated Image to a Dataset
+ /// This endpoint will upload a previously generated image to the dataset + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadDatasetImageFromGenAsync( + string datasetId, + global::G.UploadDatasetImageFromGenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload a Single Generated Image to a Dataset
+ /// This endpoint will upload a previously generated image to the dataset + ///
+ /// + /// + /// The ID of the image to upload to the dataset. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadDatasetImageFromGenAsync( + string datasetId, + string generatedImageId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.g.verified.cs new file mode 100644 index 0000000000..4af5ba4096 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IDatasetClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IDatasetClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDatasetClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IElementsClient.ListElements.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IElementsClient.ListElements.g.verified.cs new file mode 100644 index 0000000000..45700d56a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IElementsClient.ListElements.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IElementsClient.ListElements.g.cs +#nullable enable + +namespace G +{ + public partial interface IElementsClient + { + /// + /// List Elements
+ /// Get a list of public Elements available for use with generations. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListElementsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IElementsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IElementsClient.g.verified.cs new file mode 100644 index 0000000000..dd859902d9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IElementsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IElementsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IElementsClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.CreateGeneration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.CreateGeneration.g.verified.cs new file mode 100644 index 0000000000..2b4ff13dd0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.CreateGeneration.g.verified.cs @@ -0,0 +1,189 @@ +//HintName: G.IImageClient.CreateGeneration.g.cs +#nullable enable + +namespace G +{ + public partial interface IImageClient + { + /// + /// Create a Generation of Images
+ /// This endpoint will generate images + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateGenerationAsync( + global::G.CreateGenerationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Generation of Images
+ /// This endpoint will generate images + ///
+ /// + /// Enable to use Alchemy. Note: The appropriate Alchemy version is selected for the specified model. For example, XL models will use Alchemy V2.
+ /// Default Value: true + /// + /// + /// Contrast Ratio to use with Alchemy. Must be a float between 0 and 1 inclusive. + /// + /// + /// + /// + /// Enable to use the Expanded Domain feature of Alchemy. + /// + /// + /// Enable to use the Fantasy Avatar feature. + /// + /// + /// How strongly the generation should reflect the prompt. 7 is recommended. Must be between 1 and 20. + /// + /// + /// The input height of the images. Must be between 32 and 1024 and be a multiple of 8. Note: Input resolution is not always the same as output resolution due to upscaling from other features.
+ /// Default Value: 768 + /// + /// + /// Enable to use the High Contrast feature of Prompt Magic. Note: Controls RAW mode. Set to false to enable RAW mode. + /// + /// + /// Enable to use the High Resolution feature of Prompt Magic. + /// + /// + /// + /// + /// The ID of an existing image to use in image2image. + /// + /// + /// The ID of an Init Image to use in image2image. + /// + /// + /// How strongly the generated images should reflect the original image in image2image. Must be a float between 0.1 and 0.9. + /// + /// + /// The model ID used for image generation. If not provided, uses sd_version to determine the version of Stable Diffusion to use. In-app, model IDs are under the Finetune Models menu. Click on the platform model or your custom model, then click View More. For platform models, you can also use the List Platform Models API.
+ /// Default Value: b24e16ff-06e3-43eb-8d33-4416c2d75876 + /// + /// + /// The negative prompt used for the image generation + /// + /// + /// The number of images to generate. Must be between 1 and 8. If either width or height is over 768, must be between 1 and 4.
+ /// Default Value: 4 + /// + /// + /// The Step Count to use for the generation. Must be between 10 and 60. Default is 15. + /// + /// + /// Enable the photoReal feature. Requires enabling alchemy and unspecifying modelId (for photoRealVersion V1). + /// + /// + /// The version of photoReal to use. Must be v1 or v2. + /// + /// + /// Depth of field of photoReal. Must be 0.55 for low, 0.5 for medium, or 0.45 for high. Defaults to 0.55 if not specified. + /// + /// + /// The style to generate images with. When photoReal is enabled, refer to the Guide section for a full list. When alchemy is disabled, use LEONARDO or NONE. When alchemy is enabled, use ANIME, CREATIVE, DYNAMIC, ENVIRONMENT, GENERAL, ILLUSTRATION, PHOTOGRAPHY, RAYTRACED, RENDER_3D, SKETCH_BW, SKETCH_COLOR, or NONE.
+ /// Default Value: DYNAMIC + /// + /// + /// The prompt used to generate images
+ /// Default Value: A majestic cat in the snow + /// + /// + /// Enable to use Prompt Magic. + /// + /// + /// Strength of prompt magic. Must be a float between 0.1 and 1.0 + /// + /// + /// Prompt magic version v2 or v3, for use when promptMagic: true + /// + /// + /// Whether the generated images should show in the community feed. + /// + /// + /// The scheduler to generate images with. Defaults to EULER_DISCRETE if not specified. + /// + /// + /// The base version of stable diffusion to use if not using a custom model. v1_5 is 1.5, v2 is 2.1, if not specified it will default to v1_5. Also includes SDXL and SDXL Lightning models + /// + /// + /// + /// Whether the generated images should tile on all axis. + /// + /// + /// Which type of transparency this image should use + /// + /// + /// Whether the generated images should be unzoomed (requires unzoomAmount and init_image_id to be set). + /// + /// + /// How much the image should be unzoomed (requires an init_image_id and unzoom to be set to true). + /// + /// + /// How much the image should be upscaled. (Enterprise Only) + /// + /// + /// The input width of the images. Must be between 32 and 1024 and be a multiple of 8. Note: Input resolution is not always the same as output resolution due to upscaling from other features.
+ /// Default Value: 1024 + /// + /// + /// Whether the generation is for the Canvas Editor feature. + /// + /// + /// The type of request for the Canvas Editor. + /// + /// + /// The ID of an initial image to use in Canvas Editor request. + /// + /// + /// The ID of a mask image to use in Canvas Editor request. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateGenerationAsync( + string prompt, + bool? alchemy = true, + double? contrastRatio = default, + global::System.Collections.Generic.IList? controlnets = default, + global::System.Collections.Generic.IList? elements = default, + bool? expandedDomain = default, + bool? fantasyAvatar = default, + int? guidanceScale = default, + int? height = 768, + bool? highContrast = default, + bool? highResolution = default, + global::System.Collections.Generic.IList? imagePrompts = default, + double? imagePromptWeight = default, + string? initGenerationImageId = default, + string? initImageId = default, + double? initStrength = default, + string? modelId = "b24e16ff-06e3-43eb-8d33-4416c2d75876", + string? negativePrompt = default, + int? numImages = 4, + int? numInferenceSteps = default, + bool? photoReal = default, + string? photoRealVersion = default, + double? photoRealStrength = default, + global::G.SdGenerationStyle? presetStyle = global::G.SdGenerationStyle.DYNAMIC, + bool? promptMagic = default, + double? promptMagicStrength = default, + string? promptMagicVersion = default, + bool? @public = default, + global::G.SdGenerationSchedulers? scheduler = default, + global::G.SdVersions? sdVersion = default, + int? seed = default, + bool? tiling = default, + global::G.CreateGenerationRequestTransparency? transparency = default, + bool? unzoom = default, + double? unzoomAmount = default, + double? upscaleRatio = default, + int? width = 1024, + bool? canvasRequest = default, + global::G.CanvasRequestType? canvasRequestType = default, + string? canvasInitId = default, + string? canvasMaskId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.DeleteGenerationById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.DeleteGenerationById.g.verified.cs new file mode 100644 index 0000000000..92971e4223 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.DeleteGenerationById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IImageClient.DeleteGenerationById.g.cs +#nullable enable + +namespace G +{ + public partial interface IImageClient + { + /// + /// Delete a Single Generation
+ /// This endpoint deletes a specific generation + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteGenerationByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.GetGenerationById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.GetGenerationById.g.verified.cs new file mode 100644 index 0000000000..028cd9a234 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.GetGenerationById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IImageClient.GetGenerationById.g.cs +#nullable enable + +namespace G +{ + public partial interface IImageClient + { + /// + /// Get a Single Generation
+ /// This endpoint will provide information about a specific generation + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGenerationByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.GetGenerationsByUserId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.GetGenerationsByUserId.g.verified.cs new file mode 100644 index 0000000000..1f05bb87b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.GetGenerationsByUserId.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IImageClient.GetGenerationsByUserId.g.cs +#nullable enable + +namespace G +{ + public partial interface IImageClient + { + /// + /// Get generations by user ID
+ /// This endpoint returns all generations by a specific user + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGenerationsByUserIdAsync( + string userId, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.g.verified.cs new file mode 100644 index 0000000000..43db69b028 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IImageClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IImageClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IImageClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.DeleteInitImageById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.DeleteInitImageById.g.verified.cs new file mode 100644 index 0000000000..903cd1e7c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.DeleteInitImageById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IInitImagesClient.DeleteInitImageById.g.cs +#nullable enable + +namespace G +{ + public partial interface IInitImagesClient + { + /// + /// Delete init image
+ /// This endpoint deletes an init image + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteInitImageByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.GetInitImageById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.GetInitImageById.g.verified.cs new file mode 100644 index 0000000000..43388db0d8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.GetInitImageById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IInitImagesClient.GetInitImageById.g.cs +#nullable enable + +namespace G +{ + public partial interface IInitImagesClient + { + /// + /// Get single init image
+ /// This endpoint will return a single init image + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetInitImageByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.UploadCanvasInitImage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.UploadCanvasInitImage.g.verified.cs new file mode 100644 index 0000000000..9ee011bb05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.UploadCanvasInitImage.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IInitImagesClient.UploadCanvasInitImage.g.cs +#nullable enable + +namespace G +{ + public partial interface IInitImagesClient + { + /// + /// Upload Canvas Editor init and mask image
+ /// This endpoint returns presigned details to upload an init image and a mask image to S3 + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadCanvasInitImageAsync( + global::G.UploadCanvasInitImageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload Canvas Editor init and mask image
+ /// This endpoint returns presigned details to upload an init image and a mask image to S3 + ///
+ /// + /// Has to be png, jpg, jpeg, or webp. + /// + /// + /// Has to be png, jpg, jpeg, or webp. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadCanvasInitImageAsync( + string initExtension, + string maskExtension, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.UploadInitImage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.UploadInitImage.g.verified.cs new file mode 100644 index 0000000000..4cb8d0285e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.UploadInitImage.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IInitImagesClient.UploadInitImage.g.cs +#nullable enable + +namespace G +{ + public partial interface IInitImagesClient + { + /// + /// Upload init image
+ /// This endpoint returns presigned details to upload an init image to S3 + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadInitImageAsync( + global::G.UploadInitImageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload init image
+ /// This endpoint returns presigned details to upload an init image to S3 + ///
+ /// + /// Has to be png, jpg, jpeg, or webp. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadInitImageAsync( + string extension, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.g.verified.cs new file mode 100644 index 0000000000..9268a1a07f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IInitImagesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IInitImagesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IInitImagesClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.CreateModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.CreateModel.g.verified.cs new file mode 100644 index 0000000000..1c04616a62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.CreateModel.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.IModelsClient.CreateModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Train a Custom Model
+ /// This endpoint will train a new custom model + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModelAsync( + global::G.CreateModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Train a Custom Model
+ /// This endpoint will train a new custom model + ///
+ /// + /// The name of the model. + /// + /// + /// The description of the model. + /// + /// + /// The ID of the dataset to train the model on. + /// + /// + /// The instance prompt to use during training. + /// + /// + /// The category the most accurately reflects the model.
+ /// Default Value: GENERAL + /// + /// + /// Whether or not the model is NSFW.
+ /// Default Value: false + /// + /// + /// The resolution for training. Must be 512 or 768.
+ /// Default Value: 512 + /// + /// + /// The base version of stable diffusion to use if not using a custom model. v1_5 is 1.5, v2 is 2.1, if not specified it will default to v1_5. Also includes SDXL and SDXL Lightning models + /// + /// + /// When training using the PIXEL_ART model type, this influences the training strength.
+ /// Default Value: MEDIUM + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModelAsync( + string name, + string datasetId, + string instancePrompt, + string? description = default, + global::G.CustomModelType? modelType = global::G.CustomModelType.GENERAL, + bool? nsfw = false, + int? resolution = 512, + global::G.SdVersions? sdVersion = default, + global::G.Strength? strength = global::G.Strength.MEDIUM, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.DeleteModelById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.DeleteModelById.g.verified.cs new file mode 100644 index 0000000000..62ddeb2cac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.DeleteModelById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IModelsClient.DeleteModelById.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Delete a Single Custom Model by ID
+ /// This endpoint will delete a specific custom model + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.GetModelById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.GetModelById.g.verified.cs new file mode 100644 index 0000000000..fe4f3a1924 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.GetModelById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IModelsClient.GetModelById.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Get a Single Custom Model by ID
+ /// This endpoint gets the specific custom model + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetModelByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.ListPlatformModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.ListPlatformModels.g.verified.cs new file mode 100644 index 0000000000..e4f76c9149 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.ListPlatformModels.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IModelsClient.ListPlatformModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// List Platform Models
+ /// Get a list of public Platform Models available for use with generations. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListPlatformModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.g.verified.cs new file mode 100644 index 0000000000..d5be60c706 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IModelsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelsClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IMotionClient.CreateSVDMotionGeneration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IMotionClient.CreateSVDMotionGeneration.g.verified.cs new file mode 100644 index 0000000000..d4771c7074 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IMotionClient.CreateSVDMotionGeneration.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IMotionClient.CreateSVDMotionGeneration.g.cs +#nullable enable + +namespace G +{ + public partial interface IMotionClient + { + /// + /// Create SVD Motion Generation
+ /// This endpoint will generate a SVD motion generation. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSVDMotionGenerationAsync( + global::G.CreateSVDMotionGenerationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create SVD Motion Generation
+ /// This endpoint will generate a SVD motion generation. + ///
+ /// + /// The ID of the image, supports generated images, variation images, and init images. + /// + /// + /// Whether the generation is public or not + /// + /// + /// If it is an init image uploaded by the user. This image is uploaded from endpoint: Upload init image. + /// + /// + /// If it is a variation image. + /// + /// + /// The motion strength. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSVDMotionGenerationAsync( + string imageId, + bool? isPublic = default, + bool? isInitImage = default, + bool? isVariation = default, + int? motionStrength = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IMotionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IMotionClient.g.verified.cs new file mode 100644 index 0000000000..a3f73e047a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IMotionClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IMotionClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMotionClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPricingCalculatorClient.PricingCalculator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPricingCalculatorClient.PricingCalculator.g.verified.cs new file mode 100644 index 0000000000..5e97239154 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPricingCalculatorClient.PricingCalculator.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPricingCalculatorClient.PricingCalculator.g.cs +#nullable enable + +namespace G +{ + public partial interface IPricingCalculatorClient + { + /// + /// Calculating API Cost
+ /// This endpoint returns the cost used for generating images using a particular service type. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PricingCalculatorAsync( + global::G.PricingCalculatorRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Calculating API Cost
+ /// This endpoint returns the cost used for generating images using a particular service type. + ///
+ /// + /// The services to be chosen for calculating the API credit cost. + /// + /// + /// Parameters for the service + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PricingCalculatorAsync( + global::G.PricingCalculatorServices? service = default, + global::G.PricingCalculatorRequestServiceParams? serviceParams = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPricingCalculatorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPricingCalculatorClient.g.verified.cs new file mode 100644 index 0000000000..e130f94c48 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPricingCalculatorClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPricingCalculatorClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPricingCalculatorClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.PromptImprove.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.PromptImprove.g.verified.cs new file mode 100644 index 0000000000..5baade808a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.PromptImprove.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPromptClient.PromptImprove.g.cs +#nullable enable + +namespace G +{ + public partial interface IPromptClient + { + /// + /// Improve a Prompt
+ /// This endpoint returns a improved prompt + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PromptImproveAsync( + global::G.PromptImproveRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Improve a Prompt
+ /// This endpoint returns a improved prompt + ///
+ /// + /// The prompt to improve. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PromptImproveAsync( + string prompt, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.PromptRandom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.PromptRandom.g.verified.cs new file mode 100644 index 0000000000..be96e9e65a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.PromptRandom.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IPromptClient.PromptRandom.g.cs +#nullable enable + +namespace G +{ + public partial interface IPromptClient + { + /// + /// Generate a Random prompt
+ /// This endpoint returns a random prompt + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PromptRandomAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.g.verified.cs new file mode 100644 index 0000000000..1d59be2e4f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IPromptClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPromptClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPromptClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.CreateLCMGeneration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.CreateLCMGeneration.g.verified.cs new file mode 100644 index 0000000000..f37439d8e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.CreateLCMGeneration.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IRealtimeCanvasClient.CreateLCMGeneration.g.cs +#nullable enable + +namespace G +{ + public partial interface IRealtimeCanvasClient + { + /// + /// Create LCM Generation
+ /// This endpoint will generate a LCM image generation. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateLCMGenerationAsync( + global::G.CreateLCMGenerationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create LCM Generation
+ /// This endpoint will generate a LCM image generation. + ///
+ /// + /// Image data used to generate image. In base64 format. Prefix: `data:image/jpeg;base64,` + /// + /// + /// The prompt used to generate images + /// + /// + /// How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20. + /// + /// + /// Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. + /// + /// + /// + /// The style to generate LCM images with. + /// + /// + /// The number of steps to use for the generation. Must be between 4 and 16. + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateLCMGenerationAsync( + string imageDataUrl, + string prompt, + double? guidance = default, + double? strength = default, + string? requestTimestamp = default, + global::G.LcmGenerationStyle? style = default, + int? steps = default, + int? width = 512, + int? height = 512, + int? seed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformAlchemyUpscaleLCM.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformAlchemyUpscaleLCM.g.verified.cs new file mode 100644 index 0000000000..eea6ff9ca7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformAlchemyUpscaleLCM.g.verified.cs @@ -0,0 +1,74 @@ +//HintName: G.IRealtimeCanvasClient.PerformAlchemyUpscaleLCM.g.cs +#nullable enable + +namespace G +{ + public partial interface IRealtimeCanvasClient + { + /// + /// Perform Alchemy Upscale on a LCM image
+ /// This endpoint will perform Alchemy Upscale on a LCM image + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformAlchemyUpscaleLCMAsync( + global::G.PerformAlchemyUpscaleLCMRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Perform Alchemy Upscale on a LCM image
+ /// This endpoint will perform Alchemy Upscale on a LCM image + ///
+ /// + /// Image data used to generate image. In base64 format. Prefix: `data:image/jpeg;base64,` + /// + /// + /// The prompt used to generate images + /// + /// + /// How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20. + /// + /// + /// Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. + /// + /// + /// + /// The style to generate LCM images with. + /// + /// + /// The number of steps to use for the generation. Must be between 4 and 16. + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// + /// Refine creative + /// + /// + /// Must be a float between 0.5 and 0.9. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformAlchemyUpscaleLCMAsync( + string imageDataUrl, + string prompt, + double? guidance = default, + double? strength = default, + string? requestTimestamp = default, + global::G.LcmGenerationStyle? style = default, + int? steps = default, + int? width = 512, + int? height = 512, + int? seed = default, + bool? refineCreative = default, + double? refineStrength = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformInpaintingLCM.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformInpaintingLCM.g.verified.cs new file mode 100644 index 0000000000..20de891ddf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformInpaintingLCM.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.IRealtimeCanvasClient.PerformInpaintingLCM.g.cs +#nullable enable + +namespace G +{ + public partial interface IRealtimeCanvasClient + { + /// + /// Perform inpainting on a LCM image
+ /// This endpoint will perform a inpainting on a LCM image + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformInpaintingLCMAsync( + global::G.PerformInpaintingLCMRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Perform inpainting on a LCM image
+ /// This endpoint will perform a inpainting on a LCM image + ///
+ /// + /// Image data used to generate image. In base64 format. Prefix: `data:image/jpeg;base64,` + /// + /// + /// Image data of the mask layer used for inpainting. In base64 format. Prefix: `data:image/jpeg;base64,`. Mask should be white on black where generation is applied to the white area. + /// + /// + /// The prompt used to generate images + /// + /// + /// How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20. + /// + /// + /// Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. + /// + /// + /// + /// The style to generate LCM images with. + /// + /// + /// The number of steps to use for the generation. Must be between 4 and 16. + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformInpaintingLCMAsync( + string imageDataUrl, + string maskDataUrl, + string prompt, + double? guidance = default, + double? strength = default, + string? requestTimestamp = default, + global::G.LcmGenerationStyle? style = default, + int? steps = default, + int? width = 512, + int? height = 512, + int? seed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformInstantRefine.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformInstantRefine.g.verified.cs new file mode 100644 index 0000000000..d94a3b6d61 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.PerformInstantRefine.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IRealtimeCanvasClient.PerformInstantRefine.g.cs +#nullable enable + +namespace G +{ + public partial interface IRealtimeCanvasClient + { + /// + /// Perform instant refine on a LCM image
+ /// This endpoint will perform instant refine on a LCM image + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformInstantRefineAsync( + global::G.PerformInstantRefineRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Perform instant refine on a LCM image
+ /// This endpoint will perform instant refine on a LCM image + ///
+ /// + /// Image data used to generate image. In base64 format. Prefix: `data:image/jpeg;base64,` + /// + /// + /// The prompt used to generate images + /// + /// + /// How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20. + /// + /// + /// Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. + /// + /// + /// + /// The style to generate LCM images with. + /// + /// + /// The number of steps to use for the generation. Must be between 4 and 16. + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The output width of the image. Must be 512, 640 or 1024.
+ /// Default Value: 512 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PerformInstantRefineAsync( + string imageDataUrl, + string prompt, + double? guidance = default, + double? strength = default, + string? requestTimestamp = default, + global::G.LcmGenerationStyle? style = default, + int? steps = default, + int? width = 512, + int? height = 512, + int? seed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.g.verified.cs new file mode 100644 index 0000000000..b89d5fe105 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IRealtimeCanvasClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRealtimeCanvasClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRealtimeCanvasClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.CreateTextureGeneration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.CreateTextureGeneration.g.verified.cs new file mode 100644 index 0000000000..c291c251de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.CreateTextureGeneration.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.ITextureClient.CreateTextureGeneration.g.cs +#nullable enable + +namespace G +{ + public partial interface ITextureClient + { + /// + /// Create Texture Generation
+ /// This endpoint will generate a texture generation. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTextureGenerationAsync( + global::G.CreateTextureGenerationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Texture Generation
+ /// This endpoint will generate a texture generation. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTextureGenerationAsync( + int? frontRotationOffset = default, + string? modelAssetId = default, + string? negativePrompt = default, + bool? preview = default, + string? previewDirection = default, + string? prompt = default, + string? sdVersion = default, + int? seed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.DeleteTextureGenerationById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.DeleteTextureGenerationById.g.verified.cs new file mode 100644 index 0000000000..f8ecda6b85 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.DeleteTextureGenerationById.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ITextureClient.DeleteTextureGenerationById.g.cs +#nullable enable + +namespace G +{ + public partial interface ITextureClient + { + /// + /// Delete Texture Generation by ID
+ /// This endpoint deletes the specific texture generation. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTextureGenerationByIdAsync( + string id, + global::G.DeleteTextureGenerationByIdRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete Texture Generation by ID
+ /// This endpoint deletes the specific texture generation. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteTextureGenerationByIdAsync( + string id, + string? requestId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.GetTextureGenerationById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.GetTextureGenerationById.g.verified.cs new file mode 100644 index 0000000000..1955fd9f91 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.GetTextureGenerationById.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.ITextureClient.GetTextureGenerationById.g.cs +#nullable enable + +namespace G +{ + public partial interface ITextureClient + { + /// + /// Get Texture Generation by ID
+ /// This endpoint gets the specific texture generation. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTextureGenerationByIdAsync( + string id, + global::G.GetTextureGenerationByIdRequest request, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Get Texture Generation by ID
+ /// This endpoint gets the specific texture generation. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTextureGenerationByIdAsync( + string id, + int offset = 0, + int limit = 10, + string? requestId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.GetTextureGenerationsByModelId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.GetTextureGenerationsByModelId.g.verified.cs new file mode 100644 index 0000000000..223c50ad6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.GetTextureGenerationsByModelId.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.ITextureClient.GetTextureGenerationsByModelId.g.cs +#nullable enable + +namespace G +{ + public partial interface ITextureClient + { + /// + /// Get texture generations by 3D Model ID
+ /// This endpoint gets the specific texture generations by the 3d model id. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTextureGenerationsByModelIdAsync( + string modelId, + global::G.GetTextureGenerationsByModelIdRequest request, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Get texture generations by 3D Model ID
+ /// This endpoint gets the specific texture generations by the 3d model id. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTextureGenerationsByModelIdAsync( + string modelId, + int offset = 0, + int limit = 10, + int? requestLimit = default, + string? requestModelId = default, + int? requestOffset = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.g.verified.cs new file mode 100644 index 0000000000..cee8cb8b2c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ITextureClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITextureClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITextureClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IUserClient.GetUserSelf.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IUserClient.GetUserSelf.g.verified.cs new file mode 100644 index 0000000000..154bf8e08e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IUserClient.GetUserSelf.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUserClient.GetUserSelf.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// Get user information
+ /// This endpoint will return your user information such as your user id, username, token renewal date and current amounts of the following: subscription tokens, gpt (prompt generation) tokens, and model training tokens + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserSelfAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IUserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IUserClient.g.verified.cs new file mode 100644 index 0000000000..8046a4ee2d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IUserClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUserClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUserClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateUniversalUpscalerJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateUniversalUpscalerJob.g.verified.cs new file mode 100644 index 0000000000..1af8bcd317 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateUniversalUpscalerJob.g.verified.cs @@ -0,0 +1,59 @@ +//HintName: G.IVariationClient.CreateUniversalUpscalerJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IVariationClient + { + /// + /// Create using Universal Upscaler
+ /// This endpoint will create a high resolution image using Universal Upscaler + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateUniversalUpscalerJobAsync( + global::G.CreateUniversalUpscalerJobRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create using Universal Upscaler
+ /// This endpoint will create a high resolution image using Universal Upscaler + ///
+ /// + /// The ID of the init image uploaded + /// + /// + /// The ID of the generated image + /// + /// + /// The ID of the variation image + /// + /// + /// The style to upscale images using universal upscaler with.
+ /// Default Value: GENERAL + /// + /// + /// The creativity strength of the universal upscaler, must be integer between 1 and 10
+ /// Default Value: 5 + /// + /// + /// The upscale multiplier of the universal upscaler, must be number between 1.00 and 2.00
+ /// Default Value: 1.5 + /// + /// + /// The prompt for the universal upscaler + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateUniversalUpscalerJobAsync( + string? initImageId = default, + string? generatedImageId = default, + string? variationId = default, + global::G.UniversalUpscalerStyle? upscalerStyle = global::G.UniversalUpscalerStyle.GENERAL, + int? creativityStrength = 5, + double? upscaleMultiplier = 1.5, + string? prompt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationNoBG.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationNoBG.g.verified.cs new file mode 100644 index 0000000000..57f7bea095 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationNoBG.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IVariationClient.CreateVariationNoBG.g.cs +#nullable enable + +namespace G +{ + public partial interface IVariationClient + { + /// + /// Create no background
+ /// This endpoint will create a no background variation of the provided image ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationNoBGAsync( + global::G.CreateVariationNoBGRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create no background
+ /// This endpoint will create a no background variation of the provided image ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationNoBGAsync( + string id, + bool isVariation = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationUnzoom.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationUnzoom.g.verified.cs new file mode 100644 index 0000000000..247487413a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationUnzoom.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IVariationClient.CreateVariationUnzoom.g.cs +#nullable enable + +namespace G +{ + public partial interface IVariationClient + { + /// + /// Create unzoom
+ /// This endpoint will create an unzoom variation for the provided image ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationUnzoomAsync( + global::G.CreateVariationUnzoomRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create unzoom
+ /// This endpoint will create an unzoom variation for the provided image ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationUnzoomAsync( + string? id = default, + bool? isVariation = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationUpscale.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationUpscale.g.verified.cs new file mode 100644 index 0000000000..01e6a4398a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.CreateVariationUpscale.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IVariationClient.CreateVariationUpscale.g.cs +#nullable enable + +namespace G +{ + public partial interface IVariationClient + { + /// + /// Create upscale
+ /// This endpoint will create an upscale for the provided image ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationUpscaleAsync( + global::G.CreateVariationUpscaleRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create upscale
+ /// This endpoint will create an upscale for the provided image ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVariationUpscaleAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.GetVariationById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.GetVariationById.g.verified.cs new file mode 100644 index 0000000000..de2c863c2b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.GetVariationById.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IVariationClient.GetVariationById.g.cs +#nullable enable + +namespace G +{ + public partial interface IVariationClient + { + /// + /// Get variation by ID
+ /// This endpoint will get the variation by ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVariationByIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.g.verified.cs new file mode 100644 index 0000000000..9f50e765aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.IVariationClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IVariationClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IVariationClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ImageClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ImageClient.g.verified.cs index 35d657a7ac..43a89de190 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ImageClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ImageClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ImageClient : global::System.IDisposable + public sealed partial class ImageClient : global::G.IImageClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.InitImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.InitImagesClient.g.verified.cs index 8a57fe86ad..32847d5c44 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.InitImagesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.InitImagesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class InitImagesClient : global::System.IDisposable + public sealed partial class InitImagesClient : global::G.IInitImagesClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Delete3DModelById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Delete3DModelById.g.verified.cs new file mode 100644 index 0000000000..8d620f7579 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Delete3DModelById.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.Ix3DModelAssetsClient.Delete3DModelById.g.cs +#nullable enable + +namespace G +{ + public partial interface Ix3DModelAssetsClient + { + /// + /// Delete 3D Model by ID
+ /// This endpoint deletes the specific 3D Model + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Delete3DModelByIdAsync( + string id, + global::G.Delete3DModelByIdRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete 3D Model by ID
+ /// This endpoint deletes the specific 3D Model + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Delete3DModelByIdAsync( + string id, + string? requestId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Get3DModelById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Get3DModelById.g.verified.cs new file mode 100644 index 0000000000..23ca9e4644 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Get3DModelById.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.Ix3DModelAssetsClient.Get3DModelById.g.cs +#nullable enable + +namespace G +{ + public partial interface Ix3DModelAssetsClient + { + /// + /// Get 3D Model by ID
+ /// This endpoint gets the specific 3D model + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Get3DModelByIdAsync( + string id, + global::G.Get3DModelByIdRequest request, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Get 3D Model by ID
+ /// This endpoint gets the specific 3D model + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Get3DModelByIdAsync( + string id, + int offset = 0, + int limit = 10, + string? requestId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Get3DModelsByUserId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Get3DModelsByUserId.g.verified.cs new file mode 100644 index 0000000000..2a1396e66e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.Get3DModelsByUserId.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.Ix3DModelAssetsClient.Get3DModelsByUserId.g.cs +#nullable enable + +namespace G +{ + public partial interface Ix3DModelAssetsClient + { + /// + /// Get 3D models by user ID
+ /// This endpoint returns all 3D models by a specific user + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Get3DModelsByUserIdAsync( + string userId, + global::G.Get3DModelsByUserIdRequest request, + int offset = 0, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Get 3D models by user ID
+ /// This endpoint returns all 3D models by a specific user + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 10 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Get3DModelsByUserIdAsync( + string userId, + int offset = 0, + int limit = 10, + string? requestUserId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.UploadModelAsset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.UploadModelAsset.g.verified.cs new file mode 100644 index 0000000000..4ebf0d538d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.UploadModelAsset.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.Ix3DModelAssetsClient.UploadModelAsset.g.cs +#nullable enable + +namespace G +{ + public partial interface Ix3DModelAssetsClient + { + /// + /// Upload 3D Model
+ /// This endpoint returns presigned details to upload a 3D model to S3 + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadModelAssetAsync( + global::G.UploadModelAssetRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload 3D Model
+ /// This endpoint returns presigned details to upload a 3D model to S3 + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadModelAssetAsync( + string? modelExtension = default, + string? name = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.g.verified.cs new file mode 100644 index 0000000000..11bcb3e4e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.Ix3DModelAssetsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.Ix3DModelAssetsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface Ix3DModelAssetsClient : global::System.IDisposable + { + /// + /// Leonardo.Ai API server + /// + public const string BaseUrl = "https://cloud.leonardo.ai/api/rest/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ModelsClient.g.verified.cs index 94e1de70c6..cae24767c4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.ModelsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelsClient : global::System.IDisposable + public sealed partial class ModelsClient : global::G.IModelsClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.MotionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.MotionClient.g.verified.cs index 02c3b5ba8e..ef3b688970 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.MotionClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.MotionClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MotionClient : global::System.IDisposable + public sealed partial class MotionClient : global::G.IMotionClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.PricingCalculatorClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.PricingCalculatorClient.g.verified.cs index c304f67148..c374d077c8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.PricingCalculatorClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.PricingCalculatorClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PricingCalculatorClient : global::System.IDisposable + public sealed partial class PricingCalculatorClient : global::G.IPricingCalculatorClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.PromptClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.PromptClient.g.verified.cs index 48b61f40f2..4829142169 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.PromptClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.PromptClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PromptClient : global::System.IDisposable + public sealed partial class PromptClient : global::G.IPromptClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.RealtimeCanvasClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.RealtimeCanvasClient.g.verified.cs index 57a04e8f5f..54fd42209f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.RealtimeCanvasClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.RealtimeCanvasClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RealtimeCanvasClient : global::System.IDisposable + public sealed partial class RealtimeCanvasClient : global::G.IRealtimeCanvasClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.TextureClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.TextureClient.g.verified.cs index 71fca19d24..62e56ee422 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.TextureClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.TextureClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TextureClient : global::System.IDisposable + public sealed partial class TextureClient : global::G.ITextureClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.UserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.UserClient.g.verified.cs index e92a516b7b..e570dc2077 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.UserClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.UserClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UserClient : global::System.IDisposable + public sealed partial class UserClient : global::G.IUserClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.VariationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.VariationClient.g.verified.cs index 06b7662195..d94c3a719b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.VariationClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.VariationClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class VariationClient : global::System.IDisposable + public sealed partial class VariationClient : global::G.IVariationClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.x3DModelAssetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.x3DModelAssetsClient.g.verified.cs index 661ad09096..6c674478bf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.x3DModelAssetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Leonardo/SystemTextJson/_#G.x3DModelAssetsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class x3DModelAssetsClient : global::System.IDisposable + public sealed partial class x3DModelAssetsClient : global::G.Ix3DModelAssetsClient, global::System.IDisposable { /// /// Leonardo.Ai API server diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.AWSClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.AWSClient.g.verified.cs index 6aafad96cf..b0441baa62 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.AWSClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.AWSClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AWSClient : global::System.IDisposable + public sealed partial class AWSClient : global::G.IAWSClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.Api.g.verified.cs index 75a46938c5..2f3dd3a64f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.Api.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.AzureClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.AzureClient.g.verified.cs index a3aac9fc70..53b3ea18de 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.AzureClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.AzureClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AzureClient : global::System.IDisposable + public sealed partial class AzureClient : global::G.IAzureClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.BillingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.BillingClient.g.verified.cs index 7aa20d3ef1..3ea3899ae1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.BillingClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.BillingClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class BillingClient : global::System.IDisposable + public sealed partial class BillingClient : global::G.IBillingClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.CloudClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.CloudClient.g.verified.cs index 1fab934887..045bfa41e0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.CloudClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.CloudClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CloudClient : global::System.IDisposable + public sealed partial class CloudClient : global::G.ICloudClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ClusterClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ClusterClient.g.verified.cs index bb2b2fe7bc..7c83ec3137 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ClusterClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ClusterClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ClusterClient : global::System.IDisposable + public sealed partial class ClusterClient : global::G.IClusterClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.CredentialsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.CredentialsClient.g.verified.cs index 0431dc5478..556da47b08 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.CredentialsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.CredentialsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CredentialsClient : global::System.IDisposable + public sealed partial class CredentialsClient : global::G.ICredentialsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.g.verified.cs index 64c4e64bd5..b8208c08c5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.FilesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FilesClient : global::System.IDisposable + public sealed partial class FilesClient : global::G.IFilesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.GCPClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.GCPClient.g.verified.cs index 7e955e0d8c..f70b5d2ba2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.GCPClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.GCPClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GCPClient : global::System.IDisposable + public sealed partial class GCPClient : global::G.IGCPClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IAWSClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IAWSClient.g.verified.cs new file mode 100644 index 0000000000..7847a22b34 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IAWSClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAWSClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAWSClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..84b115e7a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,115 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// + /// + public PipelinesClient Pipelines { get; } + + /// + /// + /// + public UsersClient Users { get; } + + /// + /// + /// + public TokensClient Tokens { get; } + + /// + /// + /// + public RunsClient Runs { get; } + + /// + /// + /// + public BillingClient Billing { get; } + + /// + /// + /// + public PointersClient Pointers { get; } + + /// + /// + /// + public PipelineFamiliesClient PipelineFamilies { get; } + + /// + /// + /// + public FilesClient Files { get; } + + /// + /// + /// + public MetricsClient Metrics { get; } + + /// + /// + /// + public LogsClient Logs { get; } + + /// + /// + /// + public CloudClient Cloud { get; } + + /// + /// + /// + public CredentialsClient Credentials { get; } + + /// + /// + /// + public GCPClient GCP { get; } + + /// + /// + /// + public AWSClient AWS { get; } + + /// + /// + /// + public AzureClient Azure { get; } + + /// + /// + /// + public ClusterClient Cluster { get; } + + /// + /// + /// + public ResourcesClient Resources { get; } + + /// + /// + /// + public ScalingConfigurationsClient ScalingConfigurations { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IAzureClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IAzureClient.g.verified.cs new file mode 100644 index 0000000000..7eb1e78b70 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IAzureClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAzureClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAzureClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IBillingClient.UpcomingInvoice.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IBillingClient.UpcomingInvoice.g.verified.cs new file mode 100644 index 0000000000..84195baeee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IBillingClient.UpcomingInvoice.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IBillingClient.UpcomingInvoice.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Upcoming Invoice + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpcomingInvoiceAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IBillingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IBillingClient.g.verified.cs new file mode 100644 index 0000000000..218ed69d32 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IBillingClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IBillingClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBillingClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthAws.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthAws.g.verified.cs new file mode 100644 index 0000000000..861d971814 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthAws.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICloudClient.AuthAws.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Auth Aws + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AuthAwsAsync( + global::G.AWSAuthCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Auth Aws + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AuthAwsAsync( + string roleArn, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthAzure.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthAzure.g.verified.cs new file mode 100644 index 0000000000..c240b16b4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthAzure.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ICloudClient.AuthAzure.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Auth Azure + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AuthAzureAsync( + global::G.AzureAuthCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Auth Azure + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AuthAzureAsync( + string clientId, + string clientSecret, + string tenantId, + string subscriptionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthGcp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthGcp.g.verified.cs new file mode 100644 index 0000000000..88e75e5117 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.AuthGcp.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ICloudClient.AuthGcp.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Auth Gcp + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AuthGcpAsync( + string? credentialId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.CallbackGcp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.CallbackGcp.g.verified.cs new file mode 100644 index 0000000000..4030d82b93 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.CallbackGcp.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ICloudClient.CallbackGcp.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Callback Gcp + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CallbackGcpAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.CreateGcpServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.CreateGcpServiceAccount.g.verified.cs new file mode 100644 index 0000000000..07df9f03a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.CreateGcpServiceAccount.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ICloudClient.CreateGcpServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Create Gcp Service Account + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateGcpServiceAccountAsync( + global::G.BodyCreateGcpServiceAccountV4CloudProviderGcpServiceAccountsPost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Gcp Service Account + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateGcpServiceAccountAsync( + byte[] serviceAccountFile, + string serviceAccountFilename, + string? credentialId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.DeleteCloudCredential.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.DeleteCloudCredential.g.verified.cs new file mode 100644 index 0000000000..04a1c77b8d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.DeleteCloudCredential.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ICloudClient.DeleteCloudCredential.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Delete Cloud Credential + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteCloudCredentialAsync( + string credentialId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability.g.verified.cs new file mode 100644 index 0000000000..6c2ba429bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ICloudClient.GetAcceleratorAvailability.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Get Accelerator Availability + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAcceleratorAvailabilityAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability2.g.verified.cs new file mode 100644 index 0000000000..d53add8437 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability2.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ICloudClient.GetAcceleratorAvailability2.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Get Accelerator Availability + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAcceleratorAvailability2Async( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability3.g.verified.cs new file mode 100644 index 0000000000..848ddd70fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.GetAcceleratorAvailability3.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ICloudClient.GetAcceleratorAvailability3.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Get Accelerator Availability + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAcceleratorAvailability3Async( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListCredentials.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListCredentials.g.verified.cs new file mode 100644 index 0000000000..03f007929c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListCredentials.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ICloudClient.ListCredentials.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// List Credentials
+ /// List all credentials belonging to a user + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListCredentialsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListProjects.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListProjects.g.verified.cs new file mode 100644 index 0000000000..b71ce0d80b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListProjects.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ICloudClient.ListProjects.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// List Projects
+ /// Get all projects on a user's cloud account + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListProjectsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListRegions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListRegions.g.verified.cs new file mode 100644 index 0000000000..d831807acf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.ListRegions.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ICloudClient.ListRegions.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// List Regions
+ /// Get all the available regions under a project + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListRegionsAsync( + string projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.g.verified.cs new file mode 100644 index 0000000000..92dca84c79 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICloudClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICloudClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICloudClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.CreateCluster.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.CreateCluster.g.verified.cs new file mode 100644 index 0000000000..c405d40188 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.CreateCluster.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IClusterClient.CreateCluster.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// Create Cluster + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateClusterAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.CreateNodePool.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.CreateNodePool.g.verified.cs new file mode 100644 index 0000000000..d349fef7a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.CreateNodePool.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IClusterClient.CreateNodePool.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// Create Node Pool + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateNodePoolAsync( + string clusterId, + global::G.NodePoolCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Node Pool + /// + /// + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateNodePoolAsync( + string clusterId, + global::System.Collections.Generic.IList accelerators, + bool spot = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.DeleteCluster.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.DeleteCluster.g.verified.cs new file mode 100644 index 0000000000..32e088a9b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.DeleteCluster.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IClusterClient.DeleteCluster.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// Delete Cluster + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteClusterAsync( + string clusterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.DeleteNodePool.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.DeleteNodePool.g.verified.cs new file mode 100644 index 0000000000..6c79c0b798 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.DeleteNodePool.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IClusterClient.DeleteNodePool.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// Delete Node Pool + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteNodePoolAsync( + string clusterId, + string nodePoolName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListClusters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListClusters.g.verified.cs new file mode 100644 index 0000000000..bf1d561849 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListClusters.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IClusterClient.ListClusters.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// List Clusters
+ /// List all clusters belonging to a user/team + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListClustersAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListNodePools.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListNodePools.g.verified.cs new file mode 100644 index 0000000000..193f0a9599 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListNodePools.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IClusterClient.ListNodePools.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// List Node Pools
+ /// List node pools for a given cluster + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListNodePoolsAsync( + string clusterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListPipelines.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListPipelines.g.verified.cs new file mode 100644 index 0000000000..cb24b8b922 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.ListPipelines.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IClusterClient.ListPipelines.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// List Pipelines
+ /// List pipelines deployed to a given cluster + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListPipelinesAsync( + string clusterId, + int skip = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.RetrieveCluster.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.RetrieveCluster.g.verified.cs new file mode 100644 index 0000000000..9a38445cc6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.RetrieveCluster.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IClusterClient.RetrieveCluster.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// Retrieve Cluster
+ /// Retrieve a cluster for a user + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveClusterAsync( + string clusterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.g.verified.cs new file mode 100644 index 0000000000..fe21590236 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IClusterClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IClusterClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IClusterClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICredentialsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICredentialsClient.g.verified.cs new file mode 100644 index 0000000000..50389f32e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ICredentialsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICredentialsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICredentialsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Create.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Create.g.verified.cs new file mode 100644 index 0000000000..04457e2f44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Create.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IFilesClient.Create.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Create
+ /// Create a new file. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + global::G.BodyCreateV4FilesPost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create
+ /// Create a new file. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + byte[] pfile, + string pfilename, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Index.g.verified.cs new file mode 100644 index 0000000000..0e79600b23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Index.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFilesClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Index
+ /// Retrieve a paginated set of pipeline file instances. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + int skip = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Retrieve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Retrieve.g.verified.cs new file mode 100644 index 0000000000..8c7f1c90f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.Retrieve.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFilesClient.Retrieve.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Retrieve
+ /// Retrieve a file instance. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAsync( + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.g.verified.cs new file mode 100644 index 0000000000..d42b66900a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IFilesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFilesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFilesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IGCPClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IGCPClient.g.verified.cs new file mode 100644 index 0000000000..cf94adfc12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IGCPClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGCPClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGCPClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.GetPipelineStartupLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.GetPipelineStartupLogs.g.verified.cs new file mode 100644 index 0000000000..c210da21f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.GetPipelineStartupLogs.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ILogsClient.GetPipelineStartupLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface ILogsClient + { + /// + /// Get Pipeline Startup Logs
+ /// Get the logs for pipeline starting up + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPipelineStartupLogsAsync( + string pipelineIdOrPointer, + string? pipelineId = default, + string? pointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.GetRunLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.GetRunLogs.g.verified.cs new file mode 100644 index 0000000000..0984096afb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.GetRunLogs.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ILogsClient.GetRunLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface ILogsClient + { + /// + /// Get Run Logs
+ /// Get the pipeline logs for a run + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRunLogsAsync( + string runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.g.verified.cs new file mode 100644 index 0000000000..8d99a99b05 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ILogsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ILogsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILogsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.OverallUsageSummary.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.OverallUsageSummary.g.verified.cs new file mode 100644 index 0000000000..229bcbfefc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.OverallUsageSummary.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IMetricsClient.OverallUsageSummary.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetricsClient + { + /// + /// Overall Usage Summary + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OverallUsageSummaryAsync( + global::System.DateTime start, + global::System.DateTime end, + string? pipelineId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.TopPipelinesUsage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.TopPipelinesUsage.g.verified.cs new file mode 100644 index 0000000000..82b7724063 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.TopPipelinesUsage.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IMetricsClient.TopPipelinesUsage.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetricsClient + { + /// + /// Top Pipelines Usage
+ /// Retrieve usage metrics for top 'num_pipelines' (in terms of number of
+ /// runs) for the provided time period. + ///
+ /// + /// Default Value: 20 + /// + /// + /// + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TopPipelinesUsageAsync( + global::System.DateTime start, + global::System.DateTime end, + global::G.DurationUnit intervalUnit, + int intervalValue, + int numPipelines = 20, + string? clusterId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.UsedPipelines.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.UsedPipelines.g.verified.cs new file mode 100644 index 0000000000..ac4e2f9ac7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.UsedPipelines.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IMetricsClient.UsedPipelines.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetricsClient + { + /// + /// Used Pipelines
+ /// Retrieve paginated metrics for all pipelines used by a user, optionally
+ /// filtered by 'search'. + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsedPipelinesAsync( + string? search = default, + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.g.verified.cs new file mode 100644 index 0000000000..d96196be32 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IMetricsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IMetricsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMetricsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.Index.g.verified.cs new file mode 100644 index 0000000000..1be2ee52b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.Index.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IPipelineFamiliesClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelineFamiliesClient + { + /// + /// Index
+ /// List pipeline families.
+ /// Depending on parameters this can mean all public families, or a user/team's
+ /// specific families.
+ /// Can also be ordered and filtered based on family name. + ///
+ /// + /// + /// + /// Default Value: popular + /// + /// + /// + /// Default Value: false + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + string? userId = default, + string? teamId = default, + global::G.AllOf? orderBy = default, + string? search = default, + bool includeAllRun = false, + int skip = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.Retrieve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.Retrieve.g.verified.cs new file mode 100644 index 0000000000..5c67c906fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.Retrieve.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IPipelineFamiliesClient.Retrieve.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelineFamiliesClient + { + /// + /// Retrieve
+ /// Retrieve a pipeline family by name with its latest pipeline.
+ /// If the user/selected team owns the family, the latest pipeline may be a
+ /// private pipeline, otherwise it will only be public. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAsync( + string pipelineFamilyName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.g.verified.cs new file mode 100644 index 0000000000..55b7bef776 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelineFamiliesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPipelineFamiliesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPipelineFamiliesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Clone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Clone.g.verified.cs new file mode 100644 index 0000000000..a66f6ffdd3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Clone.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IPipelinesClient.Clone.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Clone + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CloneAsync( + string pipelineId, + global::G.ClonePipeline request, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Clone + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CloneAsync( + string pipelineId, + global::G.PipelineClusterConfig cluster, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Collections.Generic.IList? accelerators = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Create.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Create.g.verified.cs new file mode 100644 index 0000000000..74db145a4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Create.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IPipelinesClient.Create.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Create
+ /// Upload a new pipeline. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + global::G.PipelineCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create
+ /// Upload a new pipeline. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + string name, + string image, + global::System.Collections.Generic.IList inputVariables, + global::System.Collections.Generic.IList outputVariables, + global::System.Collections.Generic.IList? accelerators = default, + global::G.PipelineClusterConfig? cluster = default, + string? scalingConfig = default, + string? description = default, + string? readme = default, + global::G.PipelineCreateExtras? extras = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Delete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Delete.g.verified.cs new file mode 100644 index 0000000000..50616170c7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Delete.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPipelinesClient.Delete.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Delete
+ /// Delete a pipeline. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAsync( + string pipelineId, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.HistoricalPipelineScaling.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.HistoricalPipelineScaling.g.verified.cs new file mode 100644 index 0000000000..6772733c7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.HistoricalPipelineScaling.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPipelinesClient.HistoricalPipelineScaling.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Historical Pipeline Scaling + /// + /// + /// + /// + /// + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task HistoricalPipelineScalingAsync( + string pipelineId, + global::System.DateTime start, + global::System.DateTime end, + global::G.DurationUnit intervalUnit, + int intervalValue, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Index.g.verified.cs new file mode 100644 index 0000000000..e89d3cafdd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Index.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPipelinesClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Index
+ /// Retrieve a paginated set of pipelines. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + int skip = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.ListPipelinesByFamily.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.ListPipelinesByFamily.g.verified.cs new file mode 100644 index 0000000000..7362dc1a79 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.ListPipelinesByFamily.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IPipelinesClient.ListPipelinesByFamily.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// List Pipelines By Family
+ /// Retrieve all pipelines for a given pipeline family.
+ /// Include private pipelines if the user owns the family. + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// + /// Filter by public status + /// + /// + /// Filter by hardware/accelerator type + /// + /// + /// Filter by cluster ID + /// + /// + /// Filter by node pool + /// + /// + /// Filter by datetime in the format 'created_at=start:end' + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListPipelinesByFamilyAsync( + string pipelineFamilyName, + int skip = 0, + int limit = 20, + string? orderBy = default, + bool @public = default, + global::G.AllOf? hardware = default, + string? clusterId = default, + string? nodePool = default, + string? createdAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.OwnedOrUsed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.OwnedOrUsed.g.verified.cs new file mode 100644 index 0000000000..2fdf5b34db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.OwnedOrUsed.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IPipelinesClient.OwnedOrUsed.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Owned Or Used
+ /// Get a lean list of pipelines that the user/team has either used or owns. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OwnedOrUsedAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Patch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Patch.g.verified.cs new file mode 100644 index 0000000000..d4241f1b4f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Patch.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IPipelinesClient.Patch.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Patch
+ /// Update selected fields on a pipeline + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string pipelineId, + global::G.Patch request, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch
+ /// Update selected fields on a pipeline + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string pipelineId, + string? pointer = default, + string? pipelineIdOrPointer = default, + bool @public = default, + string? description = default, + string? websiteUrl = default, + string? repositoryUrl = default, + string? paperUrl = default, + string? licenseUrl = default, + string? imageUrl = default, + string? readme = default, + global::System.Collections.Generic.IList? inputVariables = default, + global::System.Collections.Generic.IList? outputVariables = default, + global::System.Collections.Generic.IList? accelerators = default, + global::G.PatchExtras? extras = default, + string? scalingConfig = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PatchImage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PatchImage.g.verified.cs new file mode 100644 index 0000000000..3e6fc7cac9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PatchImage.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IPipelinesClient.PatchImage.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Patch Image
+ /// Update the image avatar of a pipeline. The new image url
+ /// will be available in the response. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchImageAsync( + string pipelineId, + global::G.BodyPatchImageV4PipelinesPipelineIdImagePatch request, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch Image
+ /// Update the image avatar of a pipeline. The new image url
+ /// will be available in the response. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchImageAsync( + string pipelineId, + byte[] imageFile, + string imageFilename, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PipelineCooldown.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PipelineCooldown.g.verified.cs new file mode 100644 index 0000000000..718b55752a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PipelineCooldown.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IPipelinesClient.PipelineCooldown.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Pipeline Cooldown + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PipelineCooldownAsync( + string pipelineIdOrPointer, + global::G.PipelineCooldown request, + string? pipelineId = default, + string? pointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Pipeline Cooldown + /// + /// + /// + /// + /// + /// Default Value: 1800 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PipelineCooldownAsync( + string pipelineIdOrPointer, + string? pipelineId = default, + string? pointer = default, + int duration = 1800, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PipelineWarmup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PipelineWarmup.g.verified.cs new file mode 100644 index 0000000000..05dbcd057e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.PipelineWarmup.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IPipelinesClient.PipelineWarmup.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Pipeline Warmup + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PipelineWarmupAsync( + string pipelineIdOrPointer, + global::G.PipelineWarmup request, + string? pipelineId = default, + string? pointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Pipeline Warmup + /// + /// + /// + /// + /// + /// + /// Default Value: 300 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PipelineWarmupAsync( + string pipelineIdOrPointer, + int minimumNodes, + string? pipelineId = default, + string? pointer = default, + int duration = 300, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Retrieve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Retrieve.g.verified.cs new file mode 100644 index 0000000000..800e3f8bb7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.Retrieve.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IPipelinesClient.Retrieve.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Retrieve
+ /// Retrieve details for a pipeline.
+ /// Note that the fields this endpoint returns are dependent on the provided
+ /// query parameters and will omit any empty fields.
+ /// Accepted query parameters are:
+ /// - include_pointers: include any pointers that point to this pipeline + ///
+ /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAsync( + string pipelineId, + bool includePointers = false, + bool includeExtras = false, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveAvgCost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveAvgCost.g.verified.cs new file mode 100644 index 0000000000..024edc8355 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveAvgCost.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPipelinesClient.RetrieveAvgCost.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Retrieve Avg Cost
+ /// Retrieve a pipeline's average cost per run over the past 1000 runs. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAvgCostAsync( + string pipelineId, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveByPointer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveByPointer.g.verified.cs new file mode 100644 index 0000000000..15a55a551e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveByPointer.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IPipelinesClient.RetrieveByPointer.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Retrieve By Pointer
+ /// Retrieve details for a pipeline by pointer name.
+ /// Note that the fields this endpoint returns are dependent on the provided
+ /// query parameters and will omit any empty fields.
+ /// Accepted query parameters are:
+ /// - include_pointers: include any pointers that point to this pipeline + ///
+ /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveByPointerAsync( + string pointer, + bool includePointers = false, + bool includeExtras = false, + string? pipelineId = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveReadme.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveReadme.g.verified.cs new file mode 100644 index 0000000000..14ce4c2a53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveReadme.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPipelinesClient.RetrieveReadme.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Retrieve Readme
+ /// Retrieve a pipeline's readme. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveReadmeAsync( + string pipelineId, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveScalingInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveScalingInfo.g.verified.cs new file mode 100644 index 0000000000..0b6dad9718 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.RetrieveScalingInfo.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPipelinesClient.RetrieveScalingInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Retrieve Scaling Info
+ /// Get real-time scaling information for the given pipeline. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveScalingInfoAsync( + string pipelineId, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.g.verified.cs new file mode 100644 index 0000000000..544697f6da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPipelinesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPipelinesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPipelinesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Create.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Create.g.verified.cs new file mode 100644 index 0000000000..7c2877a447 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Create.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IPointersClient.Create.g.cs +#nullable enable + +namespace G +{ + public partial interface IPointersClient + { + /// + /// Create
+ /// Create a pipeline pointer instance. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + global::G.PointerCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create
+ /// Create a pipeline pointer instance. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + string pointerOrPipelineId, + string pointer, + bool locked = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Delete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Delete.g.verified.cs new file mode 100644 index 0000000000..5baff4d3ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Delete.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IPointersClient.Delete.g.cs +#nullable enable + +namespace G +{ + public partial interface IPointersClient + { + /// + /// Delete + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAsync( + string pointer, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Index.g.verified.cs new file mode 100644 index 0000000000..c79801095b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.Index.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPointersClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IPointersClient + { + /// + /// Index
+ /// Retrieve a paginated set of pipeline pointers that satisfy query parameters.
+ /// Users are authorised to query for pointers:
+ /// -related to a given pipeline family
+ /// `pipeline_name=marjory92/falcon` + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + string? pipelineName = default, + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.PointersPatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.PointersPatch.g.verified.cs new file mode 100644 index 0000000000..62410a86b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.PointersPatch.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPointersClient.PointersPatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IPointersClient + { + /// + /// Pointers Patch
+ /// Update a pipeline pointer instance. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PointersPatchAsync( + string pointer, + global::G.PointerPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Pointers Patch
+ /// Update a pipeline pointer instance. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PointersPatchAsync( + string pointer, + string? pointerOrPipelineId = default, + bool locked = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.g.verified.cs new file mode 100644 index 0000000000..38b4d368cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IPointersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPointersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPointersClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IResourcesClient.SetPodInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IResourcesClient.SetPodInfo.g.verified.cs new file mode 100644 index 0000000000..3a8e6cc9f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IResourcesClient.SetPodInfo.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IResourcesClient.SetPodInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourcesClient + { + /// + /// Set Pod Info + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetPodInfoAsync( + global::G.ResourcePodInfo request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set Pod Info + /// + /// + /// + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetPodInfoAsync( + string podName, + string podIp, + string nodeName, + global::G.PipelineState state, + string? currentRun = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IResourcesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IResourcesClient.g.verified.cs new file mode 100644 index 0000000000..29f8978632 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IResourcesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IResourcesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IResourcesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.Index.g.verified.cs new file mode 100644 index 0000000000..d9b2715993 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.Index.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IRunsClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunsClient + { + /// + /// Index
+ /// Retrieve a paginated set of runs that satisfy query parameters.
+ /// Supported query params:
+ /// - `pipeline_id`: filter by a given pipeline ID
+ /// - e.g. `pipeline_id=pipeline_some-random-string`
+ /// - `order_by`: order by a given field
+ /// - supported fields are `created_at`, `state`, `compute_time_ms`; default
+ /// is `created_at:desc`
+ /// - e.g. `order_by=compute_time_ms:desc`
+ /// - include_pointers: include any pointers that point to the pipelines the runs were
+ /// executed against + ///
+ /// + /// + /// Default Value: false + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + string? pipelineId = default, + bool includePointers = false, + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.Retrieve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.Retrieve.g.verified.cs new file mode 100644 index 0000000000..4a7cbdd1ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.Retrieve.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunsClient.Retrieve.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunsClient + { + /// + /// Retrieve
+ /// Retrieve the details of a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAsync( + string runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.RetrieveDetailed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.RetrieveDetailed.g.verified.cs new file mode 100644 index 0000000000..83d6735b58 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.RetrieveDetailed.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunsClient.RetrieveDetailed.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunsClient + { + /// + /// Retrieve Detailed
+ /// Retrieve a more detailed version of a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveDetailedAsync( + string runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.StreamRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.StreamRun.g.verified.cs new file mode 100644 index 0000000000..f918f73441 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.StreamRun.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IRunsClient.StreamRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunsClient + { + /// + /// Stream Run
+ /// Submit a new streaming run request, where the run output is streamed as
+ /// it becomes available, rather than waiting for all the data to be
+ /// generated. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamRunAsync( + global::G.RunCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Stream Run
+ /// Submit a new streaming run request, where the run output is streamed as
+ /// it becomes available, rather than waiting for all the data to be
+ /// generated. + ///
+ /// + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamRunAsync( + string pipeline, + global::System.Collections.Generic.IList inputs, + bool asyncRun = false, + bool waitForResources = default, + string? runId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.SubmitRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.SubmitRun.g.verified.cs new file mode 100644 index 0000000000..937364cfff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.SubmitRun.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IRunsClient.SubmitRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunsClient + { + /// + /// Submit Run
+ /// Submits a new run request + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SubmitRunAsync( + global::G.RunCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Submit Run
+ /// Submits a new run request + ///
+ /// + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SubmitRunAsync( + string pipeline, + global::System.Collections.Generic.IList inputs, + bool asyncRun = false, + bool waitForResources = default, + string? runId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.g.verified.cs new file mode 100644 index 0000000000..5b91631a59 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IRunsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRunsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRunsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Create.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Create.g.verified.cs new file mode 100644 index 0000000000..71aa4cc68c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Create.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IScalingConfigurationsClient.Create.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Create
+ /// Create a scaling configuration for pipelines + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + global::G.ScalingConfigCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create
+ /// Create a scaling configuration for pipelines + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + string name, + global::G.ScalingConfigCreateArgs args, + int minimumNodes = 0, + int maximumNodes = 100, + global::G.ScalingConfigType type = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Delete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Delete.g.verified.cs new file mode 100644 index 0000000000..2873bc6de5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Delete.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IScalingConfigurationsClient.Delete.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Delete
+ /// Delete a scaling configuration + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.GetByName.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.GetByName.g.verified.cs new file mode 100644 index 0000000000..248fd1e4f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.GetByName.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IScalingConfigurationsClient.GetByName.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Get By Name
+ /// Retrieve a scaling configuration + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetByNameAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.GetPipelineList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.GetPipelineList.g.verified.cs new file mode 100644 index 0000000000..51aedc24a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.GetPipelineList.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IScalingConfigurationsClient.GetPipelineList.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Get Pipeline List
+ /// Get a list of pipelines scoped to the user which use a scaling configuration + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPipelineListAsync( + string name, + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Index.g.verified.cs new file mode 100644 index 0000000000..fd3c7ed8a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Index.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IScalingConfigurationsClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Index
+ /// Retrieve a paginated set of scaling configurations + ///
+ /// + /// Default Value: false + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + bool @public = false, + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Patch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Patch.g.verified.cs new file mode 100644 index 0000000000..0148c19b66 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.Patch.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IScalingConfigurationsClient.Patch.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Patch
+ /// Patch a scaling configuration + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string name, + global::G.ScalingConfigPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch
+ /// Patch a scaling configuration + ///
+ /// + /// + /// An enumeration. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string name, + global::G.ScalingConfigType? type = default, + global::G.ScalingConfigPatchArgs? args = default, + int minimumNodes = default, + int maximumNodes = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.g.verified.cs new file mode 100644 index 0000000000..d7474c2c44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IScalingConfigurationsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IScalingConfigurationsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IScalingConfigurationsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Create.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Create.g.verified.cs new file mode 100644 index 0000000000..95ad5fb070 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Create.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ITokensClient.Create.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Create
+ /// Create a new Catalyst API Bearer token for an authenticated user.
+ /// This token will be associated with a team if a team_id is present in the JWT. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + global::G.TokenCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create
+ /// Create a new Catalyst API Bearer token for an authenticated user.
+ /// This token will be associated with a team if a team_id is present in the JWT. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + string? name = default, + global::System.DateTime expiresAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Delete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Delete.g.verified.cs new file mode 100644 index 0000000000..93ae933d4a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Delete.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITokensClient.Delete.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Delete
+ /// Delete an API Bearer token for an authenticated user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAsync( + string tokenId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Index.g.verified.cs new file mode 100644 index 0000000000..1748bebfa3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Index.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ITokensClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Index
+ /// Retrieve a Catalyst API Bearer token for an authenticated user. + ///
+ /// + /// Default Value: false + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + bool allTeam = false, + int skip = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Patch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Patch.g.verified.cs new file mode 100644 index 0000000000..a3bcb0e5bc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Patch.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.ITokensClient.Patch.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Patch
+ /// Update selected fields of an API Bearer token for an authenticated user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string tokenId, + global::G.TokenPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch
+ /// Update selected fields of an API Bearer token for an authenticated user. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string tokenId, + string? name = default, + bool isEnabled = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Retrieve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Retrieve.g.verified.cs new file mode 100644 index 0000000000..f643d3070e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Retrieve.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITokensClient.Retrieve.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Retrieve
+ /// Retrieve an API Bearer token for an authenticated user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAsync( + string tokenId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Validate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Validate.g.verified.cs new file mode 100644 index 0000000000..c118336a89 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.Validate.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITokensClient.Validate.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Validate
+ /// Validates a header token or cookie JWT. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ValidateAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.g.verified.cs new file mode 100644 index 0000000000..e529405cae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ITokensClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITokensClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITokensClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.GetLoggedInUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.GetLoggedInUser.g.verified.cs new file mode 100644 index 0000000000..52ef3d8cd4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.GetLoggedInUser.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUsersClient.GetLoggedInUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get Logged In User
+ /// Retrieve the currently logged in user. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetLoggedInUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.GetUserPublicProfile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.GetUserPublicProfile.g.verified.cs new file mode 100644 index 0000000000..59222fc77d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.GetUserPublicProfile.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.GetUserPublicProfile.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get User Public Profile
+ /// Retrieve a user's public profile + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserPublicProfileAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.Index.g.verified.cs new file mode 100644 index 0000000000..44fc706050 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.Index.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Index
+ /// Retrieve a paginated set of invites to all teams. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.g.verified.cs new file mode 100644 index 0000000000..a49e0e31a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.IUsersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsersClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.LogsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.LogsClient.g.verified.cs index f976546651..3708ab5bd5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.LogsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.LogsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LogsClient : global::System.IDisposable + public sealed partial class LogsClient : global::G.ILogsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.MetricsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.MetricsClient.g.verified.cs index 0028f6b884..3633f8db71 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.MetricsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.MetricsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MetricsClient : global::System.IDisposable + public sealed partial class MetricsClient : global::G.IMetricsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.g.verified.cs index 9eade72a77..b8e6fc4a3d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelineFamiliesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PipelineFamiliesClient : global::System.IDisposable + public sealed partial class PipelineFamiliesClient : global::G.IPipelineFamiliesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelinesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelinesClient.g.verified.cs index e8be8d21cd..7c88832c61 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelinesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PipelinesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PipelinesClient : global::System.IDisposable + public sealed partial class PipelinesClient : global::G.IPipelinesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.g.verified.cs index 3d2bf03a6f..426691799e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.PointersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PointersClient : global::System.IDisposable + public sealed partial class PointersClient : global::G.IPointersClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ResourcesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ResourcesClient.g.verified.cs index 25c83a7f4a..2eff62c4c8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ResourcesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ResourcesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ResourcesClient : global::System.IDisposable + public sealed partial class ResourcesClient : global::G.IResourcesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.g.verified.cs index f324a2c4c6..34138f688a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.RunsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RunsClient : global::System.IDisposable + public sealed partial class RunsClient : global::G.IRunsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.g.verified.cs index d45c6060bf..40f25e410e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.ScalingConfigurationsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ScalingConfigurationsClient : global::System.IDisposable + public sealed partial class ScalingConfigurationsClient : global::G.IScalingConfigurationsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.g.verified.cs index 6320d2ba78..44fcd578cc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.TokensClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TokensClient : global::System.IDisposable + public sealed partial class TokensClient : global::G.ITokensClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.UsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.UsersClient.g.verified.cs index e83359801f..35179bd371 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.UsersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/NewtonsoftJson/_#G.UsersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsersClient : global::System.IDisposable + public sealed partial class UsersClient : global::G.IUsersClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.AWSClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.AWSClient.g.verified.cs index f86062f0ec..d379da4fcf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.AWSClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.AWSClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AWSClient : global::System.IDisposable + public sealed partial class AWSClient : global::G.IAWSClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.Api.g.verified.cs index cd04b6a452..3c4852f47a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.Api.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.AzureClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.AzureClient.g.verified.cs index 75f305346b..1f227132aa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.AzureClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.AzureClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AzureClient : global::System.IDisposable + public sealed partial class AzureClient : global::G.IAzureClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.BillingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.BillingClient.g.verified.cs index ce42f91062..4ce8c332ef 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.BillingClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.BillingClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class BillingClient : global::System.IDisposable + public sealed partial class BillingClient : global::G.IBillingClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.CloudClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.CloudClient.g.verified.cs index c59550ea50..0b3b268a28 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.CloudClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.CloudClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CloudClient : global::System.IDisposable + public sealed partial class CloudClient : global::G.ICloudClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ClusterClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ClusterClient.g.verified.cs index 31e74b9104..7c38c147e1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ClusterClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ClusterClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ClusterClient : global::System.IDisposable + public sealed partial class ClusterClient : global::G.IClusterClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.CredentialsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.CredentialsClient.g.verified.cs index b31c71f871..5fc24035da 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.CredentialsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.CredentialsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CredentialsClient : global::System.IDisposable + public sealed partial class CredentialsClient : global::G.ICredentialsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.g.verified.cs index e016da3719..7f5bce67ec 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.FilesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FilesClient : global::System.IDisposable + public sealed partial class FilesClient : global::G.IFilesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.GCPClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.GCPClient.g.verified.cs index b33030fde8..d1f6d189fd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.GCPClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.GCPClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GCPClient : global::System.IDisposable + public sealed partial class GCPClient : global::G.IGCPClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IAWSClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IAWSClient.g.verified.cs new file mode 100644 index 0000000000..646c8b6617 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IAWSClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAWSClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAWSClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..b896c08252 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,115 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// + /// + public PipelinesClient Pipelines { get; } + + /// + /// + /// + public UsersClient Users { get; } + + /// + /// + /// + public TokensClient Tokens { get; } + + /// + /// + /// + public RunsClient Runs { get; } + + /// + /// + /// + public BillingClient Billing { get; } + + /// + /// + /// + public PointersClient Pointers { get; } + + /// + /// + /// + public PipelineFamiliesClient PipelineFamilies { get; } + + /// + /// + /// + public FilesClient Files { get; } + + /// + /// + /// + public MetricsClient Metrics { get; } + + /// + /// + /// + public LogsClient Logs { get; } + + /// + /// + /// + public CloudClient Cloud { get; } + + /// + /// + /// + public CredentialsClient Credentials { get; } + + /// + /// + /// + public GCPClient GCP { get; } + + /// + /// + /// + public AWSClient AWS { get; } + + /// + /// + /// + public AzureClient Azure { get; } + + /// + /// + /// + public ClusterClient Cluster { get; } + + /// + /// + /// + public ResourcesClient Resources { get; } + + /// + /// + /// + public ScalingConfigurationsClient ScalingConfigurations { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IAzureClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IAzureClient.g.verified.cs new file mode 100644 index 0000000000..30b3195918 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IAzureClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAzureClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAzureClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IBillingClient.UpcomingInvoice.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IBillingClient.UpcomingInvoice.g.verified.cs new file mode 100644 index 0000000000..84195baeee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IBillingClient.UpcomingInvoice.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IBillingClient.UpcomingInvoice.g.cs +#nullable enable + +namespace G +{ + public partial interface IBillingClient + { + /// + /// Upcoming Invoice + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpcomingInvoiceAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IBillingClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IBillingClient.g.verified.cs new file mode 100644 index 0000000000..0954f76563 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IBillingClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IBillingClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBillingClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthAws.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthAws.g.verified.cs new file mode 100644 index 0000000000..861d971814 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthAws.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.ICloudClient.AuthAws.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Auth Aws + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AuthAwsAsync( + global::G.AWSAuthCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Auth Aws + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AuthAwsAsync( + string roleArn, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthAzure.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthAzure.g.verified.cs new file mode 100644 index 0000000000..c240b16b4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthAzure.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ICloudClient.AuthAzure.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Auth Azure + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AuthAzureAsync( + global::G.AzureAuthCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Auth Azure + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AuthAzureAsync( + string clientId, + string clientSecret, + string tenantId, + string subscriptionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthGcp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthGcp.g.verified.cs new file mode 100644 index 0000000000..88e75e5117 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.AuthGcp.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ICloudClient.AuthGcp.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Auth Gcp + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AuthGcpAsync( + string? credentialId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.CallbackGcp.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.CallbackGcp.g.verified.cs new file mode 100644 index 0000000000..4030d82b93 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.CallbackGcp.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ICloudClient.CallbackGcp.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Callback Gcp + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CallbackGcpAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.CreateGcpServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.CreateGcpServiceAccount.g.verified.cs new file mode 100644 index 0000000000..07df9f03a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.CreateGcpServiceAccount.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.ICloudClient.CreateGcpServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Create Gcp Service Account + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateGcpServiceAccountAsync( + global::G.BodyCreateGcpServiceAccountV4CloudProviderGcpServiceAccountsPost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Gcp Service Account + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateGcpServiceAccountAsync( + byte[] serviceAccountFile, + string serviceAccountFilename, + string? credentialId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.DeleteCloudCredential.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.DeleteCloudCredential.g.verified.cs new file mode 100644 index 0000000000..04a1c77b8d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.DeleteCloudCredential.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.ICloudClient.DeleteCloudCredential.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Delete Cloud Credential + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteCloudCredentialAsync( + string credentialId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability.g.verified.cs new file mode 100644 index 0000000000..6c2ba429bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ICloudClient.GetAcceleratorAvailability.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Get Accelerator Availability + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAcceleratorAvailabilityAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability2.g.verified.cs new file mode 100644 index 0000000000..d53add8437 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability2.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ICloudClient.GetAcceleratorAvailability2.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Get Accelerator Availability + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAcceleratorAvailability2Async( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability3.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability3.g.verified.cs new file mode 100644 index 0000000000..848ddd70fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.GetAcceleratorAvailability3.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.ICloudClient.GetAcceleratorAvailability3.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// Get Accelerator Availability + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAcceleratorAvailability3Async( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListCredentials.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListCredentials.g.verified.cs new file mode 100644 index 0000000000..03f007929c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListCredentials.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ICloudClient.ListCredentials.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// List Credentials
+ /// List all credentials belonging to a user + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListCredentialsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListProjects.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListProjects.g.verified.cs new file mode 100644 index 0000000000..b71ce0d80b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListProjects.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ICloudClient.ListProjects.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// List Projects
+ /// Get all projects on a user's cloud account + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListProjectsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListRegions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListRegions.g.verified.cs new file mode 100644 index 0000000000..d831807acf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.ListRegions.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ICloudClient.ListRegions.g.cs +#nullable enable + +namespace G +{ + public partial interface ICloudClient + { + /// + /// List Regions
+ /// Get all the available regions under a project + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListRegionsAsync( + string projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.g.verified.cs new file mode 100644 index 0000000000..57e157b06d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICloudClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICloudClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICloudClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.CreateCluster.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.CreateCluster.g.verified.cs new file mode 100644 index 0000000000..c405d40188 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.CreateCluster.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IClusterClient.CreateCluster.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// Create Cluster + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateClusterAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.CreateNodePool.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.CreateNodePool.g.verified.cs new file mode 100644 index 0000000000..d349fef7a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.CreateNodePool.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IClusterClient.CreateNodePool.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// Create Node Pool + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateNodePoolAsync( + string clusterId, + global::G.NodePoolCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Node Pool + /// + /// + /// + /// + /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateNodePoolAsync( + string clusterId, + global::System.Collections.Generic.IList accelerators, + bool spot = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.DeleteCluster.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.DeleteCluster.g.verified.cs new file mode 100644 index 0000000000..32e088a9b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.DeleteCluster.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IClusterClient.DeleteCluster.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// Delete Cluster + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteClusterAsync( + string clusterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.DeleteNodePool.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.DeleteNodePool.g.verified.cs new file mode 100644 index 0000000000..6c79c0b798 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.DeleteNodePool.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IClusterClient.DeleteNodePool.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// Delete Node Pool + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteNodePoolAsync( + string clusterId, + string nodePoolName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListClusters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListClusters.g.verified.cs new file mode 100644 index 0000000000..bf1d561849 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListClusters.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IClusterClient.ListClusters.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// List Clusters
+ /// List all clusters belonging to a user/team + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListClustersAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListNodePools.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListNodePools.g.verified.cs new file mode 100644 index 0000000000..193f0a9599 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListNodePools.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IClusterClient.ListNodePools.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// List Node Pools
+ /// List node pools for a given cluster + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListNodePoolsAsync( + string clusterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListPipelines.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListPipelines.g.verified.cs new file mode 100644 index 0000000000..cb24b8b922 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.ListPipelines.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IClusterClient.ListPipelines.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// List Pipelines
+ /// List pipelines deployed to a given cluster + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListPipelinesAsync( + string clusterId, + int skip = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.RetrieveCluster.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.RetrieveCluster.g.verified.cs new file mode 100644 index 0000000000..9a38445cc6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.RetrieveCluster.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IClusterClient.RetrieveCluster.g.cs +#nullable enable + +namespace G +{ + public partial interface IClusterClient + { + /// + /// Retrieve Cluster
+ /// Retrieve a cluster for a user + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveClusterAsync( + string clusterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.g.verified.cs new file mode 100644 index 0000000000..908663a48c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IClusterClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IClusterClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IClusterClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICredentialsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICredentialsClient.g.verified.cs new file mode 100644 index 0000000000..6f20123684 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ICredentialsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICredentialsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICredentialsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Create.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Create.g.verified.cs new file mode 100644 index 0000000000..04457e2f44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Create.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IFilesClient.Create.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Create
+ /// Create a new file. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + global::G.BodyCreateV4FilesPost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create
+ /// Create a new file. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + byte[] pfile, + string pfilename, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Index.g.verified.cs new file mode 100644 index 0000000000..0e79600b23 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Index.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFilesClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Index
+ /// Retrieve a paginated set of pipeline file instances. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + int skip = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Retrieve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Retrieve.g.verified.cs new file mode 100644 index 0000000000..8c7f1c90f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.Retrieve.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFilesClient.Retrieve.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Retrieve
+ /// Retrieve a file instance. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAsync( + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.g.verified.cs new file mode 100644 index 0000000000..7ba91e3c32 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IFilesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFilesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFilesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IGCPClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IGCPClient.g.verified.cs new file mode 100644 index 0000000000..46fee7e858 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IGCPClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGCPClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGCPClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.GetPipelineStartupLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.GetPipelineStartupLogs.g.verified.cs new file mode 100644 index 0000000000..c210da21f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.GetPipelineStartupLogs.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ILogsClient.GetPipelineStartupLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface ILogsClient + { + /// + /// Get Pipeline Startup Logs
+ /// Get the logs for pipeline starting up + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPipelineStartupLogsAsync( + string pipelineIdOrPointer, + string? pipelineId = default, + string? pointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.GetRunLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.GetRunLogs.g.verified.cs new file mode 100644 index 0000000000..0984096afb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.GetRunLogs.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ILogsClient.GetRunLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface ILogsClient + { + /// + /// Get Run Logs
+ /// Get the pipeline logs for a run + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRunLogsAsync( + string runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.g.verified.cs new file mode 100644 index 0000000000..d264808f13 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ILogsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ILogsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ILogsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.OverallUsageSummary.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.OverallUsageSummary.g.verified.cs new file mode 100644 index 0000000000..229bcbfefc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.OverallUsageSummary.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IMetricsClient.OverallUsageSummary.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetricsClient + { + /// + /// Overall Usage Summary + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OverallUsageSummaryAsync( + global::System.DateTime start, + global::System.DateTime end, + string? pipelineId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.TopPipelinesUsage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.TopPipelinesUsage.g.verified.cs new file mode 100644 index 0000000000..82b7724063 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.TopPipelinesUsage.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IMetricsClient.TopPipelinesUsage.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetricsClient + { + /// + /// Top Pipelines Usage
+ /// Retrieve usage metrics for top 'num_pipelines' (in terms of number of
+ /// runs) for the provided time period. + ///
+ /// + /// Default Value: 20 + /// + /// + /// + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TopPipelinesUsageAsync( + global::System.DateTime start, + global::System.DateTime end, + global::G.DurationUnit intervalUnit, + int intervalValue, + int numPipelines = 20, + string? clusterId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.UsedPipelines.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.UsedPipelines.g.verified.cs new file mode 100644 index 0000000000..ac4e2f9ac7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.UsedPipelines.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IMetricsClient.UsedPipelines.g.cs +#nullable enable + +namespace G +{ + public partial interface IMetricsClient + { + /// + /// Used Pipelines
+ /// Retrieve paginated metrics for all pipelines used by a user, optionally
+ /// filtered by 'search'. + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UsedPipelinesAsync( + string? search = default, + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.g.verified.cs new file mode 100644 index 0000000000..856f088494 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IMetricsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IMetricsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IMetricsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.Index.g.verified.cs new file mode 100644 index 0000000000..1be2ee52b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.Index.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IPipelineFamiliesClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelineFamiliesClient + { + /// + /// Index
+ /// List pipeline families.
+ /// Depending on parameters this can mean all public families, or a user/team's
+ /// specific families.
+ /// Can also be ordered and filtered based on family name. + ///
+ /// + /// + /// + /// Default Value: popular + /// + /// + /// + /// Default Value: false + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + string? userId = default, + string? teamId = default, + global::G.AllOf? orderBy = default, + string? search = default, + bool includeAllRun = false, + int skip = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.Retrieve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.Retrieve.g.verified.cs new file mode 100644 index 0000000000..5c67c906fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.Retrieve.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IPipelineFamiliesClient.Retrieve.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelineFamiliesClient + { + /// + /// Retrieve
+ /// Retrieve a pipeline family by name with its latest pipeline.
+ /// If the user/selected team owns the family, the latest pipeline may be a
+ /// private pipeline, otherwise it will only be public. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAsync( + string pipelineFamilyName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.g.verified.cs new file mode 100644 index 0000000000..a593232507 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelineFamiliesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPipelineFamiliesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPipelineFamiliesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Clone.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Clone.g.verified.cs new file mode 100644 index 0000000000..a66f6ffdd3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Clone.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IPipelinesClient.Clone.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Clone + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CloneAsync( + string pipelineId, + global::G.ClonePipeline request, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Clone + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CloneAsync( + string pipelineId, + global::G.PipelineClusterConfig cluster, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Collections.Generic.IList? accelerators = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Create.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Create.g.verified.cs new file mode 100644 index 0000000000..74db145a4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Create.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IPipelinesClient.Create.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Create
+ /// Upload a new pipeline. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + global::G.PipelineCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create
+ /// Upload a new pipeline. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + string name, + string image, + global::System.Collections.Generic.IList inputVariables, + global::System.Collections.Generic.IList outputVariables, + global::System.Collections.Generic.IList? accelerators = default, + global::G.PipelineClusterConfig? cluster = default, + string? scalingConfig = default, + string? description = default, + string? readme = default, + global::G.PipelineCreateExtras? extras = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Delete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Delete.g.verified.cs new file mode 100644 index 0000000000..50616170c7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Delete.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPipelinesClient.Delete.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Delete
+ /// Delete a pipeline. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAsync( + string pipelineId, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.HistoricalPipelineScaling.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.HistoricalPipelineScaling.g.verified.cs new file mode 100644 index 0000000000..6772733c7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.HistoricalPipelineScaling.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPipelinesClient.HistoricalPipelineScaling.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Historical Pipeline Scaling + /// + /// + /// + /// + /// + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task HistoricalPipelineScalingAsync( + string pipelineId, + global::System.DateTime start, + global::System.DateTime end, + global::G.DurationUnit intervalUnit, + int intervalValue, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Index.g.verified.cs new file mode 100644 index 0000000000..e89d3cafdd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Index.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPipelinesClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Index
+ /// Retrieve a paginated set of pipelines. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + int skip = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.ListPipelinesByFamily.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.ListPipelinesByFamily.g.verified.cs new file mode 100644 index 0000000000..7362dc1a79 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.ListPipelinesByFamily.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IPipelinesClient.ListPipelinesByFamily.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// List Pipelines By Family
+ /// Retrieve all pipelines for a given pipeline family.
+ /// Include private pipelines if the user owns the family. + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// + /// Filter by public status + /// + /// + /// Filter by hardware/accelerator type + /// + /// + /// Filter by cluster ID + /// + /// + /// Filter by node pool + /// + /// + /// Filter by datetime in the format 'created_at=start:end' + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListPipelinesByFamilyAsync( + string pipelineFamilyName, + int skip = 0, + int limit = 20, + string? orderBy = default, + bool @public = default, + global::G.AllOf? hardware = default, + string? clusterId = default, + string? nodePool = default, + string? createdAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.OwnedOrUsed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.OwnedOrUsed.g.verified.cs new file mode 100644 index 0000000000..2fdf5b34db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.OwnedOrUsed.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IPipelinesClient.OwnedOrUsed.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Owned Or Used
+ /// Get a lean list of pipelines that the user/team has either used or owns. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> OwnedOrUsedAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Patch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Patch.g.verified.cs new file mode 100644 index 0000000000..d4241f1b4f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Patch.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IPipelinesClient.Patch.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Patch
+ /// Update selected fields on a pipeline + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string pipelineId, + global::G.Patch request, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch
+ /// Update selected fields on a pipeline + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string pipelineId, + string? pointer = default, + string? pipelineIdOrPointer = default, + bool @public = default, + string? description = default, + string? websiteUrl = default, + string? repositoryUrl = default, + string? paperUrl = default, + string? licenseUrl = default, + string? imageUrl = default, + string? readme = default, + global::System.Collections.Generic.IList? inputVariables = default, + global::System.Collections.Generic.IList? outputVariables = default, + global::System.Collections.Generic.IList? accelerators = default, + global::G.PatchExtras? extras = default, + string? scalingConfig = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PatchImage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PatchImage.g.verified.cs new file mode 100644 index 0000000000..3e6fc7cac9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PatchImage.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IPipelinesClient.PatchImage.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Patch Image
+ /// Update the image avatar of a pipeline. The new image url
+ /// will be available in the response. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchImageAsync( + string pipelineId, + global::G.BodyPatchImageV4PipelinesPipelineIdImagePatch request, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch Image
+ /// Update the image avatar of a pipeline. The new image url
+ /// will be available in the response. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchImageAsync( + string pipelineId, + byte[] imageFile, + string imageFilename, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PipelineCooldown.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PipelineCooldown.g.verified.cs new file mode 100644 index 0000000000..718b55752a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PipelineCooldown.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IPipelinesClient.PipelineCooldown.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Pipeline Cooldown + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PipelineCooldownAsync( + string pipelineIdOrPointer, + global::G.PipelineCooldown request, + string? pipelineId = default, + string? pointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Pipeline Cooldown + /// + /// + /// + /// + /// + /// Default Value: 1800 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PipelineCooldownAsync( + string pipelineIdOrPointer, + string? pipelineId = default, + string? pointer = default, + int duration = 1800, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PipelineWarmup.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PipelineWarmup.g.verified.cs new file mode 100644 index 0000000000..05dbcd057e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.PipelineWarmup.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IPipelinesClient.PipelineWarmup.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Pipeline Warmup + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PipelineWarmupAsync( + string pipelineIdOrPointer, + global::G.PipelineWarmup request, + string? pipelineId = default, + string? pointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Pipeline Warmup + /// + /// + /// + /// + /// + /// + /// Default Value: 300 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PipelineWarmupAsync( + string pipelineIdOrPointer, + int minimumNodes, + string? pipelineId = default, + string? pointer = default, + int duration = 300, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Retrieve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Retrieve.g.verified.cs new file mode 100644 index 0000000000..800e3f8bb7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.Retrieve.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IPipelinesClient.Retrieve.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Retrieve
+ /// Retrieve details for a pipeline.
+ /// Note that the fields this endpoint returns are dependent on the provided
+ /// query parameters and will omit any empty fields.
+ /// Accepted query parameters are:
+ /// - include_pointers: include any pointers that point to this pipeline + ///
+ /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAsync( + string pipelineId, + bool includePointers = false, + bool includeExtras = false, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveAvgCost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveAvgCost.g.verified.cs new file mode 100644 index 0000000000..024edc8355 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveAvgCost.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPipelinesClient.RetrieveAvgCost.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Retrieve Avg Cost
+ /// Retrieve a pipeline's average cost per run over the past 1000 runs. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAvgCostAsync( + string pipelineId, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveByPointer.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveByPointer.g.verified.cs new file mode 100644 index 0000000000..15a55a551e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveByPointer.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IPipelinesClient.RetrieveByPointer.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Retrieve By Pointer
+ /// Retrieve details for a pipeline by pointer name.
+ /// Note that the fields this endpoint returns are dependent on the provided
+ /// query parameters and will omit any empty fields.
+ /// Accepted query parameters are:
+ /// - include_pointers: include any pointers that point to this pipeline + ///
+ /// + /// + /// Default Value: false + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveByPointerAsync( + string pointer, + bool includePointers = false, + bool includeExtras = false, + string? pipelineId = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveReadme.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveReadme.g.verified.cs new file mode 100644 index 0000000000..14ce4c2a53 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveReadme.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPipelinesClient.RetrieveReadme.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Retrieve Readme
+ /// Retrieve a pipeline's readme. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveReadmeAsync( + string pipelineId, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveScalingInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveScalingInfo.g.verified.cs new file mode 100644 index 0000000000..0b6dad9718 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.RetrieveScalingInfo.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IPipelinesClient.RetrieveScalingInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IPipelinesClient + { + /// + /// Retrieve Scaling Info
+ /// Get real-time scaling information for the given pipeline. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveScalingInfoAsync( + string pipelineId, + string? pointer = default, + string? pipelineIdOrPointer = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.g.verified.cs new file mode 100644 index 0000000000..36f1b7942c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPipelinesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPipelinesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPipelinesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Create.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Create.g.verified.cs new file mode 100644 index 0000000000..7c2877a447 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Create.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IPointersClient.Create.g.cs +#nullable enable + +namespace G +{ + public partial interface IPointersClient + { + /// + /// Create
+ /// Create a pipeline pointer instance. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + global::G.PointerCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create
+ /// Create a pipeline pointer instance. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + string pointerOrPipelineId, + string pointer, + bool locked = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Delete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Delete.g.verified.cs new file mode 100644 index 0000000000..5baff4d3ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Delete.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IPointersClient.Delete.g.cs +#nullable enable + +namespace G +{ + public partial interface IPointersClient + { + /// + /// Delete + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAsync( + string pointer, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Index.g.verified.cs new file mode 100644 index 0000000000..c79801095b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.Index.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IPointersClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IPointersClient + { + /// + /// Index
+ /// Retrieve a paginated set of pipeline pointers that satisfy query parameters.
+ /// Users are authorised to query for pointers:
+ /// -related to a given pipeline family
+ /// `pipeline_name=marjory92/falcon` + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + string? pipelineName = default, + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.PointersPatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.PointersPatch.g.verified.cs new file mode 100644 index 0000000000..62410a86b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.PointersPatch.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPointersClient.PointersPatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IPointersClient + { + /// + /// Pointers Patch
+ /// Update a pipeline pointer instance. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PointersPatchAsync( + string pointer, + global::G.PointerPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Pointers Patch
+ /// Update a pipeline pointer instance. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PointersPatchAsync( + string pointer, + string? pointerOrPipelineId = default, + bool locked = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.g.verified.cs new file mode 100644 index 0000000000..fa9fade6d9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IPointersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPointersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPointersClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IResourcesClient.SetPodInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IResourcesClient.SetPodInfo.g.verified.cs new file mode 100644 index 0000000000..3a8e6cc9f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IResourcesClient.SetPodInfo.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IResourcesClient.SetPodInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IResourcesClient + { + /// + /// Set Pod Info + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetPodInfoAsync( + global::G.ResourcePodInfo request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Set Pod Info + /// + /// + /// + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetPodInfoAsync( + string podName, + string podIp, + string nodeName, + global::G.PipelineState state, + string? currentRun = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IResourcesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IResourcesClient.g.verified.cs new file mode 100644 index 0000000000..8c066e67e4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IResourcesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IResourcesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IResourcesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.Index.g.verified.cs new file mode 100644 index 0000000000..d9b2715993 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.Index.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IRunsClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunsClient + { + /// + /// Index
+ /// Retrieve a paginated set of runs that satisfy query parameters.
+ /// Supported query params:
+ /// - `pipeline_id`: filter by a given pipeline ID
+ /// - e.g. `pipeline_id=pipeline_some-random-string`
+ /// - `order_by`: order by a given field
+ /// - supported fields are `created_at`, `state`, `compute_time_ms`; default
+ /// is `created_at:desc`
+ /// - e.g. `order_by=compute_time_ms:desc`
+ /// - include_pointers: include any pointers that point to the pipelines the runs were
+ /// executed against + ///
+ /// + /// + /// Default Value: false + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + string? pipelineId = default, + bool includePointers = false, + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.Retrieve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.Retrieve.g.verified.cs new file mode 100644 index 0000000000..4a7cbdd1ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.Retrieve.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunsClient.Retrieve.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunsClient + { + /// + /// Retrieve
+ /// Retrieve the details of a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAsync( + string runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.RetrieveDetailed.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.RetrieveDetailed.g.verified.cs new file mode 100644 index 0000000000..83d6735b58 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.RetrieveDetailed.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IRunsClient.RetrieveDetailed.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunsClient + { + /// + /// Retrieve Detailed
+ /// Retrieve a more detailed version of a run. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveDetailedAsync( + string runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.StreamRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.StreamRun.g.verified.cs new file mode 100644 index 0000000000..f918f73441 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.StreamRun.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IRunsClient.StreamRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunsClient + { + /// + /// Stream Run
+ /// Submit a new streaming run request, where the run output is streamed as
+ /// it becomes available, rather than waiting for all the data to be
+ /// generated. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamRunAsync( + global::G.RunCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Stream Run
+ /// Submit a new streaming run request, where the run output is streamed as
+ /// it becomes available, rather than waiting for all the data to be
+ /// generated. + ///
+ /// + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamRunAsync( + string pipeline, + global::System.Collections.Generic.IList inputs, + bool asyncRun = false, + bool waitForResources = default, + string? runId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.SubmitRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.SubmitRun.g.verified.cs new file mode 100644 index 0000000000..937364cfff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.SubmitRun.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IRunsClient.SubmitRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunsClient + { + /// + /// Submit Run
+ /// Submits a new run request + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SubmitRunAsync( + global::G.RunCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Submit Run
+ /// Submits a new run request + ///
+ /// + /// + /// + /// Default Value: false + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SubmitRunAsync( + string pipeline, + global::System.Collections.Generic.IList inputs, + bool asyncRun = false, + bool waitForResources = default, + string? runId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.g.verified.cs new file mode 100644 index 0000000000..33fb804e0a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IRunsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRunsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRunsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Create.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Create.g.verified.cs new file mode 100644 index 0000000000..71aa4cc68c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Create.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IScalingConfigurationsClient.Create.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Create
+ /// Create a scaling configuration for pipelines + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + global::G.ScalingConfigCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create
+ /// Create a scaling configuration for pipelines + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 100 + /// + /// + /// An enumeration. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + string name, + global::G.ScalingConfigCreateArgs args, + int minimumNodes = 0, + int maximumNodes = 100, + global::G.ScalingConfigType type = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Delete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Delete.g.verified.cs new file mode 100644 index 0000000000..2873bc6de5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Delete.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IScalingConfigurationsClient.Delete.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Delete
+ /// Delete a scaling configuration + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.GetByName.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.GetByName.g.verified.cs new file mode 100644 index 0000000000..248fd1e4f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.GetByName.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IScalingConfigurationsClient.GetByName.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Get By Name
+ /// Retrieve a scaling configuration + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetByNameAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.GetPipelineList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.GetPipelineList.g.verified.cs new file mode 100644 index 0000000000..51aedc24a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.GetPipelineList.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IScalingConfigurationsClient.GetPipelineList.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Get Pipeline List
+ /// Get a list of pipelines scoped to the user which use a scaling configuration + ///
+ /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPipelineListAsync( + string name, + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Index.g.verified.cs new file mode 100644 index 0000000000..fd3c7ed8a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Index.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IScalingConfigurationsClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Index
+ /// Retrieve a paginated set of scaling configurations + ///
+ /// + /// Default Value: false + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + bool @public = false, + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Patch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Patch.g.verified.cs new file mode 100644 index 0000000000..0148c19b66 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.Patch.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IScalingConfigurationsClient.Patch.g.cs +#nullable enable + +namespace G +{ + public partial interface IScalingConfigurationsClient + { + /// + /// Patch
+ /// Patch a scaling configuration + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string name, + global::G.ScalingConfigPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch
+ /// Patch a scaling configuration + ///
+ /// + /// + /// An enumeration. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string name, + global::G.ScalingConfigType? type = default, + global::G.ScalingConfigPatchArgs? args = default, + int minimumNodes = default, + int maximumNodes = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.g.verified.cs new file mode 100644 index 0000000000..7c46c4971b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IScalingConfigurationsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IScalingConfigurationsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IScalingConfigurationsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Create.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Create.g.verified.cs new file mode 100644 index 0000000000..95ad5fb070 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Create.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.ITokensClient.Create.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Create
+ /// Create a new Catalyst API Bearer token for an authenticated user.
+ /// This token will be associated with a team if a team_id is present in the JWT. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + global::G.TokenCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create
+ /// Create a new Catalyst API Bearer token for an authenticated user.
+ /// This token will be associated with a team if a team_id is present in the JWT. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAsync( + string? name = default, + global::System.DateTime expiresAt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Delete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Delete.g.verified.cs new file mode 100644 index 0000000000..93ae933d4a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Delete.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITokensClient.Delete.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Delete
+ /// Delete an API Bearer token for an authenticated user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAsync( + string tokenId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Index.g.verified.cs new file mode 100644 index 0000000000..1748bebfa3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Index.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.ITokensClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Index
+ /// Retrieve a Catalyst API Bearer token for an authenticated user. + ///
+ /// + /// Default Value: false + /// + /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + bool allTeam = false, + int skip = 0, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Patch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Patch.g.verified.cs new file mode 100644 index 0000000000..a3bcb0e5bc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Patch.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.ITokensClient.Patch.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Patch
+ /// Update selected fields of an API Bearer token for an authenticated user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string tokenId, + global::G.TokenPatch request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Patch
+ /// Update selected fields of an API Bearer token for an authenticated user. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PatchAsync( + string tokenId, + string? name = default, + bool isEnabled = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Retrieve.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Retrieve.g.verified.cs new file mode 100644 index 0000000000..f643d3070e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Retrieve.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.ITokensClient.Retrieve.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Retrieve
+ /// Retrieve an API Bearer token for an authenticated user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveAsync( + string tokenId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Validate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Validate.g.verified.cs new file mode 100644 index 0000000000..c118336a89 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.Validate.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITokensClient.Validate.g.cs +#nullable enable + +namespace G +{ + public partial interface ITokensClient + { + /// + /// Validate
+ /// Validates a header token or cookie JWT. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ValidateAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.g.verified.cs new file mode 100644 index 0000000000..38eef428ba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ITokensClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITokensClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITokensClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.GetLoggedInUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.GetLoggedInUser.g.verified.cs new file mode 100644 index 0000000000..52ef3d8cd4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.GetLoggedInUser.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUsersClient.GetLoggedInUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get Logged In User
+ /// Retrieve the currently logged in user. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetLoggedInUserAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.GetUserPublicProfile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.GetUserPublicProfile.g.verified.cs new file mode 100644 index 0000000000..59222fc77d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.GetUserPublicProfile.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.GetUserPublicProfile.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Get User Public Profile
+ /// Retrieve a user's public profile + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserPublicProfileAsync( + string username, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.Index.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.Index.g.verified.cs new file mode 100644 index 0000000000..44fc706050 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.Index.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUsersClient.Index.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Index
+ /// Retrieve a paginated set of invites to all teams. + ///
+ /// + /// Default Value: 0 + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task IndexAsync( + int skip = 0, + int limit = 20, + string? orderBy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.g.verified.cs new file mode 100644 index 0000000000..50fc2b8f94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.IUsersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsersClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://www.mystic.ai"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.LogsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.LogsClient.g.verified.cs index c5c2a928c1..b44c5a6ef9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.LogsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.LogsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class LogsClient : global::System.IDisposable + public sealed partial class LogsClient : global::G.ILogsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.MetricsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.MetricsClient.g.verified.cs index 71b161328d..3a93a4d533 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.MetricsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.MetricsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class MetricsClient : global::System.IDisposable + public sealed partial class MetricsClient : global::G.IMetricsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.g.verified.cs index 51a8fa051f..4bd07504fd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelineFamiliesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PipelineFamiliesClient : global::System.IDisposable + public sealed partial class PipelineFamiliesClient : global::G.IPipelineFamiliesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelinesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelinesClient.g.verified.cs index 7eb8be3333..4cc1828778 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelinesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PipelinesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PipelinesClient : global::System.IDisposable + public sealed partial class PipelinesClient : global::G.IPipelinesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.g.verified.cs index 348aa34ef0..f6eed63bf9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.PointersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PointersClient : global::System.IDisposable + public sealed partial class PointersClient : global::G.IPointersClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ResourcesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ResourcesClient.g.verified.cs index d756d7a9d8..31971d3a76 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ResourcesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ResourcesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ResourcesClient : global::System.IDisposable + public sealed partial class ResourcesClient : global::G.IResourcesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.g.verified.cs index 0285349ef1..8f4c9f1983 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.RunsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RunsClient : global::System.IDisposable + public sealed partial class RunsClient : global::G.IRunsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.g.verified.cs index 76a0da55da..c19f6fd31d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.ScalingConfigurationsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ScalingConfigurationsClient : global::System.IDisposable + public sealed partial class ScalingConfigurationsClient : global::G.IScalingConfigurationsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.g.verified.cs index 1f552bd349..941ae29212 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.TokensClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TokensClient : global::System.IDisposable + public sealed partial class TokensClient : global::G.ITokensClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.UsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.UsersClient.g.verified.cs index 887c89bfbc..b3828a6595 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.UsersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Mystic/SystemTextJson/_#G.UsersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsersClient : global::System.IDisposable + public sealed partial class UsersClient : global::G.IUsersClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.Api.g.verified.cs index 8b1e5bbe48..a2305d74e6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// Ollama server URL diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ChatClient.g.verified.cs index b4f0a70321..422a205725 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ChatClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// Ollama server URL diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.CompletionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.CompletionsClient.g.verified.cs index 71b99c1fc7..1dc7407c1a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.CompletionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.CompletionsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CompletionsClient : global::System.IDisposable + public sealed partial class CompletionsClient : global::G.ICompletionsClient, global::System.IDisposable { /// /// Ollama server URL diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs index 4ffb2f33a7..457e4fec7e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EmbeddingsClient : global::System.IDisposable + public sealed partial class EmbeddingsClient : global::G.IEmbeddingsClient, global::System.IDisposable { /// /// Ollama server URL diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IApi.GetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IApi.GetVersion.g.verified.cs new file mode 100644 index 0000000000..555741dcef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IApi.GetVersion.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IApi.GetVersion.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Returns the version of the Ollama server.
+ /// This endpoint returns the version of the Ollama server. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVersionAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..e9f7ed07c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// API Spec for Ollama API. Please see https://github.com/jmorganca/ollama/blob/main/docs/api.md for more details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// Ollama server URL + /// + public const string BaseUrl = "http://localhost:11434/api"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// Given a prompt, the model will generate a completion. + /// + public CompletionsClient Completions { get; } + + /// + /// Given a list of messages comprising a conversation, the model will return a response. + /// + public ChatClient Chat { get; } + + /// + /// Get a vector representation of a given input. + /// + public EmbeddingsClient Embeddings { get; } + + /// + /// List and describe the various models available. + /// + public ModelsClient Models { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IChatClient.GenerateChatCompletion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IChatClient.GenerateChatCompletion.g.verified.cs new file mode 100644 index 0000000000..b1b4413876 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IChatClient.GenerateChatCompletion.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IChatClient.GenerateChatCompletion.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Generate the next message in a chat with a provided model.
+ /// This is a streaming endpoint, so there will be a series of responses. The final response object will include statistics and additional data from the request. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable GenerateChatCompletionAsync( + global::G.GenerateChatCompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate the next message in a chat with a provided model.
+ /// This is a streaming endpoint, so there will be a series of responses. The final response object will include statistics and additional data from the request. + ///
+ /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:8b + /// + /// + /// The messages of the chat, this can be used to keep a chat memory + /// + /// + /// The format to return a response in. Currently the only accepted value is json.
+ /// Enable JSON mode by setting the format parameter to json. This will structure the response as valid JSON.
+ /// Note: it's important to instruct the model to use JSON in the prompt. Otherwise, the model may generate large amounts whitespace. + /// + /// + /// Additional model parameters listed in the documentation for the Modelfile such as `temperature`. + /// + /// + /// If `false` the response will be returned as a single response object, otherwise the response will be streamed as a series of objects.
+ /// Default Value: true + /// + /// + /// How long (in minutes) to keep the model loaded in memory.
+ /// - If set to a positive duration (e.g. 20), the model will stay loaded for the provided duration.
+ /// - If set to a negative duration (e.g. -1), the model will stay loaded indefinitely.
+ /// - If set to 0, the model will be unloaded immediately once finished.
+ /// - If not set, the model will stay loaded for 5 minutes by default + /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable GenerateChatCompletionAsync( + string model, + global::System.Collections.Generic.IList messages, + global::G.ResponseFormat? format = default, + global::G.RequestOptions? options = default, + bool stream = true, + int? keepAlive = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..6611287e1b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a list of messages comprising a conversation, the model will return a response.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// Ollama server URL + /// + public const string BaseUrl = "http://localhost:11434/api"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ICompletionsClient.GenerateCompletion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ICompletionsClient.GenerateCompletion.g.verified.cs new file mode 100644 index 0000000000..1dfaf71ae5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ICompletionsClient.GenerateCompletion.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.ICompletionsClient.GenerateCompletion.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionsClient + { + /// + /// Generate a response for a given prompt with a provided model.
+ /// The final response object will include statistics and additional data from the request. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable GenerateCompletionAsync( + global::G.GenerateCompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate a response for a given prompt with a provided model.
+ /// The final response object will include statistics and additional data from the request. + ///
+ /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:8b + /// + /// + /// The prompt to generate a response.
+ /// Example: Why is the sky blue? + /// + /// + /// (optional) a list of Base64-encoded images to include in the message (for multimodal models such as llava) + /// + /// + /// The system prompt to (overrides what is defined in the Modelfile). + /// + /// + /// The full prompt or prompt template (overrides what is defined in the Modelfile). + /// + /// + /// The context parameter returned from a previous request to [generateCompletion], this can be used to keep a short conversational memory. + /// + /// + /// Additional model parameters listed in the documentation for the Modelfile such as `temperature`. + /// + /// + /// The format to return a response in. Currently the only accepted value is json.
+ /// Enable JSON mode by setting the format parameter to json. This will structure the response as valid JSON.
+ /// Note: it's important to instruct the model to use JSON in the prompt. Otherwise, the model may generate large amounts whitespace. + /// + /// + /// If `true` no formatting will be applied to the prompt and no context will be returned.
+ /// You may choose to use the `raw` parameter if you are specifying a full templated prompt in your request to the API, and are managing history yourself. + /// + /// + /// If `false` the response will be returned as a single response object, otherwise the response will be streamed as a series of objects.
+ /// Default Value: true + /// + /// + /// How long (in minutes) to keep the model loaded in memory.
+ /// - If set to a positive duration (e.g. 20), the model will stay loaded for the provided duration.
+ /// - If set to a negative duration (e.g. -1), the model will stay loaded indefinitely.
+ /// - If set to 0, the model will be unloaded immediately once finished.
+ /// - If not set, the model will stay loaded for 5 minutes by default + /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable GenerateCompletionAsync( + string model, + string prompt, + global::System.Collections.Generic.IList? images = default, + string? system = default, + string? template = default, + global::System.Collections.Generic.IList? context = default, + global::G.RequestOptions? options = default, + global::G.ResponseFormat? format = default, + bool raw = default, + bool stream = true, + int? keepAlive = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ICompletionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ICompletionsClient.g.verified.cs new file mode 100644 index 0000000000..fb9c054a4b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ICompletionsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICompletionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a prompt, the model will generate a completion.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICompletionsClient : global::System.IDisposable + { + /// + /// Ollama server URL + /// + public const string BaseUrl = "http://localhost:11434/api"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IEmbeddingsClient.GenerateEmbedding.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IEmbeddingsClient.GenerateEmbedding.g.verified.cs new file mode 100644 index 0000000000..b75d23e419 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IEmbeddingsClient.GenerateEmbedding.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IEmbeddingsClient.GenerateEmbedding.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbeddingsClient + { + /// + /// Generate embeddings from a model. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateEmbeddingAsync( + global::G.GenerateEmbeddingRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate embeddings from a model. + /// + /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:8b + /// + /// + /// Text to generate embeddings for.
+ /// Example: Here is an article about llamas... + /// + /// + /// Additional model parameters listed in the documentation for the Modelfile such as `temperature`. + /// + /// + /// How long (in minutes) to keep the model loaded in memory.
+ /// - If set to a positive duration (e.g. 20), the model will stay loaded for the provided duration.
+ /// - If set to a negative duration (e.g. -1), the model will stay loaded indefinitely.
+ /// - If set to 0, the model will be unloaded immediately once finished.
+ /// - If not set, the model will stay loaded for 5 minutes by default + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateEmbeddingAsync( + string model, + string prompt, + global::G.RequestOptions? options = default, + int? keepAlive = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs new file mode 100644 index 0000000000..56c8f306f1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IEmbeddingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Get a vector representation of a given input.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEmbeddingsClient : global::System.IDisposable + { + /// + /// Ollama server URL + /// + public const string BaseUrl = "http://localhost:11434/api"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CheckBlob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CheckBlob.g.verified.cs new file mode 100644 index 0000000000..a7e99ed66b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CheckBlob.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IModelsClient.CheckBlob.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Ensures that the file blob used for a FROM or ADAPTER field exists on the server.
+ /// This is checking your Ollama server and not Ollama.ai. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckBlobAsync( + string digest, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CopyModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CopyModel.g.verified.cs new file mode 100644 index 0000000000..1894048330 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CopyModel.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IModelsClient.CopyModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Creates a model with another name from an existing model. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopyModelAsync( + global::G.CopyModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a model with another name from an existing model. + /// + /// + /// Name of the model to copy.
+ /// Example: llama3:8b + /// + /// + /// Name of the new model.
+ /// Example: llama3-backup + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopyModelAsync( + string source, + string destination, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CreateBlob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CreateBlob.g.verified.cs new file mode 100644 index 0000000000..6ced7d18fb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CreateBlob.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IModelsClient.CreateBlob.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Create a blob from a file. Returns the server file path. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBlobAsync( + string digest, + byte[] request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a blob from a file. Returns the server file path. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBlobAsync( + string digest, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CreateModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CreateModel.g.verified.cs new file mode 100644 index 0000000000..c6dc7885d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.CreateModel.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IModelsClient.CreateModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Create a model from a Modelfile.
+ /// It is recommended to set `modelfile` to the content of the Modelfile rather than just set `path`. This is a requirement for remote create. Remote model creation should also create any file blobs, fields such as `FROM` and `ADAPTER`, explicitly with the server using Create a Blob and the value to the path indicated in the response. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable CreateModelAsync( + global::G.CreateModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a model from a Modelfile.
+ /// It is recommended to set `modelfile` to the content of the Modelfile rather than just set `path`. This is a requirement for remote create. Remote model creation should also create any file blobs, fields such as `FROM` and `ADAPTER`, explicitly with the server using Create a Blob and the value to the path indicated in the response. + ///
+ /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: mario + /// + /// + /// The contents of the Modelfile.
+ /// Example: FROM llama3\nSYSTEM You are mario from Super Mario Bros. + /// + /// + /// Path to the Modelfile (optional) + /// + /// + /// The quantization level of the model. + /// + /// + /// If `false` the response will be returned as a single response object, otherwise the response will be streamed as a series of objects.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable CreateModelAsync( + string model, + string modelfile, + string? path = default, + string? quantize = default, + bool stream = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.DeleteModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.DeleteModel.g.verified.cs new file mode 100644 index 0000000000..ddfc9f179d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.DeleteModel.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IModelsClient.DeleteModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Delete a model and its data. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelAsync( + global::G.DeleteModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete a model and its data. + /// + /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:13b + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelAsync( + string model, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs new file mode 100644 index 0000000000..7aa807e938 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IModelsClient.ListModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// List models that are available locally. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ListRunningModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ListRunningModels.g.verified.cs new file mode 100644 index 0000000000..7375ab111d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ListRunningModels.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IModelsClient.ListRunningModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// List models that are running. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListRunningModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.PullModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.PullModel.g.verified.cs new file mode 100644 index 0000000000..eaabf31ae6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.PullModel.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IModelsClient.PullModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Download a model from the ollama library.
+ /// Cancelled pulls are resumed from where they left off, and multiple calls will share the same download progress. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable PullModelAsync( + global::G.PullModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Download a model from the ollama library.
+ /// Cancelled pulls are resumed from where they left off, and multiple calls will share the same download progress. + ///
+ /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:8b + /// + /// + /// Allow insecure connections to the library.
+ /// Only use this if you are pulling from your own library during development.
+ /// Default Value: false + /// + /// + /// Ollama username. + /// + /// + /// Ollama password. + /// + /// + /// If `false` the response will be returned as a single response object, otherwise the response will be streamed as a series of objects.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable PullModelAsync( + string model, + bool insecure = false, + string? username = default, + string? password = default, + bool stream = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.PushModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.PushModel.g.verified.cs new file mode 100644 index 0000000000..4ba470de5c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.PushModel.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IModelsClient.PushModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Upload a model to a model library.
+ /// Requires registering for ollama.ai and adding a public key first. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable PushModelAsync( + global::G.PushModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload a model to a model library.
+ /// Requires registering for ollama.ai and adding a public key first. + ///
+ /// + /// The name of the model to push in the form of <namespace>/<model>:<tag>.
+ /// Example: mattw/pygmalion:latest + /// + /// + /// Allow insecure connections to the library.
+ /// Only use this if you are pushing to your library during development.
+ /// Default Value: false + /// + /// + /// Ollama username. + /// + /// + /// Ollama password. + /// + /// + /// If `false` the response will be returned as a single response object, otherwise the response will be streamed as a series of objects.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable PushModelAsync( + string model, + bool insecure = false, + string? username = default, + string? password = default, + bool stream = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ShowModelInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ShowModelInfo.g.verified.cs new file mode 100644 index 0000000000..056e298c96 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.ShowModelInfo.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IModelsClient.ShowModelInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Show details about a model including modelfile, template, parameters, license, and system prompt. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShowModelInfoAsync( + global::G.ModelInfoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Show details about a model including modelfile, template, parameters, license, and system prompt. + /// + /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:8b + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShowModelInfoAsync( + string model, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.g.verified.cs new file mode 100644 index 0000000000..e82c03fee8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.IModelsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// List and describe the various models available.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelsClient : global::System.IDisposable + { + /// + /// Ollama server URL + /// + public const string BaseUrl = "http://localhost:11434/api"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.g.verified.cs index 3ec939cc48..5412c3ac30 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelsClient : global::System.IDisposable + public sealed partial class ModelsClient : global::G.IModelsClient, global::System.IDisposable { /// /// Ollama server URL diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.g.verified.cs index 5c1bfc0942..c176d4cfe8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// Ollama server URL diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ChatClient.g.verified.cs index ca25217143..fcfe25a5f5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ChatClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// Ollama server URL diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.CompletionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.CompletionsClient.g.verified.cs index 03a3a38c86..44addd67de 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.CompletionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.CompletionsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CompletionsClient : global::System.IDisposable + public sealed partial class CompletionsClient : global::G.ICompletionsClient, global::System.IDisposable { /// /// Ollama server URL diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs index 32ec641c65..086bfa760b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EmbeddingsClient : global::System.IDisposable + public sealed partial class EmbeddingsClient : global::G.IEmbeddingsClient, global::System.IDisposable { /// /// Ollama server URL diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IApi.GetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IApi.GetVersion.g.verified.cs new file mode 100644 index 0000000000..555741dcef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IApi.GetVersion.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IApi.GetVersion.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Returns the version of the Ollama server.
+ /// This endpoint returns the version of the Ollama server. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVersionAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..06af1a1f06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// API Spec for Ollama API. Please see https://github.com/jmorganca/ollama/blob/main/docs/api.md for more details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// Ollama server URL + /// + public const string BaseUrl = "http://localhost:11434/api"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// Given a prompt, the model will generate a completion. + /// + public CompletionsClient Completions { get; } + + /// + /// Given a list of messages comprising a conversation, the model will return a response. + /// + public ChatClient Chat { get; } + + /// + /// Get a vector representation of a given input. + /// + public EmbeddingsClient Embeddings { get; } + + /// + /// List and describe the various models available. + /// + public ModelsClient Models { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IChatClient.GenerateChatCompletion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IChatClient.GenerateChatCompletion.g.verified.cs new file mode 100644 index 0000000000..b1b4413876 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IChatClient.GenerateChatCompletion.g.verified.cs @@ -0,0 +1,61 @@ +//HintName: G.IChatClient.GenerateChatCompletion.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Generate the next message in a chat with a provided model.
+ /// This is a streaming endpoint, so there will be a series of responses. The final response object will include statistics and additional data from the request. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable GenerateChatCompletionAsync( + global::G.GenerateChatCompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate the next message in a chat with a provided model.
+ /// This is a streaming endpoint, so there will be a series of responses. The final response object will include statistics and additional data from the request. + ///
+ /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:8b + /// + /// + /// The messages of the chat, this can be used to keep a chat memory + /// + /// + /// The format to return a response in. Currently the only accepted value is json.
+ /// Enable JSON mode by setting the format parameter to json. This will structure the response as valid JSON.
+ /// Note: it's important to instruct the model to use JSON in the prompt. Otherwise, the model may generate large amounts whitespace. + /// + /// + /// Additional model parameters listed in the documentation for the Modelfile such as `temperature`. + /// + /// + /// If `false` the response will be returned as a single response object, otherwise the response will be streamed as a series of objects.
+ /// Default Value: true + /// + /// + /// How long (in minutes) to keep the model loaded in memory.
+ /// - If set to a positive duration (e.g. 20), the model will stay loaded for the provided duration.
+ /// - If set to a negative duration (e.g. -1), the model will stay loaded indefinitely.
+ /// - If set to 0, the model will be unloaded immediately once finished.
+ /// - If not set, the model will stay loaded for 5 minutes by default + /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable GenerateChatCompletionAsync( + string model, + global::System.Collections.Generic.IList messages, + global::G.ResponseFormat? format = default, + global::G.RequestOptions? options = default, + bool stream = true, + int? keepAlive = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..04df6d526e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a list of messages comprising a conversation, the model will return a response.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// Ollama server URL + /// + public const string BaseUrl = "http://localhost:11434/api"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ICompletionsClient.GenerateCompletion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ICompletionsClient.GenerateCompletion.g.verified.cs new file mode 100644 index 0000000000..1dfaf71ae5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ICompletionsClient.GenerateCompletion.g.verified.cs @@ -0,0 +1,83 @@ +//HintName: G.ICompletionsClient.GenerateCompletion.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionsClient + { + /// + /// Generate a response for a given prompt with a provided model.
+ /// The final response object will include statistics and additional data from the request. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable GenerateCompletionAsync( + global::G.GenerateCompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate a response for a given prompt with a provided model.
+ /// The final response object will include statistics and additional data from the request. + ///
+ /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:8b + /// + /// + /// The prompt to generate a response.
+ /// Example: Why is the sky blue? + /// + /// + /// (optional) a list of Base64-encoded images to include in the message (for multimodal models such as llava) + /// + /// + /// The system prompt to (overrides what is defined in the Modelfile). + /// + /// + /// The full prompt or prompt template (overrides what is defined in the Modelfile). + /// + /// + /// The context parameter returned from a previous request to [generateCompletion], this can be used to keep a short conversational memory. + /// + /// + /// Additional model parameters listed in the documentation for the Modelfile such as `temperature`. + /// + /// + /// The format to return a response in. Currently the only accepted value is json.
+ /// Enable JSON mode by setting the format parameter to json. This will structure the response as valid JSON.
+ /// Note: it's important to instruct the model to use JSON in the prompt. Otherwise, the model may generate large amounts whitespace. + /// + /// + /// If `true` no formatting will be applied to the prompt and no context will be returned.
+ /// You may choose to use the `raw` parameter if you are specifying a full templated prompt in your request to the API, and are managing history yourself. + /// + /// + /// If `false` the response will be returned as a single response object, otherwise the response will be streamed as a series of objects.
+ /// Default Value: true + /// + /// + /// How long (in minutes) to keep the model loaded in memory.
+ /// - If set to a positive duration (e.g. 20), the model will stay loaded for the provided duration.
+ /// - If set to a negative duration (e.g. -1), the model will stay loaded indefinitely.
+ /// - If set to 0, the model will be unloaded immediately once finished.
+ /// - If not set, the model will stay loaded for 5 minutes by default + /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable GenerateCompletionAsync( + string model, + string prompt, + global::System.Collections.Generic.IList? images = default, + string? system = default, + string? template = default, + global::System.Collections.Generic.IList? context = default, + global::G.RequestOptions? options = default, + global::G.ResponseFormat? format = default, + bool raw = default, + bool stream = true, + int? keepAlive = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ICompletionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ICompletionsClient.g.verified.cs new file mode 100644 index 0000000000..f1dc510697 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ICompletionsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICompletionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a prompt, the model will generate a completion.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICompletionsClient : global::System.IDisposable + { + /// + /// Ollama server URL + /// + public const string BaseUrl = "http://localhost:11434/api"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IEmbeddingsClient.GenerateEmbedding.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IEmbeddingsClient.GenerateEmbedding.g.verified.cs new file mode 100644 index 0000000000..b75d23e419 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IEmbeddingsClient.GenerateEmbedding.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IEmbeddingsClient.GenerateEmbedding.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbeddingsClient + { + /// + /// Generate embeddings from a model. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateEmbeddingAsync( + global::G.GenerateEmbeddingRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generate embeddings from a model. + /// + /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:8b + /// + /// + /// Text to generate embeddings for.
+ /// Example: Here is an article about llamas... + /// + /// + /// Additional model parameters listed in the documentation for the Modelfile such as `temperature`. + /// + /// + /// How long (in minutes) to keep the model loaded in memory.
+ /// - If set to a positive duration (e.g. 20), the model will stay loaded for the provided duration.
+ /// - If set to a negative duration (e.g. -1), the model will stay loaded indefinitely.
+ /// - If set to 0, the model will be unloaded immediately once finished.
+ /// - If not set, the model will stay loaded for 5 minutes by default + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GenerateEmbeddingAsync( + string model, + string prompt, + global::G.RequestOptions? options = default, + int? keepAlive = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs new file mode 100644 index 0000000000..9eb30bda8a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IEmbeddingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Get a vector representation of a given input.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEmbeddingsClient : global::System.IDisposable + { + /// + /// Ollama server URL + /// + public const string BaseUrl = "http://localhost:11434/api"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CheckBlob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CheckBlob.g.verified.cs new file mode 100644 index 0000000000..a7e99ed66b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CheckBlob.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IModelsClient.CheckBlob.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Ensures that the file blob used for a FROM or ADAPTER field exists on the server.
+ /// This is checking your Ollama server and not Ollama.ai. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckBlobAsync( + string digest, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CopyModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CopyModel.g.verified.cs new file mode 100644 index 0000000000..1894048330 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CopyModel.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IModelsClient.CopyModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Creates a model with another name from an existing model. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopyModelAsync( + global::G.CopyModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a model with another name from an existing model. + /// + /// + /// Name of the model to copy.
+ /// Example: llama3:8b + /// + /// + /// Name of the new model.
+ /// Example: llama3-backup + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CopyModelAsync( + string source, + string destination, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CreateBlob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CreateBlob.g.verified.cs new file mode 100644 index 0000000000..6ced7d18fb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CreateBlob.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IModelsClient.CreateBlob.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Create a blob from a file. Returns the server file path. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBlobAsync( + string digest, + byte[] request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a blob from a file. Returns the server file path. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBlobAsync( + string digest, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CreateModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CreateModel.g.verified.cs new file mode 100644 index 0000000000..c6dc7885d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.CreateModel.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IModelsClient.CreateModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Create a model from a Modelfile.
+ /// It is recommended to set `modelfile` to the content of the Modelfile rather than just set `path`. This is a requirement for remote create. Remote model creation should also create any file blobs, fields such as `FROM` and `ADAPTER`, explicitly with the server using Create a Blob and the value to the path indicated in the response. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable CreateModelAsync( + global::G.CreateModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a model from a Modelfile.
+ /// It is recommended to set `modelfile` to the content of the Modelfile rather than just set `path`. This is a requirement for remote create. Remote model creation should also create any file blobs, fields such as `FROM` and `ADAPTER`, explicitly with the server using Create a Blob and the value to the path indicated in the response. + ///
+ /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: mario + /// + /// + /// The contents of the Modelfile.
+ /// Example: FROM llama3\nSYSTEM You are mario from Super Mario Bros. + /// + /// + /// Path to the Modelfile (optional) + /// + /// + /// The quantization level of the model. + /// + /// + /// If `false` the response will be returned as a single response object, otherwise the response will be streamed as a series of objects.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable CreateModelAsync( + string model, + string modelfile, + string? path = default, + string? quantize = default, + bool stream = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.DeleteModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.DeleteModel.g.verified.cs new file mode 100644 index 0000000000..ddfc9f179d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.DeleteModel.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IModelsClient.DeleteModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Delete a model and its data. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelAsync( + global::G.DeleteModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Delete a model and its data. + /// + /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:13b + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelAsync( + string model, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs new file mode 100644 index 0000000000..7aa807e938 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IModelsClient.ListModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// List models that are available locally. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ListRunningModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ListRunningModels.g.verified.cs new file mode 100644 index 0000000000..7375ab111d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ListRunningModels.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IModelsClient.ListRunningModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// List models that are running. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListRunningModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.PullModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.PullModel.g.verified.cs new file mode 100644 index 0000000000..eaabf31ae6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.PullModel.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IModelsClient.PullModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Download a model from the ollama library.
+ /// Cancelled pulls are resumed from where they left off, and multiple calls will share the same download progress. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable PullModelAsync( + global::G.PullModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Download a model from the ollama library.
+ /// Cancelled pulls are resumed from where they left off, and multiple calls will share the same download progress. + ///
+ /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:8b + /// + /// + /// Allow insecure connections to the library.
+ /// Only use this if you are pulling from your own library during development.
+ /// Default Value: false + /// + /// + /// Ollama username. + /// + /// + /// Ollama password. + /// + /// + /// If `false` the response will be returned as a single response object, otherwise the response will be streamed as a series of objects.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable PullModelAsync( + string model, + bool insecure = false, + string? username = default, + string? password = default, + bool stream = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.PushModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.PushModel.g.verified.cs new file mode 100644 index 0000000000..4ba470de5c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.PushModel.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IModelsClient.PushModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Upload a model to a model library.
+ /// Requires registering for ollama.ai and adding a public key first. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable PushModelAsync( + global::G.PushModelRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload a model to a model library.
+ /// Requires registering for ollama.ai and adding a public key first. + ///
+ /// + /// The name of the model to push in the form of <namespace>/<model>:<tag>.
+ /// Example: mattw/pygmalion:latest + /// + /// + /// Allow insecure connections to the library.
+ /// Only use this if you are pushing to your library during development.
+ /// Default Value: false + /// + /// + /// Ollama username. + /// + /// + /// Ollama password. + /// + /// + /// If `false` the response will be returned as a single response object, otherwise the response will be streamed as a series of objects.
+ /// Default Value: true + /// + /// The token to cancel the operation with + /// + global::System.Collections.Generic.IAsyncEnumerable PushModelAsync( + string model, + bool insecure = false, + string? username = default, + string? password = default, + bool stream = true, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ShowModelInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ShowModelInfo.g.verified.cs new file mode 100644 index 0000000000..056e298c96 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.ShowModelInfo.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IModelsClient.ShowModelInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Show details about a model including modelfile, template, parameters, license, and system prompt. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShowModelInfoAsync( + global::G.ModelInfoRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Show details about a model including modelfile, template, parameters, license, and system prompt. + /// + /// + /// The model name.
+ /// Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.
+ /// Example: llama3:8b + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShowModelInfoAsync( + string model, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.g.verified.cs new file mode 100644 index 0000000000..83face6014 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.IModelsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// List and describe the various models available.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelsClient : global::System.IDisposable + { + /// + /// Ollama server URL + /// + public const string BaseUrl = "http://localhost:11434/api"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.g.verified.cs index accf337fdb..9c3981973f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelsClient : global::System.IDisposable + public sealed partial class ModelsClient : global::G.IModelsClient, global::System.IDisposable { /// /// Ollama server URL diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.g.verified.cs index b64a1d9234..c9b1ef086a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AssistantsClient : global::System.IDisposable + public sealed partial class AssistantsClient : global::G.IAssistantsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.g.verified.cs index b451fa11b8..5ec9fd6012 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AudioClient : global::System.IDisposable + public sealed partial class AudioClient : global::G.IAudioClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AuditLogsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AuditLogsClient.g.verified.cs index cb5595d287..29ed7dd393 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AuditLogsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AuditLogsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AuditLogsClient : global::System.IDisposable + public sealed partial class AuditLogsClient : global::G.IAuditLogsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.g.verified.cs index 26bacc7803..7ea5106281 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class BatchClient : global::System.IDisposable + public sealed partial class BatchClient : global::G.IBatchClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ChatClient.g.verified.cs index 7583ba2781..7c7db5bbb4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ChatClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.CompletionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.CompletionsClient.g.verified.cs index b3436b2394..b740e803fb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.CompletionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.CompletionsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CompletionsClient : global::System.IDisposable + public sealed partial class CompletionsClient : global::G.ICompletionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs index 83397bf99b..89c33cda9b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EmbeddingsClient : global::System.IDisposable + public sealed partial class EmbeddingsClient : global::G.IEmbeddingsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.g.verified.cs index 2c060c0e62..60b470b0c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FilesClient : global::System.IDisposable + public sealed partial class FilesClient : global::G.IFilesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.g.verified.cs index 1f57758491..fffdc3c7d2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FineTuningClient : global::System.IDisposable + public sealed partial class FineTuningClient : global::G.IFineTuningClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CancelRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CancelRun.g.verified.cs new file mode 100644 index 0000000000..15c19fbbaf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CancelRun.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAssistantsClient.CancelRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Cancels a run that is `in_progress`. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelRunAsync( + string threadId, + string runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateAssistant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateAssistant.g.verified.cs new file mode 100644 index 0000000000..659981859f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateAssistant.g.verified.cs @@ -0,0 +1,74 @@ +//HintName: G.IAssistantsClient.CreateAssistant.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Create an assistant with a model and instructions. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAssistantAsync( + global::G.CreateAssistantRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an assistant with a model and instructions. + /// + /// + /// ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models/overview) for descriptions of them.
+ /// Example: gpt-4o + /// + /// + /// The name of the assistant. The maximum length is 256 characters. + /// + /// + /// The description of the assistant. The maximum length is 512 characters. + /// + /// + /// The system instructions that the assistant uses. The maximum length is 256,000 characters. + /// + /// + /// A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`. + /// + /// + /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models/gpt-4o), [GPT-4 Turbo](/docs/models/gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
+ /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which guarantees the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
+ /// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
+ /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAssistantAsync( + global::G.AnyOf model, + string? name = default, + string? description = default, + string? instructions = default, + global::System.Collections.Generic.IList>? tools = default, + global::G.CreateAssistantRequestToolResources? toolResources = default, + global::G.CreateAssistantRequestMetadata? metadata = default, + double? temperature = 1, + double? topP = 1, + global::G.AssistantsApiResponseFormatOption? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateMessage.g.verified.cs new file mode 100644 index 0000000000..74e688882e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateMessage.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IAssistantsClient.CreateMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Create a message. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateMessageAsync( + string threadId, + global::G.CreateMessageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a message. + /// + /// + /// + /// The role of the entity that is creating the message. Allowed values include:
+ /// - `user`: Indicates the message is sent by an actual user and should be used in most cases to represent user-generated messages.
+ /// - `assistant`: Indicates the message is generated by the assistant. Use this value to insert messages from the assistant into the conversation. + /// + /// + /// + /// A list of files attached to the message, and the tools they should be added to. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateMessageAsync( + string threadId, + global::G.CreateMessageRequestRole role, + global::G.OneOf>> content, + global::System.Collections.Generic.IList? attachments = default, + global::G.CreateMessageRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateRun.g.verified.cs new file mode 100644 index 0000000000..76a63c1882 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateRun.g.verified.cs @@ -0,0 +1,106 @@ +//HintName: G.IAssistantsClient.CreateRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Create a run. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRunAsync( + string threadId, + global::G.CreateRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a run. + /// + /// + /// + /// The ID of the [assistant](/docs/api-reference/assistants) to use to execute this run. + /// + /// + /// The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.
+ /// Example: gpt-4o + /// + /// + /// Overrides the [instructions](/docs/api-reference/assistants/createAssistant) of the assistant. This is useful for modifying the behavior on a per-run basis. + /// + /// + /// Appends additional instructions at the end of the instructions for the run. This is useful for modifying the behavior on a per-run basis without overriding other instructions. + /// + /// + /// Adds additional messages to the thread before creating the run. + /// + /// + /// Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message. + /// + /// + /// The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only the number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. + /// + /// + /// The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. + /// + /// + /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. + /// + /// + /// Controls which (if any) tool is called by the model.
+ /// `none` means the model will not call any tools and instead generates a message.
+ /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
+ /// `required` means the model must call one or more tools before responding to the user.
+ /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. + /// + /// + /// Whether to enable [parallel function calling](/docs/guides/function-calling/parallel-function-calling) during tool use. + /// + /// + /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models/gpt-4o), [GPT-4 Turbo](/docs/models/gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
+ /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which guarantees the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
+ /// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
+ /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRunAsync( + string threadId, + string assistantId, + global::G.AnyOf? model = default, + string? instructions = default, + string? additionalInstructions = default, + global::System.Collections.Generic.IList? additionalMessages = default, + global::System.Collections.Generic.IList>? tools = default, + global::G.CreateRunRequestMetadata? metadata = default, + double? temperature = 1, + double? topP = 1, + bool? stream = default, + int? maxPromptTokens = default, + int? maxCompletionTokens = default, + global::G.TruncationObject? truncationStrategy = default, + global::G.AssistantsApiToolChoiceOption? toolChoice = default, + bool? parallelToolCalls = default, + global::G.AssistantsApiResponseFormatOption? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateThread.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateThread.g.verified.cs new file mode 100644 index 0000000000..a62f9be15a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateThread.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAssistantsClient.CreateThread.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Create a thread. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateThreadAsync( + global::G.CreateThreadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a thread. + /// + /// + /// A list of [messages](/docs/api-reference/messages) to start the thread with. + /// + /// + /// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateThreadAsync( + global::System.Collections.Generic.IList? messages = default, + global::G.CreateThreadRequestToolResources? toolResources = default, + global::G.CreateThreadRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateThreadAndRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateThreadAndRun.g.verified.cs new file mode 100644 index 0000000000..01b84e55ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.CreateThreadAndRun.g.verified.cs @@ -0,0 +1,100 @@ +//HintName: G.IAssistantsClient.CreateThreadAndRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Create a thread and run it in one request. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateThreadAndRunAsync( + global::G.CreateThreadAndRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a thread and run it in one request. + /// + /// + /// The ID of the [assistant](/docs/api-reference/assistants) to use to execute this run. + /// + /// + /// + /// The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.
+ /// Example: gpt-4o + /// + /// + /// Override the default system message of the assistant. This is useful for modifying the behavior on a per-run basis. + /// + /// + /// Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis. + /// + /// + /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message. + /// + /// + /// The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only the number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. + /// + /// + /// The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. + /// + /// + /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. + /// + /// + /// Controls which (if any) tool is called by the model.
+ /// `none` means the model will not call any tools and instead generates a message.
+ /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
+ /// `required` means the model must call one or more tools before responding to the user.
+ /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. + /// + /// + /// Whether to enable [parallel function calling](/docs/guides/function-calling/parallel-function-calling) during tool use. + /// + /// + /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models/gpt-4o), [GPT-4 Turbo](/docs/models/gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
+ /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which guarantees the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
+ /// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
+ /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateThreadAndRunAsync( + string assistantId, + global::G.CreateThreadRequest? thread = default, + global::G.AnyOf? model = default, + string? instructions = default, + global::System.Collections.Generic.IList>? tools = default, + global::G.CreateThreadAndRunRequestToolResources? toolResources = default, + global::G.CreateThreadAndRunRequestMetadata? metadata = default, + double? temperature = 1, + double? topP = 1, + bool? stream = default, + int? maxPromptTokens = default, + int? maxCompletionTokens = default, + global::G.TruncationObject? truncationStrategy = default, + global::G.AssistantsApiToolChoiceOption? toolChoice = default, + bool? parallelToolCalls = default, + global::G.AssistantsApiResponseFormatOption? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteAssistant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteAssistant.g.verified.cs new file mode 100644 index 0000000000..a912537f2e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteAssistant.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAssistantsClient.DeleteAssistant.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Delete an assistant. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAssistantAsync( + string assistantId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteMessage.g.verified.cs new file mode 100644 index 0000000000..ba0a5ca090 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteMessage.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAssistantsClient.DeleteMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Deletes a message. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteMessageAsync( + string threadId, + string messageId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteThread.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteThread.g.verified.cs new file mode 100644 index 0000000000..c0513fb8f0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.DeleteThread.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAssistantsClient.DeleteThread.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Delete a thread. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteThreadAsync( + string threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetAssistant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetAssistant.g.verified.cs new file mode 100644 index 0000000000..92b969d4aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetAssistant.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAssistantsClient.GetAssistant.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Retrieves an assistant. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAssistantAsync( + string assistantId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetMessage.g.verified.cs new file mode 100644 index 0000000000..5670c43730 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetMessage.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAssistantsClient.GetMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Retrieve a message. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetMessageAsync( + string threadId, + string messageId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetRun.g.verified.cs new file mode 100644 index 0000000000..ecf61a2fc9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetRun.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAssistantsClient.GetRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Retrieves a run. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRunAsync( + string threadId, + string runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetRunStep.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetRunStep.g.verified.cs new file mode 100644 index 0000000000..b52b784627 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetRunStep.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAssistantsClient.GetRunStep.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Retrieves a run step. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRunStepAsync( + string threadId, + string runId, + string stepId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetThread.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetThread.g.verified.cs new file mode 100644 index 0000000000..2826e5fd63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.GetThread.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAssistantsClient.GetThread.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Retrieves a thread. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetThreadAsync( + string threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListAssistants.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListAssistants.g.verified.cs new file mode 100644 index 0000000000..c6418030ff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListAssistants.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IAssistantsClient.ListAssistants.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Returns a list of assistants. + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListAssistantsAsync( + int limit = 20, + global::G.ListAssistantsOrder? order = global::G.ListAssistantsOrder.Desc, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListMessages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListMessages.g.verified.cs new file mode 100644 index 0000000000..8ca2dd2494 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListMessages.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAssistantsClient.ListMessages.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Returns a list of messages for a given thread. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListMessagesAsync( + string threadId, + int limit = 20, + global::G.ListMessagesOrder? order = global::G.ListMessagesOrder.Desc, + string? after = default, + string? before = default, + string? runId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListRunSteps.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListRunSteps.g.verified.cs new file mode 100644 index 0000000000..1955fc1a6c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListRunSteps.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAssistantsClient.ListRunSteps.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Returns a list of run steps belonging to a run. + /// + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListRunStepsAsync( + string threadId, + string runId, + int limit = 20, + global::G.ListRunStepsOrder? order = global::G.ListRunStepsOrder.Desc, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListRuns.g.verified.cs new file mode 100644 index 0000000000..1bc80e1b0a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ListRuns.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAssistantsClient.ListRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Returns a list of runs belonging to a thread. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListRunsAsync( + string threadId, + int limit = 20, + global::G.ListRunsOrder? order = global::G.ListRunsOrder.Desc, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyAssistant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyAssistant.g.verified.cs new file mode 100644 index 0000000000..20b6d2a97d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyAssistant.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.IAssistantsClient.ModifyAssistant.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Modifies an assistant. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyAssistantAsync( + string assistantId, + global::G.ModifyAssistantRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies an assistant. + /// + /// + /// + /// ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models/overview) for descriptions of them. + /// + /// + /// The name of the assistant. The maximum length is 256 characters. + /// + /// + /// The description of the assistant. The maximum length is 512 characters. + /// + /// + /// The system instructions that the assistant uses. The maximum length is 256,000 characters. + /// + /// + /// A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`. + /// + /// + /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models/gpt-4o), [GPT-4 Turbo](/docs/models/gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
+ /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which guarantees the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
+ /// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
+ /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyAssistantAsync( + string assistantId, + global::G.AnyOf? model = default, + string? name = default, + string? description = default, + string? instructions = default, + global::System.Collections.Generic.IList>? tools = default, + global::G.ModifyAssistantRequestToolResources? toolResources = default, + global::G.ModifyAssistantRequestMetadata? metadata = default, + double? temperature = 1, + double? topP = 1, + global::G.AssistantsApiResponseFormatOption? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyMessage.g.verified.cs new file mode 100644 index 0000000000..7f56a519b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyMessage.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAssistantsClient.ModifyMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Modifies a message. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyMessageAsync( + string threadId, + string messageId, + global::G.ModifyMessageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a message. + /// + /// + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyMessageAsync( + string threadId, + string messageId, + global::G.ModifyMessageRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyRun.g.verified.cs new file mode 100644 index 0000000000..1b9e03dbf7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyRun.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAssistantsClient.ModifyRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Modifies a run. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyRunAsync( + string threadId, + string runId, + global::G.ModifyRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a run. + /// + /// + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyRunAsync( + string threadId, + string runId, + global::G.ModifyRunRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyThread.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyThread.g.verified.cs new file mode 100644 index 0000000000..f1a6962575 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.ModifyThread.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAssistantsClient.ModifyThread.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Modifies a thread. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyThreadAsync( + string threadId, + global::G.ModifyThreadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a thread. + /// + /// + /// + /// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyThreadAsync( + string threadId, + global::G.ModifyThreadRequestToolResources? toolResources = default, + global::G.ModifyThreadRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.SubmitToolOuputsToRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.SubmitToolOuputsToRun.g.verified.cs new file mode 100644 index 0000000000..4b25fd6ebe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.SubmitToolOuputsToRun.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IAssistantsClient.SubmitToolOuputsToRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// When a run has the `status: "requires_action"` and `required_action.type` is `submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs must be submitted in a single request. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SubmitToolOuputsToRunAsync( + string threadId, + string runId, + global::G.SubmitToolOutputsRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// When a run has the `status: "requires_action"` and `required_action.type` is `submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs must be submitted in a single request. + /// + /// + /// + /// + /// A list of tools for which the outputs are being submitted. + /// + /// + /// If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SubmitToolOuputsToRunAsync( + string threadId, + string runId, + global::System.Collections.Generic.IList toolOutputs, + bool? stream = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.g.verified.cs new file mode 100644 index 0000000000..f15ab7d0d8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAssistantsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAssistantsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Build Assistants that can call models and use tools.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAssistantsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateSpeech.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateSpeech.g.verified.cs new file mode 100644 index 0000000000..eba68f3996 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateSpeech.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IAudioClient.CreateSpeech.g.cs +#nullable enable + +namespace G +{ + public partial interface IAudioClient + { + /// + /// Generates audio from the input text. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSpeechAsync( + global::G.CreateSpeechRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generates audio from the input text. + /// + /// + /// One of the available [TTS models](/docs/models/tts): `tts-1` or `tts-1-hd` + /// + /// + /// The text to generate audio for. The maximum length is 4096 characters. + /// + /// + /// The voice to use when generating the audio. Supported voices are `alloy`, `echo`, `fable`, `onyx`, `nova`, and `shimmer`. Previews of the voices are available in the [Text to speech guide](/docs/guides/text-to-speech/voice-options). + /// + /// + /// The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`, `wav`, and `pcm`.
+ /// Default Value: mp3 + /// + /// + /// The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default.
+ /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSpeechAsync( + global::G.AnyOf model, + string input, + global::G.CreateSpeechRequestVoice voice, + global::G.CreateSpeechRequestResponseFormat? responseFormat = global::G.CreateSpeechRequestResponseFormat.Mp3, + double speed = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateTranscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateTranscription.g.verified.cs new file mode 100644 index 0000000000..e1d4caebb2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateTranscription.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IAudioClient.CreateTranscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IAudioClient + { + /// + /// Transcribes audio into the input language. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateTranscriptionAsync( + global::G.CreateTranscriptionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Transcribes audio into the input language. + /// + /// + /// The audio file object (not file name) to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + /// + /// + /// The audio file object (not file name) to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + /// + /// + /// ID of the model to use. Only `whisper-1` (which is powered by our open source Whisper V2 model) is currently available.
+ /// Example: whisper-1 + /// + /// + /// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency. + /// + /// + /// An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language. + /// + /// + /// The format of the transcript output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.
+ /// Default Value: json + /// + /// + /// The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
+ /// Default Value: 0 + /// + /// + /// The timestamp granularities to populate for this transcription. `response_format` must be set `verbose_json` to use timestamp granularities. Either or both of these options are supported: `word`, or `segment`. Note: There is no additional latency for segment timestamps, but generating word timestamps incurs additional latency.
+ /// Default Value: [segment] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateTranscriptionAsync( + byte[] file, + string filename, + global::G.AnyOf model, + string? language = default, + string? prompt = default, + global::G.CreateTranscriptionRequestResponseFormat? responseFormat = global::G.CreateTranscriptionRequestResponseFormat.Json, + double temperature = 0, + global::System.Collections.Generic.IList? timestampGranularities = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateTranslation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateTranslation.g.verified.cs new file mode 100644 index 0000000000..906e17717c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.CreateTranslation.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IAudioClient.CreateTranslation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAudioClient + { + /// + /// Translates audio into English. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateTranslationAsync( + global::G.CreateTranslationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Translates audio into English. + /// + /// + /// The audio file object (not file name) translate, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + /// + /// + /// The audio file object (not file name) translate, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + /// + /// + /// ID of the model to use. Only `whisper-1` (which is powered by our open source Whisper V2 model) is currently available.
+ /// Example: whisper-1 + /// + /// + /// An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English. + /// + /// + /// The format of the transcript output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.
+ /// Default Value: json + /// + /// + /// The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
+ /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateTranslationAsync( + byte[] file, + string filename, + global::G.AnyOf model, + string? prompt = default, + string? responseFormat = "json", + double temperature = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.g.verified.cs new file mode 100644 index 0000000000..8a7d07566b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAudioClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAudioClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Turn audio into text or text into audio.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAudioClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAuditLogsClient.ListAuditLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAuditLogsClient.ListAuditLogs.g.verified.cs new file mode 100644 index 0000000000..87e0579f5a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAuditLogsClient.ListAuditLogs.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IAuditLogsClient.ListAuditLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuditLogsClient + { + /// + /// List user actions and configuration changes within this organization. + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 20 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListAuditLogsAsync( + global::G.ListAuditLogsEffectiveAt? effectiveAt = default, + global::System.Collections.Generic.IList? projectIds = default, + global::System.Collections.Generic.IList? eventTypes = default, + global::System.Collections.Generic.IList? actorIds = default, + global::System.Collections.Generic.IList? actorEmails = default, + global::System.Collections.Generic.IList? resourceIds = default, + int limit = 20, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAuditLogsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAuditLogsClient.g.verified.cs new file mode 100644 index 0000000000..35e98d4efd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IAuditLogsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAuditLogsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// List user actions and configuration changes within this organization.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAuditLogsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.CancelBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.CancelBatch.g.verified.cs new file mode 100644 index 0000000000..2ba211db25 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.CancelBatch.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IBatchClient.CancelBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IBatchClient + { + /// + /// Cancels an in-progress batch. The batch will be in status `cancelling` for up to 10 minutes, before changing to `cancelled`, where it will have partial results (if any) available in the output file. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelBatchAsync( + string batchId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.CreateBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.CreateBatch.g.verified.cs new file mode 100644 index 0000000000..2da4e4cdf2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.CreateBatch.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IBatchClient.CreateBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IBatchClient + { + /// + /// Creates and executes a batch from an uploaded file of requests + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBatchAsync( + global::G.CreateBatchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates and executes a batch from an uploaded file of requests + /// + /// + /// The ID of an uploaded file that contains requests for the new batch.
+ /// See [upload file](/docs/api-reference/files/create) for how to upload a file.
+ /// Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 100 MB in size. + /// + /// + /// The endpoint to be used for all requests in the batch. Currently `/v1/chat/completions`, `/v1/embeddings`, and `/v1/completions` are supported. Note that `/v1/embeddings` batches are also restricted to a maximum of 50,000 embedding inputs across all requests in the batch. + /// + /// + /// The time frame within which the batch should be processed. Currently only `24h` is supported. + /// + /// + /// Optional custom metadata for the batch. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBatchAsync( + string inputFileId, + global::G.CreateBatchRequestEndpoint endpoint, + global::G.CreateBatchRequestCompletionWindow completionWindow = default, + global::G.CreateBatchRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.ListBatches.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.ListBatches.g.verified.cs new file mode 100644 index 0000000000..96cb0777d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.ListBatches.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IBatchClient.ListBatches.g.cs +#nullable enable + +namespace G +{ + public partial interface IBatchClient + { + /// + /// List your organization's batches. + /// + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListBatchesAsync( + string? after = default, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.RetrieveBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.RetrieveBatch.g.verified.cs new file mode 100644 index 0000000000..ad27e37eb0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.RetrieveBatch.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IBatchClient.RetrieveBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IBatchClient + { + /// + /// Retrieves a batch. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveBatchAsync( + string batchId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.g.verified.cs new file mode 100644 index 0000000000..ce5f8195ec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IBatchClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IBatchClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Create large batches of API requests to run asynchronously.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBatchClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IChatClient.CreateChatCompletion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IChatClient.CreateChatCompletion.g.verified.cs new file mode 100644 index 0000000000..6c44e79027 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IChatClient.CreateChatCompletion.g.verified.cs @@ -0,0 +1,142 @@ +//HintName: G.IChatClient.CreateChatCompletion.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Creates a model response for the given chat conversation. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChatCompletionAsync( + global::G.CreateChatCompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a model response for the given chat conversation. + /// + /// + /// A list of messages comprising the conversation so far. [Example Python code](https://cookbook.openai.com/examples/how_to_format_inputs_to_chatgpt_models). + /// + /// + /// ID of the model to use. See the [model endpoint compatibility](/docs/models/model-endpoint-compatibility) table for details on which models work with the Chat API.
+ /// Example: gpt-4o + /// + /// + /// Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
+ /// [See more information about frequency and presence penalties.](/docs/guides/text-generation/parameter-details)
+ /// Default Value: 0 + /// + /// + /// Modify the likelihood of specified tokens appearing in the completion.
+ /// Accepts a JSON object that maps tokens (specified by their token ID in the tokenizer) to an associated bias value from -100 to 100. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token. + /// + /// + /// Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the `content` of `message`.
+ /// Default Value: false + /// + /// + /// An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. `logprobs` must be set to `true` if this parameter is used. + /// + /// + /// The maximum number of [tokens](/tokenizer) that can be generated in the chat completion.
+ /// The total length of input tokens and generated tokens is limited by the model's context length. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens. + /// + /// + /// How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep `n` as `1` to minimize costs.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
+ /// [See more information about frequency and presence penalties.](/docs/guides/text-generation/parameter-details)
+ /// Default Value: 0 + /// + /// + /// An object specifying the format that the model must output. Compatible with [GPT-4o](/docs/models/gpt-4o), [GPT-4o mini](/docs/models/gpt-4o-mini), [GPT-4 Turbo](/docs/models/gpt-4-and-gpt-4-turbo) and all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
+ /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which guarantees the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
+ /// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
+ /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// + /// + /// This feature is in Beta.
+ /// If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result.
+ /// Determinism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend. + /// + /// + /// Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service:
+ /// - If set to 'auto', the system will utilize scale tier credits until they are exhausted.
+ /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
+ /// - When not set, the default behavior is 'auto'.
+ /// When this parameter is set, the response body will include the `service_tier` utilized. + /// + /// + /// Up to 4 sequences where the API will stop generating further tokens. + /// + /// + /// If set, partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available, with the stream terminated by a `data: [DONE]` message. [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
+ /// Default Value: false + /// + /// + /// Options for streaming response. Only set this when you set `stream: true`. + /// + /// + /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
+ /// We generally recommend altering this or `top_p` but not both.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
+ /// We generally recommend altering this or `temperature` but not both.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for. A max of 128 functions are supported. + /// + /// + /// Controls which (if any) tool is called by the model.
+ /// `none` means the model will not call any tool and instead generates a message.
+ /// `auto` means the model can pick between generating a message or calling one or more tools.
+ /// `required` means the model must call one or more tools.
+ /// Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
+ /// `none` is the default when no tools are present. `auto` is the default if tools are present. + /// + /// + /// Whether to enable [parallel function calling](/docs/guides/function-calling/parallel-function-calling) during tool use. + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChatCompletionAsync( + global::System.Collections.Generic.IList messages, + global::G.AnyOf model, + double? frequencyPenalty = 0, + global::G.CreateChatCompletionRequestLogitBias? logitBias = default, + bool? logprobs = false, + int? topLogprobs = default, + int? maxTokens = default, + int? n = 1, + double? presencePenalty = 0, + global::G.OneOf? responseFormat = default, + int? seed = default, + global::G.CreateChatCompletionRequestServiceTier? serviceTier = default, + global::G.OneOf>? stop = default, + bool? stream = false, + global::G.ChatCompletionStreamOptions? streamOptions = default, + double? temperature = 1, + double? topP = 1, + global::System.Collections.Generic.IList? tools = default, + global::G.ChatCompletionToolChoiceOption? toolChoice = default, + bool? parallelToolCalls = default, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..3817772e03 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a list of messages comprising a conversation, the model will return a response.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ICompletionsClient.CreateCompletion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ICompletionsClient.CreateCompletion.g.verified.cs new file mode 100644 index 0000000000..d8f58951ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ICompletionsClient.CreateCompletion.g.verified.cs @@ -0,0 +1,128 @@ +//HintName: G.ICompletionsClient.CreateCompletion.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionsClient + { + /// + /// Creates a completion for the provided prompt and parameters. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCompletionAsync( + global::G.CreateCompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a completion for the provided prompt and parameters. + /// + /// + /// ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models/overview) for descriptions of them. + /// + /// + /// The prompt(s) to generate completions for, encoded as a string, array of strings, array of tokens, or array of token arrays.
+ /// Note that <|endoftext|> is the document separator that the model sees during training, so if a prompt is not specified the model will generate as if from the beginning of a new document.
+ /// Default Value: <|endoftext|> + /// + /// + /// Generates `best_of` completions server-side and returns the "best" (the one with the highest log probability per token). Results cannot be streamed.
+ /// When used with `n`, `best_of` controls the number of candidate completions and `n` specifies how many to return – `best_of` must be greater than `n`.
+ /// **Note:** Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for `max_tokens` and `stop`.
+ /// Default Value: 1 + /// + /// + /// Echo back the prompt in addition to the completion
+ /// Default Value: false + /// + /// + /// Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
+ /// [See more information about frequency and presence penalties.](/docs/guides/text-generation/parameter-details)
+ /// Default Value: 0 + /// + /// + /// Modify the likelihood of specified tokens appearing in the completion.
+ /// Accepts a JSON object that maps tokens (specified by their token ID in the GPT tokenizer) to an associated bias value from -100 to 100. You can use this [tokenizer tool](/tokenizer?view=bpe) to convert text to token IDs. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.
+ /// As an example, you can pass `{"50256": -100}` to prevent the <|endoftext|> token from being generated. + /// + /// + /// Include the log probabilities on the `logprobs` most likely output tokens, as well the chosen tokens. For example, if `logprobs` is 5, the API will return a list of the 5 most likely tokens. The API will always return the `logprob` of the sampled token, so there may be up to `logprobs+1` elements in the response.
+ /// The maximum value for `logprobs` is 5. + /// + /// + /// The maximum number of [tokens](/tokenizer) that can be generated in the completion.
+ /// The token count of your prompt plus `max_tokens` cannot exceed the model's context length. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens.
+ /// Default Value: 16
+ /// Example: 16 + /// + /// + /// How many completions to generate for each prompt.
+ /// **Note:** Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for `max_tokens` and `stop`.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
+ /// [See more information about frequency and presence penalties.](/docs/guides/text-generation/parameter-details)
+ /// Default Value: 0 + /// + /// + /// If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result.
+ /// Determinism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend. + /// + /// + /// Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence. + /// + /// + /// Whether to stream back partial progress. If set, tokens will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available, with the stream terminated by a `data: [DONE]` message. [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
+ /// Default Value: false + /// + /// + /// Options for streaming response. Only set this when you set `stream: true`. + /// + /// + /// The suffix that comes after a completion of inserted text.
+ /// This parameter is only supported for `gpt-3.5-turbo-instruct`.
+ /// Example: test. + /// + /// + /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
+ /// We generally recommend altering this or `top_p` but not both.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
+ /// We generally recommend altering this or `temperature` but not both.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCompletionAsync( + global::G.AnyOf model, + global::G.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>>? prompt, + int? bestOf = 1, + bool? echo = false, + double? frequencyPenalty = 0, + global::G.CreateCompletionRequestLogitBias? logitBias = default, + int? logprobs = default, + int? maxTokens = 16, + int? n = 1, + double? presencePenalty = 0, + int? seed = default, + global::G.OneOf>? stop = default, + bool? stream = false, + global::G.ChatCompletionStreamOptions? streamOptions = default, + string? suffix = default, + double? temperature = 1, + double? topP = 1, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ICompletionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ICompletionsClient.g.verified.cs new file mode 100644 index 0000000000..9ca96b6c27 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ICompletionsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICompletionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICompletionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IEmbeddingsClient.CreateEmbedding.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IEmbeddingsClient.CreateEmbedding.g.verified.cs new file mode 100644 index 0000000000..82a00ebd1a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IEmbeddingsClient.CreateEmbedding.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IEmbeddingsClient.CreateEmbedding.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbeddingsClient + { + /// + /// Creates an embedding vector representing the input text. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEmbeddingAsync( + global::G.CreateEmbeddingRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates an embedding vector representing the input text. + /// + /// + /// Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays. The input must not exceed the max input tokens for the model (8192 tokens for `text-embedding-ada-002`), cannot be an empty string, and any array must be 2048 dimensions or less. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens.
+ /// Example: The quick brown fox jumped over the lazy dog + /// + /// + /// ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models/overview) for descriptions of them.
+ /// Example: text-embedding-3-small + /// + /// + /// The format to return the embeddings in. Can be either `float` or [`base64`](https://pypi.org/project/pybase64/).
+ /// Default Value: float
+ /// Example: float + /// + /// + /// The number of dimensions the resulting output embeddings should have. Only supported in `text-embedding-3` and later models. + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEmbeddingAsync( + global::G.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>> input, + global::G.AnyOf model, + global::G.CreateEmbeddingRequestEncodingFormat? encodingFormat = global::G.CreateEmbeddingRequestEncodingFormat.Float, + int? dimensions = default, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs new file mode 100644 index 0000000000..8ee667bcb0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IEmbeddingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEmbeddingsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.CreateFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.CreateFile.g.verified.cs new file mode 100644 index 0000000000..133272f349 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.CreateFile.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IFilesClient.CreateFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.
+ /// The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details.
+ /// The Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) models.
+ /// The Batch API only supports `.jsonl` files up to 100 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
+ /// Please [contact us](https://help.openai.com/) if you need to increase these storage limits. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFileAsync( + global::G.CreateFileRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.
+ /// The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details.
+ /// The Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) models.
+ /// The Batch API only supports `.jsonl` files up to 100 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
+ /// Please [contact us](https://help.openai.com/) if you need to increase these storage limits. + ///
+ /// + /// The File object (not file name) to be uploaded. + /// + /// + /// The File object (not file name) to be uploaded. + /// + /// + /// The intended purpose of the uploaded file.
+ /// Use "assistants" for [Assistants](/docs/api-reference/assistants) and [Message](/docs/api-reference/messages) files, "vision" for Assistants image file inputs, "batch" for [Batch API](/docs/guides/batch), and "fine-tune" for [Fine-tuning](/docs/api-reference/fine-tuning). + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFileAsync( + byte[] file, + string filename, + global::G.CreateFileRequestPurpose purpose, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.DeleteFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.DeleteFile.g.verified.cs new file mode 100644 index 0000000000..253651cfaa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.DeleteFile.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFilesClient.DeleteFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Delete a file. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteFileAsync( + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.DownloadFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.DownloadFile.g.verified.cs new file mode 100644 index 0000000000..65573eece3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.DownloadFile.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFilesClient.DownloadFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Returns the contents of the specified file. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DownloadFileAsync( + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.ListFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.ListFiles.g.verified.cs new file mode 100644 index 0000000000..47007c3f83 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.ListFiles.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFilesClient.ListFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Returns a list of files that belong to the user's organization. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListFilesAsync( + string? purpose = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.RetrieveFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.RetrieveFile.g.verified.cs new file mode 100644 index 0000000000..ccd4b6dbb7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.RetrieveFile.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFilesClient.RetrieveFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Returns information about a specific file. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveFileAsync( + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.g.verified.cs new file mode 100644 index 0000000000..30e2cbac18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFilesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFilesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Files are used to upload documents that can be used with features like Assistants and Fine-tuning.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFilesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.CancelFineTuningJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.CancelFineTuningJob.g.verified.cs new file mode 100644 index 0000000000..ebfb535eff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.CancelFineTuningJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFineTuningClient.CancelFineTuningJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Immediately cancel a fine-tune job. + /// + /// + /// Example: ft-AF1WoRqd3aJAHsqc9NY7iL8F + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelFineTuningJobAsync( + string fineTuningJobId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTuningJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTuningJob.g.verified.cs new file mode 100644 index 0000000000..0bc0daba80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTuningJob.g.verified.cs @@ -0,0 +1,75 @@ +//HintName: G.IFineTuningClient.CreateFineTuningJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Creates a fine-tuning job which begins the process of creating a new model from a given dataset.
+ /// Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete.
+ /// [Learn more about fine-tuning](/docs/guides/fine-tuning) + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFineTuningJobAsync( + global::G.CreateFineTuningJobRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a fine-tuning job which begins the process of creating a new model from a given dataset.
+ /// Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete.
+ /// [Learn more about fine-tuning](/docs/guides/fine-tuning) + ///
+ /// + /// The name of the model to fine-tune. You can select one of the
+ /// [supported models](/docs/guides/fine-tuning/which-models-can-be-fine-tuned).
+ /// Example: gpt-4o-mini + /// + /// + /// The ID of an uploaded file that contains training data.
+ /// See [upload file](/docs/api-reference/files/create) for how to upload a file.
+ /// Your dataset must be formatted as a JSONL file. Additionally, you must upload your file with the purpose `fine-tune`.
+ /// The contents of the file should differ depending on if the model uses the [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) format.
+ /// See the [fine-tuning guide](/docs/guides/fine-tuning) for more details.
+ /// Example: file-abc123 + /// + /// + /// The hyperparameters used for the fine-tuning job. + /// + /// + /// A string of up to 18 characters that will be added to your fine-tuned model name.
+ /// For example, a `suffix` of "custom-model-name" would produce a model name like `ft:gpt-4o-mini:openai:custom-model-name:7p4lURel`. + /// + /// + /// The ID of an uploaded file that contains validation data.
+ /// If you provide this file, the data is used to generate validation
+ /// metrics periodically during fine-tuning. These metrics can be viewed in
+ /// the fine-tuning results file.
+ /// The same data should not be present in both train and validation files.
+ /// Your dataset must be formatted as a JSONL file. You must upload your file with the purpose `fine-tune`.
+ /// See the [fine-tuning guide](/docs/guides/fine-tuning) for more details.
+ /// Example: file-abc123 + /// + /// + /// A list of integrations to enable for your fine-tuning job. + /// + /// + /// The seed controls the reproducibility of the job. Passing in the same seed and job parameters should produce the same results, but may differ in rare cases.
+ /// If a seed is not specified, one will be generated for you.
+ /// Example: 42 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFineTuningJobAsync( + global::G.AnyOf model, + string trainingFile, + global::G.CreateFineTuningJobRequestHyperparameters? hyperparameters = default, + string? suffix = default, + string? validationFile = default, + global::System.Collections.Generic.IList? integrations = default, + int? seed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListFineTuningEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListFineTuningEvents.g.verified.cs new file mode 100644 index 0000000000..ffaabbccef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListFineTuningEvents.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFineTuningClient.ListFineTuningEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Get status updates for a fine-tuning job. + /// + /// + /// Example: ft-AF1WoRqd3aJAHsqc9NY7iL8F + /// + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListFineTuningEventsAsync( + string fineTuningJobId, + string? after = default, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs new file mode 100644 index 0000000000..c13c5cad62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFineTuningClient.ListFineTuningJobCheckpoints.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// List checkpoints for a fine-tuning job. + /// + /// + /// Example: ft-AF1WoRqd3aJAHsqc9NY7iL8F + /// + /// + /// + /// Default Value: 10 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListFineTuningJobCheckpointsAsync( + string fineTuningJobId, + string? after = default, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs new file mode 100644 index 0000000000..115b3cb1aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IFineTuningClient.ListPaginatedFineTuningJobs.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// List your organization's fine-tuning jobs + /// + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListPaginatedFineTuningJobsAsync( + string? after = default, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.RetrieveFineTuningJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.RetrieveFineTuningJob.g.verified.cs new file mode 100644 index 0000000000..1b16d61ee5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.RetrieveFineTuningJob.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IFineTuningClient.RetrieveFineTuningJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Get info about a fine-tuning job.
+ /// [Learn more about fine-tuning](/docs/guides/fine-tuning) + ///
+ /// + /// Example: ft-AF1WoRqd3aJAHsqc9NY7iL8F + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveFineTuningJobAsync( + string fineTuningJobId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.g.verified.cs new file mode 100644 index 0000000000..9e45f3fa33 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IFineTuningClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFineTuningClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Manage fine-tuning jobs to tailor a model to your specific training data.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFineTuningClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImage.g.verified.cs new file mode 100644 index 0000000000..7080112f6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImage.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IImagesClient.CreateImage.g.cs +#nullable enable + +namespace G +{ + public partial interface IImagesClient + { + /// + /// Creates an image given a prompt. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageAsync( + global::G.CreateImageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates an image given a prompt. + /// + /// + /// A text description of the desired image(s). The maximum length is 1000 characters for `dall-e-2` and 4000 characters for `dall-e-3`.
+ /// Example: A cute baby sea otter + /// + /// + /// The model to use for image generation.
+ /// Default Value: dall-e-2
+ /// Example: dall-e-3 + /// + /// + /// The number of images to generate. Must be between 1 and 10. For `dall-e-3`, only `n=1` is supported.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// The quality of the image that will be generated. `hd` creates images with finer details and greater consistency across the image. This param is only supported for `dall-e-3`.
+ /// Default Value: standard
+ /// Example: standard + /// + /// + /// The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated.
+ /// Default Value: url
+ /// Example: url + /// + /// + /// The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`. Must be one of `1024x1024`, `1792x1024`, or `1024x1792` for `dall-e-3` models.
+ /// Default Value: 1024x1024
+ /// Example: 1024x1024 + /// + /// + /// The style of the generated images. Must be one of `vivid` or `natural`. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images. This param is only supported for `dall-e-3`.
+ /// Default Value: vivid
+ /// Example: vivid + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageAsync( + string prompt, + global::G.AnyOf? model = default, + int? n = 1, + global::G.CreateImageRequestQuality? quality = global::G.CreateImageRequestQuality.Standard, + global::G.CreateImageRequestResponseFormat? responseFormat = global::G.CreateImageRequestResponseFormat.Url, + global::G.CreateImageRequestSize? size = global::G.CreateImageRequestSize.x1024x1024, + global::G.CreateImageRequestStyle? style = global::G.CreateImageRequestStyle.Vivid, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImageEdit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImageEdit.g.verified.cs new file mode 100644 index 0000000000..0e56c9b8ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImageEdit.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.IImagesClient.CreateImageEdit.g.cs +#nullable enable + +namespace G +{ + public partial interface IImagesClient + { + /// + /// Creates an edited or extended image given an original image and a prompt. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageEditAsync( + global::G.CreateImageEditRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates an edited or extended image given an original image and a prompt. + /// + /// + /// The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask. + /// + /// + /// The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask. + /// + /// + /// A text description of the desired image(s). The maximum length is 1000 characters.
+ /// Example: A cute baby sea otter wearing a beret + /// + /// + /// An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`. + /// + /// + /// An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`. + /// + /// + /// The model to use for image generation. Only `dall-e-2` is supported at this time.
+ /// Default Value: dall-e-2
+ /// Example: dall-e-2 + /// + /// + /// The number of images to generate. Must be between 1 and 10.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
+ /// Default Value: 1024x1024
+ /// Example: 1024x1024 + /// + /// + /// The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated.
+ /// Default Value: url
+ /// Example: url + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageEditAsync( + byte[] image, + string imagename, + string prompt, + byte[]? mask = default, + string? maskname = default, + global::G.AnyOf? model = default, + int? n = 1, + global::G.CreateImageEditRequestSize? size = global::G.CreateImageEditRequestSize.x1024x1024, + global::G.CreateImageEditRequestResponseFormat? responseFormat = global::G.CreateImageEditRequestResponseFormat.Url, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImageVariation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImageVariation.g.verified.cs new file mode 100644 index 0000000000..fc00489f21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.CreateImageVariation.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.IImagesClient.CreateImageVariation.g.cs +#nullable enable + +namespace G +{ + public partial interface IImagesClient + { + /// + /// Creates a variation of a given image. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageVariationAsync( + global::G.CreateImageVariationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a variation of a given image. + /// + /// + /// The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square. + /// + /// + /// The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square. + /// + /// + /// The model to use for image generation. Only `dall-e-2` is supported at this time.
+ /// Default Value: dall-e-2
+ /// Example: dall-e-2 + /// + /// + /// The number of images to generate. Must be between 1 and 10. For `dall-e-3`, only `n=1` is supported.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated.
+ /// Default Value: url
+ /// Example: url + /// + /// + /// The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
+ /// Default Value: 1024x1024
+ /// Example: 1024x1024 + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageVariationAsync( + byte[] image, + string imagename, + global::G.AnyOf? model = default, + int? n = 1, + global::G.CreateImageVariationRequestResponseFormat? responseFormat = global::G.CreateImageVariationRequestResponseFormat.Url, + global::G.CreateImageVariationRequestSize? size = global::G.CreateImageVariationRequestSize.x1024x1024, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.g.verified.cs new file mode 100644 index 0000000000..26148e0832 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IImagesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IImagesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a prompt and/or an input image, the model will generate a new image.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IImagesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.DeleteInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.DeleteInvite.g.verified.cs new file mode 100644 index 0000000000..021725b667 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.DeleteInvite.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IInvitesClient.DeleteInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IInvitesClient + { + /// + /// Delete an invite. If the invite has already been accepted, it cannot be deleted. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteInviteAsync( + string inviteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.InviteUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.InviteUser.g.verified.cs new file mode 100644 index 0000000000..fb586dabaa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.InviteUser.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IInvitesClient.InviteUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IInvitesClient + { + /// + /// Create an invite for a user to the organization. The invite must be accepted by the user before they have access to the organization. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InviteUserAsync( + global::G.InviteRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an invite for a user to the organization. The invite must be accepted by the user before they have access to the organization. + /// + /// + /// Send an email to this address + /// + /// + /// `owner` or `reader` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InviteUserAsync( + string email, + global::G.InviteRequestRole role, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.ListInvites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.ListInvites.g.verified.cs new file mode 100644 index 0000000000..2fb56d28f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.ListInvites.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IInvitesClient.ListInvites.g.cs +#nullable enable + +namespace G +{ + public partial interface IInvitesClient + { + /// + /// Returns a list of invites in the organization. + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListInvitesAsync( + int limit = 20, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.RetrieveInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.RetrieveInvite.g.verified.cs new file mode 100644 index 0000000000..072cab7e58 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.RetrieveInvite.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IInvitesClient.RetrieveInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IInvitesClient + { + /// + /// Retrieves an invite. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveInviteAsync( + string inviteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.g.verified.cs new file mode 100644 index 0000000000..419ca14baa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IInvitesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IInvitesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IInvitesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.DeleteModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.DeleteModel.g.verified.cs new file mode 100644 index 0000000000..4cee72786c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.DeleteModel.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IModelsClient.DeleteModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Delete a fine-tuned model. You must have the Owner role in your organization to delete a model. + /// + /// + /// Example: ft:gpt-4o-mini:acemeco:suffix:abc123 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelAsync( + string model, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs new file mode 100644 index 0000000000..5134646aea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.ListModels.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IModelsClient.ListModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Lists the currently available models, and provides basic information about each one such as the owner and availability. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.RetrieveModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.RetrieveModel.g.verified.cs new file mode 100644 index 0000000000..168548a3d3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.RetrieveModel.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IModelsClient.RetrieveModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Retrieves a model instance, providing basic information about the model such as the owner and permissioning. + /// + /// + /// Example: gpt-4o-mini + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveModelAsync( + string model, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.g.verified.cs new file mode 100644 index 0000000000..6cc27d86c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModelsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// List and describe the various models available in the API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModerationsClient.CreateModeration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModerationsClient.CreateModeration.g.verified.cs new file mode 100644 index 0000000000..1688726016 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModerationsClient.CreateModeration.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IModerationsClient.CreateModeration.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationsClient + { + /// + /// Classifies if text is potentially harmful. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModerationAsync( + global::G.CreateModerationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Classifies if text is potentially harmful. + /// + /// + /// The input text to classify + /// + /// + /// Two content moderations models are available: `text-moderation-stable` and `text-moderation-latest`.
+ /// The default is `text-moderation-latest` which will be automatically upgraded over time. This ensures you are always using our most accurate model. If you use `text-moderation-stable`, we will provide advanced notice before updating the model. Accuracy of `text-moderation-stable` may be slightly lower than for `text-moderation-latest`.
+ /// Default Value: text-moderation-latest
+ /// Example: text-moderation-stable + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModerationAsync( + global::G.OneOf> input, + global::G.AnyOf? model = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModerationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModerationsClient.g.verified.cs new file mode 100644 index 0000000000..2e634bd082 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IModerationsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IModerationsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a input text, outputs if the model classifies it as potentially harmful.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModerationsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IOpenAiClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IOpenAiClient.g.verified.cs new file mode 100644 index 0000000000..bf1b5b137f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IOpenAiClient.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.IOpenAiClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IOpenAiClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// Build Assistants that can call models and use tools. + /// + public AssistantsClient Assistants { get; } + + /// + /// Turn audio into text or text into audio. + /// + public AudioClient Audio { get; } + + /// + /// Given a list of messages comprising a conversation, the model will return a response. + /// + public ChatClient Chat { get; } + + /// + /// Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. + /// + public CompletionsClient Completions { get; } + + /// + /// Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. + /// + public EmbeddingsClient Embeddings { get; } + + /// + /// Manage fine-tuning jobs to tailor a model to your specific training data. + /// + public FineTuningClient FineTuning { get; } + + /// + /// Create large batches of API requests to run asynchronously. + /// + public BatchClient Batch { get; } + + /// + /// Files are used to upload documents that can be used with features like Assistants and Fine-tuning. + /// + public FilesClient Files { get; } + + /// + /// Use Uploads to upload large files in multiple parts. + /// + public UploadsClient Uploads { get; } + + /// + /// Given a prompt and/or an input image, the model will generate a new image. + /// + public ImagesClient Images { get; } + + /// + /// List and describe the various models available in the API. + /// + public ModelsClient Models { get; } + + /// + /// Given a input text, outputs if the model classifies it as potentially harmful. + /// + public ModerationsClient Moderations { get; } + + /// + /// List user actions and configuration changes within this organization. + /// + public AuditLogsClient AuditLogs { get; } + + /// + /// + /// + public VectorStoresClient VectorStores { get; } + + /// + /// + /// + public InvitesClient Invites { get; } + + /// + /// + /// + public UsersClient Users { get; } + + /// + /// + /// + public ProjectsClient Projects { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ArchiveProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ArchiveProject.g.verified.cs new file mode 100644 index 0000000000..787dccea1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ArchiveProject.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IProjectsClient.ArchiveProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Archives a project in the organization. Archived projects cannot be used or updated. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ArchiveProjectAsync( + string projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProject.g.verified.cs new file mode 100644 index 0000000000..48deed941c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProject.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IProjectsClient.CreateProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create a new project in the organization. Projects can be created and archived, but cannot be deleted. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectAsync( + global::G.ProjectCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a new project in the organization. Projects can be created and archived, but cannot be deleted. + /// + /// + /// The friendly name of the project, this name appears in reports. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProjectServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProjectServiceAccount.g.verified.cs new file mode 100644 index 0000000000..10de60aa7f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProjectServiceAccount.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IProjectsClient.CreateProjectServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Creates a new service account in the project. This also returns an unredacted API key for the service account. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectServiceAccountAsync( + string projectId, + global::G.ProjectServiceAccountCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a new service account in the project. This also returns an unredacted API key for the service account. + /// + /// + /// + /// The name of the service account being created. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectServiceAccountAsync( + string projectId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProjectUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProjectUser.g.verified.cs new file mode 100644 index 0000000000..515e7f2610 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.CreateProjectUser.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IProjectsClient.CreateProjectUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Adds a user to the project. Users must already be members of the organization to be added to a project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectUserAsync( + string projectId, + global::G.ProjectUserCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds a user to the project. Users must already be members of the organization to be added to a project. + /// + /// + /// + /// The ID of the user. + /// + /// + /// `owner` or `member` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectUserAsync( + string projectId, + string userId, + global::G.ProjectUserCreateRequestRole role, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectApiKey.g.verified.cs new file mode 100644 index 0000000000..e71a692145 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectApiKey.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.DeleteProjectApiKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Deletes an API key from the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteProjectApiKeyAsync( + string projectId, + string keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectServiceAccount.g.verified.cs new file mode 100644 index 0000000000..fe68ad4e12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectServiceAccount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.DeleteProjectServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Deletes a service account from the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteProjectServiceAccountAsync( + string projectId, + string serviceAccountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectUser.g.verified.cs new file mode 100644 index 0000000000..8e36b691c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.DeleteProjectUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.DeleteProjectUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Deletes a user from the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteProjectUserAsync( + string projectId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectApiKeys.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectApiKeys.g.verified.cs new file mode 100644 index 0000000000..ee481b61e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectApiKeys.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectsClient.ListProjectApiKeys.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Returns a list of API keys in the project. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListProjectApiKeysAsync( + string projectId, + int limit = 20, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectServiceAccounts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectServiceAccounts.g.verified.cs new file mode 100644 index 0000000000..386c0ecb51 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectServiceAccounts.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectsClient.ListProjectServiceAccounts.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Returns a list of service accounts in the project. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListProjectServiceAccountsAsync( + string projectId, + int limit = 20, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectUsers.g.verified.cs new file mode 100644 index 0000000000..16871756c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjectUsers.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectsClient.ListProjectUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Returns a list of users in the project. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListProjectUsersAsync( + string projectId, + int limit = 20, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjects.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjects.g.verified.cs new file mode 100644 index 0000000000..2ad443d997 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ListProjects.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IProjectsClient.ListProjects.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Returns a list of projects. + /// + /// + /// Default Value: 20 + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListProjectsAsync( + int limit = 20, + string? after = default, + bool includeArchived = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ModifyProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ModifyProject.g.verified.cs new file mode 100644 index 0000000000..00cee74d70 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ModifyProject.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IProjectsClient.ModifyProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Modifies a project in the organization. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectAsync( + global::G.ProjectUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a project in the organization. + /// + /// + /// The updated name of the project, this name appears in reports. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ModifyProjectUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ModifyProjectUser.g.verified.cs new file mode 100644 index 0000000000..8ec4c323b8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.ModifyProjectUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IProjectsClient.ModifyProjectUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Modifies a user's role in the project. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectUserAsync( + global::G.ProjectUserUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a user's role in the project. + /// + /// + /// `owner` or `member` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectUserAsync( + global::G.ProjectUserUpdateRequestRole role, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProject.g.verified.cs new file mode 100644 index 0000000000..1e826f0154 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProject.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IProjectsClient.RetrieveProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Retrieves a project. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveProjectAsync( + string projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectApiKey.g.verified.cs new file mode 100644 index 0000000000..3123af9b75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectApiKey.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.RetrieveProjectApiKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Retrieves an API key in the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveProjectApiKeyAsync( + string projectId, + string keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectServiceAccount.g.verified.cs new file mode 100644 index 0000000000..76c9d19302 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectServiceAccount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.RetrieveProjectServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Retrieves a service account in the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveProjectServiceAccountAsync( + string projectId, + string serviceAccountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectUser.g.verified.cs new file mode 100644 index 0000000000..ea244373ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.RetrieveProjectUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.RetrieveProjectUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Retrieves a user in the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveProjectUserAsync( + string projectId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.g.verified.cs new file mode 100644 index 0000000000..ddc127d394 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IProjectsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IProjectsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IProjectsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.AddUploadPart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.AddUploadPart.g.verified.cs new file mode 100644 index 0000000000..0349e5bc20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.AddUploadPart.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IUploadsClient.AddUploadPart.g.cs +#nullable enable + +namespace G +{ + public partial interface IUploadsClient + { + /// + /// Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload.
+ /// Each Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.
+ /// It is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete). + ///
+ /// + /// Example: upload_abc123 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddUploadPartAsync( + string uploadId, + global::G.AddUploadPartRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload.
+ /// Each Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.
+ /// It is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete). + ///
+ /// + /// Example: upload_abc123 + /// + /// + /// The chunk of bytes for this Part. + /// + /// + /// The chunk of bytes for this Part. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddUploadPartAsync( + string uploadId, + byte[] data, + string dataname, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CancelUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CancelUpload.g.verified.cs new file mode 100644 index 0000000000..72af0f38ea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CancelUpload.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUploadsClient.CancelUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface IUploadsClient + { + /// + /// Cancels the Upload. No Parts may be added after an Upload is cancelled. + /// + /// + /// Example: upload_abc123 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelUploadAsync( + string uploadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CompleteUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CompleteUpload.g.verified.cs new file mode 100644 index 0000000000..6405b78aa9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CompleteUpload.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IUploadsClient.CompleteUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface IUploadsClient + { + /// + /// Completes the [Upload](/docs/api-reference/uploads/object).
+ /// Within the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.
+ /// You can specify the order of the Parts by passing in an ordered list of the Part IDs.
+ /// The number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed. + ///
+ /// + /// Example: upload_abc123 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CompleteUploadAsync( + string uploadId, + global::G.CompleteUploadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Completes the [Upload](/docs/api-reference/uploads/object).
+ /// Within the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.
+ /// You can specify the order of the Parts by passing in an ordered list of the Part IDs.
+ /// The number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed. + ///
+ /// + /// Example: upload_abc123 + /// + /// + /// The ordered list of Part IDs. + /// + /// + /// The optional md5 checksum for the file contents to verify if the bytes uploaded matches what you expect. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CompleteUploadAsync( + string uploadId, + global::System.Collections.Generic.IList partIds, + string? md5 = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CreateUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CreateUpload.g.verified.cs new file mode 100644 index 0000000000..bdfb966015 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.CreateUpload.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IUploadsClient.CreateUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface IUploadsClient + { + /// + /// Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.
+ /// Once you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.
+ /// For certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:
+ /// - [Assistants](/docs/assistants/tools/file-search/supported-files)
+ /// For guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateUploadAsync( + global::G.CreateUploadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.
+ /// Once you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.
+ /// For certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:
+ /// - [Assistants](/docs/assistants/tools/file-search/supported-files)
+ /// For guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create). + ///
+ /// + /// The name of the file to upload. + /// + /// + /// The intended purpose of the uploaded file.
+ /// See the [documentation on File purposes](/docs/api-reference/files/create#files-create-purpose). + /// + /// + /// The number of bytes in the file you are uploading. + /// + /// + /// The MIME type of the file.
+ /// This must fall within the supported MIME types for your file purpose. See the supported MIME types for assistants and vision. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateUploadAsync( + string filename, + global::G.CreateUploadRequestPurpose purpose, + int bytes, + string mimeType, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.g.verified.cs new file mode 100644 index 0000000000..1ffbf9b642 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUploadsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUploadsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Use Uploads to upload large files in multiple parts.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUploadsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.DeleteUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.DeleteUser.g.verified.cs new file mode 100644 index 0000000000..174573a38e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.DeleteUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUsersClient.DeleteUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Deletes a user from the organization. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteUserAsync( + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.ListUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.ListUsers.g.verified.cs new file mode 100644 index 0000000000..b9ccc2c216 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.ListUsers.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUsersClient.ListUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Lists all of the users in the organization. + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListUsersAsync( + int limit = 20, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.ModifyUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.ModifyUser.g.verified.cs new file mode 100644 index 0000000000..22e90552da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.ModifyUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IUsersClient.ModifyUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Modifies a user's role in the organization. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyUserAsync( + global::G.UserRoleUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a user's role in the organization. + /// + /// + /// `owner` or `reader` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyUserAsync( + global::G.UserRoleUpdateRequestRole role, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.RetrieveUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.RetrieveUser.g.verified.cs new file mode 100644 index 0000000000..e742e5fe18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.RetrieveUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUsersClient.RetrieveUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Retrieves a user by their identifier. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveUserAsync( + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.g.verified.cs new file mode 100644 index 0000000000..3fcc858c8d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IUsersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsersClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs new file mode 100644 index 0000000000..8df8f50a8e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IVectorStoresClient.CancelVectorStoreFileBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelVectorStoreFileBatchAsync( + string vectorStoreId, + string batchId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStore.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStore.g.verified.cs new file mode 100644 index 0000000000..c05bb9b479 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStore.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IVectorStoresClient.CreateVectorStore.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Create a vector store. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreAsync( + global::G.CreateVectorStoreRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a vector store. + /// + /// + /// A list of [File](/docs/api-reference/files) IDs that the vector store should use. Useful for tools like `file_search` that can access files. + /// + /// + /// The name of the vector store. + /// + /// + /// The expiration policy for a vector store. + /// + /// + /// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. Only applicable if `file_ids` is non-empty. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreAsync( + global::System.Collections.Generic.IList? fileIds = default, + string? name = default, + global::G.VectorStoreExpirationAfter? expiresAfter = default, + global::G.OneOf? chunkingStrategy = default, + global::G.CreateVectorStoreRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStoreFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStoreFile.g.verified.cs new file mode 100644 index 0000000000..62977728bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStoreFile.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IVectorStoresClient.CreateVectorStoreFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object). + /// + /// + /// Example: vs_abc123 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreFileAsync( + string vectorStoreId, + global::G.CreateVectorStoreFileRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object). + /// + /// + /// Example: vs_abc123 + /// + /// + /// A [File](/docs/api-reference/files) ID that the vector store should use. Useful for tools like `file_search` that can access files. + /// + /// + /// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreFileAsync( + string vectorStoreId, + string fileId, + global::G.ChunkingStrategyRequestParam? chunkingStrategy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs new file mode 100644 index 0000000000..25816b8f1c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IVectorStoresClient.CreateVectorStoreFileBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Create a vector store file batch. + /// + /// + /// Example: vs_abc123 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreFileBatchAsync( + string vectorStoreId, + global::G.CreateVectorStoreFileBatchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a vector store file batch. + /// + /// + /// Example: vs_abc123 + /// + /// + /// A list of [File](/docs/api-reference/files) IDs that the vector store should use. Useful for tools like `file_search` that can access files. + /// + /// + /// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreFileBatchAsync( + string vectorStoreId, + global::System.Collections.Generic.IList fileIds, + global::G.ChunkingStrategyRequestParam? chunkingStrategy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.DeleteVectorStore.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.DeleteVectorStore.g.verified.cs new file mode 100644 index 0000000000..0532d51fbb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.DeleteVectorStore.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IVectorStoresClient.DeleteVectorStore.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Delete a vector store. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteVectorStoreAsync( + string vectorStoreId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.DeleteVectorStoreFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.DeleteVectorStoreFile.g.verified.cs new file mode 100644 index 0000000000..de77b66659 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.DeleteVectorStoreFile.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IVectorStoresClient.DeleteVectorStoreFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteVectorStoreFileAsync( + string vectorStoreId, + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStore.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStore.g.verified.cs new file mode 100644 index 0000000000..6abfe225cd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStore.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IVectorStoresClient.GetVectorStore.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Retrieves a vector store. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVectorStoreAsync( + string vectorStoreId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStoreFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStoreFile.g.verified.cs new file mode 100644 index 0000000000..455d51c6cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStoreFile.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IVectorStoresClient.GetVectorStoreFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Retrieves a vector store file. + /// + /// + /// Example: vs_abc123 + /// + /// + /// Example: file-abc123 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVectorStoreFileAsync( + string vectorStoreId, + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStoreFileBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStoreFileBatch.g.verified.cs new file mode 100644 index 0000000000..d38386889e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.GetVectorStoreFileBatch.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IVectorStoresClient.GetVectorStoreFileBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Retrieves a vector store file batch. + /// + /// + /// Example: vs_abc123 + /// + /// + /// Example: vsfb_abc123 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVectorStoreFileBatchAsync( + string vectorStoreId, + string batchId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs new file mode 100644 index 0000000000..b0a49f8c38 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IVectorStoresClient.ListFilesInVectorStoreBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Returns a list of vector store files in a batch. + /// + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListFilesInVectorStoreBatchAsync( + string vectorStoreId, + string batchId, + int limit = 20, + global::G.ListFilesInVectorStoreBatchOrder? order = global::G.ListFilesInVectorStoreBatchOrder.Desc, + string? after = default, + string? before = default, + global::G.ListFilesInVectorStoreBatchFilter? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListVectorStoreFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListVectorStoreFiles.g.verified.cs new file mode 100644 index 0000000000..0dad4bf2d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListVectorStoreFiles.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IVectorStoresClient.ListVectorStoreFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Returns a list of vector store files. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListVectorStoreFilesAsync( + string vectorStoreId, + int limit = 20, + global::G.ListVectorStoreFilesOrder? order = global::G.ListVectorStoreFilesOrder.Desc, + string? after = default, + string? before = default, + global::G.ListVectorStoreFilesFilter? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListVectorStores.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListVectorStores.g.verified.cs new file mode 100644 index 0000000000..62f5a850d8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ListVectorStores.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IVectorStoresClient.ListVectorStores.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Returns a list of vector stores. + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListVectorStoresAsync( + int limit = 20, + global::G.ListVectorStoresOrder? order = global::G.ListVectorStoresOrder.Desc, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ModifyVectorStore.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ModifyVectorStore.g.verified.cs new file mode 100644 index 0000000000..af881e5069 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.ModifyVectorStore.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IVectorStoresClient.ModifyVectorStore.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Modifies a vector store. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyVectorStoreAsync( + string vectorStoreId, + global::G.UpdateVectorStoreRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a vector store. + /// + /// + /// + /// The name of the vector store. + /// + /// + /// The expiration policy for a vector store. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyVectorStoreAsync( + string vectorStoreId, + string? name = default, + global::G.VectorStoreExpirationAfter? expiresAfter = default, + global::G.UpdateVectorStoreRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.g.verified.cs new file mode 100644 index 0000000000..ca6889bea2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.IVectorStoresClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IVectorStoresClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IVectorStoresClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.g.verified.cs index 5871ea34a3..b17cc48194 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ImagesClient : global::System.IDisposable + public sealed partial class ImagesClient : global::G.IImagesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.InvitesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.InvitesClient.g.verified.cs index 44b3ebd036..0536cb3823 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.InvitesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.InvitesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class InvitesClient : global::System.IDisposable + public sealed partial class InvitesClient : global::G.IInvitesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.g.verified.cs index dc630c38ca..67cec7b770 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelsClient : global::System.IDisposable + public sealed partial class ModelsClient : global::G.IModelsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModerationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModerationsClient.g.verified.cs index 041ca8ccf8..445b51d685 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModerationsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModerationsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModerationsClient : global::System.IDisposable + public sealed partial class ModerationsClient : global::G.IModerationsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.OpenAiClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.OpenAiClient.g.verified.cs index 0ae0ffdbad..b5753d0d69 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.OpenAiClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.OpenAiClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class OpenAiClient : global::System.IDisposable + public sealed partial class OpenAiClient : global::G.IOpenAiClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ProjectsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ProjectsClient.g.verified.cs index 47353e101c..783ab06922 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ProjectsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ProjectsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ProjectsClient : global::System.IDisposable + public sealed partial class ProjectsClient : global::G.IProjectsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.UploadsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.UploadsClient.g.verified.cs index cca3196871..583db57383 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.UploadsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.UploadsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UploadsClient : global::System.IDisposable + public sealed partial class UploadsClient : global::G.IUploadsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.UsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.UsersClient.g.verified.cs index 5bbae13213..27507193c4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.UsersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.UsersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsersClient : global::System.IDisposable + public sealed partial class UsersClient : global::G.IUsersClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.g.verified.cs index e85043bc42..753d923bdb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class VectorStoresClient : global::System.IDisposable + public sealed partial class VectorStoresClient : global::G.IVectorStoresClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.g.verified.cs index 3469ccced2..f7abeb859c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AssistantsClient : global::System.IDisposable + public sealed partial class AssistantsClient : global::G.IAssistantsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.g.verified.cs index d0c4a27f00..ac6dbae509 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AudioClient : global::System.IDisposable + public sealed partial class AudioClient : global::G.IAudioClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AuditLogsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AuditLogsClient.g.verified.cs index 718c3adefb..f4d994e2d6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AuditLogsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AuditLogsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AuditLogsClient : global::System.IDisposable + public sealed partial class AuditLogsClient : global::G.IAuditLogsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.g.verified.cs index 964183c5c8..963d4d0527 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class BatchClient : global::System.IDisposable + public sealed partial class BatchClient : global::G.IBatchClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ChatClient.g.verified.cs index e3e28566f0..284ff529d6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ChatClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.CompletionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.CompletionsClient.g.verified.cs index f967ce66eb..4c218072f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.CompletionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.CompletionsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CompletionsClient : global::System.IDisposable + public sealed partial class CompletionsClient : global::G.ICompletionsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs index 0c8b87adf9..0c39ee26dd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EmbeddingsClient : global::System.IDisposable + public sealed partial class EmbeddingsClient : global::G.IEmbeddingsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.g.verified.cs index 5e0bf3752c..95fbdf2dc1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FilesClient : global::System.IDisposable + public sealed partial class FilesClient : global::G.IFilesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.g.verified.cs index 8e3b1d0ebb..91f21f5a50 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FineTuningClient : global::System.IDisposable + public sealed partial class FineTuningClient : global::G.IFineTuningClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CancelRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CancelRun.g.verified.cs new file mode 100644 index 0000000000..15c19fbbaf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CancelRun.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAssistantsClient.CancelRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Cancels a run that is `in_progress`. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelRunAsync( + string threadId, + string runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateAssistant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateAssistant.g.verified.cs new file mode 100644 index 0000000000..659981859f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateAssistant.g.verified.cs @@ -0,0 +1,74 @@ +//HintName: G.IAssistantsClient.CreateAssistant.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Create an assistant with a model and instructions. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAssistantAsync( + global::G.CreateAssistantRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an assistant with a model and instructions. + /// + /// + /// ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models/overview) for descriptions of them.
+ /// Example: gpt-4o + /// + /// + /// The name of the assistant. The maximum length is 256 characters. + /// + /// + /// The description of the assistant. The maximum length is 512 characters. + /// + /// + /// The system instructions that the assistant uses. The maximum length is 256,000 characters. + /// + /// + /// A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`. + /// + /// + /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models/gpt-4o), [GPT-4 Turbo](/docs/models/gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
+ /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which guarantees the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
+ /// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
+ /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAssistantAsync( + global::G.AnyOf model, + string? name = default, + string? description = default, + string? instructions = default, + global::System.Collections.Generic.IList>? tools = default, + global::G.CreateAssistantRequestToolResources? toolResources = default, + global::G.CreateAssistantRequestMetadata? metadata = default, + double? temperature = 1, + double? topP = 1, + global::G.AssistantsApiResponseFormatOption? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateMessage.g.verified.cs new file mode 100644 index 0000000000..74e688882e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateMessage.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IAssistantsClient.CreateMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Create a message. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateMessageAsync( + string threadId, + global::G.CreateMessageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a message. + /// + /// + /// + /// The role of the entity that is creating the message. Allowed values include:
+ /// - `user`: Indicates the message is sent by an actual user and should be used in most cases to represent user-generated messages.
+ /// - `assistant`: Indicates the message is generated by the assistant. Use this value to insert messages from the assistant into the conversation. + /// + /// + /// + /// A list of files attached to the message, and the tools they should be added to. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateMessageAsync( + string threadId, + global::G.CreateMessageRequestRole role, + global::G.OneOf>> content, + global::System.Collections.Generic.IList? attachments = default, + global::G.CreateMessageRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateRun.g.verified.cs new file mode 100644 index 0000000000..76a63c1882 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateRun.g.verified.cs @@ -0,0 +1,106 @@ +//HintName: G.IAssistantsClient.CreateRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Create a run. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRunAsync( + string threadId, + global::G.CreateRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a run. + /// + /// + /// + /// The ID of the [assistant](/docs/api-reference/assistants) to use to execute this run. + /// + /// + /// The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.
+ /// Example: gpt-4o + /// + /// + /// Overrides the [instructions](/docs/api-reference/assistants/createAssistant) of the assistant. This is useful for modifying the behavior on a per-run basis. + /// + /// + /// Appends additional instructions at the end of the instructions for the run. This is useful for modifying the behavior on a per-run basis without overriding other instructions. + /// + /// + /// Adds additional messages to the thread before creating the run. + /// + /// + /// Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message. + /// + /// + /// The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only the number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. + /// + /// + /// The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. + /// + /// + /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. + /// + /// + /// Controls which (if any) tool is called by the model.
+ /// `none` means the model will not call any tools and instead generates a message.
+ /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
+ /// `required` means the model must call one or more tools before responding to the user.
+ /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. + /// + /// + /// Whether to enable [parallel function calling](/docs/guides/function-calling/parallel-function-calling) during tool use. + /// + /// + /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models/gpt-4o), [GPT-4 Turbo](/docs/models/gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
+ /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which guarantees the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
+ /// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
+ /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateRunAsync( + string threadId, + string assistantId, + global::G.AnyOf? model = default, + string? instructions = default, + string? additionalInstructions = default, + global::System.Collections.Generic.IList? additionalMessages = default, + global::System.Collections.Generic.IList>? tools = default, + global::G.CreateRunRequestMetadata? metadata = default, + double? temperature = 1, + double? topP = 1, + bool? stream = default, + int? maxPromptTokens = default, + int? maxCompletionTokens = default, + global::G.TruncationObject? truncationStrategy = default, + global::G.AssistantsApiToolChoiceOption? toolChoice = default, + bool? parallelToolCalls = default, + global::G.AssistantsApiResponseFormatOption? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateThread.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateThread.g.verified.cs new file mode 100644 index 0000000000..a62f9be15a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateThread.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAssistantsClient.CreateThread.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Create a thread. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateThreadAsync( + global::G.CreateThreadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a thread. + /// + /// + /// A list of [messages](/docs/api-reference/messages) to start the thread with. + /// + /// + /// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateThreadAsync( + global::System.Collections.Generic.IList? messages = default, + global::G.CreateThreadRequestToolResources? toolResources = default, + global::G.CreateThreadRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateThreadAndRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateThreadAndRun.g.verified.cs new file mode 100644 index 0000000000..01b84e55ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.CreateThreadAndRun.g.verified.cs @@ -0,0 +1,100 @@ +//HintName: G.IAssistantsClient.CreateThreadAndRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Create a thread and run it in one request. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateThreadAndRunAsync( + global::G.CreateThreadAndRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a thread and run it in one request. + /// + /// + /// The ID of the [assistant](/docs/api-reference/assistants) to use to execute this run. + /// + /// + /// + /// The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.
+ /// Example: gpt-4o + /// + /// + /// Override the default system message of the assistant. This is useful for modifying the behavior on a per-run basis. + /// + /// + /// Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis. + /// + /// + /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message. + /// + /// + /// The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only the number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. + /// + /// + /// The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. + /// + /// + /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. + /// + /// + /// Controls which (if any) tool is called by the model.
+ /// `none` means the model will not call any tools and instead generates a message.
+ /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
+ /// `required` means the model must call one or more tools before responding to the user.
+ /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. + /// + /// + /// Whether to enable [parallel function calling](/docs/guides/function-calling/parallel-function-calling) during tool use. + /// + /// + /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models/gpt-4o), [GPT-4 Turbo](/docs/models/gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
+ /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which guarantees the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
+ /// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
+ /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateThreadAndRunAsync( + string assistantId, + global::G.CreateThreadRequest? thread = default, + global::G.AnyOf? model = default, + string? instructions = default, + global::System.Collections.Generic.IList>? tools = default, + global::G.CreateThreadAndRunRequestToolResources? toolResources = default, + global::G.CreateThreadAndRunRequestMetadata? metadata = default, + double? temperature = 1, + double? topP = 1, + bool? stream = default, + int? maxPromptTokens = default, + int? maxCompletionTokens = default, + global::G.TruncationObject? truncationStrategy = default, + global::G.AssistantsApiToolChoiceOption? toolChoice = default, + bool? parallelToolCalls = default, + global::G.AssistantsApiResponseFormatOption? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteAssistant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteAssistant.g.verified.cs new file mode 100644 index 0000000000..a912537f2e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteAssistant.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAssistantsClient.DeleteAssistant.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Delete an assistant. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteAssistantAsync( + string assistantId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteMessage.g.verified.cs new file mode 100644 index 0000000000..ba0a5ca090 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteMessage.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAssistantsClient.DeleteMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Deletes a message. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteMessageAsync( + string threadId, + string messageId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteThread.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteThread.g.verified.cs new file mode 100644 index 0000000000..c0513fb8f0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.DeleteThread.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAssistantsClient.DeleteThread.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Delete a thread. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteThreadAsync( + string threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetAssistant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetAssistant.g.verified.cs new file mode 100644 index 0000000000..92b969d4aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetAssistant.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAssistantsClient.GetAssistant.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Retrieves an assistant. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAssistantAsync( + string assistantId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetMessage.g.verified.cs new file mode 100644 index 0000000000..5670c43730 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetMessage.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAssistantsClient.GetMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Retrieve a message. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetMessageAsync( + string threadId, + string messageId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetRun.g.verified.cs new file mode 100644 index 0000000000..ecf61a2fc9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetRun.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAssistantsClient.GetRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Retrieves a run. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRunAsync( + string threadId, + string runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetRunStep.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetRunStep.g.verified.cs new file mode 100644 index 0000000000..b52b784627 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetRunStep.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IAssistantsClient.GetRunStep.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Retrieves a run step. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetRunStepAsync( + string threadId, + string runId, + string stepId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetThread.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetThread.g.verified.cs new file mode 100644 index 0000000000..2826e5fd63 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.GetThread.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAssistantsClient.GetThread.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Retrieves a thread. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetThreadAsync( + string threadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListAssistants.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListAssistants.g.verified.cs new file mode 100644 index 0000000000..c6418030ff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListAssistants.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IAssistantsClient.ListAssistants.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Returns a list of assistants. + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListAssistantsAsync( + int limit = 20, + global::G.ListAssistantsOrder? order = global::G.ListAssistantsOrder.Desc, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListMessages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListMessages.g.verified.cs new file mode 100644 index 0000000000..8ca2dd2494 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListMessages.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAssistantsClient.ListMessages.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Returns a list of messages for a given thread. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListMessagesAsync( + string threadId, + int limit = 20, + global::G.ListMessagesOrder? order = global::G.ListMessagesOrder.Desc, + string? after = default, + string? before = default, + string? runId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListRunSteps.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListRunSteps.g.verified.cs new file mode 100644 index 0000000000..1955fc1a6c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListRunSteps.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAssistantsClient.ListRunSteps.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Returns a list of run steps belonging to a run. + /// + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListRunStepsAsync( + string threadId, + string runId, + int limit = 20, + global::G.ListRunStepsOrder? order = global::G.ListRunStepsOrder.Desc, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListRuns.g.verified.cs new file mode 100644 index 0000000000..1bc80e1b0a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ListRuns.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAssistantsClient.ListRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Returns a list of runs belonging to a thread. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListRunsAsync( + string threadId, + int limit = 20, + global::G.ListRunsOrder? order = global::G.ListRunsOrder.Desc, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyAssistant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyAssistant.g.verified.cs new file mode 100644 index 0000000000..20b6d2a97d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyAssistant.g.verified.cs @@ -0,0 +1,77 @@ +//HintName: G.IAssistantsClient.ModifyAssistant.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Modifies an assistant. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyAssistantAsync( + string assistantId, + global::G.ModifyAssistantRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies an assistant. + /// + /// + /// + /// ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models/overview) for descriptions of them. + /// + /// + /// The name of the assistant. The maximum length is 256 characters. + /// + /// + /// The description of the assistant. The maximum length is 512 characters. + /// + /// + /// The system instructions that the assistant uses. The maximum length is 256,000 characters. + /// + /// + /// A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`. + /// + /// + /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// empty
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models/gpt-4o), [GPT-4 Turbo](/docs/models/gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
+ /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which guarantees the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
+ /// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
+ /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyAssistantAsync( + string assistantId, + global::G.AnyOf? model = default, + string? name = default, + string? description = default, + string? instructions = default, + global::System.Collections.Generic.IList>? tools = default, + global::G.ModifyAssistantRequestToolResources? toolResources = default, + global::G.ModifyAssistantRequestMetadata? metadata = default, + double? temperature = 1, + double? topP = 1, + global::G.AssistantsApiResponseFormatOption? responseFormat = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyMessage.g.verified.cs new file mode 100644 index 0000000000..7f56a519b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyMessage.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAssistantsClient.ModifyMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Modifies a message. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyMessageAsync( + string threadId, + string messageId, + global::G.ModifyMessageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a message. + /// + /// + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyMessageAsync( + string threadId, + string messageId, + global::G.ModifyMessageRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyRun.g.verified.cs new file mode 100644 index 0000000000..1b9e03dbf7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyRun.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAssistantsClient.ModifyRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Modifies a run. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyRunAsync( + string threadId, + string runId, + global::G.ModifyRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a run. + /// + /// + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyRunAsync( + string threadId, + string runId, + global::G.ModifyRunRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyThread.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyThread.g.verified.cs new file mode 100644 index 0000000000..f1a6962575 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.ModifyThread.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IAssistantsClient.ModifyThread.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// Modifies a thread. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyThreadAsync( + string threadId, + global::G.ModifyThreadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a thread. + /// + /// + /// + /// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyThreadAsync( + string threadId, + global::G.ModifyThreadRequestToolResources? toolResources = default, + global::G.ModifyThreadRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.SubmitToolOuputsToRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.SubmitToolOuputsToRun.g.verified.cs new file mode 100644 index 0000000000..4b25fd6ebe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.SubmitToolOuputsToRun.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IAssistantsClient.SubmitToolOuputsToRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssistantsClient + { + /// + /// When a run has the `status: "requires_action"` and `required_action.type` is `submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs must be submitted in a single request. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SubmitToolOuputsToRunAsync( + string threadId, + string runId, + global::G.SubmitToolOutputsRunRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// When a run has the `status: "requires_action"` and `required_action.type` is `submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs must be submitted in a single request. + /// + /// + /// + /// + /// A list of tools for which the outputs are being submitted. + /// + /// + /// If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SubmitToolOuputsToRunAsync( + string threadId, + string runId, + global::System.Collections.Generic.IList toolOutputs, + bool? stream = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.g.verified.cs new file mode 100644 index 0000000000..ad1751b71a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAssistantsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAssistantsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Build Assistants that can call models and use tools.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAssistantsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateSpeech.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateSpeech.g.verified.cs new file mode 100644 index 0000000000..eba68f3996 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateSpeech.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IAudioClient.CreateSpeech.g.cs +#nullable enable + +namespace G +{ + public partial interface IAudioClient + { + /// + /// Generates audio from the input text. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSpeechAsync( + global::G.CreateSpeechRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Generates audio from the input text. + /// + /// + /// One of the available [TTS models](/docs/models/tts): `tts-1` or `tts-1-hd` + /// + /// + /// The text to generate audio for. The maximum length is 4096 characters. + /// + /// + /// The voice to use when generating the audio. Supported voices are `alloy`, `echo`, `fable`, `onyx`, `nova`, and `shimmer`. Previews of the voices are available in the [Text to speech guide](/docs/guides/text-to-speech/voice-options). + /// + /// + /// The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`, `wav`, and `pcm`.
+ /// Default Value: mp3 + /// + /// + /// The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default.
+ /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSpeechAsync( + global::G.AnyOf model, + string input, + global::G.CreateSpeechRequestVoice voice, + global::G.CreateSpeechRequestResponseFormat? responseFormat = global::G.CreateSpeechRequestResponseFormat.Mp3, + double speed = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateTranscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateTranscription.g.verified.cs new file mode 100644 index 0000000000..e1d4caebb2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateTranscription.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IAudioClient.CreateTranscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IAudioClient + { + /// + /// Transcribes audio into the input language. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateTranscriptionAsync( + global::G.CreateTranscriptionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Transcribes audio into the input language. + /// + /// + /// The audio file object (not file name) to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + /// + /// + /// The audio file object (not file name) to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + /// + /// + /// ID of the model to use. Only `whisper-1` (which is powered by our open source Whisper V2 model) is currently available.
+ /// Example: whisper-1 + /// + /// + /// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency. + /// + /// + /// An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language. + /// + /// + /// The format of the transcript output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.
+ /// Default Value: json + /// + /// + /// The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
+ /// Default Value: 0 + /// + /// + /// The timestamp granularities to populate for this transcription. `response_format` must be set `verbose_json` to use timestamp granularities. Either or both of these options are supported: `word`, or `segment`. Note: There is no additional latency for segment timestamps, but generating word timestamps incurs additional latency.
+ /// Default Value: [segment] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateTranscriptionAsync( + byte[] file, + string filename, + global::G.AnyOf model, + string? language = default, + string? prompt = default, + global::G.CreateTranscriptionRequestResponseFormat? responseFormat = global::G.CreateTranscriptionRequestResponseFormat.Json, + double temperature = 0, + global::System.Collections.Generic.IList? timestampGranularities = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateTranslation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateTranslation.g.verified.cs new file mode 100644 index 0000000000..906e17717c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.CreateTranslation.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IAudioClient.CreateTranslation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAudioClient + { + /// + /// Translates audio into English. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateTranslationAsync( + global::G.CreateTranslationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Translates audio into English. + /// + /// + /// The audio file object (not file name) translate, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + /// + /// + /// The audio file object (not file name) translate, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm. + /// + /// + /// ID of the model to use. Only `whisper-1` (which is powered by our open source Whisper V2 model) is currently available.
+ /// Example: whisper-1 + /// + /// + /// An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English. + /// + /// + /// The format of the transcript output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.
+ /// Default Value: json + /// + /// + /// The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.
+ /// Default Value: 0 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateTranslationAsync( + byte[] file, + string filename, + global::G.AnyOf model, + string? prompt = default, + string? responseFormat = "json", + double temperature = 0, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.g.verified.cs new file mode 100644 index 0000000000..517952437a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAudioClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAudioClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Turn audio into text or text into audio.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAudioClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAuditLogsClient.ListAuditLogs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAuditLogsClient.ListAuditLogs.g.verified.cs new file mode 100644 index 0000000000..87e0579f5a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAuditLogsClient.ListAuditLogs.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IAuditLogsClient.ListAuditLogs.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuditLogsClient + { + /// + /// List user actions and configuration changes within this organization. + /// + /// + /// + /// + /// + /// + /// + /// + /// Default Value: 20 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListAuditLogsAsync( + global::G.ListAuditLogsEffectiveAt? effectiveAt = default, + global::System.Collections.Generic.IList? projectIds = default, + global::System.Collections.Generic.IList? eventTypes = default, + global::System.Collections.Generic.IList? actorIds = default, + global::System.Collections.Generic.IList? actorEmails = default, + global::System.Collections.Generic.IList? resourceIds = default, + int limit = 20, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAuditLogsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAuditLogsClient.g.verified.cs new file mode 100644 index 0000000000..b0042b7a29 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IAuditLogsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IAuditLogsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// List user actions and configuration changes within this organization.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAuditLogsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.CancelBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.CancelBatch.g.verified.cs new file mode 100644 index 0000000000..2ba211db25 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.CancelBatch.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IBatchClient.CancelBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IBatchClient + { + /// + /// Cancels an in-progress batch. The batch will be in status `cancelling` for up to 10 minutes, before changing to `cancelled`, where it will have partial results (if any) available in the output file. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelBatchAsync( + string batchId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.CreateBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.CreateBatch.g.verified.cs new file mode 100644 index 0000000000..2da4e4cdf2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.CreateBatch.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IBatchClient.CreateBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IBatchClient + { + /// + /// Creates and executes a batch from an uploaded file of requests + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBatchAsync( + global::G.CreateBatchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates and executes a batch from an uploaded file of requests + /// + /// + /// The ID of an uploaded file that contains requests for the new batch.
+ /// See [upload file](/docs/api-reference/files/create) for how to upload a file.
+ /// Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 100 MB in size. + /// + /// + /// The endpoint to be used for all requests in the batch. Currently `/v1/chat/completions`, `/v1/embeddings`, and `/v1/completions` are supported. Note that `/v1/embeddings` batches are also restricted to a maximum of 50,000 embedding inputs across all requests in the batch. + /// + /// + /// The time frame within which the batch should be processed. Currently only `24h` is supported. + /// + /// + /// Optional custom metadata for the batch. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBatchAsync( + string inputFileId, + global::G.CreateBatchRequestEndpoint endpoint, + global::G.CreateBatchRequestCompletionWindow completionWindow = default, + global::G.CreateBatchRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.ListBatches.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.ListBatches.g.verified.cs new file mode 100644 index 0000000000..96cb0777d4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.ListBatches.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IBatchClient.ListBatches.g.cs +#nullable enable + +namespace G +{ + public partial interface IBatchClient + { + /// + /// List your organization's batches. + /// + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListBatchesAsync( + string? after = default, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.RetrieveBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.RetrieveBatch.g.verified.cs new file mode 100644 index 0000000000..ad27e37eb0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.RetrieveBatch.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IBatchClient.RetrieveBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IBatchClient + { + /// + /// Retrieves a batch. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveBatchAsync( + string batchId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.g.verified.cs new file mode 100644 index 0000000000..44d82cd989 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IBatchClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IBatchClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Create large batches of API requests to run asynchronously.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBatchClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IChatClient.CreateChatCompletion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IChatClient.CreateChatCompletion.g.verified.cs new file mode 100644 index 0000000000..6c44e79027 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IChatClient.CreateChatCompletion.g.verified.cs @@ -0,0 +1,142 @@ +//HintName: G.IChatClient.CreateChatCompletion.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Creates a model response for the given chat conversation. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChatCompletionAsync( + global::G.CreateChatCompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a model response for the given chat conversation. + /// + /// + /// A list of messages comprising the conversation so far. [Example Python code](https://cookbook.openai.com/examples/how_to_format_inputs_to_chatgpt_models). + /// + /// + /// ID of the model to use. See the [model endpoint compatibility](/docs/models/model-endpoint-compatibility) table for details on which models work with the Chat API.
+ /// Example: gpt-4o + /// + /// + /// Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
+ /// [See more information about frequency and presence penalties.](/docs/guides/text-generation/parameter-details)
+ /// Default Value: 0 + /// + /// + /// Modify the likelihood of specified tokens appearing in the completion.
+ /// Accepts a JSON object that maps tokens (specified by their token ID in the tokenizer) to an associated bias value from -100 to 100. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token. + /// + /// + /// Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the `content` of `message`.
+ /// Default Value: false + /// + /// + /// An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. `logprobs` must be set to `true` if this parameter is used. + /// + /// + /// The maximum number of [tokens](/tokenizer) that can be generated in the chat completion.
+ /// The total length of input tokens and generated tokens is limited by the model's context length. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens. + /// + /// + /// How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep `n` as `1` to minimize costs.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
+ /// [See more information about frequency and presence penalties.](/docs/guides/text-generation/parameter-details)
+ /// Default Value: 0 + /// + /// + /// An object specifying the format that the model must output. Compatible with [GPT-4o](/docs/models/gpt-4o), [GPT-4o mini](/docs/models/gpt-4o-mini), [GPT-4 Turbo](/docs/models/gpt-4-and-gpt-4-turbo) and all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
+ /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which guarantees the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
+ /// Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is valid JSON.
+ /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// + /// + /// This feature is in Beta.
+ /// If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result.
+ /// Determinism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend. + /// + /// + /// Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service:
+ /// - If set to 'auto', the system will utilize scale tier credits until they are exhausted.
+ /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
+ /// - When not set, the default behavior is 'auto'.
+ /// When this parameter is set, the response body will include the `service_tier` utilized. + /// + /// + /// Up to 4 sequences where the API will stop generating further tokens. + /// + /// + /// If set, partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available, with the stream terminated by a `data: [DONE]` message. [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
+ /// Default Value: false + /// + /// + /// Options for streaming response. Only set this when you set `stream: true`. + /// + /// + /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
+ /// We generally recommend altering this or `top_p` but not both.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
+ /// We generally recommend altering this or `temperature` but not both.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for. A max of 128 functions are supported. + /// + /// + /// Controls which (if any) tool is called by the model.
+ /// `none` means the model will not call any tool and instead generates a message.
+ /// `auto` means the model can pick between generating a message or calling one or more tools.
+ /// `required` means the model must call one or more tools.
+ /// Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
+ /// `none` is the default when no tools are present. `auto` is the default if tools are present. + /// + /// + /// Whether to enable [parallel function calling](/docs/guides/function-calling/parallel-function-calling) during tool use. + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChatCompletionAsync( + global::System.Collections.Generic.IList messages, + global::G.AnyOf model, + double? frequencyPenalty = 0, + global::G.CreateChatCompletionRequestLogitBias? logitBias = default, + bool? logprobs = false, + int? topLogprobs = default, + int? maxTokens = default, + int? n = 1, + double? presencePenalty = 0, + global::G.OneOf? responseFormat = default, + int? seed = default, + global::G.CreateChatCompletionRequestServiceTier? serviceTier = default, + global::G.OneOf>? stop = default, + bool? stream = false, + global::G.ChatCompletionStreamOptions? streamOptions = default, + double? temperature = 1, + double? topP = 1, + global::System.Collections.Generic.IList? tools = default, + global::G.ChatCompletionToolChoiceOption? toolChoice = default, + bool? parallelToolCalls = default, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..6620193c9c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a list of messages comprising a conversation, the model will return a response.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ICompletionsClient.CreateCompletion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ICompletionsClient.CreateCompletion.g.verified.cs new file mode 100644 index 0000000000..d8f58951ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ICompletionsClient.CreateCompletion.g.verified.cs @@ -0,0 +1,128 @@ +//HintName: G.ICompletionsClient.CreateCompletion.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionsClient + { + /// + /// Creates a completion for the provided prompt and parameters. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCompletionAsync( + global::G.CreateCompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a completion for the provided prompt and parameters. + /// + /// + /// ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models/overview) for descriptions of them. + /// + /// + /// The prompt(s) to generate completions for, encoded as a string, array of strings, array of tokens, or array of token arrays.
+ /// Note that <|endoftext|> is the document separator that the model sees during training, so if a prompt is not specified the model will generate as if from the beginning of a new document.
+ /// Default Value: <|endoftext|> + /// + /// + /// Generates `best_of` completions server-side and returns the "best" (the one with the highest log probability per token). Results cannot be streamed.
+ /// When used with `n`, `best_of` controls the number of candidate completions and `n` specifies how many to return – `best_of` must be greater than `n`.
+ /// **Note:** Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for `max_tokens` and `stop`.
+ /// Default Value: 1 + /// + /// + /// Echo back the prompt in addition to the completion
+ /// Default Value: false + /// + /// + /// Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
+ /// [See more information about frequency and presence penalties.](/docs/guides/text-generation/parameter-details)
+ /// Default Value: 0 + /// + /// + /// Modify the likelihood of specified tokens appearing in the completion.
+ /// Accepts a JSON object that maps tokens (specified by their token ID in the GPT tokenizer) to an associated bias value from -100 to 100. You can use this [tokenizer tool](/tokenizer?view=bpe) to convert text to token IDs. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.
+ /// As an example, you can pass `{"50256": -100}` to prevent the <|endoftext|> token from being generated. + /// + /// + /// Include the log probabilities on the `logprobs` most likely output tokens, as well the chosen tokens. For example, if `logprobs` is 5, the API will return a list of the 5 most likely tokens. The API will always return the `logprob` of the sampled token, so there may be up to `logprobs+1` elements in the response.
+ /// The maximum value for `logprobs` is 5. + /// + /// + /// The maximum number of [tokens](/tokenizer) that can be generated in the completion.
+ /// The token count of your prompt plus `max_tokens` cannot exceed the model's context length. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens.
+ /// Default Value: 16
+ /// Example: 16 + /// + /// + /// How many completions to generate for each prompt.
+ /// **Note:** Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for `max_tokens` and `stop`.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
+ /// [See more information about frequency and presence penalties.](/docs/guides/text-generation/parameter-details)
+ /// Default Value: 0 + /// + /// + /// If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result.
+ /// Determinism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend. + /// + /// + /// Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence. + /// + /// + /// Whether to stream back partial progress. If set, tokens will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available, with the stream terminated by a `data: [DONE]` message. [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
+ /// Default Value: false + /// + /// + /// Options for streaming response. Only set this when you set `stream: true`. + /// + /// + /// The suffix that comes after a completion of inserted text.
+ /// This parameter is only supported for `gpt-3.5-turbo-instruct`.
+ /// Example: test. + /// + /// + /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
+ /// We generally recommend altering this or `top_p` but not both.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
+ /// We generally recommend altering this or `temperature` but not both.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCompletionAsync( + global::G.AnyOf model, + global::G.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>>? prompt, + int? bestOf = 1, + bool? echo = false, + double? frequencyPenalty = 0, + global::G.CreateCompletionRequestLogitBias? logitBias = default, + int? logprobs = default, + int? maxTokens = 16, + int? n = 1, + double? presencePenalty = 0, + int? seed = default, + global::G.OneOf>? stop = default, + bool? stream = false, + global::G.ChatCompletionStreamOptions? streamOptions = default, + string? suffix = default, + double? temperature = 1, + double? topP = 1, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ICompletionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ICompletionsClient.g.verified.cs new file mode 100644 index 0000000000..2f53278649 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ICompletionsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICompletionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICompletionsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IEmbeddingsClient.CreateEmbedding.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IEmbeddingsClient.CreateEmbedding.g.verified.cs new file mode 100644 index 0000000000..82a00ebd1a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IEmbeddingsClient.CreateEmbedding.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IEmbeddingsClient.CreateEmbedding.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbeddingsClient + { + /// + /// Creates an embedding vector representing the input text. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEmbeddingAsync( + global::G.CreateEmbeddingRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates an embedding vector representing the input text. + /// + /// + /// Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays. The input must not exceed the max input tokens for the model (8192 tokens for `text-embedding-ada-002`), cannot be an empty string, and any array must be 2048 dimensions or less. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens.
+ /// Example: The quick brown fox jumped over the lazy dog + /// + /// + /// ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models/overview) for descriptions of them.
+ /// Example: text-embedding-3-small + /// + /// + /// The format to return the embeddings in. Can be either `float` or [`base64`](https://pypi.org/project/pybase64/).
+ /// Default Value: float
+ /// Example: float + /// + /// + /// The number of dimensions the resulting output embeddings should have. Only supported in `text-embedding-3` and later models. + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEmbeddingAsync( + global::G.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>> input, + global::G.AnyOf model, + global::G.CreateEmbeddingRequestEncodingFormat? encodingFormat = global::G.CreateEmbeddingRequestEncodingFormat.Float, + int? dimensions = default, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs new file mode 100644 index 0000000000..0f480efd94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IEmbeddingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEmbeddingsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.CreateFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.CreateFile.g.verified.cs new file mode 100644 index 0000000000..133272f349 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.CreateFile.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IFilesClient.CreateFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.
+ /// The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details.
+ /// The Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) models.
+ /// The Batch API only supports `.jsonl` files up to 100 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
+ /// Please [contact us](https://help.openai.com/) if you need to increase these storage limits. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFileAsync( + global::G.CreateFileRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.
+ /// The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details.
+ /// The Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) models.
+ /// The Batch API only supports `.jsonl` files up to 100 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
+ /// Please [contact us](https://help.openai.com/) if you need to increase these storage limits. + ///
+ /// + /// The File object (not file name) to be uploaded. + /// + /// + /// The File object (not file name) to be uploaded. + /// + /// + /// The intended purpose of the uploaded file.
+ /// Use "assistants" for [Assistants](/docs/api-reference/assistants) and [Message](/docs/api-reference/messages) files, "vision" for Assistants image file inputs, "batch" for [Batch API](/docs/guides/batch), and "fine-tune" for [Fine-tuning](/docs/api-reference/fine-tuning). + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFileAsync( + byte[] file, + string filename, + global::G.CreateFileRequestPurpose purpose, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.DeleteFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.DeleteFile.g.verified.cs new file mode 100644 index 0000000000..253651cfaa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.DeleteFile.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFilesClient.DeleteFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Delete a file. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteFileAsync( + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.DownloadFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.DownloadFile.g.verified.cs new file mode 100644 index 0000000000..65573eece3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.DownloadFile.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFilesClient.DownloadFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Returns the contents of the specified file. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DownloadFileAsync( + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.ListFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.ListFiles.g.verified.cs new file mode 100644 index 0000000000..47007c3f83 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.ListFiles.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFilesClient.ListFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Returns a list of files that belong to the user's organization. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListFilesAsync( + string? purpose = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.RetrieveFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.RetrieveFile.g.verified.cs new file mode 100644 index 0000000000..ccd4b6dbb7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.RetrieveFile.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IFilesClient.RetrieveFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Returns information about a specific file. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveFileAsync( + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.g.verified.cs new file mode 100644 index 0000000000..d833b09500 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFilesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFilesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Files are used to upload documents that can be used with features like Assistants and Fine-tuning.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFilesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.CancelFineTuningJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.CancelFineTuningJob.g.verified.cs new file mode 100644 index 0000000000..ebfb535eff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.CancelFineTuningJob.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IFineTuningClient.CancelFineTuningJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Immediately cancel a fine-tune job. + /// + /// + /// Example: ft-AF1WoRqd3aJAHsqc9NY7iL8F + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelFineTuningJobAsync( + string fineTuningJobId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.CreateFineTuningJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.CreateFineTuningJob.g.verified.cs new file mode 100644 index 0000000000..0bc0daba80 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.CreateFineTuningJob.g.verified.cs @@ -0,0 +1,75 @@ +//HintName: G.IFineTuningClient.CreateFineTuningJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Creates a fine-tuning job which begins the process of creating a new model from a given dataset.
+ /// Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete.
+ /// [Learn more about fine-tuning](/docs/guides/fine-tuning) + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFineTuningJobAsync( + global::G.CreateFineTuningJobRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a fine-tuning job which begins the process of creating a new model from a given dataset.
+ /// Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete.
+ /// [Learn more about fine-tuning](/docs/guides/fine-tuning) + ///
+ /// + /// The name of the model to fine-tune. You can select one of the
+ /// [supported models](/docs/guides/fine-tuning/which-models-can-be-fine-tuned).
+ /// Example: gpt-4o-mini + /// + /// + /// The ID of an uploaded file that contains training data.
+ /// See [upload file](/docs/api-reference/files/create) for how to upload a file.
+ /// Your dataset must be formatted as a JSONL file. Additionally, you must upload your file with the purpose `fine-tune`.
+ /// The contents of the file should differ depending on if the model uses the [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) format.
+ /// See the [fine-tuning guide](/docs/guides/fine-tuning) for more details.
+ /// Example: file-abc123 + /// + /// + /// The hyperparameters used for the fine-tuning job. + /// + /// + /// A string of up to 18 characters that will be added to your fine-tuned model name.
+ /// For example, a `suffix` of "custom-model-name" would produce a model name like `ft:gpt-4o-mini:openai:custom-model-name:7p4lURel`. + /// + /// + /// The ID of an uploaded file that contains validation data.
+ /// If you provide this file, the data is used to generate validation
+ /// metrics periodically during fine-tuning. These metrics can be viewed in
+ /// the fine-tuning results file.
+ /// The same data should not be present in both train and validation files.
+ /// Your dataset must be formatted as a JSONL file. You must upload your file with the purpose `fine-tune`.
+ /// See the [fine-tuning guide](/docs/guides/fine-tuning) for more details.
+ /// Example: file-abc123 + /// + /// + /// A list of integrations to enable for your fine-tuning job. + /// + /// + /// The seed controls the reproducibility of the job. Passing in the same seed and job parameters should produce the same results, but may differ in rare cases.
+ /// If a seed is not specified, one will be generated for you.
+ /// Example: 42 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFineTuningJobAsync( + global::G.AnyOf model, + string trainingFile, + global::G.CreateFineTuningJobRequestHyperparameters? hyperparameters = default, + string? suffix = default, + string? validationFile = default, + global::System.Collections.Generic.IList? integrations = default, + int? seed = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListFineTuningEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListFineTuningEvents.g.verified.cs new file mode 100644 index 0000000000..ffaabbccef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListFineTuningEvents.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFineTuningClient.ListFineTuningEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Get status updates for a fine-tuning job. + /// + /// + /// Example: ft-AF1WoRqd3aJAHsqc9NY7iL8F + /// + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListFineTuningEventsAsync( + string fineTuningJobId, + string? after = default, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs new file mode 100644 index 0000000000..c13c5cad62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFineTuningClient.ListFineTuningJobCheckpoints.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// List checkpoints for a fine-tuning job. + /// + /// + /// Example: ft-AF1WoRqd3aJAHsqc9NY7iL8F + /// + /// + /// + /// Default Value: 10 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListFineTuningJobCheckpointsAsync( + string fineTuningJobId, + string? after = default, + int limit = 10, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs new file mode 100644 index 0000000000..115b3cb1aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IFineTuningClient.ListPaginatedFineTuningJobs.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// List your organization's fine-tuning jobs + /// + /// + /// + /// Default Value: 20 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListPaginatedFineTuningJobsAsync( + string? after = default, + int limit = 20, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.RetrieveFineTuningJob.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.RetrieveFineTuningJob.g.verified.cs new file mode 100644 index 0000000000..1b16d61ee5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.RetrieveFineTuningJob.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IFineTuningClient.RetrieveFineTuningJob.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Get info about a fine-tuning job.
+ /// [Learn more about fine-tuning](/docs/guides/fine-tuning) + ///
+ /// + /// Example: ft-AF1WoRqd3aJAHsqc9NY7iL8F + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveFineTuningJobAsync( + string fineTuningJobId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.g.verified.cs new file mode 100644 index 0000000000..94cc30241f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IFineTuningClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IFineTuningClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Manage fine-tuning jobs to tailor a model to your specific training data.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFineTuningClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImage.g.verified.cs new file mode 100644 index 0000000000..7080112f6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImage.g.verified.cs @@ -0,0 +1,72 @@ +//HintName: G.IImagesClient.CreateImage.g.cs +#nullable enable + +namespace G +{ + public partial interface IImagesClient + { + /// + /// Creates an image given a prompt. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageAsync( + global::G.CreateImageRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates an image given a prompt. + /// + /// + /// A text description of the desired image(s). The maximum length is 1000 characters for `dall-e-2` and 4000 characters for `dall-e-3`.
+ /// Example: A cute baby sea otter + /// + /// + /// The model to use for image generation.
+ /// Default Value: dall-e-2
+ /// Example: dall-e-3 + /// + /// + /// The number of images to generate. Must be between 1 and 10. For `dall-e-3`, only `n=1` is supported.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// The quality of the image that will be generated. `hd` creates images with finer details and greater consistency across the image. This param is only supported for `dall-e-3`.
+ /// Default Value: standard
+ /// Example: standard + /// + /// + /// The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated.
+ /// Default Value: url
+ /// Example: url + /// + /// + /// The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`. Must be one of `1024x1024`, `1792x1024`, or `1024x1792` for `dall-e-3` models.
+ /// Default Value: 1024x1024
+ /// Example: 1024x1024 + /// + /// + /// The style of the generated images. Must be one of `vivid` or `natural`. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images. This param is only supported for `dall-e-3`.
+ /// Default Value: vivid
+ /// Example: vivid + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageAsync( + string prompt, + global::G.AnyOf? model = default, + int? n = 1, + global::G.CreateImageRequestQuality? quality = global::G.CreateImageRequestQuality.Standard, + global::G.CreateImageRequestResponseFormat? responseFormat = global::G.CreateImageRequestResponseFormat.Url, + global::G.CreateImageRequestSize? size = global::G.CreateImageRequestSize.x1024x1024, + global::G.CreateImageRequestStyle? style = global::G.CreateImageRequestStyle.Vivid, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImageEdit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImageEdit.g.verified.cs new file mode 100644 index 0000000000..0e56c9b8ef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImageEdit.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.IImagesClient.CreateImageEdit.g.cs +#nullable enable + +namespace G +{ + public partial interface IImagesClient + { + /// + /// Creates an edited or extended image given an original image and a prompt. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageEditAsync( + global::G.CreateImageEditRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates an edited or extended image given an original image and a prompt. + /// + /// + /// The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask. + /// + /// + /// The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask. + /// + /// + /// A text description of the desired image(s). The maximum length is 1000 characters.
+ /// Example: A cute baby sea otter wearing a beret + /// + /// + /// An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`. + /// + /// + /// An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`. + /// + /// + /// The model to use for image generation. Only `dall-e-2` is supported at this time.
+ /// Default Value: dall-e-2
+ /// Example: dall-e-2 + /// + /// + /// The number of images to generate. Must be between 1 and 10.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
+ /// Default Value: 1024x1024
+ /// Example: 1024x1024 + /// + /// + /// The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated.
+ /// Default Value: url
+ /// Example: url + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageEditAsync( + byte[] image, + string imagename, + string prompt, + byte[]? mask = default, + string? maskname = default, + global::G.AnyOf? model = default, + int? n = 1, + global::G.CreateImageEditRequestSize? size = global::G.CreateImageEditRequestSize.x1024x1024, + global::G.CreateImageEditRequestResponseFormat? responseFormat = global::G.CreateImageEditRequestResponseFormat.Url, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImageVariation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImageVariation.g.verified.cs new file mode 100644 index 0000000000..fc00489f21 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.CreateImageVariation.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.IImagesClient.CreateImageVariation.g.cs +#nullable enable + +namespace G +{ + public partial interface IImagesClient + { + /// + /// Creates a variation of a given image. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageVariationAsync( + global::G.CreateImageVariationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a variation of a given image. + /// + /// + /// The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square. + /// + /// + /// The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square. + /// + /// + /// The model to use for image generation. Only `dall-e-2` is supported at this time.
+ /// Default Value: dall-e-2
+ /// Example: dall-e-2 + /// + /// + /// The number of images to generate. Must be between 1 and 10. For `dall-e-3`, only `n=1` is supported.
+ /// Default Value: 1
+ /// Example: 1 + /// + /// + /// The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated.
+ /// Default Value: url
+ /// Example: url + /// + /// + /// The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.
+ /// Default Value: 1024x1024
+ /// Example: 1024x1024 + /// + /// + /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
+ /// Example: user-1234 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImageVariationAsync( + byte[] image, + string imagename, + global::G.AnyOf? model = default, + int? n = 1, + global::G.CreateImageVariationRequestResponseFormat? responseFormat = global::G.CreateImageVariationRequestResponseFormat.Url, + global::G.CreateImageVariationRequestSize? size = global::G.CreateImageVariationRequestSize.x1024x1024, + string? user = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.g.verified.cs new file mode 100644 index 0000000000..b55c61dab4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IImagesClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IImagesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a prompt and/or an input image, the model will generate a new image.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IImagesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.DeleteInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.DeleteInvite.g.verified.cs new file mode 100644 index 0000000000..021725b667 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.DeleteInvite.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IInvitesClient.DeleteInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IInvitesClient + { + /// + /// Delete an invite. If the invite has already been accepted, it cannot be deleted. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteInviteAsync( + string inviteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.InviteUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.InviteUser.g.verified.cs new file mode 100644 index 0000000000..fb586dabaa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.InviteUser.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IInvitesClient.InviteUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IInvitesClient + { + /// + /// Create an invite for a user to the organization. The invite must be accepted by the user before they have access to the organization. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InviteUserAsync( + global::G.InviteRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create an invite for a user to the organization. The invite must be accepted by the user before they have access to the organization. + /// + /// + /// Send an email to this address + /// + /// + /// `owner` or `reader` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task InviteUserAsync( + string email, + global::G.InviteRequestRole role, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.ListInvites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.ListInvites.g.verified.cs new file mode 100644 index 0000000000..2fb56d28f6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.ListInvites.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IInvitesClient.ListInvites.g.cs +#nullable enable + +namespace G +{ + public partial interface IInvitesClient + { + /// + /// Returns a list of invites in the organization. + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListInvitesAsync( + int limit = 20, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.RetrieveInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.RetrieveInvite.g.verified.cs new file mode 100644 index 0000000000..072cab7e58 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.RetrieveInvite.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IInvitesClient.RetrieveInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IInvitesClient + { + /// + /// Retrieves an invite. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveInviteAsync( + string inviteId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.g.verified.cs new file mode 100644 index 0000000000..41d7bb8dc6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IInvitesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IInvitesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IInvitesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.DeleteModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.DeleteModel.g.verified.cs new file mode 100644 index 0000000000..4cee72786c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.DeleteModel.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IModelsClient.DeleteModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Delete a fine-tuned model. You must have the Owner role in your organization to delete a model. + /// + /// + /// Example: ft:gpt-4o-mini:acemeco:suffix:abc123 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelAsync( + string model, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs new file mode 100644 index 0000000000..5134646aea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.ListModels.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IModelsClient.ListModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Lists the currently available models, and provides basic information about each one such as the owner and availability. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.RetrieveModel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.RetrieveModel.g.verified.cs new file mode 100644 index 0000000000..168548a3d3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.RetrieveModel.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IModelsClient.RetrieveModel.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// Retrieves a model instance, providing basic information about the model such as the owner and permissioning. + /// + /// + /// Example: gpt-4o-mini + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveModelAsync( + string model, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.g.verified.cs new file mode 100644 index 0000000000..0c5c8eb881 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModelsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// List and describe the various models available in the API.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModerationsClient.CreateModeration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModerationsClient.CreateModeration.g.verified.cs new file mode 100644 index 0000000000..1688726016 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModerationsClient.CreateModeration.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IModerationsClient.CreateModeration.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationsClient + { + /// + /// Classifies if text is potentially harmful. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModerationAsync( + global::G.CreateModerationRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Classifies if text is potentially harmful. + /// + /// + /// The input text to classify + /// + /// + /// Two content moderations models are available: `text-moderation-stable` and `text-moderation-latest`.
+ /// The default is `text-moderation-latest` which will be automatically upgraded over time. This ensures you are always using our most accurate model. If you use `text-moderation-stable`, we will provide advanced notice before updating the model. Accuracy of `text-moderation-stable` may be slightly lower than for `text-moderation-latest`.
+ /// Default Value: text-moderation-latest
+ /// Example: text-moderation-stable + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModerationAsync( + global::G.OneOf> input, + global::G.AnyOf? model = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModerationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModerationsClient.g.verified.cs new file mode 100644 index 0000000000..696f661bcf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IModerationsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IModerationsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Given a input text, outputs if the model classifies it as potentially harmful.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModerationsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IOpenAiClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IOpenAiClient.g.verified.cs new file mode 100644 index 0000000000..d25d6bf6e1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IOpenAiClient.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.IOpenAiClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IOpenAiClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + /// + /// Build Assistants that can call models and use tools. + /// + public AssistantsClient Assistants { get; } + + /// + /// Turn audio into text or text into audio. + /// + public AudioClient Audio { get; } + + /// + /// Given a list of messages comprising a conversation, the model will return a response. + /// + public ChatClient Chat { get; } + + /// + /// Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. + /// + public CompletionsClient Completions { get; } + + /// + /// Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. + /// + public EmbeddingsClient Embeddings { get; } + + /// + /// Manage fine-tuning jobs to tailor a model to your specific training data. + /// + public FineTuningClient FineTuning { get; } + + /// + /// Create large batches of API requests to run asynchronously. + /// + public BatchClient Batch { get; } + + /// + /// Files are used to upload documents that can be used with features like Assistants and Fine-tuning. + /// + public FilesClient Files { get; } + + /// + /// Use Uploads to upload large files in multiple parts. + /// + public UploadsClient Uploads { get; } + + /// + /// Given a prompt and/or an input image, the model will generate a new image. + /// + public ImagesClient Images { get; } + + /// + /// List and describe the various models available in the API. + /// + public ModelsClient Models { get; } + + /// + /// Given a input text, outputs if the model classifies it as potentially harmful. + /// + public ModerationsClient Moderations { get; } + + /// + /// List user actions and configuration changes within this organization. + /// + public AuditLogsClient AuditLogs { get; } + + /// + /// + /// + public VectorStoresClient VectorStores { get; } + + /// + /// + /// + public InvitesClient Invites { get; } + + /// + /// + /// + public UsersClient Users { get; } + + /// + /// + /// + public ProjectsClient Projects { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ArchiveProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ArchiveProject.g.verified.cs new file mode 100644 index 0000000000..787dccea1d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ArchiveProject.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IProjectsClient.ArchiveProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Archives a project in the organization. Archived projects cannot be used or updated. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ArchiveProjectAsync( + string projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProject.g.verified.cs new file mode 100644 index 0000000000..48deed941c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProject.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IProjectsClient.CreateProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Create a new project in the organization. Projects can be created and archived, but cannot be deleted. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectAsync( + global::G.ProjectCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a new project in the organization. Projects can be created and archived, but cannot be deleted. + /// + /// + /// The friendly name of the project, this name appears in reports. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProjectServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProjectServiceAccount.g.verified.cs new file mode 100644 index 0000000000..10de60aa7f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProjectServiceAccount.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IProjectsClient.CreateProjectServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Creates a new service account in the project. This also returns an unredacted API key for the service account. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectServiceAccountAsync( + string projectId, + global::G.ProjectServiceAccountCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a new service account in the project. This also returns an unredacted API key for the service account. + /// + /// + /// + /// The name of the service account being created. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectServiceAccountAsync( + string projectId, + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProjectUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProjectUser.g.verified.cs new file mode 100644 index 0000000000..515e7f2610 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.CreateProjectUser.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IProjectsClient.CreateProjectUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Adds a user to the project. Users must already be members of the organization to be added to a project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectUserAsync( + string projectId, + global::G.ProjectUserCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds a user to the project. Users must already be members of the organization to be added to a project. + /// + /// + /// + /// The ID of the user. + /// + /// + /// `owner` or `member` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateProjectUserAsync( + string projectId, + string userId, + global::G.ProjectUserCreateRequestRole role, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectApiKey.g.verified.cs new file mode 100644 index 0000000000..e71a692145 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectApiKey.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.DeleteProjectApiKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Deletes an API key from the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteProjectApiKeyAsync( + string projectId, + string keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectServiceAccount.g.verified.cs new file mode 100644 index 0000000000..fe68ad4e12 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectServiceAccount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.DeleteProjectServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Deletes a service account from the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteProjectServiceAccountAsync( + string projectId, + string serviceAccountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectUser.g.verified.cs new file mode 100644 index 0000000000..8e36b691c1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.DeleteProjectUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.DeleteProjectUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Deletes a user from the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteProjectUserAsync( + string projectId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectApiKeys.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectApiKeys.g.verified.cs new file mode 100644 index 0000000000..ee481b61e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectApiKeys.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectsClient.ListProjectApiKeys.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Returns a list of API keys in the project. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListProjectApiKeysAsync( + string projectId, + int limit = 20, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectServiceAccounts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectServiceAccounts.g.verified.cs new file mode 100644 index 0000000000..386c0ecb51 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectServiceAccounts.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectsClient.ListProjectServiceAccounts.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Returns a list of service accounts in the project. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListProjectServiceAccountsAsync( + string projectId, + int limit = 20, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectUsers.g.verified.cs new file mode 100644 index 0000000000..16871756c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjectUsers.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IProjectsClient.ListProjectUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Returns a list of users in the project. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListProjectUsersAsync( + string projectId, + int limit = 20, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjects.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjects.g.verified.cs new file mode 100644 index 0000000000..2ad443d997 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ListProjects.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IProjectsClient.ListProjects.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Returns a list of projects. + /// + /// + /// Default Value: 20 + /// + /// + /// + /// Default Value: false + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListProjectsAsync( + int limit = 20, + string? after = default, + bool includeArchived = false, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ModifyProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ModifyProject.g.verified.cs new file mode 100644 index 0000000000..00cee74d70 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ModifyProject.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IProjectsClient.ModifyProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Modifies a project in the organization. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectAsync( + global::G.ProjectUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a project in the organization. + /// + /// + /// The updated name of the project, this name appears in reports. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectAsync( + string name, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ModifyProjectUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ModifyProjectUser.g.verified.cs new file mode 100644 index 0000000000..8ec4c323b8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.ModifyProjectUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IProjectsClient.ModifyProjectUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Modifies a user's role in the project. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectUserAsync( + global::G.ProjectUserUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a user's role in the project. + /// + /// + /// `owner` or `member` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyProjectUserAsync( + global::G.ProjectUserUpdateRequestRole role, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProject.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProject.g.verified.cs new file mode 100644 index 0000000000..1e826f0154 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProject.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IProjectsClient.RetrieveProject.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Retrieves a project. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveProjectAsync( + string projectId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectApiKey.g.verified.cs new file mode 100644 index 0000000000..3123af9b75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectApiKey.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.RetrieveProjectApiKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Retrieves an API key in the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveProjectApiKeyAsync( + string projectId, + string keyId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectServiceAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectServiceAccount.g.verified.cs new file mode 100644 index 0000000000..76c9d19302 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectServiceAccount.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.RetrieveProjectServiceAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Retrieves a service account in the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveProjectServiceAccountAsync( + string projectId, + string serviceAccountId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectUser.g.verified.cs new file mode 100644 index 0000000000..ea244373ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.RetrieveProjectUser.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IProjectsClient.RetrieveProjectUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IProjectsClient + { + /// + /// Retrieves a user in the project. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveProjectUserAsync( + string projectId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.g.verified.cs new file mode 100644 index 0000000000..a5c83a7f66 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IProjectsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IProjectsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IProjectsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.AddUploadPart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.AddUploadPart.g.verified.cs new file mode 100644 index 0000000000..0349e5bc20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.AddUploadPart.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IUploadsClient.AddUploadPart.g.cs +#nullable enable + +namespace G +{ + public partial interface IUploadsClient + { + /// + /// Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload.
+ /// Each Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.
+ /// It is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete). + ///
+ /// + /// Example: upload_abc123 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddUploadPartAsync( + string uploadId, + global::G.AddUploadPartRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload.
+ /// Each Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.
+ /// It is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete). + ///
+ /// + /// Example: upload_abc123 + /// + /// + /// The chunk of bytes for this Part. + /// + /// + /// The chunk of bytes for this Part. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddUploadPartAsync( + string uploadId, + byte[] data, + string dataname, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CancelUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CancelUpload.g.verified.cs new file mode 100644 index 0000000000..72af0f38ea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CancelUpload.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IUploadsClient.CancelUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface IUploadsClient + { + /// + /// Cancels the Upload. No Parts may be added after an Upload is cancelled. + /// + /// + /// Example: upload_abc123 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelUploadAsync( + string uploadId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CompleteUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CompleteUpload.g.verified.cs new file mode 100644 index 0000000000..6405b78aa9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CompleteUpload.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IUploadsClient.CompleteUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface IUploadsClient + { + /// + /// Completes the [Upload](/docs/api-reference/uploads/object).
+ /// Within the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.
+ /// You can specify the order of the Parts by passing in an ordered list of the Part IDs.
+ /// The number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed. + ///
+ /// + /// Example: upload_abc123 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CompleteUploadAsync( + string uploadId, + global::G.CompleteUploadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Completes the [Upload](/docs/api-reference/uploads/object).
+ /// Within the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.
+ /// You can specify the order of the Parts by passing in an ordered list of the Part IDs.
+ /// The number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed. + ///
+ /// + /// Example: upload_abc123 + /// + /// + /// The ordered list of Part IDs. + /// + /// + /// The optional md5 checksum for the file contents to verify if the bytes uploaded matches what you expect. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CompleteUploadAsync( + string uploadId, + global::System.Collections.Generic.IList partIds, + string? md5 = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CreateUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CreateUpload.g.verified.cs new file mode 100644 index 0000000000..bdfb966015 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.CreateUpload.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IUploadsClient.CreateUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface IUploadsClient + { + /// + /// Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.
+ /// Once you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.
+ /// For certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:
+ /// - [Assistants](/docs/assistants/tools/file-search/supported-files)
+ /// For guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateUploadAsync( + global::G.CreateUploadRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.
+ /// Once you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.
+ /// For certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:
+ /// - [Assistants](/docs/assistants/tools/file-search/supported-files)
+ /// For guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create). + ///
+ /// + /// The name of the file to upload. + /// + /// + /// The intended purpose of the uploaded file.
+ /// See the [documentation on File purposes](/docs/api-reference/files/create#files-create-purpose). + /// + /// + /// The number of bytes in the file you are uploading. + /// + /// + /// The MIME type of the file.
+ /// This must fall within the supported MIME types for your file purpose. See the supported MIME types for assistants and vision. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateUploadAsync( + string filename, + global::G.CreateUploadRequestPurpose purpose, + int bytes, + string mimeType, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.g.verified.cs new file mode 100644 index 0000000000..360fe2f2d7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUploadsClient.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUploadsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Use Uploads to upload large files in multiple parts.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUploadsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.DeleteUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.DeleteUser.g.verified.cs new file mode 100644 index 0000000000..174573a38e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.DeleteUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUsersClient.DeleteUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Deletes a user from the organization. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteUserAsync( + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.ListUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.ListUsers.g.verified.cs new file mode 100644 index 0000000000..b9ccc2c216 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.ListUsers.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUsersClient.ListUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Lists all of the users in the organization. + /// + /// + /// Default Value: 20 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListUsersAsync( + int limit = 20, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.ModifyUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.ModifyUser.g.verified.cs new file mode 100644 index 0000000000..22e90552da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.ModifyUser.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IUsersClient.ModifyUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Modifies a user's role in the organization. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyUserAsync( + global::G.UserRoleUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a user's role in the organization. + /// + /// + /// `owner` or `reader` + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyUserAsync( + global::G.UserRoleUpdateRequestRole role, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.RetrieveUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.RetrieveUser.g.verified.cs new file mode 100644 index 0000000000..e742e5fe18 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.RetrieveUser.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IUsersClient.RetrieveUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Retrieves a user by their identifier. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RetrieveUserAsync( + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.g.verified.cs new file mode 100644 index 0000000000..47dd99edb3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IUsersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsersClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs new file mode 100644 index 0000000000..8df8f50a8e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IVectorStoresClient.CancelVectorStoreFileBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelVectorStoreFileBatchAsync( + string vectorStoreId, + string batchId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStore.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStore.g.verified.cs new file mode 100644 index 0000000000..c05bb9b479 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStore.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IVectorStoresClient.CreateVectorStore.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Create a vector store. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreAsync( + global::G.CreateVectorStoreRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a vector store. + /// + /// + /// A list of [File](/docs/api-reference/files) IDs that the vector store should use. Useful for tools like `file_search` that can access files. + /// + /// + /// The name of the vector store. + /// + /// + /// The expiration policy for a vector store. + /// + /// + /// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. Only applicable if `file_ids` is non-empty. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreAsync( + global::System.Collections.Generic.IList? fileIds = default, + string? name = default, + global::G.VectorStoreExpirationAfter? expiresAfter = default, + global::G.OneOf? chunkingStrategy = default, + global::G.CreateVectorStoreRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStoreFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStoreFile.g.verified.cs new file mode 100644 index 0000000000..62977728bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStoreFile.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IVectorStoresClient.CreateVectorStoreFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object). + /// + /// + /// Example: vs_abc123 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreFileAsync( + string vectorStoreId, + global::G.CreateVectorStoreFileRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object). + /// + /// + /// Example: vs_abc123 + /// + /// + /// A [File](/docs/api-reference/files) ID that the vector store should use. Useful for tools like `file_search` that can access files. + /// + /// + /// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreFileAsync( + string vectorStoreId, + string fileId, + global::G.ChunkingStrategyRequestParam? chunkingStrategy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs new file mode 100644 index 0000000000..25816b8f1c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IVectorStoresClient.CreateVectorStoreFileBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Create a vector store file batch. + /// + /// + /// Example: vs_abc123 + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreFileBatchAsync( + string vectorStoreId, + global::G.CreateVectorStoreFileBatchRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a vector store file batch. + /// + /// + /// Example: vs_abc123 + /// + /// + /// A list of [File](/docs/api-reference/files) IDs that the vector store should use. Useful for tools like `file_search` that can access files. + /// + /// + /// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateVectorStoreFileBatchAsync( + string vectorStoreId, + global::System.Collections.Generic.IList fileIds, + global::G.ChunkingStrategyRequestParam? chunkingStrategy = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.DeleteVectorStore.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.DeleteVectorStore.g.verified.cs new file mode 100644 index 0000000000..0532d51fbb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.DeleteVectorStore.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IVectorStoresClient.DeleteVectorStore.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Delete a vector store. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteVectorStoreAsync( + string vectorStoreId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.DeleteVectorStoreFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.DeleteVectorStoreFile.g.verified.cs new file mode 100644 index 0000000000..de77b66659 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.DeleteVectorStoreFile.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IVectorStoresClient.DeleteVectorStoreFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteVectorStoreFileAsync( + string vectorStoreId, + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStore.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStore.g.verified.cs new file mode 100644 index 0000000000..6abfe225cd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStore.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IVectorStoresClient.GetVectorStore.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Retrieves a vector store. + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVectorStoreAsync( + string vectorStoreId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStoreFile.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStoreFile.g.verified.cs new file mode 100644 index 0000000000..455d51c6cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStoreFile.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IVectorStoresClient.GetVectorStoreFile.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Retrieves a vector store file. + /// + /// + /// Example: vs_abc123 + /// + /// + /// Example: file-abc123 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVectorStoreFileAsync( + string vectorStoreId, + string fileId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStoreFileBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStoreFileBatch.g.verified.cs new file mode 100644 index 0000000000..d38386889e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.GetVectorStoreFileBatch.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IVectorStoresClient.GetVectorStoreFileBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Retrieves a vector store file batch. + /// + /// + /// Example: vs_abc123 + /// + /// + /// Example: vsfb_abc123 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVectorStoreFileBatchAsync( + string vectorStoreId, + string batchId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs new file mode 100644 index 0000000000..b0a49f8c38 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IVectorStoresClient.ListFilesInVectorStoreBatch.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Returns a list of vector store files in a batch. + /// + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListFilesInVectorStoreBatchAsync( + string vectorStoreId, + string batchId, + int limit = 20, + global::G.ListFilesInVectorStoreBatchOrder? order = global::G.ListFilesInVectorStoreBatchOrder.Desc, + string? after = default, + string? before = default, + global::G.ListFilesInVectorStoreBatchFilter? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListVectorStoreFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListVectorStoreFiles.g.verified.cs new file mode 100644 index 0000000000..0dad4bf2d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListVectorStoreFiles.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IVectorStoresClient.ListVectorStoreFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Returns a list of vector store files. + /// + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListVectorStoreFilesAsync( + string vectorStoreId, + int limit = 20, + global::G.ListVectorStoreFilesOrder? order = global::G.ListVectorStoreFilesOrder.Desc, + string? after = default, + string? before = default, + global::G.ListVectorStoreFilesFilter? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListVectorStores.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListVectorStores.g.verified.cs new file mode 100644 index 0000000000..62f5a850d8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ListVectorStores.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IVectorStoresClient.ListVectorStores.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Returns a list of vector stores. + /// + /// + /// Default Value: 20 + /// + /// + /// Default Value: desc + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListVectorStoresAsync( + int limit = 20, + global::G.ListVectorStoresOrder? order = global::G.ListVectorStoresOrder.Desc, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ModifyVectorStore.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ModifyVectorStore.g.verified.cs new file mode 100644 index 0000000000..af881e5069 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.ModifyVectorStore.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IVectorStoresClient.ModifyVectorStore.g.cs +#nullable enable + +namespace G +{ + public partial interface IVectorStoresClient + { + /// + /// Modifies a vector store. + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyVectorStoreAsync( + string vectorStoreId, + global::G.UpdateVectorStoreRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Modifies a vector store. + /// + /// + /// + /// The name of the vector store. + /// + /// + /// The expiration policy for a vector store. + /// + /// + /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyVectorStoreAsync( + string vectorStoreId, + string? name = default, + global::G.VectorStoreExpirationAfter? expiresAfter = default, + global::G.UpdateVectorStoreRequestMetadata? metadata = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.g.verified.cs new file mode 100644 index 0000000000..0265cfb0e2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.IVectorStoresClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IVectorStoresClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IVectorStoresClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.openai.com/v1"; + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.g.verified.cs index 5b887365ab..4496c2adae 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ImagesClient : global::System.IDisposable + public sealed partial class ImagesClient : global::G.IImagesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.InvitesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.InvitesClient.g.verified.cs index 768c1f0e03..df06ba0120 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.InvitesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.InvitesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class InvitesClient : global::System.IDisposable + public sealed partial class InvitesClient : global::G.IInvitesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.g.verified.cs index a97ec14c8f..e67c7fc929 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelsClient : global::System.IDisposable + public sealed partial class ModelsClient : global::G.IModelsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModerationsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModerationsClient.g.verified.cs index cf7d6a77a7..febab28b8f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModerationsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModerationsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModerationsClient : global::System.IDisposable + public sealed partial class ModerationsClient : global::G.IModerationsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.OpenAiClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.OpenAiClient.g.verified.cs index 530e437f24..5392886d83 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.OpenAiClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.OpenAiClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class OpenAiClient : global::System.IDisposable + public sealed partial class OpenAiClient : global::G.IOpenAiClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ProjectsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ProjectsClient.g.verified.cs index d34f5ec070..d1235fbff7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ProjectsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ProjectsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ProjectsClient : global::System.IDisposable + public sealed partial class ProjectsClient : global::G.IProjectsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.UploadsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.UploadsClient.g.verified.cs index 9f5d4bcc66..fcd6609cce 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.UploadsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.UploadsClient.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UploadsClient : global::System.IDisposable + public sealed partial class UploadsClient : global::G.IUploadsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.UsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.UsersClient.g.verified.cs index 92385935ae..d6ca90ee9d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.UsersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.UsersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsersClient : global::System.IDisposable + public sealed partial class UsersClient : global::G.IUsersClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.g.verified.cs index 7f1baba96d..488dd84bbb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class VectorStoresClient : global::System.IDisposable + public sealed partial class VectorStoresClient : global::G.IVectorStoresClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.Api.g.verified.cs index 5dd1a6871c..df007694ae 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.Api.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.CreatePets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.CreatePets.g.verified.cs new file mode 100644 index 0000000000..08cdd963b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.CreatePets.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IApi.CreatePets.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a pet + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePetsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.ListPets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.ListPets.g.verified.cs new file mode 100644 index 0000000000..fe82214ff0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.ListPets.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.ListPets.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List all pets + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPetsAsync( + int limit = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.ShowPetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.ShowPetById.g.verified.cs new file mode 100644 index 0000000000..9bba9bbf00 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.ShowPetById.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.ShowPetById.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Info for a specific pet + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShowPetByIdAsync( + string petId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..dff532fead --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "http://petstore.swagger.io/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.Api.g.verified.cs index ef4f60b8df..06da1fa202 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.Api.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.CreatePets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.CreatePets.g.verified.cs new file mode 100644 index 0000000000..08cdd963b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.CreatePets.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IApi.CreatePets.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a pet + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePetsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.ListPets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.ListPets.g.verified.cs new file mode 100644 index 0000000000..fe82214ff0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.ListPets.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.ListPets.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List all pets + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPetsAsync( + int limit = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.ShowPetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.ShowPetById.g.verified.cs new file mode 100644 index 0000000000..9bba9bbf00 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.ShowPetById.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.ShowPetById.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Info for a specific pet + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShowPetByIdAsync( + string petId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..fadbf9e784 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/PetStore/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "http://petstore.swagger.io/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.g.verified.cs index 6c5e8ff756..2e5d16ad7d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CancelPredictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CancelPredictions.g.verified.cs new file mode 100644 index 0000000000..1fb602c495 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CancelPredictions.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.CancelPredictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Cancel a prediction + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelPredictionsAsync( + string predictionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CancelTrainings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CancelTrainings.g.verified.cs new file mode 100644 index 0000000000..9dcc7c3633 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CancelTrainings.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.CancelTrainings.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Cancel a training + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelTrainingsAsync( + string trainingId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateDeployments.g.verified.cs new file mode 100644 index 0000000000..552184627a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateDeployments.g.verified.cs @@ -0,0 +1,132 @@ +//HintName: G.IApi.CreateDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a deployment
+ /// Create a new deployment:
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -X POST \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H "Content-Type: application/json" \
+ /// -d '{
+ /// "name": "my-app-image-generator",
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 0,
+ /// "max_instances": 3
+ /// }' \
+ /// https://api.replicate.com/v1/deployments
+ /// ```
+ /// The response will be a JSON object describing the deployment:
+ /// ```json
+ /// {
+ /// "owner": "acme",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 1,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 1,
+ /// "max_instances": 5
+ /// }
+ /// }
+ /// }
+ /// ``` + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDeploymentsAsync( + global::G.DeploymentsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a deployment
+ /// Create a new deployment:
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -X POST \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H "Content-Type: application/json" \
+ /// -d '{
+ /// "name": "my-app-image-generator",
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 0,
+ /// "max_instances": 3
+ /// }' \
+ /// https://api.replicate.com/v1/deployments
+ /// ```
+ /// The response will be a JSON object describing the deployment:
+ /// ```json
+ /// {
+ /// "owner": "acme",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 1,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 1,
+ /// "max_instances": 5
+ /// }
+ /// }
+ /// }
+ /// ``` + ///
+ /// + /// The SKU for the hardware used to run the model. Possible values can be retrieved from the `hardware.list` endpoint. + /// + /// + /// The maximum number of instances for scaling. + /// + /// + /// The minimum number of instances for scaling. + /// + /// + /// The full name of the model that you want to deploy e.g. stability-ai/sdxl. + /// + /// + /// The name of the deployment. + /// + /// + /// The 64-character string ID of the model version that you want to deploy. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDeploymentsAsync( + string hardware, + int maxInstances, + int minInstances, + string model, + string name, + string version, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateModels.g.verified.cs new file mode 100644 index 0000000000..c4c77ca821 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateModels.g.verified.cs @@ -0,0 +1,116 @@ +//HintName: G.IApi.CreateModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a model
+ /// Create a model.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// -d '{"owner": "alice", "name": "my-model", "description": "An example model", "visibility": "public", "hardware": "cpu"}' \
+ /// https://api.replicate.com/v1/models
+ /// ```
+ /// The response will be a model object in the following format:
+ /// ```json
+ /// {
+ /// "url": "https://replicate.com/alice/my-model",
+ /// "owner": "alice",
+ /// "name": "my-model",
+ /// "description": "An example model",
+ /// "visibility": "public",
+ /// "github_url": null,
+ /// "paper_url": null,
+ /// "license_url": null,
+ /// "run_count": 0,
+ /// "cover_image_url": null,
+ /// "default_example": null,
+ /// "latest_version": null,
+ /// }
+ /// ```
+ /// Note that there is a limit of 1,000 models per account. For most purposes, we recommend using a single model and pushing new [versions](https://replicate.com/docs/how-does-replicate-work#versions) of the model as you make changes to it. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModelsAsync( + global::G.ModelsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a model
+ /// Create a model.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// -d '{"owner": "alice", "name": "my-model", "description": "An example model", "visibility": "public", "hardware": "cpu"}' \
+ /// https://api.replicate.com/v1/models
+ /// ```
+ /// The response will be a model object in the following format:
+ /// ```json
+ /// {
+ /// "url": "https://replicate.com/alice/my-model",
+ /// "owner": "alice",
+ /// "name": "my-model",
+ /// "description": "An example model",
+ /// "visibility": "public",
+ /// "github_url": null,
+ /// "paper_url": null,
+ /// "license_url": null,
+ /// "run_count": 0,
+ /// "cover_image_url": null,
+ /// "default_example": null,
+ /// "latest_version": null,
+ /// }
+ /// ```
+ /// Note that there is a limit of 1,000 models per account. For most purposes, we recommend using a single model and pushing new [versions](https://replicate.com/docs/how-does-replicate-work#versions) of the model as you make changes to it. + ///
+ /// + /// A URL for the model's cover image. This should be an image file. + /// + /// + /// A description of the model. + /// + /// + /// A URL for the model's source code on GitHub. + /// + /// + /// The SKU for the hardware used to run the model. Possible values can be retrieved from the `hardware.list` endpoint. + /// + /// + /// A URL for the model's license. + /// + /// + /// The name of the model. This must be unique among all models owned by the user or organization. + /// + /// + /// The name of the user or organization that will own the model. This must be the same as the user or organization that is making the API request. In other words, the API token used in the request must belong to this user or organization. + /// + /// + /// A URL for the model's paper. + /// + /// + /// Whether the model should be public or private. A public model can be viewed and run by anyone, whereas a private model can be viewed and run only by the user or organization members that own the model. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModelsAsync( + string hardware, + string name, + string owner, + global::G.ModelsCreateRequestVisibility visibility, + string? coverImageUrl = default, + string? description = default, + string? githubUrl = default, + string? licenseUrl = default, + string? paperUrl = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictions.g.verified.cs new file mode 100644 index 0000000000..3526985f97 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictions.g.verified.cs @@ -0,0 +1,155 @@ +//HintName: G.IApi.CreatePredictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a prediction
+ /// Start a new prediction for the model version and inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa", "input": {"text": "Alice"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/predictions
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "gm3qorzdhgbfurvjtvhg6dckhu",
+ /// "model": "replicate/hello-world",
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "output": null,
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2023-09-08T16:19:34.765994657Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// Input and output (including any files) will be automatically deleted after an hour, so you must save a copy of any files in the output if you'd like to continue using them.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsAsync( + global::G.VersionPredictionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a prediction
+ /// Start a new prediction for the model version and inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa", "input": {"text": "Alice"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/predictions
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "gm3qorzdhgbfurvjtvhg6dckhu",
+ /// "model": "replicate/hello-world",
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "output": null,
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2023-09-08T16:19:34.765994657Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// Input and output (including any files) will be automatically deleted after an hour, so you must save a copy of any files in the output if you'd like to continue using them.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// The model's input as a JSON object. The input schema depends on what model you are running. To see the available inputs, click the "API" tab on the model you are running or [get the model version](#models.versions.get) and look at its `openapi_schema` property. For example, [stability-ai/sdxl](https://replicate.com/stability-ai/sdxl) takes `prompt` as an input.
+ /// Files should be passed as HTTP URLs or data URLs.
+ /// Use an HTTP URL when:
+ /// - you have a large file > 256kb
+ /// - you want to be able to use the file multiple times
+ /// - you want your prediction metadata to be associable with your input files
+ /// Use a data URL when:
+ /// - you have a small file <= 256kb
+ /// - you don't want to upload and host the file somewhere
+ /// - you don't need to use the file again (Replicate will not store it) + /// + /// + /// **This field is deprecated.**
+ /// Request a URL to receive streaming output using [server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
+ /// This field is no longer needed as the returned prediction will always have a `stream` entry in its `url` property if the model supports streaming. + /// + /// + /// The ID of the model version that you want to run. + /// + /// + /// An HTTPS URL for receiving a webhook when the prediction has new output. The webhook will be a POST request where the request body is the same as the response body of the [get prediction](#predictions.get) operation. If there are network problems, we will retry the webhook a few times, so make sure it can be safely called more than once. Replicate will not follow redirects when sending webhook requests to your service, so be sure to specify a URL that will resolve without redirecting. + /// + /// + /// By default, we will send requests to your webhook URL whenever there are new outputs or the prediction has finished. You can change which events trigger webhook requests by specifying `webhook_events_filter` in the prediction request:
+ /// - `start`: immediately on prediction start
+ /// - `output`: each time a prediction generates an output (note that predictions can generate multiple outputs)
+ /// - `logs`: each time log output is generated by a prediction
+ /// - `completed`: when the prediction reaches a terminal state (succeeded/canceled/failed)
+ /// For example, if you only wanted requests to be sent at the start and end of the prediction, you would provide:
+ /// ```json
+ /// {
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// "webhook_events_filter": ["start", "completed"]
+ /// }
+ /// ```
+ /// Requests for event types `output` and `logs` will be sent at most once every 500ms. If you request `start` and `completed` webhooks, then they'll always be sent regardless of throttling. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsAsync( + global::G.VersionPredictionRequestInput input, + string version, + bool stream = default, + string? webhook = default, + global::System.Collections.Generic.IList? webhookEventsFilter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictionsDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictionsDeployments.g.verified.cs new file mode 100644 index 0000000000..6f27ace5ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictionsDeployments.g.verified.cs @@ -0,0 +1,154 @@ +//HintName: G.IApi.CreatePredictionsDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a prediction using a deployment
+ /// Start a new prediction for a deployment of a model using inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "text": "Alice"
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"input": {"text": "Alice"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// "https://api.replicate.com/v1/deployments/replicate/hello-world/predictions"
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "86b6trbv99rgp0cf1h886f69ew",
+ /// "model": "replicate/hello-world",
+ /// "version": "dp-8e43d61c333b5ddc7a921130bc3ab3ea",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2024-04-23T18:55:52.138Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/86b6trbv99rgp0cf1h886f69ew/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/86b6trbv99rgp0cf1h886f69ew"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// Input and output (including any files) will be automatically deleted after an hour, so you must save a copy of any files in the output if you'd like to continue using them.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsDeploymentsAsync( + string deploymentOwner, + string deploymentName, + global::G.PredictionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a prediction using a deployment
+ /// Start a new prediction for a deployment of a model using inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "text": "Alice"
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"input": {"text": "Alice"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// "https://api.replicate.com/v1/deployments/replicate/hello-world/predictions"
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "86b6trbv99rgp0cf1h886f69ew",
+ /// "model": "replicate/hello-world",
+ /// "version": "dp-8e43d61c333b5ddc7a921130bc3ab3ea",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2024-04-23T18:55:52.138Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/86b6trbv99rgp0cf1h886f69ew/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/86b6trbv99rgp0cf1h886f69ew"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// Input and output (including any files) will be automatically deleted after an hour, so you must save a copy of any files in the output if you'd like to continue using them.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// + /// + /// The model's input as a JSON object. The input schema depends on what model you are running. To see the available inputs, click the "API" tab on the model you are running or [get the model version](#models.versions.get) and look at its `openapi_schema` property. For example, [stability-ai/sdxl](https://replicate.com/stability-ai/sdxl) takes `prompt` as an input.
+ /// Files should be passed as HTTP URLs or data URLs.
+ /// Use an HTTP URL when:
+ /// - you have a large file > 256kb
+ /// - you want to be able to use the file multiple times
+ /// - you want your prediction metadata to be associable with your input files
+ /// Use a data URL when:
+ /// - you have a small file <= 256kb
+ /// - you don't want to upload and host the file somewhere
+ /// - you don't need to use the file again (Replicate will not store it) + /// + /// + /// **This field is deprecated.**
+ /// Request a URL to receive streaming output using [server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
+ /// This field is no longer needed as the returned prediction will always have a `stream` entry in its `url` property if the model supports streaming. + /// + /// + /// An HTTPS URL for receiving a webhook when the prediction has new output. The webhook will be a POST request where the request body is the same as the response body of the [get prediction](#predictions.get) operation. If there are network problems, we will retry the webhook a few times, so make sure it can be safely called more than once. Replicate will not follow redirects when sending webhook requests to your service, so be sure to specify a URL that will resolve without redirecting. + /// + /// + /// By default, we will send requests to your webhook URL whenever there are new outputs or the prediction has finished. You can change which events trigger webhook requests by specifying `webhook_events_filter` in the prediction request:
+ /// - `start`: immediately on prediction start
+ /// - `output`: each time a prediction generates an output (note that predictions can generate multiple outputs)
+ /// - `logs`: each time log output is generated by a prediction
+ /// - `completed`: when the prediction reaches a terminal state (succeeded/canceled/failed)
+ /// For example, if you only wanted requests to be sent at the start and end of the prediction, you would provide:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// "webhook_events_filter": ["start", "completed"]
+ /// }
+ /// ```
+ /// Requests for event types `output` and `logs` will be sent at most once every 500ms. If you request `start` and `completed` webhooks, then they'll always be sent regardless of throttling. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsDeploymentsAsync( + string deploymentOwner, + string deploymentName, + global::G.PredictionRequestInput input, + bool stream = default, + string? webhook = default, + global::System.Collections.Generic.IList? webhookEventsFilter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictionsModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictionsModels.g.verified.cs new file mode 100644 index 0000000000..1c53558c67 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreatePredictionsModels.g.verified.cs @@ -0,0 +1,154 @@ +//HintName: G.IApi.CreatePredictionsModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a prediction using an official model
+ /// Start a new prediction for an official model using the inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "prompt": "Write a short poem about the weather."
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"input": {"prompt": "Write a short poem about the weather."}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/models/meta/meta-llama-3-70b-instruct/predictions
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "25s2s4n7rdrgg0cf1httb3myk0",
+ /// "model": "replicate-internal/llama3-70b-chat-vllm-unquantized",
+ /// "version": "dp-cf04fe09351e25db628e8b6181276547",
+ /// "input": {
+ /// "prompt": "Write a short poem about the weather."
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2024-04-23T19:36:28.355Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/25s2s4n7rdrgg0cf1httb3myk0/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/25s2s4n7rdrgg0cf1httb3myk0"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// All input parameters, output values, and logs are automatically removed after an hour, by default, for predictions created through the API.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsModelsAsync( + string modelOwner, + string modelName, + global::G.PredictionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a prediction using an official model
+ /// Start a new prediction for an official model using the inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "prompt": "Write a short poem about the weather."
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"input": {"prompt": "Write a short poem about the weather."}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/models/meta/meta-llama-3-70b-instruct/predictions
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "25s2s4n7rdrgg0cf1httb3myk0",
+ /// "model": "replicate-internal/llama3-70b-chat-vllm-unquantized",
+ /// "version": "dp-cf04fe09351e25db628e8b6181276547",
+ /// "input": {
+ /// "prompt": "Write a short poem about the weather."
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2024-04-23T19:36:28.355Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/25s2s4n7rdrgg0cf1httb3myk0/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/25s2s4n7rdrgg0cf1httb3myk0"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// All input parameters, output values, and logs are automatically removed after an hour, by default, for predictions created through the API.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// + /// + /// The model's input as a JSON object. The input schema depends on what model you are running. To see the available inputs, click the "API" tab on the model you are running or [get the model version](#models.versions.get) and look at its `openapi_schema` property. For example, [stability-ai/sdxl](https://replicate.com/stability-ai/sdxl) takes `prompt` as an input.
+ /// Files should be passed as HTTP URLs or data URLs.
+ /// Use an HTTP URL when:
+ /// - you have a large file > 256kb
+ /// - you want to be able to use the file multiple times
+ /// - you want your prediction metadata to be associable with your input files
+ /// Use a data URL when:
+ /// - you have a small file <= 256kb
+ /// - you don't want to upload and host the file somewhere
+ /// - you don't need to use the file again (Replicate will not store it) + /// + /// + /// **This field is deprecated.**
+ /// Request a URL to receive streaming output using [server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
+ /// This field is no longer needed as the returned prediction will always have a `stream` entry in its `url` property if the model supports streaming. + /// + /// + /// An HTTPS URL for receiving a webhook when the prediction has new output. The webhook will be a POST request where the request body is the same as the response body of the [get prediction](#predictions.get) operation. If there are network problems, we will retry the webhook a few times, so make sure it can be safely called more than once. Replicate will not follow redirects when sending webhook requests to your service, so be sure to specify a URL that will resolve without redirecting. + /// + /// + /// By default, we will send requests to your webhook URL whenever there are new outputs or the prediction has finished. You can change which events trigger webhook requests by specifying `webhook_events_filter` in the prediction request:
+ /// - `start`: immediately on prediction start
+ /// - `output`: each time a prediction generates an output (note that predictions can generate multiple outputs)
+ /// - `logs`: each time log output is generated by a prediction
+ /// - `completed`: when the prediction reaches a terminal state (succeeded/canceled/failed)
+ /// For example, if you only wanted requests to be sent at the start and end of the prediction, you would provide:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// "webhook_events_filter": ["start", "completed"]
+ /// }
+ /// ```
+ /// Requests for event types `output` and `logs` will be sent at most once every 500ms. If you request `start` and `completed` webhooks, then they'll always be sent regardless of throttling. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsModelsAsync( + string modelOwner, + string modelName, + global::G.PredictionRequestInput input, + bool stream = default, + string? webhook = default, + global::System.Collections.Generic.IList? webhookEventsFilter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateTrainings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateTrainings.g.verified.cs new file mode 100644 index 0000000000..de3c4e19ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.CreateTrainings.g.verified.cs @@ -0,0 +1,152 @@ +//HintName: G.IApi.CreateTrainings.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a training
+ /// Start a new training of the model version you specify.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "destination": "{new_owner}/{new_name}",
+ /// "input": {
+ /// "train_data": "https://example.com/my-input-images.zip",
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"destination": "{new_owner}/{new_name}", "input": {"input_images": "https://example.com/my-input-images.zip"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/models/stability-ai/sdxl/versions/da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf/trainings
+ /// ```
+ /// The response will be the training object:
+ /// ```json
+ /// {
+ /// "id": "zz4ibbonubfz7carwiefibzgga",
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "input": {
+ /// "input_images": "https://example.com/my-input-images.zip"
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2023-09-08T16:32:56.990893084Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/zz4ibbonubfz7carwiefibzgga/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/zz4ibbonubfz7carwiefibzgga"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several minutes or more to train, the result will not be available immediately. To get the final result of the training you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a training](#trainings.get) endpoint until it has finished.
+ /// When a training completes, it creates a new [version](https://replicate.com/docs/how-does-replicate-work#terminology) of the model at the specified destination.
+ /// To find some models to train on, check out the [trainable language models collection](https://replicate.com/collections/trainable-language-models). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTrainingsAsync( + string modelOwner, + string modelName, + string versionId, + global::G.TrainingRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a training
+ /// Start a new training of the model version you specify.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "destination": "{new_owner}/{new_name}",
+ /// "input": {
+ /// "train_data": "https://example.com/my-input-images.zip",
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"destination": "{new_owner}/{new_name}", "input": {"input_images": "https://example.com/my-input-images.zip"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/models/stability-ai/sdxl/versions/da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf/trainings
+ /// ```
+ /// The response will be the training object:
+ /// ```json
+ /// {
+ /// "id": "zz4ibbonubfz7carwiefibzgga",
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "input": {
+ /// "input_images": "https://example.com/my-input-images.zip"
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2023-09-08T16:32:56.990893084Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/zz4ibbonubfz7carwiefibzgga/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/zz4ibbonubfz7carwiefibzgga"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several minutes or more to train, the result will not be available immediately. To get the final result of the training you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a training](#trainings.get) endpoint until it has finished.
+ /// When a training completes, it creates a new [version](https://replicate.com/docs/how-does-replicate-work#terminology) of the model at the specified destination.
+ /// To find some models to train on, check out the [trainable language models collection](https://replicate.com/collections/trainable-language-models). + ///
+ /// + /// + /// + /// + /// A string representing the desired model to push to in the format `{destination_model_owner}/{destination_model_name}`. This should be an existing model owned by the user or organization making the API request. If the destination is invalid, the server will return an appropriate 4XX response. + /// + /// + /// An object containing inputs to the Cog model's `train()` function. + /// + /// + /// An HTTPS URL for receiving a webhook when the training completes. The webhook will be a POST request where the request body is the same as the response body of the [get training](#trainings.get) operation. If there are network problems, we will retry the webhook a few times, so make sure it can be safely called more than once. Replicate will not follow redirects when sending webhook requests to your service, so be sure to specify a URL that will resolve without redirecting. + /// + /// + /// By default, we will send requests to your webhook URL whenever there are new outputs or the training has finished. You can change which events trigger webhook requests by specifying `webhook_events_filter` in the training request:
+ /// - `start`: immediately on training start
+ /// - `output`: each time a training generates an output (note that trainings can generate multiple outputs)
+ /// - `logs`: each time log output is generated by a training
+ /// - `completed`: when the training reaches a terminal state (succeeded/canceled/failed)
+ /// For example, if you only wanted requests to be sent at the start and end of the training, you would provide:
+ /// ```json
+ /// {
+ /// "destination": "my-organization/my-model",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// "webhook_events_filter": ["start", "completed"]
+ /// }
+ /// ```
+ /// Requests for event types `output` and `logs` will be sent at most once every 500ms. If you request `start` and `completed` webhooks, then they'll always be sent regardless of throttling. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTrainingsAsync( + string modelOwner, + string modelName, + string versionId, + string destination, + global::G.TrainingRequestInput input, + string? webhook = default, + global::System.Collections.Generic.IList? webhookEventsFilter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteDeployments.g.verified.cs new file mode 100644 index 0000000000..de047520f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteDeployments.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IApi.DeleteDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Delete a deployment
+ /// Delete a deployment
+ /// Deployment deletion has some restrictions:
+ /// - You can only delete deployments that have been offline and unused for at least 15 minutes.
+ /// Example cURL request:
+ /// ```command
+ /// curl -s -X DELETE \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/deployments/acme/my-app-image-generator
+ /// ```
+ /// The response will be an empty 204, indicating the deployment has been deleted. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteDeploymentsAsync( + string deploymentOwner, + string deploymentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteModels.g.verified.cs new file mode 100644 index 0000000000..c7a1cb65e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteModels.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IApi.DeleteModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Delete a model
+ /// Delete a model
+ /// Model deletion has some restrictions:
+ /// - You can only delete models you own.
+ /// - You can only delete private models.
+ /// - You can only delete models that have no versions associated with them. Currently you'll need to [delete the model's versions](#models.versions.delete) before you can delete the model itself.
+ /// Example cURL request:
+ /// ```command
+ /// curl -s -X DELETE \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models/replicate/hello-world
+ /// ```
+ /// The response will be an empty 204, indicating the model has been deleted. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelsAsync( + string modelOwner, + string modelName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteVersionsModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteVersionsModels.g.verified.cs new file mode 100644 index 0000000000..ed324c04c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.DeleteVersionsModels.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IApi.DeleteVersionsModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Delete a model version
+ /// Delete a model version and all associated predictions, including all output files.
+ /// Model version deletion has some restrictions:
+ /// - You can only delete versions from models you own.
+ /// - You can only delete versions from private models.
+ /// - You cannot delete a version if someone other than you has run predictions with it.
+ /// - You cannot delete a version if it is being used as the base model for a fine tune/training.
+ /// - You cannot delete a version if it has an associated deployment.
+ /// - You cannot delete a version if another model version is overridden to use it.
+ /// Example cURL request:
+ /// ```command
+ /// curl -s -X DELETE \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models/replicate/hello-world/versions/5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa
+ /// ```
+ /// The response will be an empty 202, indicating the deletion request has been accepted. It might take a few minutes to be processed. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteVersionsModelsAsync( + string modelOwner, + string modelName, + string versionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetAccount.g.verified.cs new file mode 100644 index 0000000000..cc7a1280e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetAccount.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IApi.GetAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get the authenticated account
+ /// Returns information about the user or organization associated with the provided API token.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/account
+ /// ```
+ /// The response will be a JSON object describing the account:
+ /// ```json
+ /// {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// }
+ /// ``` + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAccountAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetCollections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetCollections.g.verified.cs new file mode 100644 index 0000000000..0f373c62e1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetCollections.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IApi.GetCollections.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a collection of models
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/collections/super-resolution
+ /// ```
+ /// The response will be a collection object with a nested list of the models in that collection:
+ /// ```json
+ /// {
+ /// "name": "Super resolution",
+ /// "slug": "super-resolution",
+ /// "description": "Upscaling models that create high-quality images from low-quality images.",
+ /// "models": [...]
+ /// }
+ /// ``` + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCollectionsAsync( + string collectionSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetDeployments.g.verified.cs new file mode 100644 index 0000000000..91733b13a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetDeployments.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IApi.GetDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a deployment
+ /// Get information about a deployment by name including the current release.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/deployments/replicate/my-app-image-generator
+ /// ```
+ /// The response will be a JSON object describing the deployment:
+ /// ```json
+ /// {
+ /// "owner": "acme",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 1,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 1,
+ /// "max_instances": 5
+ /// }
+ /// }
+ /// }
+ /// ``` + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDeploymentsAsync( + string deploymentOwner, + string deploymentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetModels.g.verified.cs new file mode 100644 index 0000000000..165c60f8b1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetModels.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IApi.GetModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a model
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models/replicate/hello-world
+ /// ```
+ /// The response will be a model object in the following format:
+ /// ```json
+ /// {
+ /// "url": "https://replicate.com/replicate/hello-world",
+ /// "owner": "replicate",
+ /// "name": "hello-world",
+ /// "description": "A tiny model that says hello",
+ /// "visibility": "public",
+ /// "github_url": "https://github.com/replicate/cog-examples",
+ /// "paper_url": null,
+ /// "license_url": null,
+ /// "run_count": 5681081,
+ /// "cover_image_url": "...",
+ /// "default_example": {...},
+ /// "latest_version": {...},
+ /// }
+ /// ```
+ /// The `cover_image_url` string is an HTTPS URL for an image file. This can be:
+ /// - An image uploaded by the model author.
+ /// - The output file of the example prediction, if the model author has not set a cover image.
+ /// - The input file of the example prediction, if the model author has not set a cover image and the example prediction has no output file.
+ /// - A generic fallback image.
+ /// The `default_example` object is a [prediction](#predictions.get) created with this model.
+ /// The `latest_version` object is the model's most recently pushed [version](#models.versions.get). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetModelsAsync( + string modelOwner, + string modelName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetPredictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetPredictions.g.verified.cs new file mode 100644 index 0000000000..3941b1c677 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetPredictions.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.IApi.GetPredictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a prediction
+ /// Get the current state of a prediction.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "gm3qorzdhgbfurvjtvhg6dckhu",
+ /// "model": "replicate/hello-world",
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "logs": "",
+ /// "output": "hello Alice",
+ /// "error": null,
+ /// "status": "succeeded",
+ /// "created_at": "2023-09-08T16:19:34.765994Z",
+ /// "data_removed": false,
+ /// "started_at": "2023-09-08T16:19:34.779176Z",
+ /// "completed_at": "2023-09-08T16:19:34.791859Z",
+ /// "metrics": {
+ /// "predict_time": 0.012683
+ /// },
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu"
+ /// }
+ /// }
+ /// ```
+ /// `status` will be one of:
+ /// - `starting`: the prediction is starting up. If this status lasts longer than a few seconds, then it's typically because a new worker is being started to run the prediction.
+ /// - `processing`: the `predict()` method of the model is currently running.
+ /// - `succeeded`: the prediction completed successfully.
+ /// - `failed`: the prediction encountered an error during processing.
+ /// - `canceled`: the prediction was canceled by its creator.
+ /// In the case of success, `output` will be an object containing the output of the model. Any files will be represented as HTTPS URLs. You'll need to pass the `Authorization` header to request them.
+ /// In the case of failure, `error` will contain the error encountered during the prediction.
+ /// Terminated predictions (with a status of `succeeded`, `failed`, or `canceled`) will include a `metrics` object with a `predict_time` property showing the amount of CPU or GPU time, in seconds, that the prediction used while running. It won't include time waiting for the prediction to start.
+ /// All input parameters, output values, and logs are automatically removed after an hour, by default, for predictions created through the API.
+ /// You must save a copy of any data or files in the output if you'd like to continue using them. The `output` key will still be present, but it's value will be `null` after the output has been removed.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPredictionsAsync( + string predictionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetSecretDefaultWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetSecretDefaultWebhooks.g.verified.cs new file mode 100644 index 0000000000..06862b7d11 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetSecretDefaultWebhooks.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IApi.GetSecretDefaultWebhooks.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get the signing secret for the default webhook
+ /// Get the signing secret for the default webhook endpoint. This is used to verify that webhook requests are coming from Replicate.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/webhooks/default/secret
+ /// ```
+ /// The response will be a JSON object with a `key` property:
+ /// ```json
+ /// {
+ /// "key": "..."
+ /// }
+ /// ``` + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSecretDefaultWebhooksAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetTrainings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetTrainings.g.verified.cs new file mode 100644 index 0000000000..6e8444c78d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetTrainings.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IApi.GetTrainings.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a training
+ /// Get the current state of a training.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/trainings/zz4ibbonubfz7carwiefibzgga
+ /// ```
+ /// The response will be the training object:
+ /// ```json
+ /// {
+ /// "completed_at": "2023-09-08T16:41:19.826523Z",
+ /// "created_at": "2023-09-08T16:32:57.018467Z",
+ /// "error": null,
+ /// "id": "zz4ibbonubfz7carwiefibzgga",
+ /// "input": {
+ /// "input_images": "https://example.com/my-input-images.zip"
+ /// },
+ /// "logs": "...",
+ /// "metrics": {
+ /// "predict_time": 502.713876
+ /// },
+ /// "output": {
+ /// "version": "...",
+ /// "weights": "..."
+ /// },
+ /// "started_at": "2023-09-08T16:32:57.112647Z",
+ /// "status": "succeeded",
+ /// "urls": {
+ /// "get": "https://api.replicate.com/v1/trainings/zz4ibbonubfz7carwiefibzgga",
+ /// "cancel": "https://api.replicate.com/v1/trainings/zz4ibbonubfz7carwiefibzgga/cancel"
+ /// },
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// }
+ /// ```
+ /// `status` will be one of:
+ /// - `starting`: the training is starting up. If this status lasts longer than a few seconds, then it's typically because a new worker is being started to run the training.
+ /// - `processing`: the `train()` method of the model is currently running.
+ /// - `succeeded`: the training completed successfully.
+ /// - `failed`: the training encountered an error during processing.
+ /// - `canceled`: the training was canceled by its creator.
+ /// In the case of success, `output` will be an object containing the output of the model. Any files will be represented as HTTPS URLs. You'll need to pass the `Authorization` header to request them.
+ /// In the case of failure, `error` will contain the error encountered during the training.
+ /// Terminated trainings (with a status of `succeeded`, `failed`, or `canceled`) will include a `metrics` object with a `predict_time` property showing the amount of CPU or GPU time, in seconds, that the training used while running. It won't include time waiting for the training to start. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTrainingsAsync( + string trainingId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetVersionsModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetVersionsModels.g.verified.cs new file mode 100644 index 0000000000..a2a2402480 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.GetVersionsModels.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IApi.GetVersionsModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a model version
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models/replicate/hello-world/versions/5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa
+ /// ```
+ /// The response will be the version object:
+ /// ```json
+ /// {
+ /// "id": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "created_at": "2022-04-26T19:29:04.418669Z",
+ /// "cog_version": "0.3.0",
+ /// "openapi_schema": {...}
+ /// }
+ /// ```
+ /// Every model describes its inputs and outputs with [OpenAPI Schema Objects](https://spec.openapis.org/oas/latest.html#schemaObject) in the `openapi_schema` property.
+ /// The `openapi_schema.components.schemas.Input` property for the [replicate/hello-world](https://replicate.com/replicate/hello-world) model looks like this:
+ /// ```json
+ /// {
+ /// "type": "object",
+ /// "title": "Input",
+ /// "required": [
+ /// "text"
+ /// ],
+ /// "properties": {
+ /// "text": {
+ /// "x-order": 0,
+ /// "type": "string",
+ /// "title": "Text",
+ /// "description": "Text to prefix with 'hello '"
+ /// }
+ /// }
+ /// }
+ /// ```
+ /// The `openapi_schema.components.schemas.Output` property for the [replicate/hello-world](https://replicate.com/replicate/hello-world) model looks like this:
+ /// ```json
+ /// {
+ /// "type": "string",
+ /// "title": "Output"
+ /// }
+ /// ```
+ /// For more details, see the docs on [Cog's supported input and output types](https://github.com/replicate/cog/blob/75b7802219e7cd4cee845e34c4c22139558615d4/docs/python.md#input-and-output-types) + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVersionsModelsAsync( + string modelOwner, + string modelName, + string versionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListCollections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListCollections.g.verified.cs new file mode 100644 index 0000000000..f585d506c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListCollections.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IApi.ListCollections.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List collections of models
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/collections
+ /// ```
+ /// The response will be a paginated JSON list of collection objects:
+ /// ```json
+ /// {
+ /// "next": "null",
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "name": "Super resolution",
+ /// "slug": "super-resolution",
+ /// "description": "Upscaling models that create high-quality images from low-quality images."
+ /// }
+ /// ]
+ /// }
+ /// ``` + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListCollectionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListDeployments.g.verified.cs new file mode 100644 index 0000000000..be5c41e57f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListDeployments.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IApi.ListDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List deployments
+ /// Get a list of deployments associated with the current account, including the latest release configuration for each deployment.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/deployments
+ /// ```
+ /// The response will be a paginated JSON array of deployment objects, sorted with the most recent deployment first:
+ /// ```json
+ /// {
+ /// "next": "http://api.replicate.com/v1/deployments?cursor=cD0yMDIzLTA2LTA2KzIzJTNBNDAlM0EwOC45NjMwMDAlMkIwMCUzQTAw",
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "owner": "replicate",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 1,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 1,
+ /// "max_instances": 5
+ /// }
+ /// }
+ /// }
+ /// ]
+ /// }
+ /// ``` + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListDeploymentsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListHardware.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListHardware.g.verified.cs new file mode 100644 index 0000000000..806e4f7746 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListHardware.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IApi.ListHardware.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List available hardware for models
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/hardware
+ /// ```
+ /// The response will be a JSON array of hardware objects:
+ /// ```json
+ /// [
+ /// {"name": "CPU", "sku": "cpu"},
+ /// {"name": "Nvidia T4 GPU", "sku": "gpu-t4"},
+ /// {"name": "Nvidia A40 GPU", "sku": "gpu-a40-small"},
+ /// {"name": "Nvidia A40 (Large) GPU", "sku": "gpu-a40-large"},
+ /// ]
+ /// ``` + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListHardwareAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListModels.g.verified.cs new file mode 100644 index 0000000000..1be56e85b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListModels.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IApi.ListModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List public models
+ /// Get a paginated list of public models.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models
+ /// ```
+ /// The response will be a paginated JSON array of model objects:
+ /// ```json
+ /// {
+ /// "next": null,
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "url": "https://replicate.com/acme/hello-world",
+ /// "owner": "acme",
+ /// "name": "hello-world",
+ /// "description": "A tiny model that says hello",
+ /// "visibility": "public",
+ /// "github_url": "https://github.com/replicate/cog-examples",
+ /// "paper_url": null,
+ /// "license_url": null,
+ /// "run_count": 5681081,
+ /// "cover_image_url": "...",
+ /// "default_example": {...},
+ /// "latest_version": {...}
+ /// }
+ /// ]
+ /// }
+ /// ```
+ /// The `cover_image_url` string is an HTTPS URL for an image file. This can be:
+ /// - An image uploaded by the model author.
+ /// - The output file of the example prediction, if the model author has not set a cover image.
+ /// - The input file of the example prediction, if the model author has not set a cover image and the example prediction has no output file.
+ /// - A generic fallback image. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListPredictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListPredictions.g.verified.cs new file mode 100644 index 0000000000..48335695c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListPredictions.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IApi.ListPredictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List predictions
+ /// Get a paginated list of predictions that you've created. This will include predictions created from the API and the website. It will return 100 records per page.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/predictions
+ /// ```
+ /// The response will be a paginated JSON array of prediction objects, sorted with the most recent prediction first:
+ /// ```json
+ /// {
+ /// "next": null,
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "completed_at": "2023-09-08T16:19:34.791859Z",
+ /// "created_at": "2023-09-08T16:19:34.907244Z",
+ /// "data_removed": false,
+ /// "error": null,
+ /// "id": "gm3qorzdhgbfurvjtvhg6dckhu",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "metrics": {
+ /// "predict_time": 0.012683
+ /// },
+ /// "output": "hello Alice",
+ /// "started_at": "2023-09-08T16:19:34.779176Z",
+ /// "source": "api",
+ /// "status": "succeeded",
+ /// "urls": {
+ /// "get": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu",
+ /// "cancel": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu/cancel"
+ /// },
+ /// "model": "replicate/hello-world",
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// }
+ /// ]
+ /// }
+ /// ```
+ /// `id` will be the unique ID of the prediction.
+ /// `source` will indicate how the prediction was created. Possible values are `web` or `api`.
+ /// `status` will be the status of the prediction. Refer to [get a single prediction](#predictions.get) for possible values.
+ /// `urls` will be a convenience object that can be used to construct new API requests for the given prediction. If the requested model version supports streaming, this will have a `stream` entry with an HTTPS URL that you can use to construct an [`EventSource`](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
+ /// `model` will be the model identifier string in the format of `{model_owner}/{model_name}`.
+ /// `version` will be the unique ID of model version used to create the prediction.
+ /// `data_removed` will be `true` if the input and output data has been deleted. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListPredictionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListTrainings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListTrainings.g.verified.cs new file mode 100644 index 0000000000..5c964f9a50 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListTrainings.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IApi.ListTrainings.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List trainings
+ /// Get a paginated list of trainings that you've created. This will include trainings created from the API and the website. It will return 100 records per page.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/trainings
+ /// ```
+ /// The response will be a paginated JSON array of training objects, sorted with the most recent training first:
+ /// ```json
+ /// {
+ /// "next": null,
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "completed_at": "2023-09-08T16:41:19.826523Z",
+ /// "created_at": "2023-09-08T16:32:57.018467Z",
+ /// "error": null,
+ /// "id": "zz4ibbonubfz7carwiefibzgga",
+ /// "input": {
+ /// "input_images": "https://example.com/my-input-images.zip"
+ /// },
+ /// "metrics": {
+ /// "predict_time": 502.713876
+ /// },
+ /// "output": {
+ /// "version": "...",
+ /// "weights": "..."
+ /// },
+ /// "started_at": "2023-09-08T16:32:57.112647Z",
+ /// "source": "api",
+ /// "status": "succeeded",
+ /// "urls": {
+ /// "get": "https://api.replicate.com/v1/trainings/zz4ibbonubfz7carwiefibzgga",
+ /// "cancel": "https://api.replicate.com/v1/trainings/zz4ibbonubfz7carwiefibzgga/cancel"
+ /// },
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// }
+ /// ]
+ /// }
+ /// ```
+ /// `id` will be the unique ID of the training.
+ /// `source` will indicate how the training was created. Possible values are `web` or `api`.
+ /// `status` will be the status of the training. Refer to [get a single training](#trainings.get) for possible values.
+ /// `urls` will be a convenience object that can be used to construct new API requests for the given training.
+ /// `version` will be the unique ID of model version used to create the training. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListTrainingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListVersionsModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListVersionsModels.g.verified.cs new file mode 100644 index 0000000000..cabfd6a447 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.ListVersionsModels.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IApi.ListVersionsModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List model versions
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models/replicate/hello-world/versions
+ /// ```
+ /// The response will be a JSON array of model version objects, sorted with the most recent version first:
+ /// ```json
+ /// {
+ /// "next": null,
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "id": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "created_at": "2022-04-26T19:29:04.418669Z",
+ /// "cog_version": "0.3.0",
+ /// "openapi_schema": {...}
+ /// }
+ /// ]
+ /// }
+ /// ``` + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListVersionsModelsAsync( + string modelOwner, + string modelName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.UpdateDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.UpdateDeployments.g.verified.cs new file mode 100644 index 0000000000..ec05e82061 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.UpdateDeployments.g.verified.cs @@ -0,0 +1,120 @@ +//HintName: G.IApi.UpdateDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Update a deployment
+ /// Update properties of an existing deployment, including hardware, min/max instances, and the deployment's underlying model [version](https://replicate.com/docs/how-does-replicate-work#versions).
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -X PATCH \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H "Content-Type: application/json" \
+ /// -d '{"min_instances": 3, "max_instances": 10}' \
+ /// https://api.replicate.com/v1/deployments/acme/my-app-image-generator
+ /// ```
+ /// The response will be a JSON object describing the deployment:
+ /// ```json
+ /// {
+ /// "owner": "acme",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 2,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 3,
+ /// "max_instances": 10
+ /// }
+ /// }
+ /// }
+ /// ```
+ /// Updating any deployment properties will increment the `number` field of the `current_release`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDeploymentsAsync( + string deploymentOwner, + string deploymentName, + global::G.DeploymentsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a deployment
+ /// Update properties of an existing deployment, including hardware, min/max instances, and the deployment's underlying model [version](https://replicate.com/docs/how-does-replicate-work#versions).
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -X PATCH \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H "Content-Type: application/json" \
+ /// -d '{"min_instances": 3, "max_instances": 10}' \
+ /// https://api.replicate.com/v1/deployments/acme/my-app-image-generator
+ /// ```
+ /// The response will be a JSON object describing the deployment:
+ /// ```json
+ /// {
+ /// "owner": "acme",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 2,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 3,
+ /// "max_instances": 10
+ /// }
+ /// }
+ /// }
+ /// ```
+ /// Updating any deployment properties will increment the `number` field of the `current_release`. + ///
+ /// + /// + /// + /// The SKU for the hardware used to run the model. Possible values can be retrieved from the `hardware.list` endpoint. + /// + /// + /// The maximum number of instances for scaling. + /// + /// + /// The minimum number of instances for scaling. + /// + /// + /// The ID of the model version that you want to deploy + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDeploymentsAsync( + string deploymentOwner, + string deploymentName, + string? hardware = default, + int maxInstances = default, + int minInstances = default, + string? version = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..4fa7cdab5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// A web service for running Replicate models
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.replicate.com/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.g.verified.cs index 9d2447f36e..971815094d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CancelPredictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CancelPredictions.g.verified.cs new file mode 100644 index 0000000000..1fb602c495 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CancelPredictions.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.CancelPredictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Cancel a prediction + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelPredictionsAsync( + string predictionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CancelTrainings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CancelTrainings.g.verified.cs new file mode 100644 index 0000000000..9dcc7c3633 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CancelTrainings.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.CancelTrainings.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Cancel a training + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelTrainingsAsync( + string trainingId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateDeployments.g.verified.cs new file mode 100644 index 0000000000..552184627a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateDeployments.g.verified.cs @@ -0,0 +1,132 @@ +//HintName: G.IApi.CreateDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a deployment
+ /// Create a new deployment:
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -X POST \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H "Content-Type: application/json" \
+ /// -d '{
+ /// "name": "my-app-image-generator",
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 0,
+ /// "max_instances": 3
+ /// }' \
+ /// https://api.replicate.com/v1/deployments
+ /// ```
+ /// The response will be a JSON object describing the deployment:
+ /// ```json
+ /// {
+ /// "owner": "acme",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 1,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 1,
+ /// "max_instances": 5
+ /// }
+ /// }
+ /// }
+ /// ``` + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDeploymentsAsync( + global::G.DeploymentsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a deployment
+ /// Create a new deployment:
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -X POST \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H "Content-Type: application/json" \
+ /// -d '{
+ /// "name": "my-app-image-generator",
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 0,
+ /// "max_instances": 3
+ /// }' \
+ /// https://api.replicate.com/v1/deployments
+ /// ```
+ /// The response will be a JSON object describing the deployment:
+ /// ```json
+ /// {
+ /// "owner": "acme",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 1,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 1,
+ /// "max_instances": 5
+ /// }
+ /// }
+ /// }
+ /// ``` + ///
+ /// + /// The SKU for the hardware used to run the model. Possible values can be retrieved from the `hardware.list` endpoint. + /// + /// + /// The maximum number of instances for scaling. + /// + /// + /// The minimum number of instances for scaling. + /// + /// + /// The full name of the model that you want to deploy e.g. stability-ai/sdxl. + /// + /// + /// The name of the deployment. + /// + /// + /// The 64-character string ID of the model version that you want to deploy. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateDeploymentsAsync( + string hardware, + int maxInstances, + int minInstances, + string model, + string name, + string version, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateModels.g.verified.cs new file mode 100644 index 0000000000..c4c77ca821 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateModels.g.verified.cs @@ -0,0 +1,116 @@ +//HintName: G.IApi.CreateModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a model
+ /// Create a model.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// -d '{"owner": "alice", "name": "my-model", "description": "An example model", "visibility": "public", "hardware": "cpu"}' \
+ /// https://api.replicate.com/v1/models
+ /// ```
+ /// The response will be a model object in the following format:
+ /// ```json
+ /// {
+ /// "url": "https://replicate.com/alice/my-model",
+ /// "owner": "alice",
+ /// "name": "my-model",
+ /// "description": "An example model",
+ /// "visibility": "public",
+ /// "github_url": null,
+ /// "paper_url": null,
+ /// "license_url": null,
+ /// "run_count": 0,
+ /// "cover_image_url": null,
+ /// "default_example": null,
+ /// "latest_version": null,
+ /// }
+ /// ```
+ /// Note that there is a limit of 1,000 models per account. For most purposes, we recommend using a single model and pushing new [versions](https://replicate.com/docs/how-does-replicate-work#versions) of the model as you make changes to it. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModelsAsync( + global::G.ModelsCreateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a model
+ /// Create a model.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// -d '{"owner": "alice", "name": "my-model", "description": "An example model", "visibility": "public", "hardware": "cpu"}' \
+ /// https://api.replicate.com/v1/models
+ /// ```
+ /// The response will be a model object in the following format:
+ /// ```json
+ /// {
+ /// "url": "https://replicate.com/alice/my-model",
+ /// "owner": "alice",
+ /// "name": "my-model",
+ /// "description": "An example model",
+ /// "visibility": "public",
+ /// "github_url": null,
+ /// "paper_url": null,
+ /// "license_url": null,
+ /// "run_count": 0,
+ /// "cover_image_url": null,
+ /// "default_example": null,
+ /// "latest_version": null,
+ /// }
+ /// ```
+ /// Note that there is a limit of 1,000 models per account. For most purposes, we recommend using a single model and pushing new [versions](https://replicate.com/docs/how-does-replicate-work#versions) of the model as you make changes to it. + ///
+ /// + /// A URL for the model's cover image. This should be an image file. + /// + /// + /// A description of the model. + /// + /// + /// A URL for the model's source code on GitHub. + /// + /// + /// The SKU for the hardware used to run the model. Possible values can be retrieved from the `hardware.list` endpoint. + /// + /// + /// A URL for the model's license. + /// + /// + /// The name of the model. This must be unique among all models owned by the user or organization. + /// + /// + /// The name of the user or organization that will own the model. This must be the same as the user or organization that is making the API request. In other words, the API token used in the request must belong to this user or organization. + /// + /// + /// A URL for the model's paper. + /// + /// + /// Whether the model should be public or private. A public model can be viewed and run by anyone, whereas a private model can be viewed and run only by the user or organization members that own the model. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateModelsAsync( + string hardware, + string name, + string owner, + global::G.ModelsCreateRequestVisibility visibility, + string? coverImageUrl = default, + string? description = default, + string? githubUrl = default, + string? licenseUrl = default, + string? paperUrl = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictions.g.verified.cs new file mode 100644 index 0000000000..3526985f97 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictions.g.verified.cs @@ -0,0 +1,155 @@ +//HintName: G.IApi.CreatePredictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a prediction
+ /// Start a new prediction for the model version and inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa", "input": {"text": "Alice"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/predictions
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "gm3qorzdhgbfurvjtvhg6dckhu",
+ /// "model": "replicate/hello-world",
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "output": null,
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2023-09-08T16:19:34.765994657Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// Input and output (including any files) will be automatically deleted after an hour, so you must save a copy of any files in the output if you'd like to continue using them.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsAsync( + global::G.VersionPredictionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a prediction
+ /// Start a new prediction for the model version and inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa", "input": {"text": "Alice"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/predictions
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "gm3qorzdhgbfurvjtvhg6dckhu",
+ /// "model": "replicate/hello-world",
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "output": null,
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2023-09-08T16:19:34.765994657Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// Input and output (including any files) will be automatically deleted after an hour, so you must save a copy of any files in the output if you'd like to continue using them.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// The model's input as a JSON object. The input schema depends on what model you are running. To see the available inputs, click the "API" tab on the model you are running or [get the model version](#models.versions.get) and look at its `openapi_schema` property. For example, [stability-ai/sdxl](https://replicate.com/stability-ai/sdxl) takes `prompt` as an input.
+ /// Files should be passed as HTTP URLs or data URLs.
+ /// Use an HTTP URL when:
+ /// - you have a large file > 256kb
+ /// - you want to be able to use the file multiple times
+ /// - you want your prediction metadata to be associable with your input files
+ /// Use a data URL when:
+ /// - you have a small file <= 256kb
+ /// - you don't want to upload and host the file somewhere
+ /// - you don't need to use the file again (Replicate will not store it) + /// + /// + /// **This field is deprecated.**
+ /// Request a URL to receive streaming output using [server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
+ /// This field is no longer needed as the returned prediction will always have a `stream` entry in its `url` property if the model supports streaming. + /// + /// + /// The ID of the model version that you want to run. + /// + /// + /// An HTTPS URL for receiving a webhook when the prediction has new output. The webhook will be a POST request where the request body is the same as the response body of the [get prediction](#predictions.get) operation. If there are network problems, we will retry the webhook a few times, so make sure it can be safely called more than once. Replicate will not follow redirects when sending webhook requests to your service, so be sure to specify a URL that will resolve without redirecting. + /// + /// + /// By default, we will send requests to your webhook URL whenever there are new outputs or the prediction has finished. You can change which events trigger webhook requests by specifying `webhook_events_filter` in the prediction request:
+ /// - `start`: immediately on prediction start
+ /// - `output`: each time a prediction generates an output (note that predictions can generate multiple outputs)
+ /// - `logs`: each time log output is generated by a prediction
+ /// - `completed`: when the prediction reaches a terminal state (succeeded/canceled/failed)
+ /// For example, if you only wanted requests to be sent at the start and end of the prediction, you would provide:
+ /// ```json
+ /// {
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// "webhook_events_filter": ["start", "completed"]
+ /// }
+ /// ```
+ /// Requests for event types `output` and `logs` will be sent at most once every 500ms. If you request `start` and `completed` webhooks, then they'll always be sent regardless of throttling. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsAsync( + global::G.VersionPredictionRequestInput input, + string version, + bool stream = default, + string? webhook = default, + global::System.Collections.Generic.IList? webhookEventsFilter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictionsDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictionsDeployments.g.verified.cs new file mode 100644 index 0000000000..6f27ace5ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictionsDeployments.g.verified.cs @@ -0,0 +1,154 @@ +//HintName: G.IApi.CreatePredictionsDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a prediction using a deployment
+ /// Start a new prediction for a deployment of a model using inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "text": "Alice"
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"input": {"text": "Alice"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// "https://api.replicate.com/v1/deployments/replicate/hello-world/predictions"
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "86b6trbv99rgp0cf1h886f69ew",
+ /// "model": "replicate/hello-world",
+ /// "version": "dp-8e43d61c333b5ddc7a921130bc3ab3ea",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2024-04-23T18:55:52.138Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/86b6trbv99rgp0cf1h886f69ew/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/86b6trbv99rgp0cf1h886f69ew"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// Input and output (including any files) will be automatically deleted after an hour, so you must save a copy of any files in the output if you'd like to continue using them.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsDeploymentsAsync( + string deploymentOwner, + string deploymentName, + global::G.PredictionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a prediction using a deployment
+ /// Start a new prediction for a deployment of a model using inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "text": "Alice"
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"input": {"text": "Alice"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// "https://api.replicate.com/v1/deployments/replicate/hello-world/predictions"
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "86b6trbv99rgp0cf1h886f69ew",
+ /// "model": "replicate/hello-world",
+ /// "version": "dp-8e43d61c333b5ddc7a921130bc3ab3ea",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2024-04-23T18:55:52.138Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/86b6trbv99rgp0cf1h886f69ew/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/86b6trbv99rgp0cf1h886f69ew"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// Input and output (including any files) will be automatically deleted after an hour, so you must save a copy of any files in the output if you'd like to continue using them.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// + /// + /// The model's input as a JSON object. The input schema depends on what model you are running. To see the available inputs, click the "API" tab on the model you are running or [get the model version](#models.versions.get) and look at its `openapi_schema` property. For example, [stability-ai/sdxl](https://replicate.com/stability-ai/sdxl) takes `prompt` as an input.
+ /// Files should be passed as HTTP URLs or data URLs.
+ /// Use an HTTP URL when:
+ /// - you have a large file > 256kb
+ /// - you want to be able to use the file multiple times
+ /// - you want your prediction metadata to be associable with your input files
+ /// Use a data URL when:
+ /// - you have a small file <= 256kb
+ /// - you don't want to upload and host the file somewhere
+ /// - you don't need to use the file again (Replicate will not store it) + /// + /// + /// **This field is deprecated.**
+ /// Request a URL to receive streaming output using [server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
+ /// This field is no longer needed as the returned prediction will always have a `stream` entry in its `url` property if the model supports streaming. + /// + /// + /// An HTTPS URL for receiving a webhook when the prediction has new output. The webhook will be a POST request where the request body is the same as the response body of the [get prediction](#predictions.get) operation. If there are network problems, we will retry the webhook a few times, so make sure it can be safely called more than once. Replicate will not follow redirects when sending webhook requests to your service, so be sure to specify a URL that will resolve without redirecting. + /// + /// + /// By default, we will send requests to your webhook URL whenever there are new outputs or the prediction has finished. You can change which events trigger webhook requests by specifying `webhook_events_filter` in the prediction request:
+ /// - `start`: immediately on prediction start
+ /// - `output`: each time a prediction generates an output (note that predictions can generate multiple outputs)
+ /// - `logs`: each time log output is generated by a prediction
+ /// - `completed`: when the prediction reaches a terminal state (succeeded/canceled/failed)
+ /// For example, if you only wanted requests to be sent at the start and end of the prediction, you would provide:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// "webhook_events_filter": ["start", "completed"]
+ /// }
+ /// ```
+ /// Requests for event types `output` and `logs` will be sent at most once every 500ms. If you request `start` and `completed` webhooks, then they'll always be sent regardless of throttling. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsDeploymentsAsync( + string deploymentOwner, + string deploymentName, + global::G.PredictionRequestInput input, + bool stream = default, + string? webhook = default, + global::System.Collections.Generic.IList? webhookEventsFilter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictionsModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictionsModels.g.verified.cs new file mode 100644 index 0000000000..1c53558c67 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreatePredictionsModels.g.verified.cs @@ -0,0 +1,154 @@ +//HintName: G.IApi.CreatePredictionsModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a prediction using an official model
+ /// Start a new prediction for an official model using the inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "prompt": "Write a short poem about the weather."
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"input": {"prompt": "Write a short poem about the weather."}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/models/meta/meta-llama-3-70b-instruct/predictions
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "25s2s4n7rdrgg0cf1httb3myk0",
+ /// "model": "replicate-internal/llama3-70b-chat-vllm-unquantized",
+ /// "version": "dp-cf04fe09351e25db628e8b6181276547",
+ /// "input": {
+ /// "prompt": "Write a short poem about the weather."
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2024-04-23T19:36:28.355Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/25s2s4n7rdrgg0cf1httb3myk0/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/25s2s4n7rdrgg0cf1httb3myk0"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// All input parameters, output values, and logs are automatically removed after an hour, by default, for predictions created through the API.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsModelsAsync( + string modelOwner, + string modelName, + global::G.PredictionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a prediction using an official model
+ /// Start a new prediction for an official model using the inputs you provide.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "prompt": "Write a short poem about the weather."
+ /// }
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"input": {"prompt": "Write a short poem about the weather."}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/models/meta/meta-llama-3-70b-instruct/predictions
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "25s2s4n7rdrgg0cf1httb3myk0",
+ /// "model": "replicate-internal/llama3-70b-chat-vllm-unquantized",
+ /// "version": "dp-cf04fe09351e25db628e8b6181276547",
+ /// "input": {
+ /// "prompt": "Write a short poem about the weather."
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2024-04-23T19:36:28.355Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/25s2s4n7rdrgg0cf1httb3myk0/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/25s2s4n7rdrgg0cf1httb3myk0"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several seconds or more to run, the output will not be available immediately. To get the final result of the prediction you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a prediction](#predictions.get) endpoint until it has finished.
+ /// All input parameters, output values, and logs are automatically removed after an hour, by default, for predictions created through the API.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// + /// + /// The model's input as a JSON object. The input schema depends on what model you are running. To see the available inputs, click the "API" tab on the model you are running or [get the model version](#models.versions.get) and look at its `openapi_schema` property. For example, [stability-ai/sdxl](https://replicate.com/stability-ai/sdxl) takes `prompt` as an input.
+ /// Files should be passed as HTTP URLs or data URLs.
+ /// Use an HTTP URL when:
+ /// - you have a large file > 256kb
+ /// - you want to be able to use the file multiple times
+ /// - you want your prediction metadata to be associable with your input files
+ /// Use a data URL when:
+ /// - you have a small file <= 256kb
+ /// - you don't want to upload and host the file somewhere
+ /// - you don't need to use the file again (Replicate will not store it) + /// + /// + /// **This field is deprecated.**
+ /// Request a URL to receive streaming output using [server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
+ /// This field is no longer needed as the returned prediction will always have a `stream` entry in its `url` property if the model supports streaming. + /// + /// + /// An HTTPS URL for receiving a webhook when the prediction has new output. The webhook will be a POST request where the request body is the same as the response body of the [get prediction](#predictions.get) operation. If there are network problems, we will retry the webhook a few times, so make sure it can be safely called more than once. Replicate will not follow redirects when sending webhook requests to your service, so be sure to specify a URL that will resolve without redirecting. + /// + /// + /// By default, we will send requests to your webhook URL whenever there are new outputs or the prediction has finished. You can change which events trigger webhook requests by specifying `webhook_events_filter` in the prediction request:
+ /// - `start`: immediately on prediction start
+ /// - `output`: each time a prediction generates an output (note that predictions can generate multiple outputs)
+ /// - `logs`: each time log output is generated by a prediction
+ /// - `completed`: when the prediction reaches a terminal state (succeeded/canceled/failed)
+ /// For example, if you only wanted requests to be sent at the start and end of the prediction, you would provide:
+ /// ```json
+ /// {
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// "webhook_events_filter": ["start", "completed"]
+ /// }
+ /// ```
+ /// Requests for event types `output` and `logs` will be sent at most once every 500ms. If you request `start` and `completed` webhooks, then they'll always be sent regardless of throttling. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionsModelsAsync( + string modelOwner, + string modelName, + global::G.PredictionRequestInput input, + bool stream = default, + string? webhook = default, + global::System.Collections.Generic.IList? webhookEventsFilter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateTrainings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateTrainings.g.verified.cs new file mode 100644 index 0000000000..de3c4e19ee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.CreateTrainings.g.verified.cs @@ -0,0 +1,152 @@ +//HintName: G.IApi.CreateTrainings.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a training
+ /// Start a new training of the model version you specify.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "destination": "{new_owner}/{new_name}",
+ /// "input": {
+ /// "train_data": "https://example.com/my-input-images.zip",
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"destination": "{new_owner}/{new_name}", "input": {"input_images": "https://example.com/my-input-images.zip"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/models/stability-ai/sdxl/versions/da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf/trainings
+ /// ```
+ /// The response will be the training object:
+ /// ```json
+ /// {
+ /// "id": "zz4ibbonubfz7carwiefibzgga",
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "input": {
+ /// "input_images": "https://example.com/my-input-images.zip"
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2023-09-08T16:32:56.990893084Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/zz4ibbonubfz7carwiefibzgga/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/zz4ibbonubfz7carwiefibzgga"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several minutes or more to train, the result will not be available immediately. To get the final result of the training you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a training](#trainings.get) endpoint until it has finished.
+ /// When a training completes, it creates a new [version](https://replicate.com/docs/how-does-replicate-work#terminology) of the model at the specified destination.
+ /// To find some models to train on, check out the [trainable language models collection](https://replicate.com/collections/trainable-language-models). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTrainingsAsync( + string modelOwner, + string modelName, + string versionId, + global::G.TrainingRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a training
+ /// Start a new training of the model version you specify.
+ /// Example request body:
+ /// ```json
+ /// {
+ /// "destination": "{new_owner}/{new_name}",
+ /// "input": {
+ /// "train_data": "https://example.com/my-input-images.zip",
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// }
+ /// ```
+ /// Example cURL request:
+ /// ```console
+ /// curl -s -X POST \
+ /// -d '{"destination": "{new_owner}/{new_name}", "input": {"input_images": "https://example.com/my-input-images.zip"}}' \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H 'Content-Type: application/json' \
+ /// https://api.replicate.com/v1/models/stability-ai/sdxl/versions/da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf/trainings
+ /// ```
+ /// The response will be the training object:
+ /// ```json
+ /// {
+ /// "id": "zz4ibbonubfz7carwiefibzgga",
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "input": {
+ /// "input_images": "https://example.com/my-input-images.zip"
+ /// },
+ /// "logs": "",
+ /// "error": null,
+ /// "status": "starting",
+ /// "created_at": "2023-09-08T16:32:56.990893084Z",
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/zz4ibbonubfz7carwiefibzgga/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/zz4ibbonubfz7carwiefibzgga"
+ /// }
+ /// }
+ /// ```
+ /// As models can take several minutes or more to train, the result will not be available immediately. To get the final result of the training you should either provide a `webhook` HTTPS URL for us to call when the results are ready, or poll the [get a training](#trainings.get) endpoint until it has finished.
+ /// When a training completes, it creates a new [version](https://replicate.com/docs/how-does-replicate-work#terminology) of the model at the specified destination.
+ /// To find some models to train on, check out the [trainable language models collection](https://replicate.com/collections/trainable-language-models). + ///
+ /// + /// + /// + /// + /// A string representing the desired model to push to in the format `{destination_model_owner}/{destination_model_name}`. This should be an existing model owned by the user or organization making the API request. If the destination is invalid, the server will return an appropriate 4XX response. + /// + /// + /// An object containing inputs to the Cog model's `train()` function. + /// + /// + /// An HTTPS URL for receiving a webhook when the training completes. The webhook will be a POST request where the request body is the same as the response body of the [get training](#trainings.get) operation. If there are network problems, we will retry the webhook a few times, so make sure it can be safely called more than once. Replicate will not follow redirects when sending webhook requests to your service, so be sure to specify a URL that will resolve without redirecting. + /// + /// + /// By default, we will send requests to your webhook URL whenever there are new outputs or the training has finished. You can change which events trigger webhook requests by specifying `webhook_events_filter` in the training request:
+ /// - `start`: immediately on training start
+ /// - `output`: each time a training generates an output (note that trainings can generate multiple outputs)
+ /// - `logs`: each time log output is generated by a training
+ /// - `completed`: when the training reaches a terminal state (succeeded/canceled/failed)
+ /// For example, if you only wanted requests to be sent at the start and end of the training, you would provide:
+ /// ```json
+ /// {
+ /// "destination": "my-organization/my-model",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "webhook": "https://example.com/my-webhook",
+ /// "webhook_events_filter": ["start", "completed"]
+ /// }
+ /// ```
+ /// Requests for event types `output` and `logs` will be sent at most once every 500ms. If you request `start` and `completed` webhooks, then they'll always be sent regardless of throttling. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateTrainingsAsync( + string modelOwner, + string modelName, + string versionId, + string destination, + global::G.TrainingRequestInput input, + string? webhook = default, + global::System.Collections.Generic.IList? webhookEventsFilter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteDeployments.g.verified.cs new file mode 100644 index 0000000000..de047520f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteDeployments.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IApi.DeleteDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Delete a deployment
+ /// Delete a deployment
+ /// Deployment deletion has some restrictions:
+ /// - You can only delete deployments that have been offline and unused for at least 15 minutes.
+ /// Example cURL request:
+ /// ```command
+ /// curl -s -X DELETE \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/deployments/acme/my-app-image-generator
+ /// ```
+ /// The response will be an empty 204, indicating the deployment has been deleted. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteDeploymentsAsync( + string deploymentOwner, + string deploymentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteModels.g.verified.cs new file mode 100644 index 0000000000..c7a1cb65e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteModels.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IApi.DeleteModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Delete a model
+ /// Delete a model
+ /// Model deletion has some restrictions:
+ /// - You can only delete models you own.
+ /// - You can only delete private models.
+ /// - You can only delete models that have no versions associated with them. Currently you'll need to [delete the model's versions](#models.versions.delete) before you can delete the model itself.
+ /// Example cURL request:
+ /// ```command
+ /// curl -s -X DELETE \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models/replicate/hello-world
+ /// ```
+ /// The response will be an empty 204, indicating the model has been deleted. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteModelsAsync( + string modelOwner, + string modelName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteVersionsModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteVersionsModels.g.verified.cs new file mode 100644 index 0000000000..ed324c04c4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.DeleteVersionsModels.g.verified.cs @@ -0,0 +1,37 @@ +//HintName: G.IApi.DeleteVersionsModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Delete a model version
+ /// Delete a model version and all associated predictions, including all output files.
+ /// Model version deletion has some restrictions:
+ /// - You can only delete versions from models you own.
+ /// - You can only delete versions from private models.
+ /// - You cannot delete a version if someone other than you has run predictions with it.
+ /// - You cannot delete a version if it is being used as the base model for a fine tune/training.
+ /// - You cannot delete a version if it has an associated deployment.
+ /// - You cannot delete a version if another model version is overridden to use it.
+ /// Example cURL request:
+ /// ```command
+ /// curl -s -X DELETE \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models/replicate/hello-world/versions/5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa
+ /// ```
+ /// The response will be an empty 202, indicating the deletion request has been accepted. It might take a few minutes to be processed. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteVersionsModelsAsync( + string modelOwner, + string modelName, + string versionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetAccount.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetAccount.g.verified.cs new file mode 100644 index 0000000000..cc7a1280e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetAccount.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IApi.GetAccount.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get the authenticated account
+ /// Returns information about the user or organization associated with the provided API token.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/account
+ /// ```
+ /// The response will be a JSON object describing the account:
+ /// ```json
+ /// {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// }
+ /// ``` + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAccountAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetCollections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetCollections.g.verified.cs new file mode 100644 index 0000000000..0f373c62e1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetCollections.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IApi.GetCollections.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a collection of models
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/collections/super-resolution
+ /// ```
+ /// The response will be a collection object with a nested list of the models in that collection:
+ /// ```json
+ /// {
+ /// "name": "Super resolution",
+ /// "slug": "super-resolution",
+ /// "description": "Upscaling models that create high-quality images from low-quality images.",
+ /// "models": [...]
+ /// }
+ /// ``` + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCollectionsAsync( + string collectionSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetDeployments.g.verified.cs new file mode 100644 index 0000000000..91733b13a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetDeployments.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IApi.GetDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a deployment
+ /// Get information about a deployment by name including the current release.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/deployments/replicate/my-app-image-generator
+ /// ```
+ /// The response will be a JSON object describing the deployment:
+ /// ```json
+ /// {
+ /// "owner": "acme",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 1,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 1,
+ /// "max_instances": 5
+ /// }
+ /// }
+ /// }
+ /// ``` + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDeploymentsAsync( + string deploymentOwner, + string deploymentName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetModels.g.verified.cs new file mode 100644 index 0000000000..165c60f8b1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetModels.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IApi.GetModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a model
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models/replicate/hello-world
+ /// ```
+ /// The response will be a model object in the following format:
+ /// ```json
+ /// {
+ /// "url": "https://replicate.com/replicate/hello-world",
+ /// "owner": "replicate",
+ /// "name": "hello-world",
+ /// "description": "A tiny model that says hello",
+ /// "visibility": "public",
+ /// "github_url": "https://github.com/replicate/cog-examples",
+ /// "paper_url": null,
+ /// "license_url": null,
+ /// "run_count": 5681081,
+ /// "cover_image_url": "...",
+ /// "default_example": {...},
+ /// "latest_version": {...},
+ /// }
+ /// ```
+ /// The `cover_image_url` string is an HTTPS URL for an image file. This can be:
+ /// - An image uploaded by the model author.
+ /// - The output file of the example prediction, if the model author has not set a cover image.
+ /// - The input file of the example prediction, if the model author has not set a cover image and the example prediction has no output file.
+ /// - A generic fallback image.
+ /// The `default_example` object is a [prediction](#predictions.get) created with this model.
+ /// The `latest_version` object is the model's most recently pushed [version](#models.versions.get). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetModelsAsync( + string modelOwner, + string modelName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetPredictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetPredictions.g.verified.cs new file mode 100644 index 0000000000..3941b1c677 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetPredictions.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.IApi.GetPredictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a prediction
+ /// Get the current state of a prediction.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu
+ /// ```
+ /// The response will be the prediction object:
+ /// ```json
+ /// {
+ /// "id": "gm3qorzdhgbfurvjtvhg6dckhu",
+ /// "model": "replicate/hello-world",
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "logs": "",
+ /// "output": "hello Alice",
+ /// "error": null,
+ /// "status": "succeeded",
+ /// "created_at": "2023-09-08T16:19:34.765994Z",
+ /// "data_removed": false,
+ /// "started_at": "2023-09-08T16:19:34.779176Z",
+ /// "completed_at": "2023-09-08T16:19:34.791859Z",
+ /// "metrics": {
+ /// "predict_time": 0.012683
+ /// },
+ /// "urls": {
+ /// "cancel": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu/cancel",
+ /// "get": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu"
+ /// }
+ /// }
+ /// ```
+ /// `status` will be one of:
+ /// - `starting`: the prediction is starting up. If this status lasts longer than a few seconds, then it's typically because a new worker is being started to run the prediction.
+ /// - `processing`: the `predict()` method of the model is currently running.
+ /// - `succeeded`: the prediction completed successfully.
+ /// - `failed`: the prediction encountered an error during processing.
+ /// - `canceled`: the prediction was canceled by its creator.
+ /// In the case of success, `output` will be an object containing the output of the model. Any files will be represented as HTTPS URLs. You'll need to pass the `Authorization` header to request them.
+ /// In the case of failure, `error` will contain the error encountered during the prediction.
+ /// Terminated predictions (with a status of `succeeded`, `failed`, or `canceled`) will include a `metrics` object with a `predict_time` property showing the amount of CPU or GPU time, in seconds, that the prediction used while running. It won't include time waiting for the prediction to start.
+ /// All input parameters, output values, and logs are automatically removed after an hour, by default, for predictions created through the API.
+ /// You must save a copy of any data or files in the output if you'd like to continue using them. The `output` key will still be present, but it's value will be `null` after the output has been removed.
+ /// Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPredictionsAsync( + string predictionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetSecretDefaultWebhooks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetSecretDefaultWebhooks.g.verified.cs new file mode 100644 index 0000000000..06862b7d11 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetSecretDefaultWebhooks.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IApi.GetSecretDefaultWebhooks.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get the signing secret for the default webhook
+ /// Get the signing secret for the default webhook endpoint. This is used to verify that webhook requests are coming from Replicate.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/webhooks/default/secret
+ /// ```
+ /// The response will be a JSON object with a `key` property:
+ /// ```json
+ /// {
+ /// "key": "..."
+ /// }
+ /// ``` + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetSecretDefaultWebhooksAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetTrainings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetTrainings.g.verified.cs new file mode 100644 index 0000000000..6e8444c78d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetTrainings.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IApi.GetTrainings.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a training
+ /// Get the current state of a training.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/trainings/zz4ibbonubfz7carwiefibzgga
+ /// ```
+ /// The response will be the training object:
+ /// ```json
+ /// {
+ /// "completed_at": "2023-09-08T16:41:19.826523Z",
+ /// "created_at": "2023-09-08T16:32:57.018467Z",
+ /// "error": null,
+ /// "id": "zz4ibbonubfz7carwiefibzgga",
+ /// "input": {
+ /// "input_images": "https://example.com/my-input-images.zip"
+ /// },
+ /// "logs": "...",
+ /// "metrics": {
+ /// "predict_time": 502.713876
+ /// },
+ /// "output": {
+ /// "version": "...",
+ /// "weights": "..."
+ /// },
+ /// "started_at": "2023-09-08T16:32:57.112647Z",
+ /// "status": "succeeded",
+ /// "urls": {
+ /// "get": "https://api.replicate.com/v1/trainings/zz4ibbonubfz7carwiefibzgga",
+ /// "cancel": "https://api.replicate.com/v1/trainings/zz4ibbonubfz7carwiefibzgga/cancel"
+ /// },
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// }
+ /// ```
+ /// `status` will be one of:
+ /// - `starting`: the training is starting up. If this status lasts longer than a few seconds, then it's typically because a new worker is being started to run the training.
+ /// - `processing`: the `train()` method of the model is currently running.
+ /// - `succeeded`: the training completed successfully.
+ /// - `failed`: the training encountered an error during processing.
+ /// - `canceled`: the training was canceled by its creator.
+ /// In the case of success, `output` will be an object containing the output of the model. Any files will be represented as HTTPS URLs. You'll need to pass the `Authorization` header to request them.
+ /// In the case of failure, `error` will contain the error encountered during the training.
+ /// Terminated trainings (with a status of `succeeded`, `failed`, or `canceled`) will include a `metrics` object with a `predict_time` property showing the amount of CPU or GPU time, in seconds, that the training used while running. It won't include time waiting for the training to start. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTrainingsAsync( + string trainingId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetVersionsModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetVersionsModels.g.verified.cs new file mode 100644 index 0000000000..a2a2402480 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.GetVersionsModels.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IApi.GetVersionsModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Get a model version
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models/replicate/hello-world/versions/5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa
+ /// ```
+ /// The response will be the version object:
+ /// ```json
+ /// {
+ /// "id": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "created_at": "2022-04-26T19:29:04.418669Z",
+ /// "cog_version": "0.3.0",
+ /// "openapi_schema": {...}
+ /// }
+ /// ```
+ /// Every model describes its inputs and outputs with [OpenAPI Schema Objects](https://spec.openapis.org/oas/latest.html#schemaObject) in the `openapi_schema` property.
+ /// The `openapi_schema.components.schemas.Input` property for the [replicate/hello-world](https://replicate.com/replicate/hello-world) model looks like this:
+ /// ```json
+ /// {
+ /// "type": "object",
+ /// "title": "Input",
+ /// "required": [
+ /// "text"
+ /// ],
+ /// "properties": {
+ /// "text": {
+ /// "x-order": 0,
+ /// "type": "string",
+ /// "title": "Text",
+ /// "description": "Text to prefix with 'hello '"
+ /// }
+ /// }
+ /// }
+ /// ```
+ /// The `openapi_schema.components.schemas.Output` property for the [replicate/hello-world](https://replicate.com/replicate/hello-world) model looks like this:
+ /// ```json
+ /// {
+ /// "type": "string",
+ /// "title": "Output"
+ /// }
+ /// ```
+ /// For more details, see the docs on [Cog's supported input and output types](https://github.com/replicate/cog/blob/75b7802219e7cd4cee845e34c4c22139558615d4/docs/python.md#input-and-output-types) + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVersionsModelsAsync( + string modelOwner, + string modelName, + string versionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListCollections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListCollections.g.verified.cs new file mode 100644 index 0000000000..f585d506c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListCollections.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IApi.ListCollections.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List collections of models
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/collections
+ /// ```
+ /// The response will be a paginated JSON list of collection objects:
+ /// ```json
+ /// {
+ /// "next": "null",
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "name": "Super resolution",
+ /// "slug": "super-resolution",
+ /// "description": "Upscaling models that create high-quality images from low-quality images."
+ /// }
+ /// ]
+ /// }
+ /// ``` + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListCollectionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListDeployments.g.verified.cs new file mode 100644 index 0000000000..be5c41e57f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListDeployments.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IApi.ListDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List deployments
+ /// Get a list of deployments associated with the current account, including the latest release configuration for each deployment.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/deployments
+ /// ```
+ /// The response will be a paginated JSON array of deployment objects, sorted with the most recent deployment first:
+ /// ```json
+ /// {
+ /// "next": "http://api.replicate.com/v1/deployments?cursor=cD0yMDIzLTA2LTA2KzIzJTNBNDAlM0EwOC45NjMwMDAlMkIwMCUzQTAw",
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "owner": "replicate",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 1,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 1,
+ /// "max_instances": 5
+ /// }
+ /// }
+ /// }
+ /// ]
+ /// }
+ /// ``` + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListDeploymentsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListHardware.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListHardware.g.verified.cs new file mode 100644 index 0000000000..806e4f7746 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListHardware.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IApi.ListHardware.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List available hardware for models
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/hardware
+ /// ```
+ /// The response will be a JSON array of hardware objects:
+ /// ```json
+ /// [
+ /// {"name": "CPU", "sku": "cpu"},
+ /// {"name": "Nvidia T4 GPU", "sku": "gpu-t4"},
+ /// {"name": "Nvidia A40 GPU", "sku": "gpu-a40-small"},
+ /// {"name": "Nvidia A40 (Large) GPU", "sku": "gpu-a40-large"},
+ /// ]
+ /// ``` + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListHardwareAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListModels.g.verified.cs new file mode 100644 index 0000000000..1be56e85b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListModels.g.verified.cs @@ -0,0 +1,51 @@ +//HintName: G.IApi.ListModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List public models
+ /// Get a paginated list of public models.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models
+ /// ```
+ /// The response will be a paginated JSON array of model objects:
+ /// ```json
+ /// {
+ /// "next": null,
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "url": "https://replicate.com/acme/hello-world",
+ /// "owner": "acme",
+ /// "name": "hello-world",
+ /// "description": "A tiny model that says hello",
+ /// "visibility": "public",
+ /// "github_url": "https://github.com/replicate/cog-examples",
+ /// "paper_url": null,
+ /// "license_url": null,
+ /// "run_count": 5681081,
+ /// "cover_image_url": "...",
+ /// "default_example": {...},
+ /// "latest_version": {...}
+ /// }
+ /// ]
+ /// }
+ /// ```
+ /// The `cover_image_url` string is an HTTPS URL for an image file. This can be:
+ /// - An image uploaded by the model author.
+ /// - The output file of the example prediction, if the model author has not set a cover image.
+ /// - The input file of the example prediction, if the model author has not set a cover image and the example prediction has no output file.
+ /// - A generic fallback image. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListPredictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListPredictions.g.verified.cs new file mode 100644 index 0000000000..48335695c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListPredictions.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IApi.ListPredictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List predictions
+ /// Get a paginated list of predictions that you've created. This will include predictions created from the API and the website. It will return 100 records per page.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/predictions
+ /// ```
+ /// The response will be a paginated JSON array of prediction objects, sorted with the most recent prediction first:
+ /// ```json
+ /// {
+ /// "next": null,
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "completed_at": "2023-09-08T16:19:34.791859Z",
+ /// "created_at": "2023-09-08T16:19:34.907244Z",
+ /// "data_removed": false,
+ /// "error": null,
+ /// "id": "gm3qorzdhgbfurvjtvhg6dckhu",
+ /// "input": {
+ /// "text": "Alice"
+ /// },
+ /// "metrics": {
+ /// "predict_time": 0.012683
+ /// },
+ /// "output": "hello Alice",
+ /// "started_at": "2023-09-08T16:19:34.779176Z",
+ /// "source": "api",
+ /// "status": "succeeded",
+ /// "urls": {
+ /// "get": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu",
+ /// "cancel": "https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu/cancel"
+ /// },
+ /// "model": "replicate/hello-world",
+ /// "version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// }
+ /// ]
+ /// }
+ /// ```
+ /// `id` will be the unique ID of the prediction.
+ /// `source` will indicate how the prediction was created. Possible values are `web` or `api`.
+ /// `status` will be the status of the prediction. Refer to [get a single prediction](#predictions.get) for possible values.
+ /// `urls` will be a convenience object that can be used to construct new API requests for the given prediction. If the requested model version supports streaming, this will have a `stream` entry with an HTTPS URL that you can use to construct an [`EventSource`](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
+ /// `model` will be the model identifier string in the format of `{model_owner}/{model_name}`.
+ /// `version` will be the unique ID of model version used to create the prediction.
+ /// `data_removed` will be `true` if the input and output data has been deleted. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListPredictionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListTrainings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListTrainings.g.verified.cs new file mode 100644 index 0000000000..5c964f9a50 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListTrainings.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.IApi.ListTrainings.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List trainings
+ /// Get a paginated list of trainings that you've created. This will include trainings created from the API and the website. It will return 100 records per page.
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/trainings
+ /// ```
+ /// The response will be a paginated JSON array of training objects, sorted with the most recent training first:
+ /// ```json
+ /// {
+ /// "next": null,
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "completed_at": "2023-09-08T16:41:19.826523Z",
+ /// "created_at": "2023-09-08T16:32:57.018467Z",
+ /// "error": null,
+ /// "id": "zz4ibbonubfz7carwiefibzgga",
+ /// "input": {
+ /// "input_images": "https://example.com/my-input-images.zip"
+ /// },
+ /// "metrics": {
+ /// "predict_time": 502.713876
+ /// },
+ /// "output": {
+ /// "version": "...",
+ /// "weights": "..."
+ /// },
+ /// "started_at": "2023-09-08T16:32:57.112647Z",
+ /// "source": "api",
+ /// "status": "succeeded",
+ /// "urls": {
+ /// "get": "https://api.replicate.com/v1/trainings/zz4ibbonubfz7carwiefibzgga",
+ /// "cancel": "https://api.replicate.com/v1/trainings/zz4ibbonubfz7carwiefibzgga/cancel"
+ /// },
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// }
+ /// ]
+ /// }
+ /// ```
+ /// `id` will be the unique ID of the training.
+ /// `source` will indicate how the training was created. Possible values are `web` or `api`.
+ /// `status` will be the status of the training. Refer to [get a single training](#trainings.get) for possible values.
+ /// `urls` will be a convenience object that can be used to construct new API requests for the given training.
+ /// `version` will be the unique ID of model version used to create the training. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListTrainingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListVersionsModels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListVersionsModels.g.verified.cs new file mode 100644 index 0000000000..cabfd6a447 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.ListVersionsModels.g.verified.cs @@ -0,0 +1,41 @@ +//HintName: G.IApi.ListVersionsModels.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List model versions
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// https://api.replicate.com/v1/models/replicate/hello-world/versions
+ /// ```
+ /// The response will be a JSON array of model version objects, sorted with the most recent version first:
+ /// ```json
+ /// {
+ /// "next": null,
+ /// "previous": null,
+ /// "results": [
+ /// {
+ /// "id": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
+ /// "created_at": "2022-04-26T19:29:04.418669Z",
+ /// "cog_version": "0.3.0",
+ /// "openapi_schema": {...}
+ /// }
+ /// ]
+ /// }
+ /// ``` + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListVersionsModelsAsync( + string modelOwner, + string modelName, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.UpdateDeployments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.UpdateDeployments.g.verified.cs new file mode 100644 index 0000000000..ec05e82061 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.UpdateDeployments.g.verified.cs @@ -0,0 +1,120 @@ +//HintName: G.IApi.UpdateDeployments.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Update a deployment
+ /// Update properties of an existing deployment, including hardware, min/max instances, and the deployment's underlying model [version](https://replicate.com/docs/how-does-replicate-work#versions).
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -X PATCH \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H "Content-Type: application/json" \
+ /// -d '{"min_instances": 3, "max_instances": 10}' \
+ /// https://api.replicate.com/v1/deployments/acme/my-app-image-generator
+ /// ```
+ /// The response will be a JSON object describing the deployment:
+ /// ```json
+ /// {
+ /// "owner": "acme",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 2,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 3,
+ /// "max_instances": 10
+ /// }
+ /// }
+ /// }
+ /// ```
+ /// Updating any deployment properties will increment the `number` field of the `current_release`. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDeploymentsAsync( + string deploymentOwner, + string deploymentName, + global::G.DeploymentsUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update a deployment
+ /// Update properties of an existing deployment, including hardware, min/max instances, and the deployment's underlying model [version](https://replicate.com/docs/how-does-replicate-work#versions).
+ /// Example cURL request:
+ /// ```console
+ /// curl -s \
+ /// -X PATCH \
+ /// -H "Authorization: Bearer <paste-your-token-here>" \
+ /// -H "Content-Type: application/json" \
+ /// -d '{"min_instances": 3, "max_instances": 10}' \
+ /// https://api.replicate.com/v1/deployments/acme/my-app-image-generator
+ /// ```
+ /// The response will be a JSON object describing the deployment:
+ /// ```json
+ /// {
+ /// "owner": "acme",
+ /// "name": "my-app-image-generator",
+ /// "current_release": {
+ /// "number": 2,
+ /// "model": "stability-ai/sdxl",
+ /// "version": "da77bc59ee60423279fd632efb4795ab731d9e3ca9705ef3341091fb989b7eaf",
+ /// "created_at": "2024-02-15T16:32:57.018467Z",
+ /// "created_by": {
+ /// "type": "organization",
+ /// "username": "acme",
+ /// "name": "Acme Corp, Inc.",
+ /// "github_url": "https://github.com/acme",
+ /// },
+ /// "configuration": {
+ /// "hardware": "gpu-t4",
+ /// "min_instances": 3,
+ /// "max_instances": 10
+ /// }
+ /// }
+ /// }
+ /// ```
+ /// Updating any deployment properties will increment the `number` field of the `current_release`. + ///
+ /// + /// + /// + /// The SKU for the hardware used to run the model. Possible values can be retrieved from the `hardware.list` endpoint. + /// + /// + /// The maximum number of instances for scaling. + /// + /// + /// The minimum number of instances for scaling. + /// + /// + /// The ID of the model version that you want to deploy + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDeploymentsAsync( + string deploymentOwner, + string deploymentName, + string? hardware = default, + int maxInstances = default, + int minInstances = default, + string? version = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..89892deee4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// A web service for running Replicate models
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.replicate.com/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.g.verified.cs index 5dd1a6871c..df007694ae 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.CreatePets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.CreatePets.g.verified.cs new file mode 100644 index 0000000000..08cdd963b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.CreatePets.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IApi.CreatePets.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a pet + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePetsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.ListPets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.ListPets.g.verified.cs new file mode 100644 index 0000000000..fe82214ff0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.ListPets.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.ListPets.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List all pets + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPetsAsync( + int limit = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.ShowPetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.ShowPetById.g.verified.cs new file mode 100644 index 0000000000..9bba9bbf00 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.ShowPetById.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.ShowPetById.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Info for a specific pet + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShowPetByIdAsync( + string petId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..dff532fead --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "http://petstore.swagger.io/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.g.verified.cs index ef4f60b8df..06da1fa202 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.CreatePets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.CreatePets.g.verified.cs new file mode 100644 index 0000000000..08cdd963b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.CreatePets.g.verified.cs @@ -0,0 +1,16 @@ +//HintName: G.IApi.CreatePets.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Create a pet + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePetsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.ListPets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.ListPets.g.verified.cs new file mode 100644 index 0000000000..fe82214ff0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.ListPets.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.ListPets.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// List all pets + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListPetsAsync( + int limit = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.ShowPetById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.ShowPetById.g.verified.cs new file mode 100644 index 0000000000..9bba9bbf00 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.ShowPetById.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IApi.ShowPetById.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// Info for a specific pet + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ShowPetByIdAsync( + string petId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..fadbf9e784 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "http://petstore.swagger.io/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.Api.g.verified.cs index 203d44da82..97398b4f85 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ChatClient.g.verified.cs index 942f8cfbf9..9f8eb40eb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ChatClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.CompletionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.CompletionClient.g.verified.cs index 2dadb85699..b691173364 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.CompletionClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.CompletionClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CompletionClient : global::System.IDisposable + public sealed partial class CompletionClient : global::G.ICompletionClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs index 19974bc9c0..e867495a4b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.EmbeddingsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EmbeddingsClient : global::System.IDisposable + public sealed partial class EmbeddingsClient : global::G.IEmbeddingsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.FilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.FilesClient.g.verified.cs index 104b55bc3c..6f08256ade 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.FilesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.FilesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FilesClient : global::System.IDisposable + public sealed partial class FilesClient : global::G.IFilesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.FineTuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.FineTuningClient.g.verified.cs index 5dd24f841d..9e0959ee1f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.FineTuningClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.FineTuningClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FineTuningClient : global::System.IDisposable + public sealed partial class FineTuningClient : global::G.IFineTuningClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..64b9799ca9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// The Together REST API. Please see https://docs.together.ai for more details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// + /// + public ChatClient Chat { get; } + + /// + /// + /// + public CompletionClient Completion { get; } + + /// + /// + /// + public EmbeddingsClient Embeddings { get; } + + /// + /// + /// + public ModelsClient Models { get; } + + /// + /// + /// + public ImagesClient Images { get; } + + /// + /// + /// + public FilesClient Files { get; } + + /// + /// + /// + public FineTuningClient FineTuning { get; } + + /// + /// + /// + public RerankClient Rerank { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IChatClient.ChatCompletions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IChatClient.ChatCompletions.g.verified.cs new file mode 100644 index 0000000000..d3a3743dfa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IChatClient.ChatCompletions.g.verified.cs @@ -0,0 +1,112 @@ +//HintName: G.IChatClient.ChatCompletions.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Create chat completion
+ /// Query a chat model. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChatCompletionsAsync( + global::G.ChatCompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create chat completion
+ /// Query a chat model. + ///
+ /// + /// A list of messages comprising the conversation so far. + /// + /// + /// The name of the model to query.
+ /// Example: mistralai/Mixtral-8x7B-Instruct-v0.1 + /// + /// + /// The maximum number of tokens to generate. + /// + /// + /// A list of string sequences that will truncate (stop) inference text output. For example, "</s>" will stop generation as soon as the model generates the given token. + /// + /// + /// A decimal number from 0-1 that determines the degree of randomness in the response. A temperature less than 1 favors more correctness and is appropriate for question answering or summarization. A value closer to 1 introduces more randomness in the output. + /// + /// + /// A percentage (also called the nucleus parameter) that's used to dynamically adjust the number of choices for each predicted token based on the cumulative probabilities. It specifies a probability threshold below which all less likely tokens are filtered out. This technique helps maintain diversity and generate more fluent and natural-sounding text. + /// + /// + /// An integer that's used to limit the number of choices for the next predicted word or token. It specifies the maximum number of tokens to consider at each step, based on their probability of occurrence. This technique helps to speed up the generation process and can improve the quality of the generated text by focusing on the most likely options. + /// + /// + /// A number that controls the diversity of generated text by reducing the likelihood of repeated sequences. Higher values decrease repetition. + /// + /// + /// If true, stream tokens as Server-Sent Events as the model generates them instead of waiting for the full model response. The stream terminates with `data: [DONE]`. If false, return a single JSON object containing the results. + /// + /// + /// Determines the number of most likely tokens to return at each token position log probabilities to return. + /// + /// + /// If true, the response will contain the prompt. Can be used with `logprobs` to return prompt logprobs. + /// + /// + /// The number of completions to generate for each prompt. + /// + /// + /// A number between 0 and 1 that can be used as an alternative to top_p and top-k. + /// + /// + /// A number between -2.0 and 2.0 where a positive value increases the likelihood of a model talking about new topics. + /// + /// + /// A number between -2.0 and 2.0 where a positive value decreases the likelihood of repeating tokens that have already been mentioned. + /// + /// + /// Adjusts the likelihood of specific tokens appearing in the generated output. + /// + /// + /// + /// An object specifying the format that the model must output. + /// + /// + /// A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for. + /// + /// + /// Controls which (if any) function is called by the model. By default uses `auto`, which lets the model pick between generating a message or calling a function. + /// + /// + /// The name of the moderation model used to validate tokens. Choose from the available moderation models found [here](https://docs.together.ai/docs/inference-models#moderation-models).
+ /// Example: safety_model_name + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChatCompletionsAsync( + global::System.Collections.Generic.IList messages, + string model, + int maxTokens = default, + global::System.Collections.Generic.IList? stop = default, + float temperature = default, + float topP = default, + int topK = default, + double repetitionPenalty = default, + bool stream = default, + int logprobs = default, + bool echo = default, + int n = default, + float minP = default, + float presencePenalty = default, + float frequencyPenalty = default, + global::G.ChatCompletionRequestLogitBias? logitBias = default, + global::G.OneOf? functionCall = default, + global::G.ChatCompletionRequestResponseFormat? responseFormat = default, + global::System.Collections.Generic.IList? tools = default, + global::G.OneOf? toolChoice = default, + string? safetyModel = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..523c511f45 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ICompletionClient.Completions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ICompletionClient.Completions.g.verified.cs new file mode 100644 index 0000000000..62e4845ffc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ICompletionClient.Completions.g.verified.cs @@ -0,0 +1,99 @@ +//HintName: G.ICompletionClient.Completions.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Create completion
+ /// Query a language, code, or image model. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CompletionsAsync( + global::G.CompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create completion
+ /// Query a language, code, or image model. + ///
+ /// + /// A string providing context for the model to complete.
+ /// Example: <s>[INST] What is the capital of France? [/INST] + /// + /// + /// The name of the model to query.
+ /// Example: mistralai/Mixtral-8x7B-Instruct-v0.1 + /// + /// + /// The maximum number of tokens to generate. + /// + /// + /// A list of string sequences that will truncate (stop) inference text output. For example, "</s>" will stop generation as soon as the model generates the given token. + /// + /// + /// A decimal number from 0-1 that determines the degree of randomness in the response. A temperature less than 1 favors more correctness and is appropriate for question answering or summarization. A value closer to 1 introduces more randomness in the output. + /// + /// + /// A percentage (also called the nucleus parameter) that's used to dynamically adjust the number of choices for each predicted token based on the cumulative probabilities. It specifies a probability threshold below which all less likely tokens are filtered out. This technique helps maintain diversity and generate more fluent and natural-sounding text. + /// + /// + /// An integer that's used to limit the number of choices for the next predicted word or token. It specifies the maximum number of tokens to consider at each step, based on their probability of occurrence. This technique helps to speed up the generation process and can improve the quality of the generated text by focusing on the most likely options. + /// + /// + /// A number that controls the diversity of generated text by reducing the likelihood of repeated sequences. Higher values decrease repetition. + /// + /// + /// If true, stream tokens as Server-Sent Events as the model generates them instead of waiting for the full model response. The stream terminates with `data: [DONE]`. If false, return a single JSON object containing the results. + /// + /// + /// Determines the number of most likely tokens to return at each token position log probabilities to return. + /// + /// + /// If true, the response will contain the prompt. Can be used with `logprobs` to return prompt logprobs. + /// + /// + /// The number of completions to generate for each prompt. + /// + /// + /// The name of the moderation model used to validate tokens. Choose from the available moderation models found [here](https://docs.together.ai/docs/inference-models#moderation-models).
+ /// Example: safety_model_name + /// + /// + /// A number between 0 and 1 that can be used as an alternative to top-p and top-k. + /// + /// + /// A number between -2.0 and 2.0 where a positive value increases the likelihood of a model talking about new topics. + /// + /// + /// A number between -2.0 and 2.0 where a positive value decreases the likelihood of repeating tokens that have already been mentioned. + /// + /// + /// Adjusts the likelihood of specific tokens appearing in the generated output. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CompletionsAsync( + string prompt, + string model, + int maxTokens = default, + global::System.Collections.Generic.IList? stop = default, + float temperature = default, + float topP = default, + int topK = default, + float repetitionPenalty = default, + bool stream = default, + int logprobs = default, + bool echo = default, + int n = default, + string? safetyModel = default, + float minP = default, + float presencePenalty = default, + float frequencyPenalty = default, + global::G.CompletionRequestLogitBias? logitBias = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ICompletionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ICompletionClient.g.verified.cs new file mode 100644 index 0000000000..b8dcdfa59d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ICompletionClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICompletionClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICompletionClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IEmbeddingsClient.Embeddings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IEmbeddingsClient.Embeddings.g.verified.cs new file mode 100644 index 0000000000..9c25cf8ec8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IEmbeddingsClient.Embeddings.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IEmbeddingsClient.Embeddings.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbeddingsClient + { + /// + /// Create embedding
+ /// Query an embedding model for a given string of text. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EmbeddingsAsync( + global::G.EmbeddingsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create embedding
+ /// Query an embedding model for a given string of text. + ///
+ /// + /// The name of the embedding model to use.
+ /// Example: togethercomputer/m2-bert-80M-8k-retrieval + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EmbeddingsAsync( + string model, + global::G.OneOf> input, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs new file mode 100644 index 0000000000..8dea75ee48 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IEmbeddingsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IEmbeddingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEmbeddingsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.DeleteFilesId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.DeleteFilesId.g.verified.cs new file mode 100644 index 0000000000..ac252714a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.DeleteFilesId.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFilesClient.DeleteFilesId.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Delete a file
+ /// Delete a previously uploaded data file. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteFilesIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFiles.g.verified.cs new file mode 100644 index 0000000000..9092c480e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFiles.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IFilesClient.GetFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// List all files
+ /// List the metadata for all uploaded data files. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFilesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFilesId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFilesId.g.verified.cs new file mode 100644 index 0000000000..a7486f3d15 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFilesId.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFilesClient.GetFilesId.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// List file
+ /// List the metadata for a single uploaded data file. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFilesIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFilesIdContent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFilesIdContent.g.verified.cs new file mode 100644 index 0000000000..e6e61c8539 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.GetFilesIdContent.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFilesClient.GetFilesIdContent.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Get file contents
+ /// Get the contents of a single uploaded data file. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFilesIdContentAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.g.verified.cs new file mode 100644 index 0000000000..f1e4bfd5bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFilesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFilesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFilesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTunes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTunes.g.verified.cs new file mode 100644 index 0000000000..91d764ce8f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTunes.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IFineTuningClient.CreateFineTunes.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Create job
+ /// Use a model to create a fine-tuning job. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFineTunesAsync( + global::G.Request2 request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create job
+ /// Use a model to create a fine-tuning job. + ///
+ /// + /// File-ID of a file uploaded to the Together API + /// + /// + /// Name of the base model to run fine-tune job on + /// + /// + /// Number of epochs for fine-tuning
+ /// Default Value: 1 + /// + /// + /// Number of checkpoints to save during fine-tuning
+ /// Default Value: 1 + /// + /// + /// Batch size for fine-tuning
+ /// Default Value: 32 + /// + /// + /// Learning rate multiplier to use for training
+ /// Default Value: 1E-05F + /// + /// + /// Suffix that will be added to your fine-tuned model name + /// + /// + /// API key for Weights & Biases integration + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFineTunesAsync( + string trainingFile, + string model, + int nEpochs = 1, + int nCheckpoints = 1, + int batchSize = 32, + float learningRate = 1E-05F, + string? suffix = default, + string? wandbApiKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTunesIdCancel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTunesIdCancel.g.verified.cs new file mode 100644 index 0000000000..947559585d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.CreateFineTunesIdCancel.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFineTuningClient.CreateFineTunesIdCancel.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Cancel job
+ /// Cancel a currently running fine-tuning job. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFineTunesIdCancelAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunes.g.verified.cs new file mode 100644 index 0000000000..121d9ab0ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunes.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IFineTuningClient.GetFineTunes.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// List all jobs
+ /// List the metadata for all fine-tuning jobs. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFineTunesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunesId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunesId.g.verified.cs new file mode 100644 index 0000000000..ebe4e6f860 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunesId.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFineTuningClient.GetFineTunesId.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// List job
+ /// List the metadata for a single fine-tuning job. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFineTunesIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunesIdEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunesIdEvents.g.verified.cs new file mode 100644 index 0000000000..fbbb3feead --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFineTunesIdEvents.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFineTuningClient.GetFineTunesIdEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// List job events
+ /// List the events for a single fine-tuning job. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFineTunesIdEventsAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFinetuneDownload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFinetuneDownload.g.verified.cs new file mode 100644 index 0000000000..c67ffba2b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.GetFinetuneDownload.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IFineTuningClient.GetFinetuneDownload.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Download model
+ /// Download a compressed fine-tuned model or checkpoint to local disk. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFinetuneDownloadAsync( + string ftId, + int checkpointStep = default, + string? output = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.g.verified.cs new file mode 100644 index 0000000000..5c4d3d82d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IFineTuningClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFineTuningClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFineTuningClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IImagesClient.CreateImagesGenerations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IImagesClient.CreateImagesGenerations.g.verified.cs new file mode 100644 index 0000000000..996d206fa6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IImagesClient.CreateImagesGenerations.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IImagesClient.CreateImagesGenerations.g.cs +#nullable enable + +namespace G +{ + public partial interface IImagesClient + { + /// + /// Create image
+ /// Use an image model to generate an image for a given prompt. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImagesGenerationsAsync( + global::G.Request request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create image
+ /// Use an image model to generate an image for a given prompt. + ///
+ /// + /// A description of the desired images. Maximum length varies by model.
+ /// Example: cat floating in space, cinematic + /// + /// + /// The model to use for image generation.
+ /// Example: stabilityai/stable-diffusion-xl-base-1.0 + /// + /// + /// Number of generation steps.
+ /// Default Value: 20 + /// + /// + /// Seed used for generation. Can be used to reproduce image generations. + /// + /// + /// Number of image results to generate.
+ /// Default Value: 1 + /// + /// + /// Height of the image to generate in number of pixels.
+ /// Default Value: 1024 + /// + /// + /// Width of the image to generate in number of pixels.
+ /// Default Value: 1024 + /// + /// + /// The prompt or prompts not to guide the image generation. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImagesGenerationsAsync( + string prompt, + string model, + int steps = 20, + int seed = default, + int n = 1, + int height = 1024, + int width = 1024, + string? negativePrompt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IImagesClient.g.verified.cs new file mode 100644 index 0000000000..5e9b09c488 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IImagesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IImagesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IImagesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IModelsClient.Models.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IModelsClient.Models.g.verified.cs new file mode 100644 index 0000000000..07975f6974 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IModelsClient.Models.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IModelsClient.Models.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// List all models
+ /// Lists all of Together's open-source models + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IModelsClient.g.verified.cs new file mode 100644 index 0000000000..3181968e61 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IModelsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IRerankClient.Rerank.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IRerankClient.Rerank.g.verified.cs new file mode 100644 index 0000000000..6b320dad96 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IRerankClient.Rerank.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IRerankClient.Rerank.g.cs +#nullable enable + +namespace G +{ + public partial interface IRerankClient + { + /// + /// Create a rerank request
+ /// Query a reranker model + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RerankAsync( + global::G.RerankRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a rerank request
+ /// Query a reranker model + ///
+ /// + /// The model to be used for the rerank request.
+ /// Example: Salesforce/Llama-Rank-V1 + /// + /// + /// The search query to be used for ranking.
+ /// Example: What animals can I find near Peru? + /// + /// + /// List of documents, which can be either strings or objects.
+ /// Example: [, , , ] + /// + /// + /// The number of top results to return.
+ /// Example: 2 + /// + /// + /// Whether to return supplied documents with the response.
+ /// Example: true + /// + /// + /// List of keys in the JSON Object document to rank by. Defaults to use all supplied keys for ranking.
+ /// Example: [title, text] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RerankAsync( + string model, + string query, + global::G.OneOf, global::System.Collections.Generic.IList> documents, + int topN = default, + bool returnDocuments = default, + global::System.Collections.Generic.IList? rankFields = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IRerankClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IRerankClient.g.verified.cs new file mode 100644 index 0000000000..a443c4732f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.IRerankClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRerankClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRerankClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ImagesClient.g.verified.cs index a2aef08ac0..5729c24f42 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ImagesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ImagesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ImagesClient : global::System.IDisposable + public sealed partial class ImagesClient : global::G.IImagesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ModelsClient.g.verified.cs index 87c1a1bbd1..6a7dec5272 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.ModelsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelsClient : global::System.IDisposable + public sealed partial class ModelsClient : global::G.IModelsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.RerankClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.RerankClient.g.verified.cs index 195fa45637..630551d7ff 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.RerankClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/NewtonsoftJson/_#G.RerankClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RerankClient : global::System.IDisposable + public sealed partial class RerankClient : global::G.IRerankClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.Api.g.verified.cs index 73a1abffe8..b22822e9a8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.Api.g.verified.cs @@ -9,7 +9,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ChatClient.g.verified.cs index 58e57cf32f..21b0bc4ab0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ChatClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.CompletionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.CompletionClient.g.verified.cs index a3887ba3c8..9099bf98d5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.CompletionClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.CompletionClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CompletionClient : global::System.IDisposable + public sealed partial class CompletionClient : global::G.ICompletionClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs index 4c2ad14f80..fd669ba3b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.EmbeddingsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EmbeddingsClient : global::System.IDisposable + public sealed partial class EmbeddingsClient : global::G.IEmbeddingsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.FilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.FilesClient.g.verified.cs index 39f77ee4d0..c69d81c6c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.FilesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.FilesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FilesClient : global::System.IDisposable + public sealed partial class FilesClient : global::G.IFilesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.FineTuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.FineTuningClient.g.verified.cs index b4f76ee1e2..5d27b072b9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.FineTuningClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.FineTuningClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class FineTuningClient : global::System.IDisposable + public sealed partial class FineTuningClient : global::G.IFineTuningClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..52c619b83d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// The Together REST API. Please see https://docs.together.ai for more details.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// + /// + public ChatClient Chat { get; } + + /// + /// + /// + public CompletionClient Completion { get; } + + /// + /// + /// + public EmbeddingsClient Embeddings { get; } + + /// + /// + /// + public ModelsClient Models { get; } + + /// + /// + /// + public ImagesClient Images { get; } + + /// + /// + /// + public FilesClient Files { get; } + + /// + /// + /// + public FineTuningClient FineTuning { get; } + + /// + /// + /// + public RerankClient Rerank { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IChatClient.ChatCompletions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IChatClient.ChatCompletions.g.verified.cs new file mode 100644 index 0000000000..d3a3743dfa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IChatClient.ChatCompletions.g.verified.cs @@ -0,0 +1,112 @@ +//HintName: G.IChatClient.ChatCompletions.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Create chat completion
+ /// Query a chat model. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChatCompletionsAsync( + global::G.ChatCompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create chat completion
+ /// Query a chat model. + ///
+ /// + /// A list of messages comprising the conversation so far. + /// + /// + /// The name of the model to query.
+ /// Example: mistralai/Mixtral-8x7B-Instruct-v0.1 + /// + /// + /// The maximum number of tokens to generate. + /// + /// + /// A list of string sequences that will truncate (stop) inference text output. For example, "</s>" will stop generation as soon as the model generates the given token. + /// + /// + /// A decimal number from 0-1 that determines the degree of randomness in the response. A temperature less than 1 favors more correctness and is appropriate for question answering or summarization. A value closer to 1 introduces more randomness in the output. + /// + /// + /// A percentage (also called the nucleus parameter) that's used to dynamically adjust the number of choices for each predicted token based on the cumulative probabilities. It specifies a probability threshold below which all less likely tokens are filtered out. This technique helps maintain diversity and generate more fluent and natural-sounding text. + /// + /// + /// An integer that's used to limit the number of choices for the next predicted word or token. It specifies the maximum number of tokens to consider at each step, based on their probability of occurrence. This technique helps to speed up the generation process and can improve the quality of the generated text by focusing on the most likely options. + /// + /// + /// A number that controls the diversity of generated text by reducing the likelihood of repeated sequences. Higher values decrease repetition. + /// + /// + /// If true, stream tokens as Server-Sent Events as the model generates them instead of waiting for the full model response. The stream terminates with `data: [DONE]`. If false, return a single JSON object containing the results. + /// + /// + /// Determines the number of most likely tokens to return at each token position log probabilities to return. + /// + /// + /// If true, the response will contain the prompt. Can be used with `logprobs` to return prompt logprobs. + /// + /// + /// The number of completions to generate for each prompt. + /// + /// + /// A number between 0 and 1 that can be used as an alternative to top_p and top-k. + /// + /// + /// A number between -2.0 and 2.0 where a positive value increases the likelihood of a model talking about new topics. + /// + /// + /// A number between -2.0 and 2.0 where a positive value decreases the likelihood of repeating tokens that have already been mentioned. + /// + /// + /// Adjusts the likelihood of specific tokens appearing in the generated output. + /// + /// + /// + /// An object specifying the format that the model must output. + /// + /// + /// A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for. + /// + /// + /// Controls which (if any) function is called by the model. By default uses `auto`, which lets the model pick between generating a message or calling a function. + /// + /// + /// The name of the moderation model used to validate tokens. Choose from the available moderation models found [here](https://docs.together.ai/docs/inference-models#moderation-models).
+ /// Example: safety_model_name + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ChatCompletionsAsync( + global::System.Collections.Generic.IList messages, + string model, + int maxTokens = default, + global::System.Collections.Generic.IList? stop = default, + float temperature = default, + float topP = default, + int topK = default, + double repetitionPenalty = default, + bool stream = default, + int logprobs = default, + bool echo = default, + int n = default, + float minP = default, + float presencePenalty = default, + float frequencyPenalty = default, + global::G.ChatCompletionRequestLogitBias? logitBias = default, + global::G.OneOf? functionCall = default, + global::G.ChatCompletionRequestResponseFormat? responseFormat = default, + global::System.Collections.Generic.IList? tools = default, + global::G.OneOf? toolChoice = default, + string? safetyModel = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..5245b3f7a8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ICompletionClient.Completions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ICompletionClient.Completions.g.verified.cs new file mode 100644 index 0000000000..62e4845ffc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ICompletionClient.Completions.g.verified.cs @@ -0,0 +1,99 @@ +//HintName: G.ICompletionClient.Completions.g.cs +#nullable enable + +namespace G +{ + public partial interface ICompletionClient + { + /// + /// Create completion
+ /// Query a language, code, or image model. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CompletionsAsync( + global::G.CompletionRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create completion
+ /// Query a language, code, or image model. + ///
+ /// + /// A string providing context for the model to complete.
+ /// Example: <s>[INST] What is the capital of France? [/INST] + /// + /// + /// The name of the model to query.
+ /// Example: mistralai/Mixtral-8x7B-Instruct-v0.1 + /// + /// + /// The maximum number of tokens to generate. + /// + /// + /// A list of string sequences that will truncate (stop) inference text output. For example, "</s>" will stop generation as soon as the model generates the given token. + /// + /// + /// A decimal number from 0-1 that determines the degree of randomness in the response. A temperature less than 1 favors more correctness and is appropriate for question answering or summarization. A value closer to 1 introduces more randomness in the output. + /// + /// + /// A percentage (also called the nucleus parameter) that's used to dynamically adjust the number of choices for each predicted token based on the cumulative probabilities. It specifies a probability threshold below which all less likely tokens are filtered out. This technique helps maintain diversity and generate more fluent and natural-sounding text. + /// + /// + /// An integer that's used to limit the number of choices for the next predicted word or token. It specifies the maximum number of tokens to consider at each step, based on their probability of occurrence. This technique helps to speed up the generation process and can improve the quality of the generated text by focusing on the most likely options. + /// + /// + /// A number that controls the diversity of generated text by reducing the likelihood of repeated sequences. Higher values decrease repetition. + /// + /// + /// If true, stream tokens as Server-Sent Events as the model generates them instead of waiting for the full model response. The stream terminates with `data: [DONE]`. If false, return a single JSON object containing the results. + /// + /// + /// Determines the number of most likely tokens to return at each token position log probabilities to return. + /// + /// + /// If true, the response will contain the prompt. Can be used with `logprobs` to return prompt logprobs. + /// + /// + /// The number of completions to generate for each prompt. + /// + /// + /// The name of the moderation model used to validate tokens. Choose from the available moderation models found [here](https://docs.together.ai/docs/inference-models#moderation-models).
+ /// Example: safety_model_name + /// + /// + /// A number between 0 and 1 that can be used as an alternative to top-p and top-k. + /// + /// + /// A number between -2.0 and 2.0 where a positive value increases the likelihood of a model talking about new topics. + /// + /// + /// A number between -2.0 and 2.0 where a positive value decreases the likelihood of repeating tokens that have already been mentioned. + /// + /// + /// Adjusts the likelihood of specific tokens appearing in the generated output. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CompletionsAsync( + string prompt, + string model, + int maxTokens = default, + global::System.Collections.Generic.IList? stop = default, + float temperature = default, + float topP = default, + int topK = default, + float repetitionPenalty = default, + bool stream = default, + int logprobs = default, + bool echo = default, + int n = default, + string? safetyModel = default, + float minP = default, + float presencePenalty = default, + float frequencyPenalty = default, + global::G.CompletionRequestLogitBias? logitBias = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ICompletionClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ICompletionClient.g.verified.cs new file mode 100644 index 0000000000..e99bc37ffd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ICompletionClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICompletionClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICompletionClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IEmbeddingsClient.Embeddings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IEmbeddingsClient.Embeddings.g.verified.cs new file mode 100644 index 0000000000..9c25cf8ec8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IEmbeddingsClient.Embeddings.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IEmbeddingsClient.Embeddings.g.cs +#nullable enable + +namespace G +{ + public partial interface IEmbeddingsClient + { + /// + /// Create embedding
+ /// Query an embedding model for a given string of text. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EmbeddingsAsync( + global::G.EmbeddingsRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create embedding
+ /// Query an embedding model for a given string of text. + ///
+ /// + /// The name of the embedding model to use.
+ /// Example: togethercomputer/m2-bert-80M-8k-retrieval + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EmbeddingsAsync( + string model, + global::G.OneOf> input, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs new file mode 100644 index 0000000000..c10ff61819 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IEmbeddingsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IEmbeddingsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEmbeddingsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.DeleteFilesId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.DeleteFilesId.g.verified.cs new file mode 100644 index 0000000000..ac252714a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.DeleteFilesId.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFilesClient.DeleteFilesId.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Delete a file
+ /// Delete a previously uploaded data file. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteFilesIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFiles.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFiles.g.verified.cs new file mode 100644 index 0000000000..9092c480e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFiles.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IFilesClient.GetFiles.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// List all files
+ /// List the metadata for all uploaded data files. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFilesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFilesId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFilesId.g.verified.cs new file mode 100644 index 0000000000..a7486f3d15 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFilesId.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFilesClient.GetFilesId.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// List file
+ /// List the metadata for a single uploaded data file. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFilesIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFilesIdContent.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFilesIdContent.g.verified.cs new file mode 100644 index 0000000000..e6e61c8539 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.GetFilesIdContent.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFilesClient.GetFilesIdContent.g.cs +#nullable enable + +namespace G +{ + public partial interface IFilesClient + { + /// + /// Get file contents
+ /// Get the contents of a single uploaded data file. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFilesIdContentAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.g.verified.cs new file mode 100644 index 0000000000..5d8aa01a8f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFilesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFilesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFilesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.CreateFineTunes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.CreateFineTunes.g.verified.cs new file mode 100644 index 0000000000..91d764ce8f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.CreateFineTunes.g.verified.cs @@ -0,0 +1,64 @@ +//HintName: G.IFineTuningClient.CreateFineTunes.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Create job
+ /// Use a model to create a fine-tuning job. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFineTunesAsync( + global::G.Request2 request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create job
+ /// Use a model to create a fine-tuning job. + ///
+ /// + /// File-ID of a file uploaded to the Together API + /// + /// + /// Name of the base model to run fine-tune job on + /// + /// + /// Number of epochs for fine-tuning
+ /// Default Value: 1 + /// + /// + /// Number of checkpoints to save during fine-tuning
+ /// Default Value: 1 + /// + /// + /// Batch size for fine-tuning
+ /// Default Value: 32 + /// + /// + /// Learning rate multiplier to use for training
+ /// Default Value: 1E-05F + /// + /// + /// Suffix that will be added to your fine-tuned model name + /// + /// + /// API key for Weights & Biases integration + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFineTunesAsync( + string trainingFile, + string model, + int nEpochs = 1, + int nCheckpoints = 1, + int batchSize = 32, + float learningRate = 1E-05F, + string? suffix = default, + string? wandbApiKey = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.CreateFineTunesIdCancel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.CreateFineTunesIdCancel.g.verified.cs new file mode 100644 index 0000000000..947559585d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.CreateFineTunesIdCancel.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFineTuningClient.CreateFineTunesIdCancel.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Cancel job
+ /// Cancel a currently running fine-tuning job. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateFineTunesIdCancelAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunes.g.verified.cs new file mode 100644 index 0000000000..121d9ab0ad --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunes.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IFineTuningClient.GetFineTunes.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// List all jobs
+ /// List the metadata for all fine-tuning jobs. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFineTunesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunesId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunesId.g.verified.cs new file mode 100644 index 0000000000..ebe4e6f860 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunesId.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFineTuningClient.GetFineTunesId.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// List job
+ /// List the metadata for a single fine-tuning job. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFineTunesIdAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunesIdEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunesIdEvents.g.verified.cs new file mode 100644 index 0000000000..fbbb3feead --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFineTunesIdEvents.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IFineTuningClient.GetFineTunesIdEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// List job events
+ /// List the events for a single fine-tuning job. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFineTunesIdEventsAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFinetuneDownload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFinetuneDownload.g.verified.cs new file mode 100644 index 0000000000..c67ffba2b6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.GetFinetuneDownload.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IFineTuningClient.GetFinetuneDownload.g.cs +#nullable enable + +namespace G +{ + public partial interface IFineTuningClient + { + /// + /// Download model
+ /// Download a compressed fine-tuned model or checkpoint to local disk. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFinetuneDownloadAsync( + string ftId, + int checkpointStep = default, + string? output = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.g.verified.cs new file mode 100644 index 0000000000..f3dbf01f48 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IFineTuningClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IFineTuningClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IFineTuningClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IImagesClient.CreateImagesGenerations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IImagesClient.CreateImagesGenerations.g.verified.cs new file mode 100644 index 0000000000..996d206fa6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IImagesClient.CreateImagesGenerations.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.IImagesClient.CreateImagesGenerations.g.cs +#nullable enable + +namespace G +{ + public partial interface IImagesClient + { + /// + /// Create image
+ /// Use an image model to generate an image for a given prompt. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImagesGenerationsAsync( + global::G.Request request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create image
+ /// Use an image model to generate an image for a given prompt. + ///
+ /// + /// A description of the desired images. Maximum length varies by model.
+ /// Example: cat floating in space, cinematic + /// + /// + /// The model to use for image generation.
+ /// Example: stabilityai/stable-diffusion-xl-base-1.0 + /// + /// + /// Number of generation steps.
+ /// Default Value: 20 + /// + /// + /// Seed used for generation. Can be used to reproduce image generations. + /// + /// + /// Number of image results to generate.
+ /// Default Value: 1 + /// + /// + /// Height of the image to generate in number of pixels.
+ /// Default Value: 1024 + /// + /// + /// Width of the image to generate in number of pixels.
+ /// Default Value: 1024 + /// + /// + /// The prompt or prompts not to guide the image generation. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateImagesGenerationsAsync( + string prompt, + string model, + int steps = 20, + int seed = default, + int n = 1, + int height = 1024, + int width = 1024, + string? negativePrompt = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IImagesClient.g.verified.cs new file mode 100644 index 0000000000..25838b67ab --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IImagesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IImagesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IImagesClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IModelsClient.Models.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IModelsClient.Models.g.verified.cs new file mode 100644 index 0000000000..07975f6974 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IModelsClient.Models.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IModelsClient.Models.g.cs +#nullable enable + +namespace G +{ + public partial interface IModelsClient + { + /// + /// List all models
+ /// Lists all of Together's open-source models + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ModelsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IModelsClient.g.verified.cs new file mode 100644 index 0000000000..42d527eba3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IModelsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModelsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IRerankClient.Rerank.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IRerankClient.Rerank.g.verified.cs new file mode 100644 index 0000000000..6b320dad96 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IRerankClient.Rerank.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IRerankClient.Rerank.g.cs +#nullable enable + +namespace G +{ + public partial interface IRerankClient + { + /// + /// Create a rerank request
+ /// Query a reranker model + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RerankAsync( + global::G.RerankRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a rerank request
+ /// Query a reranker model + ///
+ /// + /// The model to be used for the rerank request.
+ /// Example: Salesforce/Llama-Rank-V1 + /// + /// + /// The search query to be used for ranking.
+ /// Example: What animals can I find near Peru? + /// + /// + /// List of documents, which can be either strings or objects.
+ /// Example: [, , , ] + /// + /// + /// The number of top results to return.
+ /// Example: 2 + /// + /// + /// Whether to return supplied documents with the response.
+ /// Example: true + /// + /// + /// List of keys in the JSON Object document to rank by. Defaults to use all supplied keys for ranking.
+ /// Example: [title, text] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RerankAsync( + string model, + string query, + global::G.OneOf, global::System.Collections.Generic.IList> documents, + int topN = default, + bool returnDocuments = default, + global::System.Collections.Generic.IList? rankFields = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IRerankClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IRerankClient.g.verified.cs new file mode 100644 index 0000000000..b582a83580 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.IRerankClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRerankClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRerankClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.together.xyz/v1"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ImagesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ImagesClient.g.verified.cs index 40b812331b..9f22e55d7c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ImagesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ImagesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ImagesClient : global::System.IDisposable + public sealed partial class ImagesClient : global::G.IImagesClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ModelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ModelsClient.g.verified.cs index a1e427a39a..b5973a7de5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ModelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.ModelsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModelsClient : global::System.IDisposable + public sealed partial class ModelsClient : global::G.IModelsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.RerankClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.RerankClient.g.verified.cs index a84ab39fd9..f806e98734 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.RerankClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Together/SystemTextJson/_#G.RerankClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RerankClient : global::System.IDisposable + public sealed partial class RerankClient : global::G.IRerankClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.g.verified.cs index 00a8341359..7710855f16 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AdsClient : global::System.IDisposable + public sealed partial class AdsClient : global::G.IAdsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.g.verified.cs index 76832d9141..f8b4f8c76c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AnalyticsClient : global::System.IDisposable + public sealed partial class AnalyticsClient : global::G.IAnalyticsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.Api.g.verified.cs index 038717ac8c..e9eb456c7f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.Api.g.verified.cs @@ -17,7 +17,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.g.verified.cs index 1a8883c3c7..28097613bf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class BitsClient : global::System.IDisposable + public sealed partial class BitsClient : global::G.IBitsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CCLsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CCLsClient.g.verified.cs index 4920f20e9a..734fc731a2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CCLsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CCLsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CCLsClient : global::System.IDisposable + public sealed partial class CCLsClient : global::G.ICCLsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.g.verified.cs index 94f6d77039..a9a91160b6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChannelPointsClient : global::System.IDisposable + public sealed partial class ChannelPointsClient : global::G.IChannelPointsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.g.verified.cs index 33f289f5f6..cead47fd63 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChannelsClient : global::System.IDisposable + public sealed partial class ChannelsClient : global::G.IChannelsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.g.verified.cs index 09b2d96fb5..6d0e3d03cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CharityClient : global::System.IDisposable + public sealed partial class CharityClient : global::G.ICharityClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.g.verified.cs index 6a72f1b584..d9a49bae8e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.g.verified.cs index d7d3573894..25d4182333 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ClipsClient : global::System.IDisposable + public sealed partial class ClipsClient : global::G.IClipsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.g.verified.cs index 1db21fa6d4..9af99b85ad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ConduitsClient : global::System.IDisposable + public sealed partial class ConduitsClient : global::G.IConduitsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.g.verified.cs index a7e35b23d7..cea11fa380 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EntitlementsClient : global::System.IDisposable + public sealed partial class EntitlementsClient : global::G.IEntitlementsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.g.verified.cs index 8a57c6e085..8de21b9c8b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EventSubClient : global::System.IDisposable + public sealed partial class EventSubClient : global::G.IEventSubClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.g.verified.cs index 2a8b60ad8f..ec602d4b94 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ExtensionsClient : global::System.IDisposable + public sealed partial class ExtensionsClient : global::G.IExtensionsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.g.verified.cs index 014373b286..88022735cd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GamesClient : global::System.IDisposable + public sealed partial class GamesClient : global::G.IGamesClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GoalsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GoalsClient.g.verified.cs index 7d4bcfde19..029dc4f245 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GoalsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GoalsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GoalsClient : global::System.IDisposable + public sealed partial class GoalsClient : global::G.IGoalsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.g.verified.cs index 2c5df9ba02..173204f4ae 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GuestStarClient : global::System.IDisposable + public sealed partial class GuestStarClient : global::G.IGuestStarClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.HypeTrainClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.HypeTrainClient.g.verified.cs index 4c2b6000a0..d00298e5dc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.HypeTrainClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.HypeTrainClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class HypeTrainClient : global::System.IDisposable + public sealed partial class HypeTrainClient : global::G.IHypeTrainClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.GetAdSchedule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.GetAdSchedule.g.verified.cs new file mode 100644 index 0000000000..5d8bd8936e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.GetAdSchedule.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IAdsClient.GetAdSchedule.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdsClient + { + /// + /// Returns ad schedule related information.
+ /// This endpoint returns ad schedule related information, including snooze, when the last ad was run, when the next ad is scheduled, and if the channel is currently in pre-roll free time. Note that a new ad cannot be run until 8 minutes after running a previous ad.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:ads** scope. The `user_id` in the user access token must match the `broadcaster_id`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAdScheduleAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.SnoozeNextAd.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.SnoozeNextAd.g.verified.cs new file mode 100644 index 0000000000..8ecd327165 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.SnoozeNextAd.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IAdsClient.SnoozeNextAd.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdsClient + { + /// + /// Pushes back the timestamp of the upcoming automatic mid-roll ad by 5 minutes.
+ /// If available, pushes back the timestamp of the upcoming automatic mid-roll ad by 5 minutes. This endpoint duplicates the snooze functionality in the creator dashboard’s Ads Manager.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:ads** scope. The `user_id` in the user access token must match the `broadcaster_id`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SnoozeNextAdAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.StartCommercial.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.StartCommercial.g.verified.cs new file mode 100644 index 0000000000..6ae7d543cd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.StartCommercial.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IAdsClient.StartCommercial.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdsClient + { + /// + /// Starts a commercial on the specified channel.
+ /// Starts a commercial on the specified channel.
+ /// **NOTE**: Only partners and affiliates may run commercials and they must be streaming live at the time.
+ /// **NOTE**: Only the broadcaster may start a commercial; the broadcaster’s editors and moderators may not start commercials on behalf of the broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:edit:commercial** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StartCommercialAsync( + global::G.StartCommercialBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Starts a commercial on the specified channel.
+ /// Starts a commercial on the specified channel.
+ /// **NOTE**: Only partners and affiliates may run commercials and they must be streaming live at the time.
+ /// **NOTE**: Only the broadcaster may start a commercial; the broadcaster’s editors and moderators may not start commercials on behalf of the broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:edit:commercial** scope. + ///
+ /// + /// The ID of the partner or affiliate broadcaster that wants to run the commercial. This ID must match the user ID found in the OAuth token. + /// + /// + /// The length of the commercial to run, in seconds. Twitch tries to serve a commercial that’s the requested length, but it may be shorter or longer. The maximum length you should request is 180 seconds. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StartCommercialAsync( + string broadcasterId, + int length, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.g.verified.cs new file mode 100644 index 0000000000..28c81d4d5b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAdsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAdsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAdsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.GetExtensionAnalytics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.GetExtensionAnalytics.g.verified.cs new file mode 100644 index 0000000000..7cf8f09805 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.GetExtensionAnalytics.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IAnalyticsClient.GetExtensionAnalytics.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnalyticsClient + { + /// + /// Gets an analytics report for one or more extensions.
+ /// Gets an analytics report for one or more extensions. The response contains the URLs used to download the reports (CSV files). [Learn More](https://dev.twitch.tv/docs/insights)
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **analytics:read:extensions** scope. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionAnalyticsAsync( + string? extensionId = default, + global::G.GetExtensionAnalyticsType? type = default, + global::System.DateTime startedAt = default, + global::System.DateTime endedAt = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.GetGameAnalytics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.GetGameAnalytics.g.verified.cs new file mode 100644 index 0000000000..9dee3a3797 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.GetGameAnalytics.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IAnalyticsClient.GetGameAnalytics.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnalyticsClient + { + /// + /// Gets an analytics report for one or more games.
+ /// Gets an analytics report for one or more games. The response contains the URLs used to download the reports (CSV files). [Learn more](https://dev.twitch.tv/docs/insights)
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **analytics:read:games** scope. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGameAnalyticsAsync( + string? gameId = default, + global::G.GetGameAnalyticsType? type = default, + global::System.DateTime startedAt = default, + global::System.DateTime endedAt = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.g.verified.cs new file mode 100644 index 0000000000..b4ea66901f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IAnalyticsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAnalyticsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAnalyticsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..55c5d587c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,184 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// Unofficial Swagger UI for Twitch API.
+ /// All endpoints are generated automatically from the [twitch docs](https://dev.twitch.tv/docs/api/reference) page.
+ /// __Features:__
+ /// * Swagger UI for all Twitch API endpoints
+ /// * Schemas for _Request Query Parameters_, _Request Body_, _Response Body_
+ /// * Some additional schemas like _Clip_, _ChatBadge_, _Prediction_, _Game_, _Channel_, _Video_ etc.
+ /// * Response codes and examples
+ /// * Generated types for TypeScript: [ts-twitch-api](https://github.com/DmitryScaletta/ts-twitch-api)
+ /// __Repository:__ [github.com/DmitryScaletta/twitch-api-swagger](https://github.com/DmitryScaletta/twitch-api-swagger)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// + /// + public AdsClient Ads { get; } + + /// + /// + /// + public AnalyticsClient Analytics { get; } + + /// + /// + /// + public BitsClient Bits { get; } + + /// + /// + /// + public ChannelsClient Channels { get; } + + /// + /// + /// + public ChannelPointsClient ChannelPoints { get; } + + /// + /// + /// + public CharityClient Charity { get; } + + /// + /// + /// + public ChatClient Chat { get; } + + /// + /// + /// + public ClipsClient Clips { get; } + + /// + /// + /// + public ConduitsClient Conduits { get; } + + /// + /// + /// + public CCLsClient CCLs { get; } + + /// + /// + /// + public EntitlementsClient Entitlements { get; } + + /// + /// + /// + public ExtensionsClient Extensions { get; } + + /// + /// + /// + public EventSubClient EventSub { get; } + + /// + /// + /// + public GamesClient Games { get; } + + /// + /// + /// + public GoalsClient Goals { get; } + + /// + /// + /// + public GuestStarClient GuestStar { get; } + + /// + /// + /// + public HypeTrainClient HypeTrain { get; } + + /// + /// + /// + public ModerationClient Moderation { get; } + + /// + /// + /// + public PollsClient Polls { get; } + + /// + /// + /// + public PredictionsClient Predictions { get; } + + /// + /// + /// + public RaidsClient Raids { get; } + + /// + /// + /// + public ScheduleClient Schedule { get; } + + /// + /// + /// + public SearchClient Search { get; } + + /// + /// + /// + public StreamsClient Streams { get; } + + /// + /// + /// + public SubscriptionsClient Subscriptions { get; } + + /// + /// + /// + public TagsClient Tags { get; } + + /// + /// + /// + public TeamsClient Teams { get; } + + /// + /// + /// + public UsersClient Users { get; } + + /// + /// + /// + public VideosClient Videos { get; } + + /// + /// + /// + public WhispersClient Whispers { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetBitsLeaderboard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetBitsLeaderboard.g.verified.cs new file mode 100644 index 0000000000..7aec34c381 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetBitsLeaderboard.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IBitsClient.GetBitsLeaderboard.g.cs +#nullable enable + +namespace G +{ + public partial interface IBitsClient + { + /// + /// Gets the Bits leaderboard for the authenticated broadcaster.
+ /// Gets the Bits leaderboard for the authenticated broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **bits:read** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBitsLeaderboardAsync( + int count = default, + global::G.GetBitsLeaderboardPeriod? period = default, + global::System.DateTime startedAt = default, + string? userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetCheermotes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetCheermotes.g.verified.cs new file mode 100644 index 0000000000..da781275b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetCheermotes.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBitsClient.GetCheermotes.g.cs +#nullable enable + +namespace G +{ + public partial interface IBitsClient + { + /// + /// Gets a list of Cheermotes that users can use to cheer Bits.
+ /// Gets a list of Cheermotes that users can use to cheer Bits in any Bits-enabled channel’s chat room. Cheermotes are animated emotes that viewers can assign Bits to.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCheermotesAsync( + string? broadcasterId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetExtensionTransactions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetExtensionTransactions.g.verified.cs new file mode 100644 index 0000000000..e6feef87c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.GetExtensionTransactions.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IBitsClient.GetExtensionTransactions.g.cs +#nullable enable + +namespace G +{ + public partial interface IBitsClient + { + /// + /// Gets an extension’s list of transactions.
+ /// Gets an extension’s list of transactions. A transaction records the exchange of a currency (for example, Bits) for a digital product.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionTransactionsAsync( + string extensionId, + global::System.Collections.Generic.IList? id = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.g.verified.cs new file mode 100644 index 0000000000..7646157b0b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IBitsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IBitsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBitsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICCLsClient.GetContentClassificationLabels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICCLsClient.GetContentClassificationLabels.g.verified.cs new file mode 100644 index 0000000000..218cf45187 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICCLsClient.GetContentClassificationLabels.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICCLsClient.GetContentClassificationLabels.g.cs +#nullable enable + +namespace G +{ + public partial interface ICCLsClient + { + /// + /// Gets information about Twitch content classification labels.
+ /// Gets information about Twitch content classification labels.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetContentClassificationLabelsAsync( + string? locale = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICCLsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICCLsClient.g.verified.cs new file mode 100644 index 0000000000..a064ae860f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICCLsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICCLsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICCLsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.CreateCustomRewards.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.CreateCustomRewards.g.verified.cs new file mode 100644 index 0000000000..059be48263 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.CreateCustomRewards.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.IChannelPointsClient.CreateCustomRewards.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Creates a Custom Reward in the broadcaster’s channel.
+ /// Creates a Custom Reward in the broadcaster’s channel. The maximum number of custom rewards per channel is 50, which includes both enabled and disabled rewards.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCustomRewardsAsync( + string broadcasterId, + global::G.CreateCustomRewardsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a Custom Reward in the broadcaster’s channel.
+ /// Creates a Custom Reward in the broadcaster’s channel. The maximum number of custom rewards per channel is 50, which includes both enabled and disabled rewards.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope. + ///
+ /// + /// + /// The custom reward’s title. The title may contain a maximum of 45 characters and it must be unique amongst all of the broadcaster’s custom rewards. + /// + /// + /// The cost of the reward, in Channel Points. The minimum is 1 point. + /// + /// + /// The prompt shown to the viewer when they redeem the reward. Specify a prompt if `is_user_input_required` is **true**. The prompt is limited to a maximum of 200 characters. + /// + /// + /// A Boolean value that determines whether the reward is enabled. Viewers see only enabled rewards. The default is **true**. + /// + /// + /// The background color to use for the reward. Specify the color using Hex format (for example, #9147FF). + /// + /// + /// A Boolean value that determines whether the user needs to enter information when redeeming the reward. See the `prompt` field. The default is **false**. + /// + /// + /// A Boolean value that determines whether to limit the maximum number of redemptions allowed per live stream (see the `max_per_stream` field). The default is **false**. + /// + /// + /// The maximum number of redemptions allowed per live stream. Applied only if `is_max_per_stream_enabled` is **true**. The minimum value is 1. + /// + /// + /// A Boolean value that determines whether to limit the maximum number of redemptions allowed per user per stream (see the `max_per_user_per_stream` field). The default is **false**. + /// + /// + /// The maximum number of redemptions allowed per user per stream. Applied only if `is_max_per_user_per_stream_enabled` is **true**. The minimum value is 1. + /// + /// + /// A Boolean value that determines whether to apply a cooldown period between redemptions (see the `global_cooldown_seconds` field for the duration of the cooldown period). The default is **false**. + /// + /// + /// The cooldown period, in seconds. Applied only if the `is_global_cooldown_enabled` field is **true**. The minimum value is 1; however, the minimum value is 60 for it to be shown in the Twitch UX. + /// + /// + /// A Boolean value that determines whether redemptions should be set to FULFILLED status immediately when a reward is redeemed. If **false**, status is set to UNFULFILLED and follows the normal request queue process. The default is **false**. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCustomRewardsAsync( + string broadcasterId, + string title, + long cost, + string? prompt = default, + bool isEnabled = default, + string? backgroundColor = default, + bool isUserInputRequired = default, + bool isMaxPerStreamEnabled = default, + int maxPerStream = default, + bool isMaxPerUserPerStreamEnabled = default, + int maxPerUserPerStream = default, + bool isGlobalCooldownEnabled = default, + int globalCooldownSeconds = default, + bool shouldRedemptionsSkipRequestQueue = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.DeleteCustomReward.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.DeleteCustomReward.g.verified.cs new file mode 100644 index 0000000000..6651e9fcc1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.DeleteCustomReward.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IChannelPointsClient.DeleteCustomReward.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Deletes a custom reward that the broadcaster created.
+ /// Deletes a custom reward that the broadcaster created.
+ /// The app used to create the reward is the only app that may delete it. If the reward’s redemption status is UNFULFILLED at the time the reward is deleted, its redemption status is marked as FULFILLED.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteCustomRewardAsync( + string broadcasterId, + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.GetCustomReward.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.GetCustomReward.g.verified.cs new file mode 100644 index 0000000000..293b64ab3f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.GetCustomReward.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChannelPointsClient.GetCustomReward.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Gets a list of custom rewards that the specified broadcaster created.
+ /// Gets a list of custom rewards that the specified broadcaster created.
+ /// **NOTE**: A channel may offer a maximum of 50 rewards, which includes both enabled and disabled rewards.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:redemptions** or **channel:manage:redemptions** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCustomRewardAsync( + string broadcasterId, + global::System.Collections.Generic.IList? id = default, + bool onlyManageableRewards = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.GetCustomRewardRedemption.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.GetCustomRewardRedemption.g.verified.cs new file mode 100644 index 0000000000..c36e0aea1e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.GetCustomRewardRedemption.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IChannelPointsClient.GetCustomRewardRedemption.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Gets a list of redemptions for a custom reward.
+ /// Gets a list of redemptions for the specified custom reward. The app used to create the reward is the only app that may get the redemptions.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:redemptions** or **channel:manage:redemptions** scope. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCustomRewardRedemptionAsync( + string broadcasterId, + string rewardId, + global::G.GetCustomRewardRedemptionStatus? status = default, + global::System.Collections.Generic.IList? id = default, + global::G.GetCustomRewardRedemptionSort? sort = default, + string? after = default, + int first = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.UpdateCustomReward.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.UpdateCustomReward.g.verified.cs new file mode 100644 index 0000000000..0dcccfd52d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.UpdateCustomReward.g.verified.cs @@ -0,0 +1,100 @@ +//HintName: G.IChannelPointsClient.UpdateCustomReward.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Updates a custom reward.
+ /// Updates a custom reward. The app used to create the reward is the only app that may update the reward.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/api/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope.
+ /// __Request Body:__
+ /// The body of the request should contain only the fields you’re updating. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCustomRewardAsync( + string broadcasterId, + string id, + global::G.UpdateCustomRewardBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a custom reward.
+ /// Updates a custom reward. The app used to create the reward is the only app that may update the reward.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/api/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope.
+ /// __Request Body:__
+ /// The body of the request should contain only the fields you’re updating. + ///
+ /// + /// + /// + /// The reward’s title. The title may contain a maximum of 45 characters and it must be unique amongst all of the broadcaster’s custom rewards. + /// + /// + /// The prompt shown to the viewer when they redeem the reward. Specify a prompt if `is_user_input_required` is **true**. The prompt is limited to a maximum of 200 characters. + /// + /// + /// The cost of the reward, in channel points. The minimum is 1 point. + /// + /// + /// The background color to use for the reward. Specify the color using Hex format (for example, \\#00E5CB). + /// + /// + /// A Boolean value that indicates whether the reward is enabled. Set to **true** to enable the reward. Viewers see only enabled rewards. + /// + /// + /// A Boolean value that determines whether users must enter information to redeem the reward. Set to **true** if user input is required. See the `prompt` field. + /// + /// + /// A Boolean value that determines whether to limit the maximum number of redemptions allowed per live stream (see the `max_per_stream` field). Set to **true** to limit redemptions. + /// + /// + /// The maximum number of redemptions allowed per live stream. Applied only if `is_max_per_stream_enabled` is **true**. The minimum value is 1. + /// + /// + /// A Boolean value that determines whether to limit the maximum number of redemptions allowed per user per stream (see `max_per_user_per_stream`). The minimum value is 1\. Set to **true** to limit redemptions. + /// + /// + /// The maximum number of redemptions allowed per user per stream. Applied only if `is_max_per_user_per_stream_enabled` is **true**. + /// + /// + /// A Boolean value that determines whether to apply a cooldown period between redemptions. Set to **true** to apply a cooldown period. For the duration of the cooldown period, see `global_cooldown_seconds`. + /// + /// + /// The cooldown period, in seconds. Applied only if `is_global_cooldown_enabled` is **true**. The minimum value is 1; however, for it to be shown in the Twitch UX, the minimum value is 60. + /// + /// + /// A Boolean value that determines whether to pause the reward. Set to **true** to pause the reward. Viewers can’t redeem paused rewards.. + /// + /// + /// A Boolean value that determines whether redemptions should be set to FULFILLED status immediately when a reward is redeemed. If **false**, status is set to UNFULFILLED and follows the normal request queue process. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCustomRewardAsync( + string broadcasterId, + string id, + string? title = default, + string? prompt = default, + long cost = default, + string? backgroundColor = default, + bool isEnabled = default, + bool isUserInputRequired = default, + bool isMaxPerStreamEnabled = default, + long maxPerStream = default, + bool isMaxPerUserPerStreamEnabled = default, + long maxPerUserPerStream = default, + bool isGlobalCooldownEnabled = default, + long globalCooldownSeconds = default, + bool isPaused = default, + bool shouldRedemptionsSkipRequestQueue = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.UpdateRedemptionStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.UpdateRedemptionStatus.g.verified.cs new file mode 100644 index 0000000000..e276485237 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.UpdateRedemptionStatus.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IChannelPointsClient.UpdateRedemptionStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Updates a redemption’s status.
+ /// Updates a redemption’s status. You may update a redemption only if its status is UNFULFILLED. The app used to create the reward is the only app that may update the redemption.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRedemptionStatusAsync( + global::System.Collections.Generic.IList id, + string broadcasterId, + string rewardId, + global::G.UpdateRedemptionStatusBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a redemption’s status.
+ /// Updates a redemption’s status. You may update a redemption only if its status is UNFULFILLED. The app used to create the reward is the only app that may update the redemption.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope. + ///
+ /// + /// + /// + /// + /// The status to set the redemption to. Possible values are:
+ ///
+ /// * CANCELED
+ /// * FULFILLED
+ ///
+ /// Setting the status to CANCELED refunds the user’s channel points. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRedemptionStatusAsync( + global::System.Collections.Generic.IList id, + string broadcasterId, + string rewardId, + global::G.UpdateRedemptionStatusBodyStatus status, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.g.verified.cs new file mode 100644 index 0000000000..4d9b77ce28 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelPointsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChannelPointsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChannelPointsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelEditors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelEditors.g.verified.cs new file mode 100644 index 0000000000..17e170ea96 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelEditors.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IChannelsClient.GetChannelEditors.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelsClient + { + /// + /// Gets the broadcaster’s list editors.
+ /// Gets the broadcaster’s list editors.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:editors** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelEditorsAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelFollowers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelFollowers.g.verified.cs new file mode 100644 index 0000000000..3b3f595242 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelFollowers.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IChannelsClient.GetChannelFollowers.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelsClient + { + /// + /// Gets a list of users that follow the specified broadcaster. You can also use this endpoint to see whether a specific user follows the broadcaster.
+ /// Gets a list of users that follow the specified broadcaster. You can also use this endpoint to see whether a specific user follows the broadcaster.
+ /// __Authorization:__
+ /// * Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:read:followers** scope.
+ /// * The ID in the broadcaster\_id query parameter must match the user ID in the access token or the user ID in the access token must be a moderator for the specified broadcaster.
+ /// This endpoint will return specific follower information only if both of the above are true. If a scope is not provided or the user isn’t the broadcaster or a moderator for the specified channel, only the total follower count will be included in the response. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelFollowersAsync( + string broadcasterId, + string? userId = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelInformation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelInformation.g.verified.cs new file mode 100644 index 0000000000..c57626a74f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetChannelInformation.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IChannelsClient.GetChannelInformation.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelsClient + { + /// + /// Gets information about one or more channels.
+ /// Gets information about one or more channels.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelInformationAsync( + global::System.Collections.Generic.IList broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetFollowedChannels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetFollowedChannels.g.verified.cs new file mode 100644 index 0000000000..578fa1a95a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.GetFollowedChannels.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IChannelsClient.GetFollowedChannels.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelsClient + { + /// + /// Gets a list of broadcasters that the specified user follows. You can also use this endpoint to see whether a user follows a specific broadcaster.
+ /// Gets a list of broadcasters that the specified user follows. You can also use this endpoint to see whether a user follows a specific broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:follows** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFollowedChannelsAsync( + string userId, + string? broadcasterId = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.ModifyChannelInformation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.ModifyChannelInformation.g.verified.cs new file mode 100644 index 0000000000..9bfa4d7ae0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.ModifyChannelInformation.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.IChannelsClient.ModifyChannelInformation.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelsClient + { + /// + /// Updates a channel’s properties.
+ /// Updates a channel’s properties.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:broadcast** scope.
+ /// __Request Body:__
+ /// All fields are optional, but you must specify at least one field. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyChannelInformationAsync( + string broadcasterId, + global::G.ModifyChannelInformationBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a channel’s properties.
+ /// Updates a channel’s properties.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:broadcast** scope.
+ /// __Request Body:__
+ /// All fields are optional, but you must specify at least one field. + ///
+ /// + /// + /// The ID of the game that the user plays. The game is not updated if the ID isn’t a game ID that Twitch recognizes. To unset this field, use “0” or “” (an empty string). + /// + /// + /// The user’s preferred language. Set the value to an ISO 639-1 two-letter language code (for example, _en_ for English). Set to “other” if the user’s preferred language is not a Twitch supported language. The language isn’t updated if the language code isn’t a Twitch supported language. + /// + /// + /// The title of the user’s stream. You may not set this field to an empty string. + /// + /// + /// The number of seconds you want your broadcast buffered before streaming it live. The delay helps ensure fairness during competitive play. Only users with Partner status may set this field. The maximum delay is 900 seconds (15 minutes). + /// + /// + /// A list of channel-defined tags to apply to the channel. To remove all tags from the channel, set tags to an empty array. Tags help identify the content that the channel streams. [Learn More](https://help.twitch.tv/s/article/guide-to-tags)
+ ///
+ /// A channel may specify a maximum of 10 tags. Each tag is limited to a maximum of 25 characters and may not be an empty string or contain spaces or special characters. Tags are case insensitive. For readability, consider using camelCasing or PascalCasing. + /// + /// + /// List of labels that should be set as the Channel’s CCLs. + /// + /// + /// Boolean flag indicating if the channel has branded content. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyChannelInformationAsync( + string broadcasterId, + string? gameId = default, + string? broadcasterLanguage = default, + string? title = default, + int delay = default, + global::System.Collections.Generic.IList? tags = default, + global::System.Collections.Generic.IList? contentClassificationLabels = default, + bool isBrandedContent = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.g.verified.cs new file mode 100644 index 0000000000..50fa41b001 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChannelsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChannelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChannelsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.GetCharityCampaign.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.GetCharityCampaign.g.verified.cs new file mode 100644 index 0000000000..103bb4a13b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.GetCharityCampaign.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICharityClient.GetCharityCampaign.g.cs +#nullable enable + +namespace G +{ + public partial interface ICharityClient + { + /// + /// Gets information about the broadcaster’s active charity campaign.
+ /// Gets information about the charity campaign that a broadcaster is running. For example, the campaign’s fundraising goal and the current amount of donations.
+ /// To receive events when progress is made towards the campaign’s goal or the broadcaster changes the fundraising goal, subscribe to the [channel.charity\_campaign.progress](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelcharity%5Fcampaignprogress) subscription type.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:charity** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCharityCampaignAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.GetCharityCampaignDonations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.GetCharityCampaignDonations.g.verified.cs new file mode 100644 index 0000000000..1c49ddf94e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.GetCharityCampaignDonations.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICharityClient.GetCharityCampaignDonations.g.cs +#nullable enable + +namespace G +{ + public partial interface ICharityClient + { + /// + /// Gets the list of donations that users have made to the broadcaster’s active charity campaign.
+ /// Gets the list of donations that users have made to the broadcaster’s active charity campaign.
+ /// To receive events as donations occur, subscribe to the [channel.charity\_campaign.donate](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelcharity%5Fcampaigndonate) subscription type.
+ /// __Authorization:__
+ /// Requires a user access token that includes the **channel:read:charity** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCharityCampaignDonationsAsync( + string broadcasterId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.g.verified.cs new file mode 100644 index 0000000000..cae3c14b5d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ICharityClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICharityClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICharityClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChannelChatBadges.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChannelChatBadges.g.verified.cs new file mode 100644 index 0000000000..7faf5157e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChannelChatBadges.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IChatClient.GetChannelChatBadges.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets the broadcaster’s list of custom chat badges.
+ /// Gets the broadcaster’s list of custom chat badges. The list is empty if the broadcaster hasn’t created custom chat badges. For information about custom badges, see [subscriber badges](https://help.twitch.tv/s/article/subscriber-badge-guide) and [Bits badges](https://help.twitch.tv/s/article/custom-bit-badges-guide).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelChatBadgesAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChannelEmotes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChannelEmotes.g.verified.cs new file mode 100644 index 0000000000..f93fe056bb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChannelEmotes.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IChatClient.GetChannelEmotes.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets the broadcaster’s list of custom emotes.
+ /// Gets the broadcaster’s list of custom emotes. Broadcasters create these custom emotes for users who subscribe to or follow the channel or cheer Bits in the channel’s chat window. [Learn More](https://dev.twitch.tv/docs/irc/emotes)
+ /// For information about the custom emotes, see [subscriber emotes](https://help.twitch.tv/s/article/subscriber-emote-guide), [Bits tier emotes](https://help.twitch.tv/s/article/custom-bit-badges-guide?language=bg#slots), and [follower emotes](https://blog.twitch.tv/en/2021/06/04/kicking-off-10-years-with-our-biggest-emote-update-ever/).
+ /// **NOTE:** With the exception of custom follower emotes, users may use custom emotes in any Twitch chat.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelEmotesAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChatSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChatSettings.g.verified.cs new file mode 100644 index 0000000000..e52354a466 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChatSettings.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IChatClient.GetChatSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets the broadcaster’s chat settings.
+ /// Gets the broadcaster’s chat settings.
+ /// For an overview of chat settings, see [Chat Commands for Broadcasters and Moderators](https://help.twitch.tv/s/article/chat-commands#AllMods) and [Moderator Preferences](https://help.twitch.tv/s/article/setting-up-moderation-for-your-twitch-channel#modpreferences).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChatSettingsAsync( + string broadcasterId, + string? moderatorId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChatters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChatters.g.verified.cs new file mode 100644 index 0000000000..6732411c83 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetChatters.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IChatClient.GetChatters.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets the list of users that are connected to the broadcaster’s chat session.
+ /// Gets the list of users that are connected to the broadcaster’s chat session.
+ /// **NOTE**: There is a delay between when users join and leave a chat and when the list is updated accordingly.
+ /// To determine whether a user is a moderator or VIP, use the [Get Moderators](https://dev.twitch.tv/docs/api/reference#get-moderators) and [Get VIPs](https://dev.twitch.tv/docs/api/reference#get-vips) endpoints. You can check the roles of up to 100 users.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:read:chatters** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChattersAsync( + string broadcasterId, + string moderatorId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetEmoteSets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetEmoteSets.g.verified.cs new file mode 100644 index 0000000000..5388065786 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetEmoteSets.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IChatClient.GetEmoteSets.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets emotes for one or more specified emote sets.
+ /// Gets emotes for one or more specified emote sets.
+ /// An emote set groups emotes that have a similar context. For example, Twitch places all the subscriber emotes that a broadcaster uploads for their channel in the same emote set.
+ /// [Learn More](https://dev.twitch.tv/docs/irc/emotes)
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetEmoteSetsAsync( + global::System.Collections.Generic.IList emoteSetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetGlobalChatBadges.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetGlobalChatBadges.g.verified.cs new file mode 100644 index 0000000000..b9e6401541 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetGlobalChatBadges.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IChatClient.GetGlobalChatBadges.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets Twitch’s list of chat badges.
+ /// Gets Twitch’s list of chat badges, which users may use in any channel’s chat room. For information about chat badges, see [Twitch Chat Badges Guide](https://help.twitch.tv/s/article/twitch-chat-badges-guide).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens).
+ /// __Request Query Parameters:__
+ /// None + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGlobalChatBadgesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetGlobalEmotes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetGlobalEmotes.g.verified.cs new file mode 100644 index 0000000000..7686809eda --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetGlobalEmotes.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IChatClient.GetGlobalEmotes.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets all global emotes.
+ /// Gets the list of [global emotes](https://www.twitch.tv/creatorcamp/en/learn-the-basics/emotes/). Global emotes are Twitch-created emotes that users can use in any Twitch chat.
+ /// [Learn More](https://dev.twitch.tv/docs/irc/emotes)
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens).
+ /// __Request Query Parameters:__
+ /// None + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGlobalEmotesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetUserChatColor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetUserChatColor.g.verified.cs new file mode 100644 index 0000000000..64a9d1e0c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetUserChatColor.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IChatClient.GetUserChatColor.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets the color used for the user’s name in chat.
+ /// Gets the color used for the user’s name in chat.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserChatColorAsync( + global::System.Collections.Generic.IList userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetUserEmotes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetUserEmotes.g.verified.cs new file mode 100644 index 0000000000..3882b3b43d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.GetUserEmotes.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChatClient.GetUserEmotes.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// NEW Retrieves emotes available to the user across all channels.
+ /// NEW Retrieves emotes available to the user across all channels.
+ /// __Authorization:__
+ /// * Requires a user access token that includes the **user:read:emotes** scope.
+ /// * Query parameter `user_id` must match the `user_id` in the user access token. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserEmotesAsync( + string userId, + string? broadcasterId = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendAShoutout.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendAShoutout.g.verified.cs new file mode 100644 index 0000000000..c625dbfbed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendAShoutout.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IChatClient.SendAShoutout.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Sends a Shoutout to the specified broadcaster.
+ /// Sends a Shoutout to the specified broadcaster. Typically, you send Shoutouts when you or one of your moderators notice another broadcaster in your chat, the other broadcaster is coming up in conversation, or after they raid your broadcast.
+ /// Twitch’s Shoutout feature is a great way for you to show support for other broadcasters and help them grow. Viewers who do not follow the other broadcaster will see a pop-up Follow button in your chat that they can click to follow the other broadcaster. [Learn More](https://help.twitch.tv/s/article/shoutouts)
+ /// **Rate Limits** The broadcaster may send a Shoutout once every 2 minutes. They may send the same broadcaster a Shoutout once every 60 minutes.
+ /// To receive notifications when a Shoutout is sent or received, subscribe to the [channel.shoutout.create](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelshoutoutcreate) and [channel.shoutout.receive](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelshoutoutreceive) subscription types. The **channel.shoutout.create** event includes cooldown periods that indicate when the broadcaster may send another Shoutout without exceeding the endpoint’s rate limit.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:shoutouts** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendAShoutoutAsync( + string fromBroadcasterId, + string toBroadcasterId, + string moderatorId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendChatAnnouncement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendChatAnnouncement.g.verified.cs new file mode 100644 index 0000000000..2fcdcf8880 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendChatAnnouncement.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IChatClient.SendChatAnnouncement.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Sends an announcement to the broadcaster’s chat room.
+ /// Sends an announcement to the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:announcements** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendChatAnnouncementAsync( + string broadcasterId, + string moderatorId, + global::G.SendChatAnnouncementBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Sends an announcement to the broadcaster’s chat room.
+ /// Sends an announcement to the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:announcements** scope. + ///
+ /// + /// + /// + /// The announcement to make in the broadcaster’s chat room. Announcements are limited to a maximum of 500 characters; announcements longer than 500 characters are truncated. + /// + /// + /// The color used to highlight the announcement. Possible case-sensitive values are:
+ ///
+ /// * blue
+ /// * green
+ /// * orange
+ /// * purple
+ /// * primary (default)
+ ///
+ /// If `color` is set to _primary_ or is not set, the channel’s accent color is used to highlight the announcement (see **Profile Accent Color** under [profile settings](https://www.twitch.tv/settings/profile), **Channel and Videos**, and **Brand**). + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendChatAnnouncementAsync( + string broadcasterId, + string moderatorId, + string message, + global::G.SendChatAnnouncementBodyColor? color = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendChatMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendChatMessage.g.verified.cs new file mode 100644 index 0000000000..9b211b7205 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.SendChatMessage.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IChatClient.SendChatMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// NEW Sends a message to the broadcaster’s chat room.
+ /// NEW Sends a message to the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the `user:write:chat` scope. If app access token used, then additionally requires `user:bot` scope from chatting user, and either `channel:bot` scope from broadcaster or moderator status. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendChatMessageAsync( + global::G.SendChatMessageBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// NEW Sends a message to the broadcaster’s chat room.
+ /// NEW Sends a message to the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the `user:write:chat` scope. If app access token used, then additionally requires `user:bot` scope from chatting user, and either `channel:bot` scope from broadcaster or moderator status. + ///
+ /// + /// The ID of the broadcaster whose chat room the message will be sent to. + /// + /// + /// The ID of the user sending the message. This ID must match the user ID in the user access token. + /// + /// + /// The message to send. The message is limited to a maximum of 500 characters. Chat messages can also include emoticons. To include emoticons, use the name of the emote. The names are case sensitive. Don’t include colons around the name (e.g., :bleedPurple:). If Twitch recognizes the name, Twitch converts the name to the emote before writing the chat message to the chat room + /// + /// + /// The ID of the chat message being replied to. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendChatMessageAsync( + string broadcasterId, + string senderId, + string message, + string? replyParentMessageId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.UpdateChatSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.UpdateChatSettings.g.verified.cs new file mode 100644 index 0000000000..e78e593b44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.UpdateChatSettings.g.verified.cs @@ -0,0 +1,108 @@ +//HintName: G.IChatClient.UpdateChatSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Updates the broadcaster’s chat settings.
+ /// Updates the broadcaster’s chat settings.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:chat\_settings** scope.
+ /// __Request Body:__
+ /// All fields are optional. Specify only those fields that you want to update.
+ /// To set the `slow_mode_wait_time` or `follower_mode_duration` field to its default value, set the corresponding `slow_mode` or `follower_mode` field to **true** (and don’t include the `slow_mode_wait_time` or `follower_mode_duration` field).
+ /// To set the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field’s value, you must set the corresponding `slow_mode`, `follower_mode`, or `non_moderator_chat_delay` field to **true**.
+ /// To remove the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field’s value, set the corresponding `slow_mode`, `follower_mode`, or `non_moderator_chat_delay` field to **false** (and don’t include the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChatSettingsAsync( + string broadcasterId, + string moderatorId, + global::G.UpdateChatSettingsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates the broadcaster’s chat settings.
+ /// Updates the broadcaster’s chat settings.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:chat\_settings** scope.
+ /// __Request Body:__
+ /// All fields are optional. Specify only those fields that you want to update.
+ /// To set the `slow_mode_wait_time` or `follower_mode_duration` field to its default value, set the corresponding `slow_mode` or `follower_mode` field to **true** (and don’t include the `slow_mode_wait_time` or `follower_mode_duration` field).
+ /// To set the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field’s value, you must set the corresponding `slow_mode`, `follower_mode`, or `non_moderator_chat_delay` field to **true**.
+ /// To remove the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field’s value, set the corresponding `slow_mode`, `follower_mode`, or `non_moderator_chat_delay` field to **false** (and don’t include the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field). + ///
+ /// + /// + /// + /// A Boolean value that determines whether chat messages must contain only emotes.
+ ///
+ /// Set to **true** if only emotes are allowed; otherwise, **false**. The default is **false**. + /// + /// + /// A Boolean value that determines whether the broadcaster restricts the chat room to followers only.
+ ///
+ /// Set to **true** if the broadcaster restricts the chat room to followers only; otherwise, **false**. The default is **true**.
+ ///
+ /// To specify how long users must follow the broadcaster before being able to participate in the chat room, see the `follower_mode_duration` field. + /// + /// + /// The length of time, in minutes, that users must follow the broadcaster before being able to participate in the chat room. Set only if `follower_mode` is **true**. Possible values are: 0 (no restriction) through 129600 (3 months). The default is 0. + /// + /// + /// A Boolean value that determines whether the broadcaster adds a short delay before chat messages appear in the chat room. This gives chat moderators and bots a chance to remove them before viewers can see the message.
+ ///
+ /// Set to **true** if the broadcaster applies a delay; otherwise, **false**. The default is **false**.
+ ///
+ /// To specify the length of the delay, see the `non_moderator_chat_delay_duration` field. + /// + /// + /// The amount of time, in seconds, that messages are delayed before appearing in chat. Set only if `non_moderator_chat_delay` is **true**. Possible values are:
+ ///
+ /// * 2 — 2 second delay (recommended)
+ /// * 4 — 4 second delay
+ /// * 6 — 6 second delay + /// + /// + /// A Boolean value that determines whether the broadcaster limits how often users in the chat room are allowed to send messages. Set to **true** if the broadcaster applies a wait period between messages; otherwise, **false**. The default is **false**.
+ ///
+ /// To specify the delay, see the `slow_mode_wait_time` field. + /// + /// + /// The amount of time, in seconds, that users must wait between sending messages. Set only if `slow_mode` is **true**.
+ ///
+ /// Possible values are: 3 (3 second delay) through 120 (2 minute delay). The default is 30 seconds. + /// + /// + /// A Boolean value that determines whether only users that subscribe to the broadcaster’s channel may talk in the chat room.
+ ///
+ /// Set to **true** if the broadcaster restricts the chat room to subscribers only; otherwise, **false**. The default is **false**. + /// + /// + /// A Boolean value that determines whether the broadcaster requires users to post only unique messages in the chat room.
+ ///
+ /// Set to **true** if the broadcaster allows only unique messages; otherwise, **false**. The default is **false**. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChatSettingsAsync( + string broadcasterId, + string moderatorId, + bool emoteMode = default, + bool followerMode = default, + int followerModeDuration = default, + bool nonModeratorChatDelay = default, + int nonModeratorChatDelayDuration = default, + bool slowMode = default, + int slowModeWaitTime = default, + bool subscriberMode = default, + bool uniqueChatMode = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.UpdateUserChatColor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.UpdateUserChatColor.g.verified.cs new file mode 100644 index 0000000000..8f94da026f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.UpdateUserChatColor.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IChatClient.UpdateUserChatColor.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Updates the color used for the user’s name in chat.
+ /// Updates the color used for the user’s name in chat.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:chat\_color** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateUserChatColorAsync( + string userId, + global::G.UpdateUserChatColorColor color, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..44748d1050 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.CreateClip.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.CreateClip.g.verified.cs new file mode 100644 index 0000000000..ff4079a5cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.CreateClip.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IClipsClient.CreateClip.g.cs +#nullable enable + +namespace G +{ + public partial interface IClipsClient + { + /// + /// Creates a clip from the broadcaster’s stream.
+ /// Creates a clip from the broadcaster’s stream.
+ /// This API captures up to 90 seconds of the broadcaster’s stream. The 90 seconds spans the point in the stream from when you called the API. For example, if you call the API at the 4:00 minute mark, the API captures from approximately the 3:35 mark to approximately the 4:05 minute mark. Twitch tries its best to capture 90 seconds of the stream, but the actual length may be less. This may occur if you begin capturing the clip near the beginning or end of the stream.
+ /// By default, Twitch publishes up to the last 30 seconds of the 90 seconds window and provides a default title for the clip. To specify the title and the portion of the 90 seconds window that’s used for the clip, use the URL in the response’s `edit_url` field. You can specify a clip that’s from 5 seconds to 60 seconds in length. The URL is valid for up to 24 hours or until the clip is published, whichever comes first.
+ /// Creating a clip is an asynchronous process that can take a short amount of time to complete. To determine whether the clip was successfully created, call [Get Clips](https://dev.twitch.tv/docs/api/reference#get-clips) using the clip ID that this request returned. If Get Clips returns the clip, the clip was successfully created. If after 15 seconds Get Clips hasn’t returned the clip, assume it failed.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **clips:edit** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateClipAsync( + string broadcasterId, + bool hasDelay = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.GetClips.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.GetClips.g.verified.cs new file mode 100644 index 0000000000..55a1556ea4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.GetClips.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IClipsClient.GetClips.g.cs +#nullable enable + +namespace G +{ + public partial interface IClipsClient + { + /// + /// Gets one or more video clips.
+ /// Gets one or more video clips that were captured from streams. For information about clips, see [How to use clips](https://help.twitch.tv/s/article/how-to-use-clips).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens).
+ /// __Request Query Parameters:__
+ /// The _id_, _game\_id_, and _broadcaster\_id_ query parameters are mutually exclusive. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetClipsAsync( + string? broadcasterId = default, + string? gameId = default, + global::System.Collections.Generic.IList? id = default, + global::System.DateTime startedAt = default, + global::System.DateTime endedAt = default, + int first = default, + string? before = default, + string? after = default, + bool isFeatured = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.g.verified.cs new file mode 100644 index 0000000000..8f2f728ac7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IClipsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IClipsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IClipsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.CreateConduits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.CreateConduits.g.verified.cs new file mode 100644 index 0000000000..db93cd3c29 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.CreateConduits.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IConduitsClient.CreateConduits.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Creates a new conduit.
+ /// NEW Creates a new [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateConduitsAsync( + global::G.CreateConduitsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// NEW Creates a new conduit.
+ /// NEW Creates a new [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// The number of shards to create for this conduit. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateConduitsAsync( + int shardCount, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.DeleteConduit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.DeleteConduit.g.verified.cs new file mode 100644 index 0000000000..58ff362573 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.DeleteConduit.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IConduitsClient.DeleteConduit.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Deletes a specified conduit.
+ /// NEW Deletes a specified [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events/). Note that it may take some time for Eventsub subscriptions on a deleted [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) to show as disabled when calling [Get Eventsub Subscriptions](https://dev.twitch.tv/docs/api/reference/#get-eventsub-subscriptions).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteConduitAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.GetConduitShards.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.GetConduitShards.g.verified.cs new file mode 100644 index 0000000000..aa853c50e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.GetConduitShards.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IConduitsClient.GetConduitShards.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Gets a lists of all shards for a conduit.
+ /// NEW Gets a lists of all shards for a [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetConduitShardsAsync( + string conduitId, + string? status = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.GetConduits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.GetConduits.g.verified.cs new file mode 100644 index 0000000000..a4ba5c6d5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.GetConduits.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IConduitsClient.GetConduits.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Gets the conduits for a client ID.
+ /// NEW Gets the [conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) for a client ID.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetConduitsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.UpdateConduitShards.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.UpdateConduitShards.g.verified.cs new file mode 100644 index 0000000000..ddb3b443f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.UpdateConduitShards.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IConduitsClient.UpdateConduitShards.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Updates shard(s) for a conduit.
+ /// NEW Updates shard(s) for a [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events).
+ /// **NOTE:** Shard IDs are indexed starting at 0, so a conduit with a `shard_count` of 5 will have shards with IDs 0 through 4.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConduitShardsAsync( + global::G.UpdateConduitShardsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// NEW Updates shard(s) for a conduit.
+ /// NEW Updates shard(s) for a [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events).
+ /// **NOTE:** Shard IDs are indexed starting at 0, so a conduit with a `shard_count` of 5 will have shards with IDs 0 through 4.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// Conduit ID. + /// + /// + /// List of shards to update. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConduitShardsAsync( + string conduitId, + global::System.Collections.Generic.IList shards, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.UpdateConduits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.UpdateConduits.g.verified.cs new file mode 100644 index 0000000000..f88c5d610f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.UpdateConduits.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IConduitsClient.UpdateConduits.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Updates a conduit’s shard count.
+ /// NEW Updates a [conduit’s](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) shard count. To delete shards, update the count to a lower number, and the shards above the count will be deleted. For example, if the existing shard count is 100, by resetting shard count to 50, shards 50-99 are disabled.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConduitsAsync( + global::G.UpdateConduitsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// NEW Updates a conduit’s shard count.
+ /// NEW Updates a [conduit’s](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) shard count. To delete shards, update the count to a lower number, and the shards above the count will be deleted. For example, if the existing shard count is 100, by resetting shard count to 50, shards 50-99 are disabled.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// Conduit ID. + /// + /// + /// The new number of shards for this conduit. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConduitsAsync( + string id, + int shardCount, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.g.verified.cs new file mode 100644 index 0000000000..c0be2c5729 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IConduitsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IConduitsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IConduitsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.GetDropsEntitlements.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.GetDropsEntitlements.g.verified.cs new file mode 100644 index 0000000000..5d48fbb513 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.GetDropsEntitlements.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IEntitlementsClient.GetDropsEntitlements.g.cs +#nullable enable + +namespace G +{ + public partial interface IEntitlementsClient + { + /// + /// Gets an organization’s list of entitlements that have been granted to a game, a user, or both.
+ /// Gets an organization’s list of entitlements that have been granted to a game, a user, or both.
+ /// **NOTE:** Entitlements returned in the response body data are not guaranteed to be sorted by any field returned by the API. To retrieve **CLAIMED** or **FULFILLED** entitlements, use the `fulfillment_status` query parameter to filter results. To retrieve entitlements for a specific game, use the `game_id` query parameter to filter results.
+ /// The following table identifies the request parameters that you may specify based on the type of access token used.
+ /// | Access token type | Parameter | Description |
+ /// | - | - | - |
+ /// | App | None | If you don’t specify request parameters, the request returns all entitlements that your organization owns. |
+ /// | App | user_id | The request returns all entitlements for any game that the organization granted to the specified user. |
+ /// | App | user_id, game_id | The request returns all entitlements that the specified game granted to the specified user. |
+ /// | App | game_id | The request returns all entitlements that the specified game granted to all entitled users. |
+ /// | User | None | If you don’t specify request parameters, the request returns all entitlements for any game that the organization granted to the user identified in the access token. |
+ /// | User | user_id | Invalid. |
+ /// | User | user_id, game_id | Invalid. |
+ /// | User | game_id | The request returns all entitlements that the specified game granted to the user identified in the access token. |
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). The client ID in the access token must own the game. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDropsEntitlementsAsync( + global::System.Collections.Generic.IList? id = default, + string? userId = default, + string? gameId = default, + global::G.GetDropsEntitlementsFulfillmentStatus? fulfillmentStatus = default, + string? after = default, + int first = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.UpdateDropsEntitlements.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.UpdateDropsEntitlements.g.verified.cs new file mode 100644 index 0000000000..5eef36e57f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.UpdateDropsEntitlements.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IEntitlementsClient.UpdateDropsEntitlements.g.cs +#nullable enable + +namespace G +{ + public partial interface IEntitlementsClient + { + /// + /// Updates the Drop entitlement’s fulfillment status.
+ /// Updates the Drop entitlement’s fulfillment status.
+ /// The following table identifies which entitlements are updated based on the type of access token used.
+ /// | Access token type | Data that’s updated |
+ /// | - | - |
+ /// | App | Updates all entitlements with benefits owned by the organization in the access token. |
+ /// | User | Updates all entitlements owned by the user in the access token and where the benefits are owned by the organization in the access token. |
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). The client ID in the access token must own the game. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDropsEntitlementsAsync( + global::G.UpdateDropsEntitlementsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates the Drop entitlement’s fulfillment status.
+ /// Updates the Drop entitlement’s fulfillment status.
+ /// The following table identifies which entitlements are updated based on the type of access token used.
+ /// | Access token type | Data that’s updated |
+ /// | - | - |
+ /// | App | Updates all entitlements with benefits owned by the organization in the access token. |
+ /// | User | Updates all entitlements owned by the user in the access token and where the benefits are owned by the organization in the access token. |
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). The client ID in the access token must own the game. + ///
+ /// + /// A list of IDs that identify the entitlements to update. You may specify a maximum of 100 IDs. + /// + /// + /// The fulfillment status to set the entitlements to. Possible values are:
+ ///
+ /// * CLAIMED — The user claimed the benefit.
+ /// * FULFILLED — The developer granted the benefit that the user claimed. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDropsEntitlementsAsync( + global::System.Collections.Generic.IList? entitlementIds = default, + global::G.UpdateDropsEntitlementsBodyFulfillmentStatus? fulfillmentStatus = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.g.verified.cs new file mode 100644 index 0000000000..6e49c88ce2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEntitlementsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IEntitlementsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEntitlementsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.CreateEventsubSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.CreateEventsubSubscription.g.verified.cs new file mode 100644 index 0000000000..1595fa4aa4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.CreateEventsubSubscription.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IEventSubClient.CreateEventsubSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IEventSubClient + { + /// + /// Creates an EventSub subscription.
+ /// Creates an EventSub subscription.
+ /// __Authorization:__
+ /// If you use [webhooks to receive events](https://dev.twitch.tv/docs/eventsub/handling-webhook-events), the request must specify an app access token. The request will fail if you use a user access token. If the subscription type requires user authorization, the user must have granted your app (client ID) permissions to receive those events before you subscribe to them. For example, to subscribe to [channel.subscribe](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types/#channelsubscribe) events, your app must get a user access token that includes the `channel:read:subscriptions` scope, which adds the required permission to your app access token’s client ID.
+ /// If you use [WebSockets to receive events](https://dev.twitch.tv/docs/eventsub/handling-websocket-events), the request must specify a user access token. The request will fail if you use an app access token. If the subscription type requires user authorization, the token must include the required scope. However, if the subscription type doesn’t include user authorization, the token may include any scopes or no scopes.
+ /// If you use [Conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) to receive events, the request must specify an app access token. The request will fail if you use a user access token. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEventsubSubscriptionAsync( + global::G.CreateEventSubSubscriptionBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates an EventSub subscription.
+ /// Creates an EventSub subscription.
+ /// __Authorization:__
+ /// If you use [webhooks to receive events](https://dev.twitch.tv/docs/eventsub/handling-webhook-events), the request must specify an app access token. The request will fail if you use a user access token. If the subscription type requires user authorization, the user must have granted your app (client ID) permissions to receive those events before you subscribe to them. For example, to subscribe to [channel.subscribe](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types/#channelsubscribe) events, your app must get a user access token that includes the `channel:read:subscriptions` scope, which adds the required permission to your app access token’s client ID.
+ /// If you use [WebSockets to receive events](https://dev.twitch.tv/docs/eventsub/handling-websocket-events), the request must specify a user access token. The request will fail if you use an app access token. If the subscription type requires user authorization, the token must include the required scope. However, if the subscription type doesn’t include user authorization, the token may include any scopes or no scopes.
+ /// If you use [Conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) to receive events, the request must specify an app access token. The request will fail if you use a user access token. + ///
+ /// + /// The type of subscription to create. For a list of subscriptions that you can create, see [Subscription Types](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#subscription-types). Set this field to the value in the **Name** column of the Subscription Types table. + /// + /// + /// The version number that identifies the definition of the subscription type that you want the response to use. + /// + /// + /// A JSON object that contains the parameter values that are specific to the specified subscription type. For the object’s required and optional fields, see the subscription type’s documentation. + /// + /// + /// The transport details that you want Twitch to use when sending you notifications. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEventsubSubscriptionAsync( + global::G.CreateEventSubSubscriptionBodyType type, + string version, + global::G.CreateEventSubSubscriptionBodyCondition condition, + global::G.CreateEventSubSubscriptionBodyTransport transport, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.DeleteEventsubSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.DeleteEventsubSubscription.g.verified.cs new file mode 100644 index 0000000000..748402c43f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.DeleteEventsubSubscription.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IEventSubClient.DeleteEventsubSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IEventSubClient + { + /// + /// Deletes an EventSub subscription.
+ /// Deletes an EventSub subscription.
+ /// __Authorization:__
+ /// If you use [webhooks to receive events](https://dev.twitch.tv/docs/eventsub/handling-webhook-events), the request must specify an app access token. The request will fail if you use a user access token.
+ /// If you use [WebSockets to receive events](https://dev.twitch.tv/docs/eventsub/handling-websocket-events), the request must specify a user access token. The request will fail if you use an app access token. The token may include any scopes. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteEventsubSubscriptionAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.GetEventsubSubscriptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.GetEventsubSubscriptions.g.verified.cs new file mode 100644 index 0000000000..48fb9d1826 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.GetEventsubSubscriptions.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IEventSubClient.GetEventsubSubscriptions.g.cs +#nullable enable + +namespace G +{ + public partial interface IEventSubClient + { + /// + /// Gets a list of EventSub subscriptions that the client in the access token created.
+ /// Gets a list of EventSub subscriptions that the client in the access token created.
+ /// __Authorization:__
+ /// If you use [Webhooks](https://dev.twitch.tv/docs/eventsub/handling-webhook-events) or [Conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) to receive events, the request must specify an app access token. The request will fail if you use a user access token.
+ /// If you use [WebSockets to receive events](https://dev.twitch.tv/docs/eventsub/handling-websocket-events), the request must specify a user access token. The request will fail if you use an app access token. The token may include any scopes.
+ /// __Request Query Parameters:__
+ /// Use the _status_, _type_, and _user\_id_ query parameters to filter the list of subscriptions that are returned. The filters are mutually exclusive; the request fails if you specify more than one filter. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetEventsubSubscriptionsAsync( + global::G.GetEventsubSubscriptionsStatus? status = default, + global::G.GetEventsubSubscriptionsType? type = default, + string? userId = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.g.verified.cs new file mode 100644 index 0000000000..4ea0659fa1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IEventSubClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IEventSubClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEventSubClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.CreateExtensionSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.CreateExtensionSecret.g.verified.cs new file mode 100644 index 0000000000..556aea8dd7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.CreateExtensionSecret.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IExtensionsClient.CreateExtensionSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Creates a shared secret used to sign and verify JWT tokens.
+ /// Creates a shared secret used to sign and verify JWT tokens. Creating a new secret removes the current secrets from service. Use this function only when you are ready to use the new secret it returns.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateExtensionSecretAsync( + string extensionId, + int delay = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionBitsProducts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionBitsProducts.g.verified.cs new file mode 100644 index 0000000000..c23ba32788 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionBitsProducts.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IExtensionsClient.GetExtensionBitsProducts.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets the list of Bits products that belongs to the extension.
+ /// Gets the list of Bits products that belongs to the extension. The client ID in the app access token identifies the extension.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). The client ID in the app access token must be the extension’s client ID. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionBitsProductsAsync( + bool shouldIncludeAll = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs new file mode 100644 index 0000000000..1d583b0562 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IExtensionsClient.GetExtensionConfigurationSegment.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets the specified configuration segment from the specified extension.
+ /// Gets the specified configuration segment from the specified extension.
+ /// **Rate Limits**: You may retrieve each segment a maximum of 20 times per minute.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionConfigurationSegmentAsync( + string extensionId, + global::G.GetExtensionConfigurationSegmentSegment segment, + string? broadcasterId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionLiveChannels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionLiveChannels.g.verified.cs new file mode 100644 index 0000000000..7c7d194073 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionLiveChannels.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IExtensionsClient.GetExtensionLiveChannels.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets a list of broadcasters that are streaming live and have installed or activated the extension.
+ /// Gets a list of broadcasters that are streaming live and have installed or activated the extension.
+ /// It may take a few minutes for the list to include or remove broadcasters that have recently gone live or stopped broadcasting.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionLiveChannelsAsync( + string extensionId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionSecrets.g.verified.cs new file mode 100644 index 0000000000..b2d5cdbbb0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensionSecrets.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IExtensionsClient.GetExtensionSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets an extension’s list of shared secrets.
+ /// Gets an extension’s list of shared secrets.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionSecretsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensions.g.verified.cs new file mode 100644 index 0000000000..3680533f3b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetExtensions.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IExtensionsClient.GetExtensions.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets information about an extension.
+ /// Gets information about an extension.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role` field (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)), and the `role` field must be set to _external_. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionsAsync( + string extensionId, + string? extensionVersion = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetReleasedExtensions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetReleasedExtensions.g.verified.cs new file mode 100644 index 0000000000..f3cf4a5fec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.GetReleasedExtensions.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IExtensionsClient.GetReleasedExtensions.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets information about a released extension.
+ /// Gets information about a released extension. Returns the extension if its `state` is Released.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetReleasedExtensionsAsync( + string extensionId, + string? extensionVersion = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SendExtensionChatMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SendExtensionChatMessage.g.verified.cs new file mode 100644 index 0000000000..deee0b2dc8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SendExtensionChatMessage.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IExtensionsClient.SendExtensionChatMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Sends a message to the specified broadcaster’s chat room.
+ /// Sends a message to the specified broadcaster’s chat room. The extension’s name is used as the username for the message in the chat room. To send a chat message, your extension must enable **Chat Capabilities** (under your extension’s **Capabilities** tab).
+ /// **Rate Limits**: You may send a maximum of 12 messages per minute per channel.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role` and `user_id` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendExtensionChatMessageAsync( + string broadcasterId, + global::G.SendExtensionChatMessageBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Sends a message to the specified broadcaster’s chat room.
+ /// Sends a message to the specified broadcaster’s chat room. The extension’s name is used as the username for the message in the chat room. To send a chat message, your extension must enable **Chat Capabilities** (under your extension’s **Capabilities** tab).
+ /// **Rate Limits**: You may send a maximum of 12 messages per minute per channel.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role` and `user_id` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// + /// The message. The message may contain a maximum of 280 characters. + /// + /// + /// The ID of the extension that’s sending the chat message. + /// + /// + /// The extension’s version number. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendExtensionChatMessageAsync( + string broadcasterId, + string text, + string extensionId, + string extensionVersion, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SendExtensionPubsubMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SendExtensionPubsubMessage.g.verified.cs new file mode 100644 index 0000000000..355ce8cd87 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SendExtensionPubsubMessage.g.verified.cs @@ -0,0 +1,112 @@ +//HintName: G.IExtensionsClient.SendExtensionPubsubMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Sends a message to one or more viewers.
+ /// Sends a message to one or more viewers. You can send messages to a specific channel or to all channels where your extension is active. This endpoint uses the same mechanism as the [send](https://dev.twitch.tv/docs/extensions/reference#send) JavaScript helper function used to send messages.
+ /// **Rate Limits**: You may send a maximum of 100 messages per minute per combination of extension client ID and broadcaster ID.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)) along with the `channel_id` and `pubsub_perms` fields. The `role` field must be set to _external_.
+ /// To send the message to a specific channel, set the `channel_id` field in the JWT to the channel’s ID and set the `pubsub_perms.send` array to _broadcast_.
+ /// ```
+ /// {
+ /// "exp": 1503343947,
+ /// "user_id": "27419011",
+ /// "role": "external",
+ /// "channel_id": "27419011",
+ /// "pubsub_perms": {
+ /// "send":[
+ /// "broadcast"
+ /// ]
+ /// }
+ /// }
+ /// ```
+ /// To send the message to all channels on which your extension is active, set the `channel_id` field to _all_ and set the `pubsub_perms.send` array to _global_.
+ /// ```
+ /// {
+ /// "exp": 1503343947,
+ /// "user_id": "27419011",
+ /// "role": "external",
+ /// "channel_id": "all",
+ /// "pubsub_perms": {
+ /// "send":[
+ /// "global"
+ /// ]
+ /// }
+ /// }
+ /// ``` + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendExtensionPubsubMessageAsync( + global::G.SendExtensionPubSubMessageBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Sends a message to one or more viewers.
+ /// Sends a message to one or more viewers. You can send messages to a specific channel or to all channels where your extension is active. This endpoint uses the same mechanism as the [send](https://dev.twitch.tv/docs/extensions/reference#send) JavaScript helper function used to send messages.
+ /// **Rate Limits**: You may send a maximum of 100 messages per minute per combination of extension client ID and broadcaster ID.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)) along with the `channel_id` and `pubsub_perms` fields. The `role` field must be set to _external_.
+ /// To send the message to a specific channel, set the `channel_id` field in the JWT to the channel’s ID and set the `pubsub_perms.send` array to _broadcast_.
+ /// ```
+ /// {
+ /// "exp": 1503343947,
+ /// "user_id": "27419011",
+ /// "role": "external",
+ /// "channel_id": "27419011",
+ /// "pubsub_perms": {
+ /// "send":[
+ /// "broadcast"
+ /// ]
+ /// }
+ /// }
+ /// ```
+ /// To send the message to all channels on which your extension is active, set the `channel_id` field to _all_ and set the `pubsub_perms.send` array to _global_.
+ /// ```
+ /// {
+ /// "exp": 1503343947,
+ /// "user_id": "27419011",
+ /// "role": "external",
+ /// "channel_id": "all",
+ /// "pubsub_perms": {
+ /// "send":[
+ /// "global"
+ /// ]
+ /// }
+ /// }
+ /// ``` + ///
+ /// + /// The target of the message. Possible values are:
+ ///
+ /// * broadcast
+ /// * global
+ /// * whisper-<user-id>
+ ///
+ /// If `is_global_broadcast` is **true**, you must set this field to global. The broadcast and global values are mutually exclusive; specify only one of them. + /// + /// + /// The ID of the broadcaster to send the message to. Don’t include this field if `is_global_broadcast` is set to **true**. + /// + /// + /// A Boolean value that determines whether the message should be sent to all channels where your extension is active. Set to **true** if the message should be sent to all channels. The default is **false**. + /// + /// + /// The message to send. The message can be a plain-text string or a string-encoded JSON object. The message is limited to a maximum of 5 KB. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendExtensionPubsubMessageAsync( + global::System.Collections.Generic.IList target, + string broadcasterId, + string message, + bool isGlobalBroadcast = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs new file mode 100644 index 0000000000..5ccf8b3821 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IExtensionsClient.SetExtensionConfigurationSegment.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Updates a configuration segment.
+ /// Updates a configuration segment. The segment is limited to 5 KB. Extensions that are active on a channel do not receive the updated configuration.
+ /// **Rate Limits**: You may update the configuration a maximum of 20 times per minute.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetExtensionConfigurationSegmentAsync( + global::G.SetExtensionConfigurationSegmentBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a configuration segment.
+ /// Updates a configuration segment. The segment is limited to 5 KB. Extensions that are active on a channel do not receive the updated configuration.
+ /// **Rate Limits**: You may update the configuration a maximum of 20 times per minute.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// The ID of the extension to update. + /// + /// + /// The configuration segment to update. Possible case-sensitive values are:
+ ///
+ /// * broadcaster
+ /// * developer
+ /// * global + /// + /// + /// The ID of the broadcaster that installed the extension. Include this field only if the `segment` is set to developer or broadcaster. + /// + /// + /// The contents of the segment. This string may be a plain-text string or a string-encoded JSON object. + /// + /// + /// The version number that identifies this definition of the segment’s data. If not specified, the latest definition is updated. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetExtensionConfigurationSegmentAsync( + string extensionId, + global::G.SetExtensionConfigurationSegmentBodySegment segment, + string? broadcasterId = default, + string? content = default, + string? version = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs new file mode 100644 index 0000000000..3afcb0f3c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IExtensionsClient.SetExtensionRequiredConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Updates the extension’s required_configuration string.
+ /// Updates the extension’s required\_configuration string. Use this endpoint if your extension requires the broadcaster to configure the extension before activating it (to require configuration, you must select **Custom/My Own Service** in Extension [Capabilities](https://dev.twitch.tv/docs/extensions/life-cycle/#capabilities)). For more information, see [Required Configurations](https://dev.twitch.tv/docs/extensions/building#required-configurations) and [Setting Required Configuration](https://dev.twitch.tv/docs/extensions/building#setting-required-configuration-with-the-configuration-service-optional).
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an EBS. For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). Set the `role` field to _external_ and the `user_id` field to the ID of the user that owns the extension. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetExtensionRequiredConfigurationAsync( + string broadcasterId, + global::G.SetExtensionRequiredConfigurationBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates the extension’s required_configuration string.
+ /// Updates the extension’s required\_configuration string. Use this endpoint if your extension requires the broadcaster to configure the extension before activating it (to require configuration, you must select **Custom/My Own Service** in Extension [Capabilities](https://dev.twitch.tv/docs/extensions/life-cycle/#capabilities)). For more information, see [Required Configurations](https://dev.twitch.tv/docs/extensions/building#required-configurations) and [Setting Required Configuration](https://dev.twitch.tv/docs/extensions/building#setting-required-configuration-with-the-configuration-service-optional).
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an EBS. For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). Set the `role` field to _external_ and the `user_id` field to the ID of the user that owns the extension. + ///
+ /// + /// + /// The ID of the extension to update. + /// + /// + /// The version of the extension to update. + /// + /// + /// The required\_configuration string to use with the extension. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetExtensionRequiredConfigurationAsync( + string broadcasterId, + string extensionId, + string extensionVersion, + string requiredConfiguration, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs new file mode 100644 index 0000000000..0c4d8e78fa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IExtensionsClient.UpdateExtensionBitsProduct.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Adds or updates a Bits product that the extension created.
+ /// Adds or updates a Bits product that the extension created. If the SKU doesn’t exist, the product is added. You may update all fields except the `sku` field.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). The client ID in the app access token must match the extension’s client ID. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateExtensionBitsProductAsync( + global::G.UpdateExtensionBitsProductBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds or updates a Bits product that the extension created.
+ /// Adds or updates a Bits product that the extension created. If the SKU doesn’t exist, the product is added. You may update all fields except the `sku` field.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). The client ID in the app access token must match the extension’s client ID. + ///
+ /// + /// The product's SKU. The SKU must be unique within an extension. The product's SKU cannot be changed. The SKU may contain only alphanumeric characters, dashes (-), underscores (\_), and periods (.) and is limited to a maximum of 255 characters. No spaces. + /// + /// + /// An object that contains the product's cost information. + /// + /// + /// The product's name as displayed in the extension. The maximum length is 255 characters. + /// + /// + /// A Boolean value that indicates whether the product is in development. Set to **true** if the product is in development and not available for public use. The default is **false**. + /// + /// + /// The date and time, in RFC3339 format, when the product expires. If not set, the product does not expire. To disable the product, set the expiration date to a date in the past. + /// + /// + /// A Boolean value that determines whether Bits product purchase events are broadcast to all instances of the extension on a channel. The events are broadcast via the `onTransactionComplete` helper callback. The default is **false**. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateExtensionBitsProductAsync( + string sku, + global::G.UpdateExtensionBitsProductBodyCost cost, + string displayName, + bool inDevelopment = default, + global::System.DateTime expiration = default, + bool isBroadcast = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.g.verified.cs new file mode 100644 index 0000000000..0014fcbf1b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IExtensionsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IExtensionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IExtensionsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.GetGames.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.GetGames.g.verified.cs new file mode 100644 index 0000000000..4381fab24f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.GetGames.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGamesClient.GetGames.g.cs +#nullable enable + +namespace G +{ + public partial interface IGamesClient + { + /// + /// Gets information about specified games.
+ /// Gets information about specified categories or games.
+ /// You may get up to 100 categories or games by specifying their ID or name. You may specify all IDs, all names, or a combination of IDs and names. If you specify a combination of IDs and names, the total number of IDs and names must not exceed 100.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGamesAsync( + global::System.Collections.Generic.IList? id = default, + global::System.Collections.Generic.IList? name = default, + global::System.Collections.Generic.IList? igdbId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.GetTopGames.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.GetTopGames.g.verified.cs new file mode 100644 index 0000000000..d245a5fafb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.GetTopGames.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGamesClient.GetTopGames.g.cs +#nullable enable + +namespace G +{ + public partial interface IGamesClient + { + /// + /// Gets information about all broadcasts on Twitch.
+ /// Gets information about all broadcasts on Twitch.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTopGamesAsync( + int first = default, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.g.verified.cs new file mode 100644 index 0000000000..4580fd1c96 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGamesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGamesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGamesClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGoalsClient.GetCreatorGoals.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGoalsClient.GetCreatorGoals.g.verified.cs new file mode 100644 index 0000000000..a3104c30aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGoalsClient.GetCreatorGoals.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IGoalsClient.GetCreatorGoals.g.cs +#nullable enable + +namespace G +{ + public partial interface IGoalsClient + { + /// + /// Gets the broadcaster’s list of active goals.
+ /// Gets the broadcaster’s list of active goals. Use this endpoint to get the current progress of each goal.
+ /// Instead of polling for the progress of a goal, consider [subscribing](https://dev.twitch.tv/docs/eventsub/manage-subscriptions) to receive notifications when a goal makes progress using the [channel.goal.progress](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelgoalprogress) subscription type. [Read More](https://dev.twitch.tv/docs/api/goals#requesting-event-notifications)
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:goals** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCreatorGoalsAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGoalsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGoalsClient.g.verified.cs new file mode 100644 index 0000000000..de9cf0d689 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGoalsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGoalsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGoalsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.AssignGuestStarSlot.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.AssignGuestStarSlot.g.verified.cs new file mode 100644 index 0000000000..a7889a1ec3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.AssignGuestStarSlot.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IGuestStarClient.AssignGuestStarSlot.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Allows a previously invited user to be assigned a slot within the active Guest Star session.
+ /// BETA Allows a previously invited user to be assigned a slot within the active Guest Star session, once that guest has indicated they are ready to join.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AssignGuestStarSlotAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string guestId, + string slotId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.CreateGuestStarSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.CreateGuestStarSession.g.verified.cs new file mode 100644 index 0000000000..cc26cfdb2f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.CreateGuestStarSession.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IGuestStarClient.CreateGuestStarSession.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Programmatically creates a Guest Star session on behalf of the broadcaster.
+ /// BETA Programmatically creates a Guest Star session on behalf of the broadcaster. Requires the broadcaster to be present in the call interface, or the call will be ended automatically.
+ /// __Authorization:__
+ /// * Query parameter `broadcaster_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateGuestStarSessionAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.DeleteGuestStarInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.DeleteGuestStarInvite.g.verified.cs new file mode 100644 index 0000000000..8f9a48d1cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.DeleteGuestStarInvite.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IGuestStarClient.DeleteGuestStarInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Revokes a previously sent invite for a Guest Star session.
+ /// BETA Revokes a previously sent invite for a Guest Star session.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteGuestStarInviteAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string guestId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.DeleteGuestStarSlot.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.DeleteGuestStarSlot.g.verified.cs new file mode 100644 index 0000000000..8659edf0c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.DeleteGuestStarSlot.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IGuestStarClient.DeleteGuestStarSlot.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Allows a caller to remove a slot assignment from a user participating in an active Guest Star session.
+ /// BETA Allows a caller to remove a slot assignment from a user participating in an active Guest Star session. This revokes their access to the session immediately and disables their access to publish or subscribe to media within the session.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteGuestStarSlotAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string guestId, + string slotId, + string? shouldReinviteGuest = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.EndGuestStarSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.EndGuestStarSession.g.verified.cs new file mode 100644 index 0000000000..5811a31ddf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.EndGuestStarSession.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGuestStarClient.EndGuestStarSession.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Programmatically ends a Guest Star session on behalf of the broadcaster.
+ /// BETA Programmatically ends a Guest Star session on behalf of the broadcaster. Performs the same action as if the host clicked the “End Call” button in the Guest Star UI.
+ /// __Authorization:__
+ /// * Query parameter `broadcaster_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EndGuestStarSessionAsync( + string broadcasterId, + string sessionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetChannelGuestStarSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetChannelGuestStarSettings.g.verified.cs new file mode 100644 index 0000000000..7f8f8f5f83 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetChannelGuestStarSettings.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGuestStarClient.GetChannelGuestStarSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Gets the channel settings for configuration of the Guest Star feature for a particular host.
+ /// BETA Gets the channel settings for configuration of the Guest Star feature for a particular host.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:read:guest_star`, `channel:manage:guest_star`, `moderator:read:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelGuestStarSettingsAsync( + string broadcasterId, + string moderatorId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetGuestStarInvites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetGuestStarInvites.g.verified.cs new file mode 100644 index 0000000000..7914f0fb1b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetGuestStarInvites.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGuestStarClient.GetGuestStarInvites.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Provides the caller with a list of pending invites to a Guest Star session.
+ /// BETA Provides the caller with a list of pending invites to a Guest Star session, including the invitee’s ready status while joining the waiting room.
+ /// __Authorization:__
+ /// * Query parameter `broadcaster_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:read:guest_star`, `channel:manage:guest_star`, `moderator:read:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGuestStarInvitesAsync( + string broadcasterId, + string moderatorId, + string sessionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetGuestStarSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetGuestStarSession.g.verified.cs new file mode 100644 index 0000000000..8195bc8c8d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.GetGuestStarSession.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGuestStarClient.GetGuestStarSession.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Gets information about an ongoing Guest Star session for a particular channel.
+ /// BETA Gets information about an ongoing Guest Star session for a particular channel.
+ /// __Authorization:__
+ /// * Requires OAuth Scope: `channel:read:guest_star`, `channel:manage:guest_star`, `moderator:read:guest_star` or `moderator:manage:guest_star`
+ /// * Guests must be either invited or assigned a slot within the session + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGuestStarSessionAsync( + string broadcasterId, + string moderatorId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.SendGuestStarInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.SendGuestStarInvite.g.verified.cs new file mode 100644 index 0000000000..93a8681a6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.SendGuestStarInvite.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IGuestStarClient.SendGuestStarInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Sends an invite to a specified guest on behalf of the broadcaster for a Guest Star session in progress.
+ /// BETA Sends an invite to a specified guest on behalf of the broadcaster for a Guest Star session in progress.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendGuestStarInviteAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string guestId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs new file mode 100644 index 0000000000..b2681888da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.IGuestStarClient.UpdateChannelGuestStarSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Mutates the channel settings for configuration of the Guest Star feature for a particular host.
+ /// BETA Mutates the channel settings for configuration of the Guest Star feature for a particular host.
+ /// __Authorization:__
+ /// * Query parameter `broadcaster_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChannelGuestStarSettingsAsync( + string broadcasterId, + global::G.UpdateChannelGuestStarSettingsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// BETA Mutates the channel settings for configuration of the Guest Star feature for a particular host.
+ /// BETA Mutates the channel settings for configuration of the Guest Star feature for a particular host.
+ /// __Authorization:__
+ /// * Query parameter `broadcaster_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` + ///
+ /// + /// + /// Flag determining if Guest Star moderators have access to control whether a guest is live once assigned to a slot. + /// + /// + /// Number of slots the Guest Star call interface will allow the host to add to a call. Required to be between 1 and 6. + /// + /// + /// Flag determining if Browser Sources subscribed to sessions on this channel should output audio + /// + /// + /// This setting determines how the guests within a session should be laid out within the browser source. Can be one of the following values:
+ ///
+ /// * `TILED_LAYOUT`: All live guests are tiled within the browser source with the same size.
+ /// * `SCREENSHARE_LAYOUT`: All live guests are tiled within the browser source with the same size. If there is an active screen share, it is sized larger than the other guests.
+ /// * `HORIZONTAL_LAYOUT`: All live guests are arranged in a horizontal bar within the browser source
+ /// * `VERTICAL_LAYOUT`: All live guests are arranged in a vertical bar within the browser source + /// + /// + /// Flag determining if Guest Star should regenerate the auth token associated with the channel’s browser sources. Providing a true value for this will immediately invalidate all browser sources previously configured in your streaming software. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChannelGuestStarSettingsAsync( + string broadcasterId, + bool isModeratorSendLiveEnabled = default, + int slotCount = default, + bool isBrowserSourceAudioEnabled = default, + global::G.UpdateChannelGuestStarSettingsBodyGroupLayout? groupLayout = default, + bool regenerateBrowserSources = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateGuestStarSlot.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateGuestStarSlot.g.verified.cs new file mode 100644 index 0000000000..e5807ff75b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateGuestStarSlot.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IGuestStarClient.UpdateGuestStarSlot.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Allows a user to update the assigned slot for a particular user within the active Guest Star session.
+ /// BETA Allows a user to update the assigned slot for a particular user within the active Guest Star session.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateGuestStarSlotAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string sourceSlotId, + string? destinationSlotId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs new file mode 100644 index 0000000000..bde81d81a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IGuestStarClient.UpdateGuestStarSlotSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Allows a user to update slot settings for a particular guest within a Guest Star session.
+ /// BETA Allows a user to update slot settings for a particular guest within a Guest Star session, such as allowing the user to share audio or video within the call as a host. These settings will be broadcasted to all subscribers which control their view of the guest in that slot. One or more of the optional parameters to this API can be specified at any time.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateGuestStarSlotSettingsAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string slotId, + bool isAudioEnabled = default, + bool isVideoEnabled = default, + bool isLive = default, + int volume = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.g.verified.cs new file mode 100644 index 0000000000..d8e9ab7aa7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IGuestStarClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGuestStarClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGuestStarClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IHypeTrainClient.GetHypeTrainEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IHypeTrainClient.GetHypeTrainEvents.g.verified.cs new file mode 100644 index 0000000000..e4c1271aa2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IHypeTrainClient.GetHypeTrainEvents.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IHypeTrainClient.GetHypeTrainEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IHypeTrainClient + { + /// + /// Gets information about the broadcaster’s current or most recent Hype Train event.
+ /// Gets information about the broadcaster’s current or most recent Hype Train event.
+ /// Instead of polling for events, consider [subscribing](https://dev.twitch.tv/docs/eventsub/manage-subscriptions) to Hype Train events ([Begin](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainbegin), [Progress](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainprogress), [End](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainend)).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:hype\_train** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetHypeTrainEventsAsync( + string broadcasterId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IHypeTrainClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IHypeTrainClient.g.verified.cs new file mode 100644 index 0000000000..404901f4d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IHypeTrainClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IHypeTrainClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IHypeTrainClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddBlockedTerm.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddBlockedTerm.g.verified.cs new file mode 100644 index 0000000000..232a0c4bf9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddBlockedTerm.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IModerationClient.AddBlockedTerm.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Adds a word or phrase to the broadcaster’s list of blocked terms.
+ /// Adds a word or phrase to the broadcaster’s list of blocked terms. These are the terms that the broadcaster doesn’t want used in their chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:blocked\_terms** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddBlockedTermAsync( + string broadcasterId, + string moderatorId, + global::G.AddBlockedTermBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds a word or phrase to the broadcaster’s list of blocked terms.
+ /// Adds a word or phrase to the broadcaster’s list of blocked terms. These are the terms that the broadcaster doesn’t want used in their chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:blocked\_terms** scope. + ///
+ /// + /// + /// + /// The word or phrase to block from being used in the broadcaster’s chat room. The term must contain a minimum of 2 characters and may contain up to a maximum of 500 characters.
+ ///
+ /// Terms may include a wildcard character (\*). The wildcard character must appear at the beginning or end of a word or set of characters. For example, \*foo or foo\*.
+ ///
+ /// If the blocked term already exists, the response contains the existing blocked term. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddBlockedTermAsync( + string broadcasterId, + string moderatorId, + string text, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddChannelModerator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddChannelModerator.g.verified.cs new file mode 100644 index 0000000000..a361655f14 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddChannelModerator.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IModerationClient.AddChannelModerator.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Adds a moderator to the broadcaster’s chat room.
+ /// Adds a moderator to the broadcaster’s chat room.
+ /// **Rate Limits**: The broadcaster may add a maximum of 10 moderators within a 10-second window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:moderators** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddChannelModeratorAsync( + string broadcasterId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddChannelVip.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddChannelVip.g.verified.cs new file mode 100644 index 0000000000..6cb93e4827 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.AddChannelVip.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IModerationClient.AddChannelVip.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Adds the specified user as a VIP in the broadcaster’s channel.
+ /// Adds the specified user as a VIP in the broadcaster’s channel.
+ /// **Rate Limits**: The broadcaster may add a maximum of 10 VIPs within a 10-second window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:vips** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddChannelVipAsync( + string userId, + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.BanUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.BanUser.g.verified.cs new file mode 100644 index 0000000000..1b1780d37d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.BanUser.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IModerationClient.BanUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Bans a user from participating in a broadcaster’s chat room or puts them in a timeout.
+ /// Bans a user from participating in the specified broadcaster’s chat room or puts them in a timeout.
+ /// For information about banning or putting users in a timeout, see [Ban a User](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat#TheBanFeature) and [Timeout a User](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat#TheTimeoutFeature).
+ /// If the user is currently in a timeout, you can call this endpoint to change the duration of the timeout or ban them altogether. If the user is currently banned, you cannot call this method to put them in a timeout instead.
+ /// To remove a ban or end a timeout, see [Unban user](https://dev.twitch.tv/docs/api/reference#unban-user).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:banned\_users** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BanUserAsync( + string broadcasterId, + string moderatorId, + global::G.BanUserBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Bans a user from participating in a broadcaster’s chat room or puts them in a timeout.
+ /// Bans a user from participating in the specified broadcaster’s chat room or puts them in a timeout.
+ /// For information about banning or putting users in a timeout, see [Ban a User](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat#TheBanFeature) and [Timeout a User](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat#TheTimeoutFeature).
+ /// If the user is currently in a timeout, you can call this endpoint to change the duration of the timeout or ban them altogether. If the user is currently banned, you cannot call this method to put them in a timeout instead.
+ /// To remove a ban or end a timeout, see [Unban user](https://dev.twitch.tv/docs/api/reference#unban-user).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:banned\_users** scope. + ///
+ /// + /// + /// + /// Identifies the user and type of ban. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BanUserAsync( + string broadcasterId, + string moderatorId, + global::G.BanUserBodyData data, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.CheckAutomodStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.CheckAutomodStatus.g.verified.cs new file mode 100644 index 0000000000..b7f31a9c09 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.CheckAutomodStatus.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IModerationClient.CheckAutomodStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Checks whether AutoMod would flag the specified message for review.
+ /// Checks whether AutoMod would flag the specified message for review.
+ /// AutoMod is a moderation tool that holds inappropriate or harassing chat messages for moderators to review. Moderators approve or deny the messages that AutoMod flags; only approved messages are released to chat. AutoMod detects misspellings and evasive language automatically. For information about AutoMod, see [How to Use AutoMod](https://help.twitch.tv/s/article/how-to-use-automod).
+ /// **Rate Limits**: Rates are limited per channel based on the account type rather than per access token.
+ /// | Account type | Limit per minute | Limit per hour |
+ /// | - | - | - |
+ /// | Normal | 5 | 50 |
+ /// | Affiliate | 10 | 100 |
+ /// | Partner | 30 | 300 |
+ /// The above limits are in addition to the standard [Twitch API rate limits](https://dev.twitch.tv/docs/api/guide#twitch-rate-limits). The rate limit headers in the response represent the Twitch rate limits and not the above limits.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderation:read** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckAutomodStatusAsync( + string broadcasterId, + global::G.CheckAutoModStatusBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Checks whether AutoMod would flag the specified message for review.
+ /// Checks whether AutoMod would flag the specified message for review.
+ /// AutoMod is a moderation tool that holds inappropriate or harassing chat messages for moderators to review. Moderators approve or deny the messages that AutoMod flags; only approved messages are released to chat. AutoMod detects misspellings and evasive language automatically. For information about AutoMod, see [How to Use AutoMod](https://help.twitch.tv/s/article/how-to-use-automod).
+ /// **Rate Limits**: Rates are limited per channel based on the account type rather than per access token.
+ /// | Account type | Limit per minute | Limit per hour |
+ /// | - | - | - |
+ /// | Normal | 5 | 50 |
+ /// | Affiliate | 10 | 100 |
+ /// | Partner | 30 | 300 |
+ /// The above limits are in addition to the standard [Twitch API rate limits](https://dev.twitch.tv/docs/api/guide#twitch-rate-limits). The rate limit headers in the response represent the Twitch rate limits and not the above limits.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderation:read** scope. + ///
+ /// + /// + /// The list of messages to check. The list must contain at least one message and may contain up to a maximum of 100 messages. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckAutomodStatusAsync( + string broadcasterId, + global::System.Collections.Generic.IList data, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.DeleteChatMessages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.DeleteChatMessages.g.verified.cs new file mode 100644 index 0000000000..50be7997d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.DeleteChatMessages.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModerationClient.DeleteChatMessages.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Removes a single chat message or all chat messages from the broadcaster’s chat room.
+ /// Removes a single chat message or all chat messages from the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:chat\_messages** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteChatMessagesAsync( + string broadcasterId, + string moderatorId, + string? messageId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetAutomodSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetAutomodSettings.g.verified.cs new file mode 100644 index 0000000000..36d58a239e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetAutomodSettings.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IModerationClient.GetAutomodSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets the broadcaster’s AutoMod settings.
+ /// Gets the broadcaster’s AutoMod settings. The settings are used to automatically block inappropriate or harassing messages from appearing in the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:read:automod\_settings** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAutomodSettingsAsync( + string broadcasterId, + string moderatorId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetBannedUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetBannedUsers.g.verified.cs new file mode 100644 index 0000000000..d24f24bcde --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetBannedUsers.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IModerationClient.GetBannedUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets all users that the broadcaster banned or put in a timeout.
+ /// Gets all users that the broadcaster banned or put in a timeout.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderation:read** or **moderator:manage:banned\_users** scope. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBannedUsersAsync( + string broadcasterId, + global::System.Collections.Generic.IList? userId = default, + int first = default, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetBlockedTerms.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetBlockedTerms.g.verified.cs new file mode 100644 index 0000000000..fc449dcc0b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetBlockedTerms.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IModerationClient.GetBlockedTerms.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets the broadcaster’s list of non-private, blocked words or phrases.
+ /// Gets the broadcaster’s list of non-private, blocked words or phrases. These are the terms that the broadcaster or moderator added manually or that were denied by AutoMod.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:read:blocked\_terms** or **moderator:manage:blocked\_terms** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBlockedTermsAsync( + string broadcasterId, + string moderatorId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetModeratedChannels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetModeratedChannels.g.verified.cs new file mode 100644 index 0000000000..c25646db74 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetModeratedChannels.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IModerationClient.GetModeratedChannels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets a list of channels that the specified user has moderator privileges in.
+ /// Gets a list of channels that the specified user has moderator privileges in.
+ /// __Authorization:__
+ /// * Query parameter `user_id` must match the user ID in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `user:read:moderated_channels` + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetModeratedChannelsAsync( + string userId, + string? after = default, + int first = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetModerators.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetModerators.g.verified.cs new file mode 100644 index 0000000000..8fcf693c0f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetModerators.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IModerationClient.GetModerators.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets all users allowed to moderate the broadcaster’s chat room.
+ /// Gets all users allowed to moderate the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderation:read** scope. If your app also adds and removes moderators, you can use the **channel:manage:moderators** scope instead. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetModeratorsAsync( + string broadcasterId, + global::System.Collections.Generic.IList? userId = default, + string? first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetShieldModeStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetShieldModeStatus.g.verified.cs new file mode 100644 index 0000000000..bf6d6e35da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetShieldModeStatus.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IModerationClient.GetShieldModeStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets the broadcaster’s Shield Mode activation status.
+ /// Gets the broadcaster’s Shield Mode activation status.
+ /// To receive notification when the broadcaster activates and deactivates Shield Mode, subscribe to the [channel.shield\_mode.begin](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelshield%5Fmodebegin) and [channel.shield\_mode.end](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelshield%5Fmodeend) subscription types.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:read:shield\_mode** or **moderator:manage:shield\_mode** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetShieldModeStatusAsync( + string broadcasterId, + string moderatorId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetUnbanRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetUnbanRequests.g.verified.cs new file mode 100644 index 0000000000..6593a0ae0f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetUnbanRequests.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IModerationClient.GetUnbanRequests.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// NEW Gets a list of unban requests for a broadcaster’s channel.
+ /// NEW Gets a list of unban requests for a broadcaster’s channel.
+ /// __Authorization:__
+ /// * Requires a user access token that includes the **moderator:read:unban\_requests** or **moderator:manage:unban\_requests** scope.
+ /// * Query parameter `moderator_id` must match the `user_id` in the [user access token](https://dev.twitch.tv/docs/authentication/#user-access-tokens). + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUnbanRequestsAsync( + string broadcasterId, + string moderatorId, + string status, + string? userId = default, + string? after = default, + int first = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetVips.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetVips.g.verified.cs new file mode 100644 index 0000000000..2bbbb6bfda --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.GetVips.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IModerationClient.GetVips.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets a list of the broadcaster’s VIPs.
+ /// Gets a list of the broadcaster’s VIPs.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:vips** scope. If your app also adds and removes VIP status, you can use the **channel:manage:vips** scope instead. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVipsAsync( + string broadcasterId, + global::System.Collections.Generic.IList? userId = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.ManageHeldAutomodMessages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.ManageHeldAutomodMessages.g.verified.cs new file mode 100644 index 0000000000..c98aaa4679 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.ManageHeldAutomodMessages.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IModerationClient.ManageHeldAutomodMessages.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Allow or deny the message that AutoMod flagged for review.
+ /// Allow or deny the message that AutoMod flagged for review. For information about AutoMod, see [How to Use AutoMod](https://help.twitch.tv/s/article/how-to-use-automod).
+ /// To get messages that AutoMod is holding for review, subscribe to the **automod-queue.<moderator\_id>.<channel\_id>** [topic](https://dev.twitch.tv/docs/pubsub#topics) using [PubSub](https://dev.twitch.tv/docs/pubsub). PubSub sends a notification to your app when AutoMod holds a message for review.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:automod** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ManageHeldAutomodMessagesAsync( + global::G.ManageHeldAutoModMessagesBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Allow or deny the message that AutoMod flagged for review.
+ /// Allow or deny the message that AutoMod flagged for review. For information about AutoMod, see [How to Use AutoMod](https://help.twitch.tv/s/article/how-to-use-automod).
+ /// To get messages that AutoMod is holding for review, subscribe to the **automod-queue.<moderator\_id>.<channel\_id>** [topic](https://dev.twitch.tv/docs/pubsub#topics) using [PubSub](https://dev.twitch.tv/docs/pubsub). PubSub sends a notification to your app when AutoMod holds a message for review.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:automod** scope. + ///
+ /// + /// The moderator who is approving or denying the held message. This ID must match the user ID in the access token. + /// + /// + /// The ID of the message to allow or deny. + /// + /// + /// The action to take for the message. Possible values are:
+ ///
+ /// * ALLOW
+ /// * DENY + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ManageHeldAutomodMessagesAsync( + string userId, + string msgId, + global::G.ManageHeldAutoModMessagesBodyAction action, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveBlockedTerm.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveBlockedTerm.g.verified.cs new file mode 100644 index 0000000000..958d1cbeb1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveBlockedTerm.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModerationClient.RemoveBlockedTerm.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Removes the word or phrase from the broadcaster’s list of blocked terms.
+ /// Removes the word or phrase from the broadcaster’s list of blocked terms.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:blocked\_terms** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RemoveBlockedTermAsync( + string broadcasterId, + string moderatorId, + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveChannelModerator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveChannelModerator.g.verified.cs new file mode 100644 index 0000000000..3d40ee77a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveChannelModerator.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IModerationClient.RemoveChannelModerator.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Removes a moderator from the broadcaster’s chat room.
+ /// Removes a moderator from the broadcaster’s chat room.
+ /// **Rate Limits**: The broadcaster may remove a maximum of 10 moderators within a 10-second window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:moderators** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RemoveChannelModeratorAsync( + string broadcasterId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveChannelVip.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveChannelVip.g.verified.cs new file mode 100644 index 0000000000..31cef9281a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.RemoveChannelVip.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModerationClient.RemoveChannelVip.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Removes the specified user as a VIP in the broadcaster’s channel.
+ /// Removes the specified user as a VIP in the broadcaster’s channel.
+ /// If the broadcaster is removing the user’s VIP status, the ID in the _broadcaster\_id_ query parameter must match the user ID in the access token; otherwise, if the user is removing their VIP status themselves, the ID in the _user\_id_ query parameter must match the user ID in the access token.
+ /// **Rate Limits**: The broadcaster may remove a maximum of 10 VIPs within a 10-second window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:vips** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RemoveChannelVipAsync( + string userId, + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.ResolveUnbanRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.ResolveUnbanRequests.g.verified.cs new file mode 100644 index 0000000000..7bfea67204 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.ResolveUnbanRequests.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IModerationClient.ResolveUnbanRequests.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// NEW Resolves an unban request by approving or denying it.
+ /// NEW Resolves an unban request by approving or denying it.
+ /// __Authorization:__
+ /// * Requires a user access token that includes the **moderator:manage:unban\\\_requests** scope.
+ /// * Query parameter `moderator_id` must match the `user_id` in the[user access token](https://dev.twitch.tv/docs/authentication/#user-access-tokens). + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResolveUnbanRequestsAsync( + string broadcasterId, + string moderatorId, + string unbanRequestId, + string status, + string? resolutionText = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UnbanUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UnbanUser.g.verified.cs new file mode 100644 index 0000000000..158efc641d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UnbanUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IModerationClient.UnbanUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Removes the ban or timeout that was placed on the specified user.
+ /// Removes the ban or timeout that was placed on the specified user.
+ /// To ban a user, see [Ban user](https://dev.twitch.tv/docs/api/reference#ban-user).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:banned\_users** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnbanUserAsync( + string broadcasterId, + string moderatorId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UpdateAutomodSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UpdateAutomodSettings.g.verified.cs new file mode 100644 index 0000000000..5e5193fe0d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UpdateAutomodSettings.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.IModerationClient.UpdateAutomodSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Updates the broadcaster’s AutoMod settings.
+ /// Updates the broadcaster’s AutoMod settings. The settings are used to automatically block inappropriate or harassing messages from appearing in the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:automod\_settings** scope.
+ /// __Request Body:__
+ /// Because PUT is an overwrite operation, you must include all the fields that you want set after the operation completes. Typically, you’ll send a GET request, update the fields you want to change, and pass that object in the PUT request.
+ /// You may set either `overall_level` or the individual settings like `aggression`, but not both.
+ /// Setting `overall_level` applies default values to the individual settings. However, setting `overall_level` to 4 does not necessarily mean that it applies 4 to all the individual settings. Instead, it applies a set of recommended defaults to the rest of the settings. For example, if you set `overall_level` to 2, Twitch provides some filtering on discrimination and sexual content, but more filtering on hostility (see the first example response).
+ /// If `overall_level` is currently set and you update `swearing` to 3, `overall_level` will be set to **null** and all settings other than `swearing` will be set to 0\. The same is true if individual settings are set and you update `overall_level` to 3 — all the individual settings are updated to reflect the default level.
+ /// Note that if you set all the individual settings to values that match what `overall_level` would have set them to, Twitch changes AutoMod to use the default AutoMod level instead of using the individual settings.
+ /// Valid values for all levels are from 0 (no filtering) through 4 (most aggressive filtering). These levels affect how aggressively AutoMod holds back messages for moderators to review before they appear in chat or are denied (not shown). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAutomodSettingsAsync( + string broadcasterId, + string moderatorId, + global::G.UpdateAutoModSettingsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates the broadcaster’s AutoMod settings.
+ /// Updates the broadcaster’s AutoMod settings. The settings are used to automatically block inappropriate or harassing messages from appearing in the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:automod\_settings** scope.
+ /// __Request Body:__
+ /// Because PUT is an overwrite operation, you must include all the fields that you want set after the operation completes. Typically, you’ll send a GET request, update the fields you want to change, and pass that object in the PUT request.
+ /// You may set either `overall_level` or the individual settings like `aggression`, but not both.
+ /// Setting `overall_level` applies default values to the individual settings. However, setting `overall_level` to 4 does not necessarily mean that it applies 4 to all the individual settings. Instead, it applies a set of recommended defaults to the rest of the settings. For example, if you set `overall_level` to 2, Twitch provides some filtering on discrimination and sexual content, but more filtering on hostility (see the first example response).
+ /// If `overall_level` is currently set and you update `swearing` to 3, `overall_level` will be set to **null** and all settings other than `swearing` will be set to 0\. The same is true if individual settings are set and you update `overall_level` to 3 — all the individual settings are updated to reflect the default level.
+ /// Note that if you set all the individual settings to values that match what `overall_level` would have set them to, Twitch changes AutoMod to use the default AutoMod level instead of using the individual settings.
+ /// Valid values for all levels are from 0 (no filtering) through 4 (most aggressive filtering). These levels affect how aggressively AutoMod holds back messages for moderators to review before they appear in chat or are denied (not shown). + ///
+ /// + /// + /// + /// The Automod level for hostility involving aggression. + /// + /// + /// The Automod level for hostility involving name calling or insults. + /// + /// + /// The Automod level for discrimination against disability. + /// + /// + /// The Automod level for discrimination against women. + /// + /// + /// The default AutoMod level for the broadcaster. + /// + /// + /// The Automod level for racial discrimination. + /// + /// + /// The Automod level for sexual content. + /// + /// + /// The AutoMod level for discrimination based on sexuality, sex, or gender. + /// + /// + /// The Automod level for profanity. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAutomodSettingsAsync( + string broadcasterId, + string moderatorId, + int aggression = default, + int bullying = default, + int disability = default, + int misogyny = default, + int overallLevel = default, + int raceEthnicityOrReligion = default, + int sexBasedTerms = default, + int sexualitySexOrGender = default, + int swearing = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UpdateShieldModeStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UpdateShieldModeStatus.g.verified.cs new file mode 100644 index 0000000000..d1c93fd23a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.UpdateShieldModeStatus.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IModerationClient.UpdateShieldModeStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Activates or deactivates the broadcaster’s Shield Mode.
+ /// Activates or deactivates the broadcaster’s Shield Mode.
+ /// Twitch’s Shield Mode feature is like a panic button that broadcasters can push to protect themselves from chat abuse coming from one or more accounts. When activated, Shield Mode applies the overrides that the broadcaster configured in the Twitch UX. If the broadcaster hasn’t configured Shield Mode, it applies default overrides.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:shield\_mode** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateShieldModeStatusAsync( + string broadcasterId, + string moderatorId, + global::G.UpdateShieldModeStatusBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Activates or deactivates the broadcaster’s Shield Mode.
+ /// Activates or deactivates the broadcaster’s Shield Mode.
+ /// Twitch’s Shield Mode feature is like a panic button that broadcasters can push to protect themselves from chat abuse coming from one or more accounts. When activated, Shield Mode applies the overrides that the broadcaster configured in the Twitch UX. If the broadcaster hasn’t configured Shield Mode, it applies default overrides.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:shield\_mode** scope. + ///
+ /// + /// + /// + /// A Boolean value that determines whether to activate Shield Mode. Set to **true** to activate Shield Mode; otherwise, **false** to deactivate Shield Mode. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateShieldModeStatusAsync( + string broadcasterId, + string moderatorId, + bool isActive, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.g.verified.cs new file mode 100644 index 0000000000..b244338998 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IModerationClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModerationClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModerationClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.CreatePoll.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.CreatePoll.g.verified.cs new file mode 100644 index 0000000000..b3a70feca6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.CreatePoll.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IPollsClient.CreatePoll.g.cs +#nullable enable + +namespace G +{ + public partial interface IPollsClient + { + /// + /// Creates a poll that viewers in the broadcaster’s channel can vote on.
+ /// Creates a poll that viewers in the broadcaster’s channel can vote on.
+ /// The poll begins as soon as it’s created. You may run only one poll at a time.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:polls** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePollAsync( + global::G.CreatePollBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a poll that viewers in the broadcaster’s channel can vote on.
+ /// Creates a poll that viewers in the broadcaster’s channel can vote on.
+ /// The poll begins as soon as it’s created. You may run only one poll at a time.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:polls** scope. + ///
+ /// + /// The ID of the broadcaster that’s running the poll. This ID must match the user ID in the user access token. + /// + /// + /// The question that viewers will vote on. For example, _What game should I play next?_ The question may contain a maximum of 60 characters. + /// + /// + /// A list of choices that viewers may choose from. The list must contain a minimum of 2 choices and up to a maximum of 5 choices. + /// + /// + /// The length of time (in seconds) that the poll will run for. The minimum is 15 seconds and the maximum is 1800 seconds (30 minutes). + /// + /// + /// A Boolean value that indicates whether viewers may cast additional votes using Channel Points. If **true**, the viewer may cast more than one vote but each additional vote costs the number of Channel Points specified in `channel_points_per_vote`. The default is **false** (viewers may cast only one vote). For information about Channel Points, see [Channel Points Guide](https://help.twitch.tv/s/article/channel-points-guide). + /// + /// + /// The number of points that the viewer must spend to cast one additional vote. The minimum is 1 and the maximum is 1000000\. Set only if `ChannelPointsVotingEnabled` is **true**. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePollAsync( + string broadcasterId, + string title, + global::System.Collections.Generic.IList choices, + int duration, + bool channelPointsVotingEnabled = default, + int channelPointsPerVote = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.EndPoll.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.EndPoll.g.verified.cs new file mode 100644 index 0000000000..78042b7cf7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.EndPoll.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IPollsClient.EndPoll.g.cs +#nullable enable + +namespace G +{ + public partial interface IPollsClient + { + /// + /// End an active poll.
+ /// Ends an active poll. You have the option to end it or end it and archive it.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:polls** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EndPollAsync( + global::G.EndPollBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// End an active poll.
+ /// Ends an active poll. You have the option to end it or end it and archive it.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:polls** scope. + ///
+ /// + /// The ID of the broadcaster that’s running the poll. This ID must match the user ID in the user access token. + /// + /// + /// The ID of the poll to update. + /// + /// + /// The status to set the poll to. Possible case-sensitive values are:
+ ///
+ /// * TERMINATED — Ends the poll before the poll is scheduled to end. The poll remains publicly visible.
+ /// * ARCHIVED — Ends the poll before the poll is scheduled to end, and then archives it so it's no longer publicly visible. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EndPollAsync( + string broadcasterId, + string id, + global::G.EndPollBodyStatus status, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.GetPolls.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.GetPolls.g.verified.cs new file mode 100644 index 0000000000..c3325323e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.GetPolls.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IPollsClient.GetPolls.g.cs +#nullable enable + +namespace G +{ + public partial interface IPollsClient + { + /// + /// Gets a list of polls that the broadcaster created.
+ /// Gets a list of polls that the broadcaster created.
+ /// Polls are available for 90 days after they’re created.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:polls** or **channel:manage:polls** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPollsAsync( + string broadcasterId, + global::System.Collections.Generic.IList? id = default, + string? first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.g.verified.cs new file mode 100644 index 0000000000..040eab6865 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPollsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPollsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPollsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.CreatePrediction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.CreatePrediction.g.verified.cs new file mode 100644 index 0000000000..b9872801e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.CreatePrediction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IPredictionsClient.CreatePrediction.g.cs +#nullable enable + +namespace G +{ + public partial interface IPredictionsClient + { + /// + /// Create a Channel Points Prediction.
+ /// Creates a Channel Points Prediction.
+ /// With a Channel Points Prediction, the broadcaster poses a question and viewers try to predict the outcome. The prediction runs as soon as it’s created. The broadcaster may run only one prediction at a time.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:predictions** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionAsync( + global::G.CreatePredictionBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Channel Points Prediction.
+ /// Creates a Channel Points Prediction.
+ /// With a Channel Points Prediction, the broadcaster poses a question and viewers try to predict the outcome. The prediction runs as soon as it’s created. The broadcaster may run only one prediction at a time.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:predictions** scope. + ///
+ /// + /// The ID of the broadcaster that’s running the prediction. This ID must match the user ID in the user access token. + /// + /// + /// The question that the broadcaster is asking. For example, _Will I finish this entire pizza?_ The title is limited to a maximum of 45 characters. + /// + /// + /// The list of possible outcomes that the viewers may choose from. The list must contain a minimum of 2 choices and up to a maximum of 10 choices. + /// + /// + /// The length of time (in seconds) that the prediction will run for. The minimum is 30 seconds and the maximum is 1800 seconds (30 minutes). + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionAsync( + string broadcasterId, + string title, + global::System.Collections.Generic.IList outcomes, + int predictionWindow, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.EndPrediction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.EndPrediction.g.verified.cs new file mode 100644 index 0000000000..6f05a403c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.EndPrediction.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IPredictionsClient.EndPrediction.g.cs +#nullable enable + +namespace G +{ + public partial interface IPredictionsClient + { + /// + /// Locks, resolves, or cancels a Channel Points Prediction.
+ /// Locks, resolves, or cancels a Channel Points Prediction.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:predictions** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EndPredictionAsync( + global::G.EndPredictionBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Locks, resolves, or cancels a Channel Points Prediction.
+ /// Locks, resolves, or cancels a Channel Points Prediction.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:predictions** scope. + ///
+ /// + /// The ID of the broadcaster that’s running the prediction. This ID must match the user ID in the user access token. + /// + /// + /// The ID of the prediction to update. + /// + /// + /// The status to set the prediction to. Possible case-sensitive values are:
+ ///
+ /// * RESOLVED — The winning outcome is determined and the Channel Points are distributed to the viewers who predicted the correct outcome.
+ /// * CANCELED — The broadcaster is canceling the prediction and sending refunds to the participants.
+ /// * LOCKED — The broadcaster is locking the prediction, which means viewers may no longer make predictions.
+ ///
+ /// The broadcaster can update an active prediction to LOCKED, RESOLVED, or CANCELED; and update a locked prediction to RESOLVED or CANCELED.
+ ///
+ /// The broadcaster has up to 24 hours after the prediction window closes to resolve the prediction. If not, Twitch sets the status to CANCELED and returns the points. + /// + /// + /// The ID of the winning outcome. You must set this parameter if you set `status` to RESOLVED. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EndPredictionAsync( + string broadcasterId, + string id, + global::G.EndPredictionBodyStatus status, + string? winningOutcomeId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.GetPredictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.GetPredictions.g.verified.cs new file mode 100644 index 0000000000..0ab6accc17 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.GetPredictions.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IPredictionsClient.GetPredictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IPredictionsClient + { + /// + /// Gets a list of Channel Points Predictions that the broadcaster created.
+ /// Gets a list of Channel Points Predictions that the broadcaster created.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:predictions** or **channel:manage:predictions** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPredictionsAsync( + string broadcasterId, + global::System.Collections.Generic.IList? id = default, + string? first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.g.verified.cs new file mode 100644 index 0000000000..a30d87e496 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IPredictionsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPredictionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPredictionsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.CancelARaid.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.CancelARaid.g.verified.cs new file mode 100644 index 0000000000..1cb38bb44f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.CancelARaid.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IRaidsClient.CancelARaid.g.cs +#nullable enable + +namespace G +{ + public partial interface IRaidsClient + { + /// + /// Cancel a pending raid.
+ /// Cancel a pending raid.
+ /// You can cancel a raid at any point up until the broadcaster clicks **Raid Now** in the Twitch UX or the 90-second countdown expires.
+ /// **Rate Limit**: The limit is 10 requests within a 10-minute window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:raids** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelARaidAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.StartARaid.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.StartARaid.g.verified.cs new file mode 100644 index 0000000000..6ba23c78eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.StartARaid.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IRaidsClient.StartARaid.g.cs +#nullable enable + +namespace G +{ + public partial interface IRaidsClient + { + /// + /// Raid another channel by sending the broadcaster’s viewers to the targeted channel.
+ /// Raid another channel by sending the broadcaster’s viewers to the targeted channel.
+ /// When you call the API from a chat bot or extension, the Twitch UX pops up a window at the top of the chat room that identifies the number of viewers in the raid. The raid occurs when the broadcaster clicks **Raid Now** or after the 90-second countdown expires.
+ /// To determine whether the raid successfully occurred, you must subscribe to the [Channel Raid](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelraid) event. For more information, see [Get notified when a raid begins](https://dev.twitch.tv/docs/api/raids#get-notified-when-a-raid-begins).
+ /// To cancel a pending raid, use the [Cancel a raid](https://dev.twitch.tv/docs/api/reference#cancel-a-raid) endpoint.
+ /// **Rate Limit**: The limit is 10 requests within a 10-minute window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:raids** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StartARaidAsync( + string? fromBroadcasterId = default, + string? toBroadcasterId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.g.verified.cs new file mode 100644 index 0000000000..85659635ac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IRaidsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRaidsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRaidsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs new file mode 100644 index 0000000000..bea333aecd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IScheduleClient.CreateChannelStreamScheduleSegment.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Adds a single or recurring broadcast to the broadcaster’s streaming schedule.
+ /// Adds a single or recurring broadcast to the broadcaster’s streaming schedule. For information about scheduling broadcasts, see [Stream Schedule](https://help.twitch.tv/s/article/channel-page-setup#Schedule).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChannelStreamScheduleSegmentAsync( + string broadcasterId, + global::G.CreateChannelStreamScheduleSegmentBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds a single or recurring broadcast to the broadcaster’s streaming schedule.
+ /// Adds a single or recurring broadcast to the broadcaster’s streaming schedule. For information about scheduling broadcasts, see [Stream Schedule](https://help.twitch.tv/s/article/channel-page-setup#Schedule).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// The date and time that the broadcast segment starts. Specify the date and time in RFC3339 format (for example, 2021-07-01T18:00:00Z). + /// + /// + /// The time zone where the broadcast takes place. Specify the time zone using [IANA time zone database](https://www.iana.org/time-zones) format (for example, America/New\_York). + /// + /// + /// The length of time, in minutes, that the broadcast is scheduled to run. The duration must be in the range 30 through 1380 (23 hours). + /// + /// + /// A Boolean value that determines whether the broadcast recurs weekly. Is **true** if the broadcast recurs weekly. Only partners and affiliates may add non-recurring broadcasts. + /// + /// + /// The ID of the category that best represents the broadcast’s content. To get the category ID, use the [Search Categories](https://dev.twitch.tv/docs/api/reference#search-categories) endpoint. + /// + /// + /// The broadcast’s title. The title may contain a maximum of 140 characters. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChannelStreamScheduleSegmentAsync( + string broadcasterId, + global::System.DateTime startTime, + string timezone, + string duration, + bool isRecurring = default, + string? categoryId = default, + string? title = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs new file mode 100644 index 0000000000..33b3e5160e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IScheduleClient.DeleteChannelStreamScheduleSegment.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Deletes a broadcast from the broadcaster’s streaming schedule.
+ /// Removes a broadcast segment from the broadcaster’s streaming schedule.
+ /// **NOTE**: For recurring segments, removing a segment removes all segments in the recurring schedule.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteChannelStreamScheduleSegmentAsync( + string broadcasterId, + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.GetChannelIcalendar.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.GetChannelIcalendar.g.verified.cs new file mode 100644 index 0000000000..6b1d0a4e8f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.GetChannelIcalendar.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IScheduleClient.GetChannelIcalendar.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Gets the broadcaster’s streaming schedule as an iCalendar.
+ /// Gets the broadcaster’s streaming schedule as an [iCalendar](https://datatracker.ietf.org/doc/html/rfc5545).
+ /// __Authorization:__
+ /// The Client-Id and Authorization headers are not required.
+ /// __Response Body:__
+ /// The response body contains the iCalendar data (see [RFC5545](https://datatracker.ietf.org/doc/html/rfc5545)).
+ /// The Content-Type response header is set to `text/calendar`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelIcalendarAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.GetChannelStreamSchedule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.GetChannelStreamSchedule.g.verified.cs new file mode 100644 index 0000000000..67aeb50120 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.GetChannelStreamSchedule.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IScheduleClient.GetChannelStreamSchedule.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Gets the broadcaster’s streaming schedule.
+ /// Gets the broadcaster’s streaming schedule. You can get the entire schedule or specific segments of the schedule. [Learn More](https://help.twitch.tv/s/article/channel-page-setup#Schedule)
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelStreamScheduleAsync( + string broadcasterId, + global::System.Collections.Generic.IList? id = default, + global::System.DateTime startTime = default, + string? utcOffset = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.UpdateChannelStreamSchedule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.UpdateChannelStreamSchedule.g.verified.cs new file mode 100644 index 0000000000..a14ee875b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.UpdateChannelStreamSchedule.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IScheduleClient.UpdateChannelStreamSchedule.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Updates the broadcaster’s schedule settings, such as scheduling a vacation.
+ /// Updates the broadcaster’s schedule settings, such as scheduling a vacation.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChannelStreamScheduleAsync( + string broadcasterId, + bool isVacationEnabled = default, + global::System.DateTime vacationStartTime = default, + global::System.DateTime vacationEndTime = default, + string? timezone = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs new file mode 100644 index 0000000000..b9b3e55868 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.IScheduleClient.UpdateChannelStreamScheduleSegment.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Updates a scheduled broadcast segment.
+ /// Updates a scheduled broadcast segment.
+ /// For recurring segments, updating a segment’s title, category, duration, and timezone, changes all segments in the recurring schedule, not just the specified segment.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChannelStreamScheduleSegmentAsync( + string broadcasterId, + string id, + global::G.UpdateChannelStreamScheduleSegmentBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a scheduled broadcast segment.
+ /// Updates a scheduled broadcast segment.
+ /// For recurring segments, updating a segment’s title, category, duration, and timezone, changes all segments in the recurring schedule, not just the specified segment.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// + /// The date and time that the broadcast segment starts. Specify the date and time in RFC3339 format (for example, 2022-08-02T06:00:00Z).
+ ///
+ /// **NOTE**: Only partners and affiliates may update a broadcast’s start time and only for non-recurring segments. + /// + /// + /// The length of time, in minutes, that the broadcast is scheduled to run. The duration must be in the range 30 through 1380 (23 hours). + /// + /// + /// The ID of the category that best represents the broadcast’s content. To get the category ID, use the [Search Categories](https://dev.twitch.tv/docs/api/reference#search-categories) endpoint. + /// + /// + /// The broadcast’s title. The title may contain a maximum of 140 characters. + /// + /// + /// A Boolean value that indicates whether the broadcast is canceled. Set to **true** to cancel the segment.
+ ///
+ /// **NOTE**: For recurring segments, the API cancels the first segment after the current UTC date and time and not the specified segment (unless the specified segment is the next segment after the current UTC date and time). + /// + /// + /// The time zone where the broadcast takes place. Specify the time zone using [IANA time zone database](https://www.iana.org/time-zones) format (for example, America/New\_York). + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChannelStreamScheduleSegmentAsync( + string broadcasterId, + string id, + global::System.DateTime startTime = default, + string? duration = default, + string? categoryId = default, + string? title = default, + bool isCanceled = default, + string? timezone = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.g.verified.cs new file mode 100644 index 0000000000..586407a89e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IScheduleClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IScheduleClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IScheduleClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.SearchCategories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.SearchCategories.g.verified.cs new file mode 100644 index 0000000000..77badfbc56 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.SearchCategories.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISearchClient.SearchCategories.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Gets the games or categories that match the specified query.
+ /// Gets the games or categories that match the specified query.
+ /// To match, the category’s name must contain all parts of the query string. For example, if the query string is 42, the response includes any category name that contains 42 in the title. If the query string is a phrase like _love computer_, the response includes any category name that contains the words love and computer anywhere in the name. The comparison is case insensitive.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchCategoriesAsync( + string query, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.SearchChannels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.SearchChannels.g.verified.cs new file mode 100644 index 0000000000..7cb7f962fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.SearchChannels.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ISearchClient.SearchChannels.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Gets the channels that match the specified query and have streamed content within the past 6 months.
+ /// Gets the channels that match the specified query and have streamed content within the past 6 months.
+ /// The fields that the API uses for comparison depends on the value that the _live\_only_ query parameter is set to. If _live\_only_ is **false**, the API matches on the broadcaster’s login name. However, if _live\_only_ is **true**, the API matches on the broadcaster’s name and category name.
+ /// To match, the beginning of the broadcaster’s name or category must match the query string. The comparison is case insensitive. If the query string is angel\_of\_death, it matches all names that begin with angel\_of\_death. However, if the query string is a phrase like _angel of death_, it matches to names starting with angelofdeath or names starting with angel\_of\_death.
+ /// By default, the results include both live and offline channels. To get only live channels set the _live\_only_ query parameter to **true**.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchChannelsAsync( + string query, + bool liveOnly = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.g.verified.cs new file mode 100644 index 0000000000..4725803bbe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISearchClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISearchClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISearchClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.CreateStreamMarker.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.CreateStreamMarker.g.verified.cs new file mode 100644 index 0000000000..2f1487fcd2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.CreateStreamMarker.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IStreamsClient.CreateStreamMarker.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamsClient + { + /// + /// Adds a marker to a live stream.
+ /// Adds a marker to a live stream. A marker is an arbitrary point in a live stream that the broadcaster or editor wants to mark, so they can return to that spot later to create video highlights (see Video Producer, Highlights in the Twitch UX).
+ /// You may not add markers:
+ /// * If the stream is not live
+ /// * If the stream has not enabled video on demand (VOD)
+ /// * If the stream is a premiere (a live, first-viewing event that combines uploaded videos with live chat)
+ /// * If the stream is a rerun of a past broadcast, including past premieres.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:broadcast** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateStreamMarkerAsync( + global::G.CreateStreamMarkerBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds a marker to a live stream.
+ /// Adds a marker to a live stream. A marker is an arbitrary point in a live stream that the broadcaster or editor wants to mark, so they can return to that spot later to create video highlights (see Video Producer, Highlights in the Twitch UX).
+ /// You may not add markers:
+ /// * If the stream is not live
+ /// * If the stream has not enabled video on demand (VOD)
+ /// * If the stream is a premiere (a live, first-viewing event that combines uploaded videos with live chat)
+ /// * If the stream is a rerun of a past broadcast, including past premieres.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:broadcast** scope. + ///
+ /// + /// The ID of the broadcaster that’s streaming content. This ID must match the user ID in the access token or the user in the access token must be one of the broadcaster’s editors. + /// + /// + /// A short description of the marker to help the user remember why they marked the location. The maximum length of the description is 140 characters. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateStreamMarkerAsync( + string userId, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetFollowedStreams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetFollowedStreams.g.verified.cs new file mode 100644 index 0000000000..2083c1d641 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetFollowedStreams.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IStreamsClient.GetFollowedStreams.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamsClient + { + /// + /// Gets the list of broadcasters that the user follows and that are streaming live.
+ /// Gets the list of broadcasters that the user follows and that are streaming live.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:follows** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFollowedStreamsAsync( + string userId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreamKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreamKey.g.verified.cs new file mode 100644 index 0000000000..57d1283472 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreamKey.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IStreamsClient.GetStreamKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamsClient + { + /// + /// Gets the channel’s stream key.
+ /// Gets the channel’s stream key.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:stream\_key** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetStreamKeyAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreamMarkers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreamMarkers.g.verified.cs new file mode 100644 index 0000000000..6f2b223785 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreamMarkers.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IStreamsClient.GetStreamMarkers.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamsClient + { + /// + /// Gets a list of markers from the user’s most recent stream or from the specified VOD/video.
+ /// Gets a list of markers from the user’s most recent stream or from the specified VOD/video. A marker is an arbitrary point in a live stream that the broadcaster or editor marked, so they can return to that spot later to create video highlights (see Video Producer, Highlights in the Twitch UX).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:broadcast** or **channel:manage:broadcast** scope. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetStreamMarkersAsync( + string? userId = default, + string? videoId = default, + string? first = default, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreams.g.verified.cs new file mode 100644 index 0000000000..aceca67eac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.GetStreams.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IStreamsClient.GetStreams.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamsClient + { + /// + /// Gets a list of all streams.
+ /// Gets a list of all streams. The list is in descending order by the number of viewers watching the stream. Because viewers come and go during a stream, it’s possible to find duplicate or missing streams in the list as you page through the results.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetStreamsAsync( + global::System.Collections.Generic.IList? userId = default, + global::System.Collections.Generic.IList? userLogin = default, + global::System.Collections.Generic.IList? gameId = default, + global::G.GetStreamsType? type = default, + global::System.Collections.Generic.IList? language = default, + int first = default, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.g.verified.cs new file mode 100644 index 0000000000..b0a82352d2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IStreamsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IStreamsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IStreamsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.CheckUserSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.CheckUserSubscription.g.verified.cs new file mode 100644 index 0000000000..562be7d68c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.CheckUserSubscription.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ISubscriptionsClient.CheckUserSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface ISubscriptionsClient + { + /// + /// Checks whether the user subscribes to the broadcaster’s channel.
+ /// Checks whether the user subscribes to the broadcaster’s channel.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:subscriptions** scope.
+ /// A Twitch extensions may use an app access token if the broadcaster has granted the **user:read:subscriptions** scope from within the Twitch Extensions manager. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckUserSubscriptionAsync( + string broadcasterId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs new file mode 100644 index 0000000000..5740a6c10d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ISubscriptionsClient.GetBroadcasterSubscriptions.g.cs +#nullable enable + +namespace G +{ + public partial interface ISubscriptionsClient + { + /// + /// Gets a list of users that subscribe to the specified broadcaster.
+ /// Gets a list of users that subscribe to the specified broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:subscriptions** scope.
+ /// A Twitch extensions may use an app access token if the broadcaster has granted the **channel:read:subscriptions** scope from within the Twitch Extensions manager. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBroadcasterSubscriptionsAsync( + string broadcasterId, + global::System.Collections.Generic.IList? userId = default, + string? first = default, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.g.verified.cs new file mode 100644 index 0000000000..651910f0a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ISubscriptionsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISubscriptionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISubscriptionsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.GetAllStreamTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.GetAllStreamTags.g.verified.cs new file mode 100644 index 0000000000..688b094311 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.GetAllStreamTags.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITagsClient.GetAllStreamTags.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagsClient + { + /// + /// Gets the list of all stream tags that Twitch defines. You can also filter the list by one or more tag IDs.
+ /// **IMPORTANT** Twitch is moving from Twitch-defined tags to channel-defined tags. **IMPORTANT** As of February 28, 2023, this endpoint returns an empty array. On July 13, 2023, it will return a 410 response.
+ /// Gets a list of all stream tags that Twitch defines. The broadcaster may apply any of these to their channel except automatic tags. For an online list of the possible tags, see [List of All Tags](https://www.twitch.tv/directory/all/tags).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task GetAllStreamTagsAsync( + global::System.Collections.Generic.IList? tagId = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.GetStreamTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.GetStreamTags.g.verified.cs new file mode 100644 index 0000000000..3f23020431 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.GetStreamTags.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ITagsClient.GetStreamTags.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagsClient + { + /// + /// Gets the list of stream tags that the broadcaster or Twitch added to their channel.
+ /// **IMPORTANT** Twitch is moving from Twitch-defined tags to channel-defined tags. **IMPORTANT** As of February 28, 2023, this endpoint returns an empty array. On July 13, 2023, it will return a 410 response. If you use this endpoint, please update your code to use [Get Channel Information](https://dev.twitch.tv/docs/api/reference#get-channel-information).
+ /// Gets the list of stream tags that the broadcaster or Twitch added to their channel.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task GetStreamTagsAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.g.verified.cs new file mode 100644 index 0000000000..f551bb6577 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITagsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITagsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITagsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.GetChannelTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.GetChannelTeams.g.verified.cs new file mode 100644 index 0000000000..e8716e6425 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.GetChannelTeams.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ITeamsClient.GetChannelTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Gets the list of Twitch teams that the broadcaster is a member of.
+ /// Gets the list of Twitch teams that the broadcaster is a member of.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelTeamsAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.GetTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.GetTeams.g.verified.cs new file mode 100644 index 0000000000..7cd47d2698 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.GetTeams.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ITeamsClient.GetTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Gets information about the specified Twitch team.
+ /// Gets information about the specified Twitch team. [Read More](https://help.twitch.tv/s/article/twitch-teams)
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTeamsAsync( + string? name = default, + string? id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.g.verified.cs new file mode 100644 index 0000000000..6ff6507793 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ITeamsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITeamsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITeamsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.BlockUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.BlockUser.g.verified.cs new file mode 100644 index 0000000000..b2617a7333 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.BlockUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUsersClient.BlockUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Blocks the specified user from interacting with or having contact with the broadcaster.
+ /// Blocks the specified user from interacting with or having contact with the broadcaster. The user ID in the OAuth token identifies the broadcaster who is blocking the user.
+ /// To learn more about blocking users, see [Block Other Users on Twitch](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat?language=en%5FUS#BlockWhispersandMessagesfromStrangers).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:blocked\_users** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BlockUserAsync( + string targetUserId, + global::G.BlockUserSourceContext? sourceContext = default, + global::G.BlockUserReason? reason = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserActiveExtensions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserActiveExtensions.g.verified.cs new file mode 100644 index 0000000000..22ce307b7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserActiveExtensions.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUsersClient.GetUserActiveExtensions.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Gets the active extensions that the broadcaster has installed for each configuration.
+ /// Gets the active extensions that the broadcaster has installed for each configuration.
+ /// NOTE: To include extensions that you have under development, you must specify a user access token that includes the **user:read:broadcast** or **user:edit:broadcast** scope.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserActiveExtensionsAsync( + string? userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserBlockList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserBlockList.g.verified.cs new file mode 100644 index 0000000000..7caa8d0554 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserBlockList.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.GetUserBlockList.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Gets the list of users that the broadcaster has blocked.
+ /// Gets the list of users that the broadcaster has blocked. [Read More](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat?language=en%5FUS#BlockWhispersandMessagesfromStrangers)
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:blocked\_users** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserBlockListAsync( + string broadcasterId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserExtensions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserExtensions.g.verified.cs new file mode 100644 index 0000000000..27bca0b34f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUserExtensions.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.GetUserExtensions.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Gets a list of all extensions (both active and inactive) that the broadcaster has installed.
+ /// Gets a list of all extensions (both active and inactive) that the broadcaster has installed. The user ID in the access token identifies the broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:broadcast** or **user:edit:broadcast** scope. To include inactive extensions, you must include the **user:edit:broadcast** scope. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserExtensionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUsers.g.verified.cs new file mode 100644 index 0000000000..dd9de7933a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.GetUsers.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IUsersClient.GetUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Gets information about one or more users.
+ /// Gets information about one or more users.
+ ///
+ /// You may look up users using their user ID, login name, or both but the sum total of the number of users you may look up is 100\. For example, you may specify 50 IDs and 50 names or 100 IDs or names, but you cannot specify 100 IDs and 100 names.
+ ///
+ /// If you don’t specify IDs or login names, the request returns information about the user in the access token if you specify a user access token.
+ ///
+ /// To include the user’s verified email address in the response, you must use a user access token that includes the **user:read:email** scope.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUsersAsync( + global::System.Collections.Generic.IList? id = default, + global::System.Collections.Generic.IList? login = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UnblockUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UnblockUser.g.verified.cs new file mode 100644 index 0000000000..dd397c9063 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UnblockUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IUsersClient.UnblockUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Removes the user from the broadcaster’s list of blocked users.
+ /// Removes the user from the broadcaster’s list of blocked users. The user ID in the OAuth token identifies the broadcaster who’s removing the block.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:blocked\_users** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnblockUserAsync( + string targetUserId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UpdateUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UpdateUser.g.verified.cs new file mode 100644 index 0000000000..f53e24347f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UpdateUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUsersClient.UpdateUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Updates the user’s information.
+ /// Updates the specified user’s information. The user ID in the OAuth token identifies the user whose information you want to update.
+ /// To include the user’s verified email address in the response, the user access token must also include the **user:read:email** scope.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:edit** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateUserAsync( + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UpdateUserExtensions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UpdateUserExtensions.g.verified.cs new file mode 100644 index 0000000000..b45cdb1a62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.UpdateUserExtensions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IUsersClient.UpdateUserExtensions.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Updates an installed extension’s information.
+ /// Updates an installed extension’s information. You can update the extension’s activation state, ID, and version number. The user ID in the access token identifies the broadcaster whose extensions you’re updating.
+ /// NOTE: If you try to activate an extension under multiple extension types, the last write wins (and there is no guarantee of write order).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:edit:broadcast** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateUserExtensionsAsync( + global::G.UpdateUserExtensionsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates an installed extension’s information.
+ /// Updates an installed extension’s information. You can update the extension’s activation state, ID, and version number. The user ID in the access token identifies the broadcaster whose extensions you’re updating.
+ /// NOTE: If you try to activate an extension under multiple extension types, the last write wins (and there is no guarantee of write order).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:edit:broadcast** scope. + ///
+ /// + /// The extensions to update. The `data` field is a dictionary of extension types. The dictionary’s possible keys are: panel, overlay, or component. The key’s value is a dictionary of extensions.
+ ///
+ /// For the extension’s dictionary, the key is a sequential number beginning with 1\. For panel and overlay extensions, the key’s value is an object that contains the following fields: `active` (true/false), `id` (the extension’s ID), and `version` (the extension’s version).
+ ///
+ /// For component extensions, the key’s value includes the above fields plus the `x` and `y` fields, which identify the coordinate where the extension is placed. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateUserExtensionsAsync( + global::G.UpdateUserExtensionsBodyData data, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.g.verified.cs new file mode 100644 index 0000000000..07462546a9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IUsersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsersClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.DeleteVideos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.DeleteVideos.g.verified.cs new file mode 100644 index 0000000000..9f7183571f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.DeleteVideos.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IVideosClient.DeleteVideos.g.cs +#nullable enable + +namespace G +{ + public partial interface IVideosClient + { + /// + /// Deletes one or more videos.
+ /// Deletes one or more videos. You may delete past broadcasts, highlights, or uploads.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:videos** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteVideosAsync( + global::System.Collections.Generic.IList id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.GetVideos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.GetVideos.g.verified.cs new file mode 100644 index 0000000000..a96af53c64 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.GetVideos.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IVideosClient.GetVideos.g.cs +#nullable enable + +namespace G +{ + public partial interface IVideosClient + { + /// + /// Gets information about one or more published videos.
+ /// Gets information about one or more published videos. You may get videos by ID, by user, or by game/category.
+ /// You may apply several filters to get a subset of the videos. The filters are applied as an AND operation to each video. For example, if _language_ is set to ‘de’ and _game\_id_ is set to 21779, the response includes only videos that show playing League of Legends by users that stream in German. The filters apply only if you get videos by user ID or game ID.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVideosAsync( + global::System.Collections.Generic.IList? id = default, + string? userId = default, + string? gameId = default, + string? language = default, + global::G.GetVideosPeriod? period = default, + global::G.GetVideosSort? sort = default, + global::G.GetVideosType? type = default, + string? first = default, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.g.verified.cs new file mode 100644 index 0000000000..c76fb62b40 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IVideosClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IVideosClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IVideosClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IWhispersClient.SendWhisper.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IWhispersClient.SendWhisper.g.verified.cs new file mode 100644 index 0000000000..11e4e608a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IWhispersClient.SendWhisper.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.IWhispersClient.SendWhisper.g.cs +#nullable enable + +namespace G +{ + public partial interface IWhispersClient + { + /// + /// Sends a whisper message to the specified user.
+ /// Sends a whisper message to the specified user.
+ /// NOTE: The user sending the whisper must have a verified phone number (see the **Phone Number** setting in your [Security and Privacy](https://www.twitch.tv/settings/security) settings).
+ /// NOTE: The API may silently drop whispers that it suspects of violating Twitch policies. (The API does not indicate that it dropped the whisper; it returns a 204 status code as if it succeeded.)
+ /// **Rate Limits**: You may whisper to a maximum of 40 unique recipients per day. Within the per day limit, you may whisper a maximum of 3 whispers per second and a maximum of 100 whispers per minute.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:whispers** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendWhisperAsync( + string fromUserId, + string toUserId, + global::G.SendWhisperBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Sends a whisper message to the specified user.
+ /// Sends a whisper message to the specified user.
+ /// NOTE: The user sending the whisper must have a verified phone number (see the **Phone Number** setting in your [Security and Privacy](https://www.twitch.tv/settings/security) settings).
+ /// NOTE: The API may silently drop whispers that it suspects of violating Twitch policies. (The API does not indicate that it dropped the whisper; it returns a 204 status code as if it succeeded.)
+ /// **Rate Limits**: You may whisper to a maximum of 40 unique recipients per day. Within the per day limit, you may whisper a maximum of 3 whispers per second and a maximum of 100 whispers per minute.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:whispers** scope. + ///
+ /// + /// + /// + /// The whisper message to send. The message must not be empty.
+ ///
+ /// The maximum message lengths are:
+ ///
+ /// * 500 characters if the user you're sending the message to hasn't whispered you before.
+ /// * 10,000 characters if the user you're sending the message to has whispered you before.
+ ///
+ /// Messages that exceed the maximum length are truncated. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendWhisperAsync( + string fromUserId, + string toUserId, + string message, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IWhispersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IWhispersClient.g.verified.cs new file mode 100644 index 0000000000..03c9601e90 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.IWhispersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IWhispersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IWhispersClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.g.verified.cs index 29c1de8a27..4559ed1234 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModerationClient : global::System.IDisposable + public sealed partial class ModerationClient : global::G.IModerationClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.g.verified.cs index aad4a884ad..d7fa156981 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PollsClient : global::System.IDisposable + public sealed partial class PollsClient : global::G.IPollsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.g.verified.cs index 2c360e1f88..e92a71dbfa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PredictionsClient : global::System.IDisposable + public sealed partial class PredictionsClient : global::G.IPredictionsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.g.verified.cs index 8a8d656110..8bf114a557 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RaidsClient : global::System.IDisposable + public sealed partial class RaidsClient : global::G.IRaidsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.g.verified.cs index 98f465f6e9..0457b5a7a8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ScheduleClient : global::System.IDisposable + public sealed partial class ScheduleClient : global::G.IScheduleClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.g.verified.cs index a50234828e..6a87bb529a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SearchClient : global::System.IDisposable + public sealed partial class SearchClient : global::G.ISearchClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.g.verified.cs index beadafabb8..4758399f6d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class StreamsClient : global::System.IDisposable + public sealed partial class StreamsClient : global::G.IStreamsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.g.verified.cs index 019cf8f49f..d8495e5e25 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SubscriptionsClient : global::System.IDisposable + public sealed partial class SubscriptionsClient : global::G.ISubscriptionsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.g.verified.cs index b77623dda9..8a4bac9f0a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TagsClient : global::System.IDisposable + public sealed partial class TagsClient : global::G.ITagsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.g.verified.cs index 21d5b24b02..47c416a4f4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TeamsClient : global::System.IDisposable + public sealed partial class TeamsClient : global::G.ITeamsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.g.verified.cs index 955ce6968b..76185c2fea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsersClient : global::System.IDisposable + public sealed partial class UsersClient : global::G.IUsersClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.g.verified.cs index b794c11e34..e0fe005a9a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class VideosClient : global::System.IDisposable + public sealed partial class VideosClient : global::G.IVideosClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.WhispersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.WhispersClient.g.verified.cs index d88b26f80e..df60abe14d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.WhispersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.WhispersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class WhispersClient : global::System.IDisposable + public sealed partial class WhispersClient : global::G.IWhispersClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.g.verified.cs index e0a7f480f0..a16b40fe55 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AdsClient : global::System.IDisposable + public sealed partial class AdsClient : global::G.IAdsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.g.verified.cs index 15f689728e..f46b77ac80 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AnalyticsClient : global::System.IDisposable + public sealed partial class AnalyticsClient : global::G.IAnalyticsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.Api.g.verified.cs index ebc23fa82e..3ab135b36c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.Api.g.verified.cs @@ -17,7 +17,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.g.verified.cs index c53cfdd86d..1ba02ebb69 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class BitsClient : global::System.IDisposable + public sealed partial class BitsClient : global::G.IBitsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CCLsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CCLsClient.g.verified.cs index 3be537b4a2..05bad73c4e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CCLsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CCLsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CCLsClient : global::System.IDisposable + public sealed partial class CCLsClient : global::G.ICCLsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.g.verified.cs index 9bcafc3399..2ee745ff96 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChannelPointsClient : global::System.IDisposable + public sealed partial class ChannelPointsClient : global::G.IChannelPointsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.g.verified.cs index 126faec866..212a26f19f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChannelsClient : global::System.IDisposable + public sealed partial class ChannelsClient : global::G.IChannelsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.g.verified.cs index d9c3c75b58..ba9ac7bf76 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CharityClient : global::System.IDisposable + public sealed partial class CharityClient : global::G.ICharityClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.g.verified.cs index 28165032c5..7dc6093626 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ChatClient : global::System.IDisposable + public sealed partial class ChatClient : global::G.IChatClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.g.verified.cs index 1e0808fbe7..52e003f440 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ClipsClient : global::System.IDisposable + public sealed partial class ClipsClient : global::G.IClipsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.g.verified.cs index 1f96220188..9693c8d1ee 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ConduitsClient : global::System.IDisposable + public sealed partial class ConduitsClient : global::G.IConduitsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.g.verified.cs index 12da423779..99ef5e9ac2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EntitlementsClient : global::System.IDisposable + public sealed partial class EntitlementsClient : global::G.IEntitlementsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.g.verified.cs index ac9f6c35f3..8b7b32d7ab 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class EventSubClient : global::System.IDisposable + public sealed partial class EventSubClient : global::G.IEventSubClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.g.verified.cs index 7eb23cd79d..7c24412e68 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ExtensionsClient : global::System.IDisposable + public sealed partial class ExtensionsClient : global::G.IExtensionsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.g.verified.cs index 3087d5d307..75b7cdb69a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GamesClient : global::System.IDisposable + public sealed partial class GamesClient : global::G.IGamesClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GoalsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GoalsClient.g.verified.cs index 67e7d15439..82d4c87e4d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GoalsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GoalsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GoalsClient : global::System.IDisposable + public sealed partial class GoalsClient : global::G.IGoalsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.g.verified.cs index b1993551b9..6c397aa19f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class GuestStarClient : global::System.IDisposable + public sealed partial class GuestStarClient : global::G.IGuestStarClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.HypeTrainClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.HypeTrainClient.g.verified.cs index d25994c597..80fb2cc627 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.HypeTrainClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.HypeTrainClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class HypeTrainClient : global::System.IDisposable + public sealed partial class HypeTrainClient : global::G.IHypeTrainClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.GetAdSchedule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.GetAdSchedule.g.verified.cs new file mode 100644 index 0000000000..5d8bd8936e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.GetAdSchedule.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IAdsClient.GetAdSchedule.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdsClient + { + /// + /// Returns ad schedule related information.
+ /// This endpoint returns ad schedule related information, including snooze, when the last ad was run, when the next ad is scheduled, and if the channel is currently in pre-roll free time. Note that a new ad cannot be run until 8 minutes after running a previous ad.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:ads** scope. The `user_id` in the user access token must match the `broadcaster_id`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAdScheduleAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.SnoozeNextAd.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.SnoozeNextAd.g.verified.cs new file mode 100644 index 0000000000..8ecd327165 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.SnoozeNextAd.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IAdsClient.SnoozeNextAd.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdsClient + { + /// + /// Pushes back the timestamp of the upcoming automatic mid-roll ad by 5 minutes.
+ /// If available, pushes back the timestamp of the upcoming automatic mid-roll ad by 5 minutes. This endpoint duplicates the snooze functionality in the creator dashboard’s Ads Manager.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:ads** scope. The `user_id` in the user access token must match the `broadcaster_id`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SnoozeNextAdAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.StartCommercial.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.StartCommercial.g.verified.cs new file mode 100644 index 0000000000..6ae7d543cd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.StartCommercial.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IAdsClient.StartCommercial.g.cs +#nullable enable + +namespace G +{ + public partial interface IAdsClient + { + /// + /// Starts a commercial on the specified channel.
+ /// Starts a commercial on the specified channel.
+ /// **NOTE**: Only partners and affiliates may run commercials and they must be streaming live at the time.
+ /// **NOTE**: Only the broadcaster may start a commercial; the broadcaster’s editors and moderators may not start commercials on behalf of the broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:edit:commercial** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StartCommercialAsync( + global::G.StartCommercialBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Starts a commercial on the specified channel.
+ /// Starts a commercial on the specified channel.
+ /// **NOTE**: Only partners and affiliates may run commercials and they must be streaming live at the time.
+ /// **NOTE**: Only the broadcaster may start a commercial; the broadcaster’s editors and moderators may not start commercials on behalf of the broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:edit:commercial** scope. + ///
+ /// + /// The ID of the partner or affiliate broadcaster that wants to run the commercial. This ID must match the user ID found in the OAuth token. + /// + /// + /// The length of the commercial to run, in seconds. Twitch tries to serve a commercial that’s the requested length, but it may be shorter or longer. The maximum length you should request is 180 seconds. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StartCommercialAsync( + string broadcasterId, + int length, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.g.verified.cs new file mode 100644 index 0000000000..b52bab6657 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAdsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAdsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAdsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.GetExtensionAnalytics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.GetExtensionAnalytics.g.verified.cs new file mode 100644 index 0000000000..7cf8f09805 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.GetExtensionAnalytics.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IAnalyticsClient.GetExtensionAnalytics.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnalyticsClient + { + /// + /// Gets an analytics report for one or more extensions.
+ /// Gets an analytics report for one or more extensions. The response contains the URLs used to download the reports (CSV files). [Learn More](https://dev.twitch.tv/docs/insights)
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **analytics:read:extensions** scope. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionAnalyticsAsync( + string? extensionId = default, + global::G.GetExtensionAnalyticsType? type = default, + global::System.DateTime startedAt = default, + global::System.DateTime endedAt = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.GetGameAnalytics.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.GetGameAnalytics.g.verified.cs new file mode 100644 index 0000000000..9dee3a3797 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.GetGameAnalytics.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IAnalyticsClient.GetGameAnalytics.g.cs +#nullable enable + +namespace G +{ + public partial interface IAnalyticsClient + { + /// + /// Gets an analytics report for one or more games.
+ /// Gets an analytics report for one or more games. The response contains the URLs used to download the reports (CSV files). [Learn more](https://dev.twitch.tv/docs/insights)
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **analytics:read:games** scope. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGameAnalyticsAsync( + string? gameId = default, + global::G.GetGameAnalyticsType? type = default, + global::System.DateTime startedAt = default, + global::System.DateTime endedAt = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.g.verified.cs new file mode 100644 index 0000000000..7040670208 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IAnalyticsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IAnalyticsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAnalyticsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..23d31c6cca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,184 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// Unofficial Swagger UI for Twitch API.
+ /// All endpoints are generated automatically from the [twitch docs](https://dev.twitch.tv/docs/api/reference) page.
+ /// __Features:__
+ /// * Swagger UI for all Twitch API endpoints
+ /// * Schemas for _Request Query Parameters_, _Request Body_, _Response Body_
+ /// * Some additional schemas like _Clip_, _ChatBadge_, _Prediction_, _Game_, _Channel_, _Video_ etc.
+ /// * Response codes and examples
+ /// * Generated types for TypeScript: [ts-twitch-api](https://github.com/DmitryScaletta/ts-twitch-api)
+ /// __Repository:__ [github.com/DmitryScaletta/twitch-api-swagger](https://github.com/DmitryScaletta/twitch-api-swagger)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// + /// + public AdsClient Ads { get; } + + /// + /// + /// + public AnalyticsClient Analytics { get; } + + /// + /// + /// + public BitsClient Bits { get; } + + /// + /// + /// + public ChannelsClient Channels { get; } + + /// + /// + /// + public ChannelPointsClient ChannelPoints { get; } + + /// + /// + /// + public CharityClient Charity { get; } + + /// + /// + /// + public ChatClient Chat { get; } + + /// + /// + /// + public ClipsClient Clips { get; } + + /// + /// + /// + public ConduitsClient Conduits { get; } + + /// + /// + /// + public CCLsClient CCLs { get; } + + /// + /// + /// + public EntitlementsClient Entitlements { get; } + + /// + /// + /// + public ExtensionsClient Extensions { get; } + + /// + /// + /// + public EventSubClient EventSub { get; } + + /// + /// + /// + public GamesClient Games { get; } + + /// + /// + /// + public GoalsClient Goals { get; } + + /// + /// + /// + public GuestStarClient GuestStar { get; } + + /// + /// + /// + public HypeTrainClient HypeTrain { get; } + + /// + /// + /// + public ModerationClient Moderation { get; } + + /// + /// + /// + public PollsClient Polls { get; } + + /// + /// + /// + public PredictionsClient Predictions { get; } + + /// + /// + /// + public RaidsClient Raids { get; } + + /// + /// + /// + public ScheduleClient Schedule { get; } + + /// + /// + /// + public SearchClient Search { get; } + + /// + /// + /// + public StreamsClient Streams { get; } + + /// + /// + /// + public SubscriptionsClient Subscriptions { get; } + + /// + /// + /// + public TagsClient Tags { get; } + + /// + /// + /// + public TeamsClient Teams { get; } + + /// + /// + /// + public UsersClient Users { get; } + + /// + /// + /// + public VideosClient Videos { get; } + + /// + /// + /// + public WhispersClient Whispers { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetBitsLeaderboard.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetBitsLeaderboard.g.verified.cs new file mode 100644 index 0000000000..7aec34c381 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetBitsLeaderboard.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IBitsClient.GetBitsLeaderboard.g.cs +#nullable enable + +namespace G +{ + public partial interface IBitsClient + { + /// + /// Gets the Bits leaderboard for the authenticated broadcaster.
+ /// Gets the Bits leaderboard for the authenticated broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **bits:read** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBitsLeaderboardAsync( + int count = default, + global::G.GetBitsLeaderboardPeriod? period = default, + global::System.DateTime startedAt = default, + string? userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetCheermotes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetCheermotes.g.verified.cs new file mode 100644 index 0000000000..da781275b3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetCheermotes.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBitsClient.GetCheermotes.g.cs +#nullable enable + +namespace G +{ + public partial interface IBitsClient + { + /// + /// Gets a list of Cheermotes that users can use to cheer Bits.
+ /// Gets a list of Cheermotes that users can use to cheer Bits in any Bits-enabled channel’s chat room. Cheermotes are animated emotes that viewers can assign Bits to.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCheermotesAsync( + string? broadcasterId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetExtensionTransactions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetExtensionTransactions.g.verified.cs new file mode 100644 index 0000000000..e6feef87c9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.GetExtensionTransactions.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IBitsClient.GetExtensionTransactions.g.cs +#nullable enable + +namespace G +{ + public partial interface IBitsClient + { + /// + /// Gets an extension’s list of transactions.
+ /// Gets an extension’s list of transactions. A transaction records the exchange of a currency (for example, Bits) for a digital product.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionTransactionsAsync( + string extensionId, + global::System.Collections.Generic.IList? id = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.g.verified.cs new file mode 100644 index 0000000000..91083da688 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IBitsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IBitsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBitsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICCLsClient.GetContentClassificationLabels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICCLsClient.GetContentClassificationLabels.g.verified.cs new file mode 100644 index 0000000000..218cf45187 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICCLsClient.GetContentClassificationLabels.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICCLsClient.GetContentClassificationLabels.g.cs +#nullable enable + +namespace G +{ + public partial interface ICCLsClient + { + /// + /// Gets information about Twitch content classification labels.
+ /// Gets information about Twitch content classification labels.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetContentClassificationLabelsAsync( + string? locale = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICCLsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICCLsClient.g.verified.cs new file mode 100644 index 0000000000..e361472ce6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICCLsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICCLsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICCLsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.CreateCustomRewards.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.CreateCustomRewards.g.verified.cs new file mode 100644 index 0000000000..059be48263 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.CreateCustomRewards.g.verified.cs @@ -0,0 +1,88 @@ +//HintName: G.IChannelPointsClient.CreateCustomRewards.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Creates a Custom Reward in the broadcaster’s channel.
+ /// Creates a Custom Reward in the broadcaster’s channel. The maximum number of custom rewards per channel is 50, which includes both enabled and disabled rewards.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCustomRewardsAsync( + string broadcasterId, + global::G.CreateCustomRewardsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a Custom Reward in the broadcaster’s channel.
+ /// Creates a Custom Reward in the broadcaster’s channel. The maximum number of custom rewards per channel is 50, which includes both enabled and disabled rewards.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope. + ///
+ /// + /// + /// The custom reward’s title. The title may contain a maximum of 45 characters and it must be unique amongst all of the broadcaster’s custom rewards. + /// + /// + /// The cost of the reward, in Channel Points. The minimum is 1 point. + /// + /// + /// The prompt shown to the viewer when they redeem the reward. Specify a prompt if `is_user_input_required` is **true**. The prompt is limited to a maximum of 200 characters. + /// + /// + /// A Boolean value that determines whether the reward is enabled. Viewers see only enabled rewards. The default is **true**. + /// + /// + /// The background color to use for the reward. Specify the color using Hex format (for example, #9147FF). + /// + /// + /// A Boolean value that determines whether the user needs to enter information when redeeming the reward. See the `prompt` field. The default is **false**. + /// + /// + /// A Boolean value that determines whether to limit the maximum number of redemptions allowed per live stream (see the `max_per_stream` field). The default is **false**. + /// + /// + /// The maximum number of redemptions allowed per live stream. Applied only if `is_max_per_stream_enabled` is **true**. The minimum value is 1. + /// + /// + /// A Boolean value that determines whether to limit the maximum number of redemptions allowed per user per stream (see the `max_per_user_per_stream` field). The default is **false**. + /// + /// + /// The maximum number of redemptions allowed per user per stream. Applied only if `is_max_per_user_per_stream_enabled` is **true**. The minimum value is 1. + /// + /// + /// A Boolean value that determines whether to apply a cooldown period between redemptions (see the `global_cooldown_seconds` field for the duration of the cooldown period). The default is **false**. + /// + /// + /// The cooldown period, in seconds. Applied only if the `is_global_cooldown_enabled` field is **true**. The minimum value is 1; however, the minimum value is 60 for it to be shown in the Twitch UX. + /// + /// + /// A Boolean value that determines whether redemptions should be set to FULFILLED status immediately when a reward is redeemed. If **false**, status is set to UNFULFILLED and follows the normal request queue process. The default is **false**. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateCustomRewardsAsync( + string broadcasterId, + string title, + long cost, + string? prompt = default, + bool isEnabled = default, + string? backgroundColor = default, + bool isUserInputRequired = default, + bool isMaxPerStreamEnabled = default, + int maxPerStream = default, + bool isMaxPerUserPerStreamEnabled = default, + int maxPerUserPerStream = default, + bool isGlobalCooldownEnabled = default, + int globalCooldownSeconds = default, + bool shouldRedemptionsSkipRequestQueue = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.DeleteCustomReward.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.DeleteCustomReward.g.verified.cs new file mode 100644 index 0000000000..6651e9fcc1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.DeleteCustomReward.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IChannelPointsClient.DeleteCustomReward.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Deletes a custom reward that the broadcaster created.
+ /// Deletes a custom reward that the broadcaster created.
+ /// The app used to create the reward is the only app that may delete it. If the reward’s redemption status is UNFULFILLED at the time the reward is deleted, its redemption status is marked as FULFILLED.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteCustomRewardAsync( + string broadcasterId, + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.GetCustomReward.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.GetCustomReward.g.verified.cs new file mode 100644 index 0000000000..293b64ab3f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.GetCustomReward.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChannelPointsClient.GetCustomReward.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Gets a list of custom rewards that the specified broadcaster created.
+ /// Gets a list of custom rewards that the specified broadcaster created.
+ /// **NOTE**: A channel may offer a maximum of 50 rewards, which includes both enabled and disabled rewards.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:redemptions** or **channel:manage:redemptions** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCustomRewardAsync( + string broadcasterId, + global::System.Collections.Generic.IList? id = default, + bool onlyManageableRewards = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.GetCustomRewardRedemption.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.GetCustomRewardRedemption.g.verified.cs new file mode 100644 index 0000000000..c36e0aea1e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.GetCustomRewardRedemption.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.IChannelPointsClient.GetCustomRewardRedemption.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Gets a list of redemptions for a custom reward.
+ /// Gets a list of redemptions for the specified custom reward. The app used to create the reward is the only app that may get the redemptions.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:redemptions** or **channel:manage:redemptions** scope. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCustomRewardRedemptionAsync( + string broadcasterId, + string rewardId, + global::G.GetCustomRewardRedemptionStatus? status = default, + global::System.Collections.Generic.IList? id = default, + global::G.GetCustomRewardRedemptionSort? sort = default, + string? after = default, + int first = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.UpdateCustomReward.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.UpdateCustomReward.g.verified.cs new file mode 100644 index 0000000000..0dcccfd52d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.UpdateCustomReward.g.verified.cs @@ -0,0 +1,100 @@ +//HintName: G.IChannelPointsClient.UpdateCustomReward.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Updates a custom reward.
+ /// Updates a custom reward. The app used to create the reward is the only app that may update the reward.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/api/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope.
+ /// __Request Body:__
+ /// The body of the request should contain only the fields you’re updating. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCustomRewardAsync( + string broadcasterId, + string id, + global::G.UpdateCustomRewardBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a custom reward.
+ /// Updates a custom reward. The app used to create the reward is the only app that may update the reward.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/api/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope.
+ /// __Request Body:__
+ /// The body of the request should contain only the fields you’re updating. + ///
+ /// + /// + /// + /// The reward’s title. The title may contain a maximum of 45 characters and it must be unique amongst all of the broadcaster’s custom rewards. + /// + /// + /// The prompt shown to the viewer when they redeem the reward. Specify a prompt if `is_user_input_required` is **true**. The prompt is limited to a maximum of 200 characters. + /// + /// + /// The cost of the reward, in channel points. The minimum is 1 point. + /// + /// + /// The background color to use for the reward. Specify the color using Hex format (for example, \\#00E5CB). + /// + /// + /// A Boolean value that indicates whether the reward is enabled. Set to **true** to enable the reward. Viewers see only enabled rewards. + /// + /// + /// A Boolean value that determines whether users must enter information to redeem the reward. Set to **true** if user input is required. See the `prompt` field. + /// + /// + /// A Boolean value that determines whether to limit the maximum number of redemptions allowed per live stream (see the `max_per_stream` field). Set to **true** to limit redemptions. + /// + /// + /// The maximum number of redemptions allowed per live stream. Applied only if `is_max_per_stream_enabled` is **true**. The minimum value is 1. + /// + /// + /// A Boolean value that determines whether to limit the maximum number of redemptions allowed per user per stream (see `max_per_user_per_stream`). The minimum value is 1\. Set to **true** to limit redemptions. + /// + /// + /// The maximum number of redemptions allowed per user per stream. Applied only if `is_max_per_user_per_stream_enabled` is **true**. + /// + /// + /// A Boolean value that determines whether to apply a cooldown period between redemptions. Set to **true** to apply a cooldown period. For the duration of the cooldown period, see `global_cooldown_seconds`. + /// + /// + /// The cooldown period, in seconds. Applied only if `is_global_cooldown_enabled` is **true**. The minimum value is 1; however, for it to be shown in the Twitch UX, the minimum value is 60. + /// + /// + /// A Boolean value that determines whether to pause the reward. Set to **true** to pause the reward. Viewers can’t redeem paused rewards.. + /// + /// + /// A Boolean value that determines whether redemptions should be set to FULFILLED status immediately when a reward is redeemed. If **false**, status is set to UNFULFILLED and follows the normal request queue process. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCustomRewardAsync( + string broadcasterId, + string id, + string? title = default, + string? prompt = default, + long cost = default, + string? backgroundColor = default, + bool isEnabled = default, + bool isUserInputRequired = default, + bool isMaxPerStreamEnabled = default, + long maxPerStream = default, + bool isMaxPerUserPerStreamEnabled = default, + long maxPerUserPerStream = default, + bool isGlobalCooldownEnabled = default, + long globalCooldownSeconds = default, + bool isPaused = default, + bool shouldRedemptionsSkipRequestQueue = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.UpdateRedemptionStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.UpdateRedemptionStatus.g.verified.cs new file mode 100644 index 0000000000..e276485237 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.UpdateRedemptionStatus.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IChannelPointsClient.UpdateRedemptionStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelPointsClient + { + /// + /// Updates a redemption’s status.
+ /// Updates a redemption’s status. You may update a redemption only if its status is UNFULFILLED. The app used to create the reward is the only app that may update the redemption.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRedemptionStatusAsync( + global::System.Collections.Generic.IList id, + string broadcasterId, + string rewardId, + global::G.UpdateRedemptionStatusBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a redemption’s status.
+ /// Updates a redemption’s status. You may update a redemption only if its status is UNFULFILLED. The app used to create the reward is the only app that may update the redemption.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:redemptions** scope. + ///
+ /// + /// + /// + /// + /// The status to set the redemption to. Possible values are:
+ ///
+ /// * CANCELED
+ /// * FULFILLED
+ ///
+ /// Setting the status to CANCELED refunds the user’s channel points. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateRedemptionStatusAsync( + global::System.Collections.Generic.IList id, + string broadcasterId, + string rewardId, + global::G.UpdateRedemptionStatusBodyStatus status, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.g.verified.cs new file mode 100644 index 0000000000..11a04565b1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelPointsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChannelPointsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChannelPointsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelEditors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelEditors.g.verified.cs new file mode 100644 index 0000000000..17e170ea96 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelEditors.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IChannelsClient.GetChannelEditors.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelsClient + { + /// + /// Gets the broadcaster’s list editors.
+ /// Gets the broadcaster’s list editors.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:editors** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelEditorsAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelFollowers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelFollowers.g.verified.cs new file mode 100644 index 0000000000..3b3f595242 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelFollowers.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IChannelsClient.GetChannelFollowers.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelsClient + { + /// + /// Gets a list of users that follow the specified broadcaster. You can also use this endpoint to see whether a specific user follows the broadcaster.
+ /// Gets a list of users that follow the specified broadcaster. You can also use this endpoint to see whether a specific user follows the broadcaster.
+ /// __Authorization:__
+ /// * Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:read:followers** scope.
+ /// * The ID in the broadcaster\_id query parameter must match the user ID in the access token or the user ID in the access token must be a moderator for the specified broadcaster.
+ /// This endpoint will return specific follower information only if both of the above are true. If a scope is not provided or the user isn’t the broadcaster or a moderator for the specified channel, only the total follower count will be included in the response. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelFollowersAsync( + string broadcasterId, + string? userId = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelInformation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelInformation.g.verified.cs new file mode 100644 index 0000000000..c57626a74f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetChannelInformation.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IChannelsClient.GetChannelInformation.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelsClient + { + /// + /// Gets information about one or more channels.
+ /// Gets information about one or more channels.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelInformationAsync( + global::System.Collections.Generic.IList broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetFollowedChannels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetFollowedChannels.g.verified.cs new file mode 100644 index 0000000000..578fa1a95a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.GetFollowedChannels.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IChannelsClient.GetFollowedChannels.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelsClient + { + /// + /// Gets a list of broadcasters that the specified user follows. You can also use this endpoint to see whether a user follows a specific broadcaster.
+ /// Gets a list of broadcasters that the specified user follows. You can also use this endpoint to see whether a user follows a specific broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:follows** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFollowedChannelsAsync( + string userId, + string? broadcasterId = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.ModifyChannelInformation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.ModifyChannelInformation.g.verified.cs new file mode 100644 index 0000000000..9bfa4d7ae0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.ModifyChannelInformation.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.IChannelsClient.ModifyChannelInformation.g.cs +#nullable enable + +namespace G +{ + public partial interface IChannelsClient + { + /// + /// Updates a channel’s properties.
+ /// Updates a channel’s properties.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:broadcast** scope.
+ /// __Request Body:__
+ /// All fields are optional, but you must specify at least one field. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyChannelInformationAsync( + string broadcasterId, + global::G.ModifyChannelInformationBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a channel’s properties.
+ /// Updates a channel’s properties.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:broadcast** scope.
+ /// __Request Body:__
+ /// All fields are optional, but you must specify at least one field. + ///
+ /// + /// + /// The ID of the game that the user plays. The game is not updated if the ID isn’t a game ID that Twitch recognizes. To unset this field, use “0” or “” (an empty string). + /// + /// + /// The user’s preferred language. Set the value to an ISO 639-1 two-letter language code (for example, _en_ for English). Set to “other” if the user’s preferred language is not a Twitch supported language. The language isn’t updated if the language code isn’t a Twitch supported language. + /// + /// + /// The title of the user’s stream. You may not set this field to an empty string. + /// + /// + /// The number of seconds you want your broadcast buffered before streaming it live. The delay helps ensure fairness during competitive play. Only users with Partner status may set this field. The maximum delay is 900 seconds (15 minutes). + /// + /// + /// A list of channel-defined tags to apply to the channel. To remove all tags from the channel, set tags to an empty array. Tags help identify the content that the channel streams. [Learn More](https://help.twitch.tv/s/article/guide-to-tags)
+ ///
+ /// A channel may specify a maximum of 10 tags. Each tag is limited to a maximum of 25 characters and may not be an empty string or contain spaces or special characters. Tags are case insensitive. For readability, consider using camelCasing or PascalCasing. + /// + /// + /// List of labels that should be set as the Channel’s CCLs. + /// + /// + /// Boolean flag indicating if the channel has branded content. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ModifyChannelInformationAsync( + string broadcasterId, + string? gameId = default, + string? broadcasterLanguage = default, + string? title = default, + int delay = default, + global::System.Collections.Generic.IList? tags = default, + global::System.Collections.Generic.IList? contentClassificationLabels = default, + bool isBrandedContent = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.g.verified.cs new file mode 100644 index 0000000000..81ca9a3b04 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChannelsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChannelsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChannelsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.GetCharityCampaign.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.GetCharityCampaign.g.verified.cs new file mode 100644 index 0000000000..103bb4a13b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.GetCharityCampaign.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.ICharityClient.GetCharityCampaign.g.cs +#nullable enable + +namespace G +{ + public partial interface ICharityClient + { + /// + /// Gets information about the broadcaster’s active charity campaign.
+ /// Gets information about the charity campaign that a broadcaster is running. For example, the campaign’s fundraising goal and the current amount of donations.
+ /// To receive events when progress is made towards the campaign’s goal or the broadcaster changes the fundraising goal, subscribe to the [channel.charity\_campaign.progress](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelcharity%5Fcampaignprogress) subscription type.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:charity** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCharityCampaignAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.GetCharityCampaignDonations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.GetCharityCampaignDonations.g.verified.cs new file mode 100644 index 0000000000..1c49ddf94e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.GetCharityCampaignDonations.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ICharityClient.GetCharityCampaignDonations.g.cs +#nullable enable + +namespace G +{ + public partial interface ICharityClient + { + /// + /// Gets the list of donations that users have made to the broadcaster’s active charity campaign.
+ /// Gets the list of donations that users have made to the broadcaster’s active charity campaign.
+ /// To receive events as donations occur, subscribe to the [channel.charity\_campaign.donate](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelcharity%5Fcampaigndonate) subscription type.
+ /// __Authorization:__
+ /// Requires a user access token that includes the **channel:read:charity** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCharityCampaignDonationsAsync( + string broadcasterId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.g.verified.cs new file mode 100644 index 0000000000..1a04d86554 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ICharityClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ICharityClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICharityClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChannelChatBadges.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChannelChatBadges.g.verified.cs new file mode 100644 index 0000000000..7faf5157e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChannelChatBadges.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IChatClient.GetChannelChatBadges.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets the broadcaster’s list of custom chat badges.
+ /// Gets the broadcaster’s list of custom chat badges. The list is empty if the broadcaster hasn’t created custom chat badges. For information about custom badges, see [subscriber badges](https://help.twitch.tv/s/article/subscriber-badge-guide) and [Bits badges](https://help.twitch.tv/s/article/custom-bit-badges-guide).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelChatBadgesAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChannelEmotes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChannelEmotes.g.verified.cs new file mode 100644 index 0000000000..f93fe056bb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChannelEmotes.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IChatClient.GetChannelEmotes.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets the broadcaster’s list of custom emotes.
+ /// Gets the broadcaster’s list of custom emotes. Broadcasters create these custom emotes for users who subscribe to or follow the channel or cheer Bits in the channel’s chat window. [Learn More](https://dev.twitch.tv/docs/irc/emotes)
+ /// For information about the custom emotes, see [subscriber emotes](https://help.twitch.tv/s/article/subscriber-emote-guide), [Bits tier emotes](https://help.twitch.tv/s/article/custom-bit-badges-guide?language=bg#slots), and [follower emotes](https://blog.twitch.tv/en/2021/06/04/kicking-off-10-years-with-our-biggest-emote-update-ever/).
+ /// **NOTE:** With the exception of custom follower emotes, users may use custom emotes in any Twitch chat.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelEmotesAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChatSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChatSettings.g.verified.cs new file mode 100644 index 0000000000..e52354a466 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChatSettings.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IChatClient.GetChatSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets the broadcaster’s chat settings.
+ /// Gets the broadcaster’s chat settings.
+ /// For an overview of chat settings, see [Chat Commands for Broadcasters and Moderators](https://help.twitch.tv/s/article/chat-commands#AllMods) and [Moderator Preferences](https://help.twitch.tv/s/article/setting-up-moderation-for-your-twitch-channel#modpreferences).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChatSettingsAsync( + string broadcasterId, + string? moderatorId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChatters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChatters.g.verified.cs new file mode 100644 index 0000000000..6732411c83 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetChatters.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IChatClient.GetChatters.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets the list of users that are connected to the broadcaster’s chat session.
+ /// Gets the list of users that are connected to the broadcaster’s chat session.
+ /// **NOTE**: There is a delay between when users join and leave a chat and when the list is updated accordingly.
+ /// To determine whether a user is a moderator or VIP, use the [Get Moderators](https://dev.twitch.tv/docs/api/reference#get-moderators) and [Get VIPs](https://dev.twitch.tv/docs/api/reference#get-vips) endpoints. You can check the roles of up to 100 users.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:read:chatters** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChattersAsync( + string broadcasterId, + string moderatorId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetEmoteSets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetEmoteSets.g.verified.cs new file mode 100644 index 0000000000..5388065786 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetEmoteSets.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IChatClient.GetEmoteSets.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets emotes for one or more specified emote sets.
+ /// Gets emotes for one or more specified emote sets.
+ /// An emote set groups emotes that have a similar context. For example, Twitch places all the subscriber emotes that a broadcaster uploads for their channel in the same emote set.
+ /// [Learn More](https://dev.twitch.tv/docs/irc/emotes)
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetEmoteSetsAsync( + global::System.Collections.Generic.IList emoteSetId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetGlobalChatBadges.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetGlobalChatBadges.g.verified.cs new file mode 100644 index 0000000000..b9e6401541 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetGlobalChatBadges.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IChatClient.GetGlobalChatBadges.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets Twitch’s list of chat badges.
+ /// Gets Twitch’s list of chat badges, which users may use in any channel’s chat room. For information about chat badges, see [Twitch Chat Badges Guide](https://help.twitch.tv/s/article/twitch-chat-badges-guide).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens).
+ /// __Request Query Parameters:__
+ /// None + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGlobalChatBadgesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetGlobalEmotes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetGlobalEmotes.g.verified.cs new file mode 100644 index 0000000000..7686809eda --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetGlobalEmotes.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IChatClient.GetGlobalEmotes.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets all global emotes.
+ /// Gets the list of [global emotes](https://www.twitch.tv/creatorcamp/en/learn-the-basics/emotes/). Global emotes are Twitch-created emotes that users can use in any Twitch chat.
+ /// [Learn More](https://dev.twitch.tv/docs/irc/emotes)
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens).
+ /// __Request Query Parameters:__
+ /// None + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGlobalEmotesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetUserChatColor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetUserChatColor.g.verified.cs new file mode 100644 index 0000000000..64a9d1e0c8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetUserChatColor.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IChatClient.GetUserChatColor.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Gets the color used for the user’s name in chat.
+ /// Gets the color used for the user’s name in chat.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserChatColorAsync( + global::System.Collections.Generic.IList userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetUserEmotes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetUserEmotes.g.verified.cs new file mode 100644 index 0000000000..3882b3b43d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.GetUserEmotes.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IChatClient.GetUserEmotes.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// NEW Retrieves emotes available to the user across all channels.
+ /// NEW Retrieves emotes available to the user across all channels.
+ /// __Authorization:__
+ /// * Requires a user access token that includes the **user:read:emotes** scope.
+ /// * Query parameter `user_id` must match the `user_id` in the user access token. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserEmotesAsync( + string userId, + string? broadcasterId = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendAShoutout.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendAShoutout.g.verified.cs new file mode 100644 index 0000000000..c625dbfbed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendAShoutout.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IChatClient.SendAShoutout.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Sends a Shoutout to the specified broadcaster.
+ /// Sends a Shoutout to the specified broadcaster. Typically, you send Shoutouts when you or one of your moderators notice another broadcaster in your chat, the other broadcaster is coming up in conversation, or after they raid your broadcast.
+ /// Twitch’s Shoutout feature is a great way for you to show support for other broadcasters and help them grow. Viewers who do not follow the other broadcaster will see a pop-up Follow button in your chat that they can click to follow the other broadcaster. [Learn More](https://help.twitch.tv/s/article/shoutouts)
+ /// **Rate Limits** The broadcaster may send a Shoutout once every 2 minutes. They may send the same broadcaster a Shoutout once every 60 minutes.
+ /// To receive notifications when a Shoutout is sent or received, subscribe to the [channel.shoutout.create](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelshoutoutcreate) and [channel.shoutout.receive](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelshoutoutreceive) subscription types. The **channel.shoutout.create** event includes cooldown periods that indicate when the broadcaster may send another Shoutout without exceeding the endpoint’s rate limit.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:shoutouts** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendAShoutoutAsync( + string fromBroadcasterId, + string toBroadcasterId, + string moderatorId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendChatAnnouncement.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendChatAnnouncement.g.verified.cs new file mode 100644 index 0000000000..2fcdcf8880 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendChatAnnouncement.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IChatClient.SendChatAnnouncement.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Sends an announcement to the broadcaster’s chat room.
+ /// Sends an announcement to the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:announcements** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendChatAnnouncementAsync( + string broadcasterId, + string moderatorId, + global::G.SendChatAnnouncementBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Sends an announcement to the broadcaster’s chat room.
+ /// Sends an announcement to the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:announcements** scope. + ///
+ /// + /// + /// + /// The announcement to make in the broadcaster’s chat room. Announcements are limited to a maximum of 500 characters; announcements longer than 500 characters are truncated. + /// + /// + /// The color used to highlight the announcement. Possible case-sensitive values are:
+ ///
+ /// * blue
+ /// * green
+ /// * orange
+ /// * purple
+ /// * primary (default)
+ ///
+ /// If `color` is set to _primary_ or is not set, the channel’s accent color is used to highlight the announcement (see **Profile Accent Color** under [profile settings](https://www.twitch.tv/settings/profile), **Channel and Videos**, and **Brand**). + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendChatAnnouncementAsync( + string broadcasterId, + string moderatorId, + string message, + global::G.SendChatAnnouncementBodyColor? color = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendChatMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendChatMessage.g.verified.cs new file mode 100644 index 0000000000..9b211b7205 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.SendChatMessage.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IChatClient.SendChatMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// NEW Sends a message to the broadcaster’s chat room.
+ /// NEW Sends a message to the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the `user:write:chat` scope. If app access token used, then additionally requires `user:bot` scope from chatting user, and either `channel:bot` scope from broadcaster or moderator status. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendChatMessageAsync( + global::G.SendChatMessageBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// NEW Sends a message to the broadcaster’s chat room.
+ /// NEW Sends a message to the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the `user:write:chat` scope. If app access token used, then additionally requires `user:bot` scope from chatting user, and either `channel:bot` scope from broadcaster or moderator status. + ///
+ /// + /// The ID of the broadcaster whose chat room the message will be sent to. + /// + /// + /// The ID of the user sending the message. This ID must match the user ID in the user access token. + /// + /// + /// The message to send. The message is limited to a maximum of 500 characters. Chat messages can also include emoticons. To include emoticons, use the name of the emote. The names are case sensitive. Don’t include colons around the name (e.g., :bleedPurple:). If Twitch recognizes the name, Twitch converts the name to the emote before writing the chat message to the chat room + /// + /// + /// The ID of the chat message being replied to. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendChatMessageAsync( + string broadcasterId, + string senderId, + string message, + string? replyParentMessageId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.UpdateChatSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.UpdateChatSettings.g.verified.cs new file mode 100644 index 0000000000..e78e593b44 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.UpdateChatSettings.g.verified.cs @@ -0,0 +1,108 @@ +//HintName: G.IChatClient.UpdateChatSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Updates the broadcaster’s chat settings.
+ /// Updates the broadcaster’s chat settings.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:chat\_settings** scope.
+ /// __Request Body:__
+ /// All fields are optional. Specify only those fields that you want to update.
+ /// To set the `slow_mode_wait_time` or `follower_mode_duration` field to its default value, set the corresponding `slow_mode` or `follower_mode` field to **true** (and don’t include the `slow_mode_wait_time` or `follower_mode_duration` field).
+ /// To set the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field’s value, you must set the corresponding `slow_mode`, `follower_mode`, or `non_moderator_chat_delay` field to **true**.
+ /// To remove the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field’s value, set the corresponding `slow_mode`, `follower_mode`, or `non_moderator_chat_delay` field to **false** (and don’t include the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChatSettingsAsync( + string broadcasterId, + string moderatorId, + global::G.UpdateChatSettingsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates the broadcaster’s chat settings.
+ /// Updates the broadcaster’s chat settings.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:chat\_settings** scope.
+ /// __Request Body:__
+ /// All fields are optional. Specify only those fields that you want to update.
+ /// To set the `slow_mode_wait_time` or `follower_mode_duration` field to its default value, set the corresponding `slow_mode` or `follower_mode` field to **true** (and don’t include the `slow_mode_wait_time` or `follower_mode_duration` field).
+ /// To set the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field’s value, you must set the corresponding `slow_mode`, `follower_mode`, or `non_moderator_chat_delay` field to **true**.
+ /// To remove the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field’s value, set the corresponding `slow_mode`, `follower_mode`, or `non_moderator_chat_delay` field to **false** (and don’t include the `slow_mode_wait_time`, `follower_mode_duration`, or `non_moderator_chat_delay_duration` field). + ///
+ /// + /// + /// + /// A Boolean value that determines whether chat messages must contain only emotes.
+ ///
+ /// Set to **true** if only emotes are allowed; otherwise, **false**. The default is **false**. + /// + /// + /// A Boolean value that determines whether the broadcaster restricts the chat room to followers only.
+ ///
+ /// Set to **true** if the broadcaster restricts the chat room to followers only; otherwise, **false**. The default is **true**.
+ ///
+ /// To specify how long users must follow the broadcaster before being able to participate in the chat room, see the `follower_mode_duration` field. + /// + /// + /// The length of time, in minutes, that users must follow the broadcaster before being able to participate in the chat room. Set only if `follower_mode` is **true**. Possible values are: 0 (no restriction) through 129600 (3 months). The default is 0. + /// + /// + /// A Boolean value that determines whether the broadcaster adds a short delay before chat messages appear in the chat room. This gives chat moderators and bots a chance to remove them before viewers can see the message.
+ ///
+ /// Set to **true** if the broadcaster applies a delay; otherwise, **false**. The default is **false**.
+ ///
+ /// To specify the length of the delay, see the `non_moderator_chat_delay_duration` field. + /// + /// + /// The amount of time, in seconds, that messages are delayed before appearing in chat. Set only if `non_moderator_chat_delay` is **true**. Possible values are:
+ ///
+ /// * 2 — 2 second delay (recommended)
+ /// * 4 — 4 second delay
+ /// * 6 — 6 second delay + /// + /// + /// A Boolean value that determines whether the broadcaster limits how often users in the chat room are allowed to send messages. Set to **true** if the broadcaster applies a wait period between messages; otherwise, **false**. The default is **false**.
+ ///
+ /// To specify the delay, see the `slow_mode_wait_time` field. + /// + /// + /// The amount of time, in seconds, that users must wait between sending messages. Set only if `slow_mode` is **true**.
+ ///
+ /// Possible values are: 3 (3 second delay) through 120 (2 minute delay). The default is 30 seconds. + /// + /// + /// A Boolean value that determines whether only users that subscribe to the broadcaster’s channel may talk in the chat room.
+ ///
+ /// Set to **true** if the broadcaster restricts the chat room to subscribers only; otherwise, **false**. The default is **false**. + /// + /// + /// A Boolean value that determines whether the broadcaster requires users to post only unique messages in the chat room.
+ ///
+ /// Set to **true** if the broadcaster allows only unique messages; otherwise, **false**. The default is **false**. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChatSettingsAsync( + string broadcasterId, + string moderatorId, + bool emoteMode = default, + bool followerMode = default, + int followerModeDuration = default, + bool nonModeratorChatDelay = default, + int nonModeratorChatDelayDuration = default, + bool slowMode = default, + int slowModeWaitTime = default, + bool subscriberMode = default, + bool uniqueChatMode = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.UpdateUserChatColor.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.UpdateUserChatColor.g.verified.cs new file mode 100644 index 0000000000..8f94da026f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.UpdateUserChatColor.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IChatClient.UpdateUserChatColor.g.cs +#nullable enable + +namespace G +{ + public partial interface IChatClient + { + /// + /// Updates the color used for the user’s name in chat.
+ /// Updates the color used for the user’s name in chat.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:chat\_color** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateUserChatColorAsync( + string userId, + global::G.UpdateUserChatColorColor color, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.g.verified.cs new file mode 100644 index 0000000000..77acbfbd78 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IChatClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IChatClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IChatClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.CreateClip.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.CreateClip.g.verified.cs new file mode 100644 index 0000000000..ff4079a5cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.CreateClip.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IClipsClient.CreateClip.g.cs +#nullable enable + +namespace G +{ + public partial interface IClipsClient + { + /// + /// Creates a clip from the broadcaster’s stream.
+ /// Creates a clip from the broadcaster’s stream.
+ /// This API captures up to 90 seconds of the broadcaster’s stream. The 90 seconds spans the point in the stream from when you called the API. For example, if you call the API at the 4:00 minute mark, the API captures from approximately the 3:35 mark to approximately the 4:05 minute mark. Twitch tries its best to capture 90 seconds of the stream, but the actual length may be less. This may occur if you begin capturing the clip near the beginning or end of the stream.
+ /// By default, Twitch publishes up to the last 30 seconds of the 90 seconds window and provides a default title for the clip. To specify the title and the portion of the 90 seconds window that’s used for the clip, use the URL in the response’s `edit_url` field. You can specify a clip that’s from 5 seconds to 60 seconds in length. The URL is valid for up to 24 hours or until the clip is published, whichever comes first.
+ /// Creating a clip is an asynchronous process that can take a short amount of time to complete. To determine whether the clip was successfully created, call [Get Clips](https://dev.twitch.tv/docs/api/reference#get-clips) using the clip ID that this request returned. If Get Clips returns the clip, the clip was successfully created. If after 15 seconds Get Clips hasn’t returned the clip, assume it failed.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **clips:edit** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateClipAsync( + string broadcasterId, + bool hasDelay = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.GetClips.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.GetClips.g.verified.cs new file mode 100644 index 0000000000..55a1556ea4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.GetClips.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.IClipsClient.GetClips.g.cs +#nullable enable + +namespace G +{ + public partial interface IClipsClient + { + /// + /// Gets one or more video clips.
+ /// Gets one or more video clips that were captured from streams. For information about clips, see [How to use clips](https://help.twitch.tv/s/article/how-to-use-clips).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens).
+ /// __Request Query Parameters:__
+ /// The _id_, _game\_id_, and _broadcaster\_id_ query parameters are mutually exclusive. + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetClipsAsync( + string? broadcasterId = default, + string? gameId = default, + global::System.Collections.Generic.IList? id = default, + global::System.DateTime startedAt = default, + global::System.DateTime endedAt = default, + int first = default, + string? before = default, + string? after = default, + bool isFeatured = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.g.verified.cs new file mode 100644 index 0000000000..7bc9e1fbf6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IClipsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IClipsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IClipsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.CreateConduits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.CreateConduits.g.verified.cs new file mode 100644 index 0000000000..db93cd3c29 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.CreateConduits.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IConduitsClient.CreateConduits.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Creates a new conduit.
+ /// NEW Creates a new [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateConduitsAsync( + global::G.CreateConduitsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// NEW Creates a new conduit.
+ /// NEW Creates a new [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// The number of shards to create for this conduit. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateConduitsAsync( + int shardCount, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.DeleteConduit.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.DeleteConduit.g.verified.cs new file mode 100644 index 0000000000..58ff362573 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.DeleteConduit.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IConduitsClient.DeleteConduit.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Deletes a specified conduit.
+ /// NEW Deletes a specified [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events/). Note that it may take some time for Eventsub subscriptions on a deleted [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) to show as disabled when calling [Get Eventsub Subscriptions](https://dev.twitch.tv/docs/api/reference/#get-eventsub-subscriptions).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteConduitAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.GetConduitShards.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.GetConduitShards.g.verified.cs new file mode 100644 index 0000000000..aa853c50e7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.GetConduitShards.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IConduitsClient.GetConduitShards.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Gets a lists of all shards for a conduit.
+ /// NEW Gets a lists of all shards for a [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetConduitShardsAsync( + string conduitId, + string? status = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.GetConduits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.GetConduits.g.verified.cs new file mode 100644 index 0000000000..a4ba5c6d5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.GetConduits.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IConduitsClient.GetConduits.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Gets the conduits for a client ID.
+ /// NEW Gets the [conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) for a client ID.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetConduitsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.UpdateConduitShards.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.UpdateConduitShards.g.verified.cs new file mode 100644 index 0000000000..ddb3b443f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.UpdateConduitShards.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IConduitsClient.UpdateConduitShards.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Updates shard(s) for a conduit.
+ /// NEW Updates shard(s) for a [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events).
+ /// **NOTE:** Shard IDs are indexed starting at 0, so a conduit with a `shard_count` of 5 will have shards with IDs 0 through 4.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConduitShardsAsync( + global::G.UpdateConduitShardsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// NEW Updates shard(s) for a conduit.
+ /// NEW Updates shard(s) for a [conduit](https://dev.twitch.tv/docs/eventsub/handling-conduit-events).
+ /// **NOTE:** Shard IDs are indexed starting at 0, so a conduit with a `shard_count` of 5 will have shards with IDs 0 through 4.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// Conduit ID. + /// + /// + /// List of shards to update. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConduitShardsAsync( + string conduitId, + global::System.Collections.Generic.IList shards, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.UpdateConduits.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.UpdateConduits.g.verified.cs new file mode 100644 index 0000000000..f88c5d610f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.UpdateConduits.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IConduitsClient.UpdateConduits.g.cs +#nullable enable + +namespace G +{ + public partial interface IConduitsClient + { + /// + /// NEW Updates a conduit’s shard count.
+ /// NEW Updates a [conduit’s](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) shard count. To delete shards, update the count to a lower number, and the shards above the count will be deleted. For example, if the existing shard count is 100, by resetting shard count to 50, shards 50-99 are disabled.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConduitsAsync( + global::G.UpdateConduitsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// NEW Updates a conduit’s shard count.
+ /// NEW Updates a [conduit’s](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) shard count. To delete shards, update the count to a lower number, and the shards above the count will be deleted. For example, if the existing shard count is 100, by resetting shard count to 50, shards 50-99 are disabled.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). + ///
+ /// + /// Conduit ID. + /// + /// + /// The new number of shards for this conduit. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateConduitsAsync( + string id, + int shardCount, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.g.verified.cs new file mode 100644 index 0000000000..183e4b71bc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IConduitsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IConduitsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IConduitsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.GetDropsEntitlements.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.GetDropsEntitlements.g.verified.cs new file mode 100644 index 0000000000..5d48fbb513 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.GetDropsEntitlements.g.verified.cs @@ -0,0 +1,43 @@ +//HintName: G.IEntitlementsClient.GetDropsEntitlements.g.cs +#nullable enable + +namespace G +{ + public partial interface IEntitlementsClient + { + /// + /// Gets an organization’s list of entitlements that have been granted to a game, a user, or both.
+ /// Gets an organization’s list of entitlements that have been granted to a game, a user, or both.
+ /// **NOTE:** Entitlements returned in the response body data are not guaranteed to be sorted by any field returned by the API. To retrieve **CLAIMED** or **FULFILLED** entitlements, use the `fulfillment_status` query parameter to filter results. To retrieve entitlements for a specific game, use the `game_id` query parameter to filter results.
+ /// The following table identifies the request parameters that you may specify based on the type of access token used.
+ /// | Access token type | Parameter | Description |
+ /// | - | - | - |
+ /// | App | None | If you don’t specify request parameters, the request returns all entitlements that your organization owns. |
+ /// | App | user_id | The request returns all entitlements for any game that the organization granted to the specified user. |
+ /// | App | user_id, game_id | The request returns all entitlements that the specified game granted to the specified user. |
+ /// | App | game_id | The request returns all entitlements that the specified game granted to all entitled users. |
+ /// | User | None | If you don’t specify request parameters, the request returns all entitlements for any game that the organization granted to the user identified in the access token. |
+ /// | User | user_id | Invalid. |
+ /// | User | user_id, game_id | Invalid. |
+ /// | User | game_id | The request returns all entitlements that the specified game granted to the user identified in the access token. |
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). The client ID in the access token must own the game. + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetDropsEntitlementsAsync( + global::System.Collections.Generic.IList? id = default, + string? userId = default, + string? gameId = default, + global::G.GetDropsEntitlementsFulfillmentStatus? fulfillmentStatus = default, + string? after = default, + int first = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.UpdateDropsEntitlements.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.UpdateDropsEntitlements.g.verified.cs new file mode 100644 index 0000000000..5eef36e57f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.UpdateDropsEntitlements.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.IEntitlementsClient.UpdateDropsEntitlements.g.cs +#nullable enable + +namespace G +{ + public partial interface IEntitlementsClient + { + /// + /// Updates the Drop entitlement’s fulfillment status.
+ /// Updates the Drop entitlement’s fulfillment status.
+ /// The following table identifies which entitlements are updated based on the type of access token used.
+ /// | Access token type | Data that’s updated |
+ /// | - | - |
+ /// | App | Updates all entitlements with benefits owned by the organization in the access token. |
+ /// | User | Updates all entitlements owned by the user in the access token and where the benefits are owned by the organization in the access token. |
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). The client ID in the access token must own the game. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDropsEntitlementsAsync( + global::G.UpdateDropsEntitlementsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates the Drop entitlement’s fulfillment status.
+ /// Updates the Drop entitlement’s fulfillment status.
+ /// The following table identifies which entitlements are updated based on the type of access token used.
+ /// | Access token type | Data that’s updated |
+ /// | - | - |
+ /// | App | Updates all entitlements with benefits owned by the organization in the access token. |
+ /// | User | Updates all entitlements owned by the user in the access token and where the benefits are owned by the organization in the access token. |
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). The client ID in the access token must own the game. + ///
+ /// + /// A list of IDs that identify the entitlements to update. You may specify a maximum of 100 IDs. + /// + /// + /// The fulfillment status to set the entitlements to. Possible values are:
+ ///
+ /// * CLAIMED — The user claimed the benefit.
+ /// * FULFILLED — The developer granted the benefit that the user claimed. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateDropsEntitlementsAsync( + global::System.Collections.Generic.IList? entitlementIds = default, + global::G.UpdateDropsEntitlementsBodyFulfillmentStatus? fulfillmentStatus = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.g.verified.cs new file mode 100644 index 0000000000..4640be59c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEntitlementsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IEntitlementsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEntitlementsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.CreateEventsubSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.CreateEventsubSubscription.g.verified.cs new file mode 100644 index 0000000000..1595fa4aa4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.CreateEventsubSubscription.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.IEventSubClient.CreateEventsubSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IEventSubClient + { + /// + /// Creates an EventSub subscription.
+ /// Creates an EventSub subscription.
+ /// __Authorization:__
+ /// If you use [webhooks to receive events](https://dev.twitch.tv/docs/eventsub/handling-webhook-events), the request must specify an app access token. The request will fail if you use a user access token. If the subscription type requires user authorization, the user must have granted your app (client ID) permissions to receive those events before you subscribe to them. For example, to subscribe to [channel.subscribe](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types/#channelsubscribe) events, your app must get a user access token that includes the `channel:read:subscriptions` scope, which adds the required permission to your app access token’s client ID.
+ /// If you use [WebSockets to receive events](https://dev.twitch.tv/docs/eventsub/handling-websocket-events), the request must specify a user access token. The request will fail if you use an app access token. If the subscription type requires user authorization, the token must include the required scope. However, if the subscription type doesn’t include user authorization, the token may include any scopes or no scopes.
+ /// If you use [Conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) to receive events, the request must specify an app access token. The request will fail if you use a user access token. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEventsubSubscriptionAsync( + global::G.CreateEventSubSubscriptionBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates an EventSub subscription.
+ /// Creates an EventSub subscription.
+ /// __Authorization:__
+ /// If you use [webhooks to receive events](https://dev.twitch.tv/docs/eventsub/handling-webhook-events), the request must specify an app access token. The request will fail if you use a user access token. If the subscription type requires user authorization, the user must have granted your app (client ID) permissions to receive those events before you subscribe to them. For example, to subscribe to [channel.subscribe](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types/#channelsubscribe) events, your app must get a user access token that includes the `channel:read:subscriptions` scope, which adds the required permission to your app access token’s client ID.
+ /// If you use [WebSockets to receive events](https://dev.twitch.tv/docs/eventsub/handling-websocket-events), the request must specify a user access token. The request will fail if you use an app access token. If the subscription type requires user authorization, the token must include the required scope. However, if the subscription type doesn’t include user authorization, the token may include any scopes or no scopes.
+ /// If you use [Conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) to receive events, the request must specify an app access token. The request will fail if you use a user access token. + ///
+ /// + /// The type of subscription to create. For a list of subscriptions that you can create, see [Subscription Types](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#subscription-types). Set this field to the value in the **Name** column of the Subscription Types table. + /// + /// + /// The version number that identifies the definition of the subscription type that you want the response to use. + /// + /// + /// A JSON object that contains the parameter values that are specific to the specified subscription type. For the object’s required and optional fields, see the subscription type’s documentation. + /// + /// + /// The transport details that you want Twitch to use when sending you notifications. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateEventsubSubscriptionAsync( + global::G.CreateEventSubSubscriptionBodyType type, + string version, + global::G.CreateEventSubSubscriptionBodyCondition condition, + global::G.CreateEventSubSubscriptionBodyTransport transport, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.DeleteEventsubSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.DeleteEventsubSubscription.g.verified.cs new file mode 100644 index 0000000000..748402c43f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.DeleteEventsubSubscription.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IEventSubClient.DeleteEventsubSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface IEventSubClient + { + /// + /// Deletes an EventSub subscription.
+ /// Deletes an EventSub subscription.
+ /// __Authorization:__
+ /// If you use [webhooks to receive events](https://dev.twitch.tv/docs/eventsub/handling-webhook-events), the request must specify an app access token. The request will fail if you use a user access token.
+ /// If you use [WebSockets to receive events](https://dev.twitch.tv/docs/eventsub/handling-websocket-events), the request must specify a user access token. The request will fail if you use an app access token. The token may include any scopes. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteEventsubSubscriptionAsync( + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.GetEventsubSubscriptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.GetEventsubSubscriptions.g.verified.cs new file mode 100644 index 0000000000..48fb9d1826 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.GetEventsubSubscriptions.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IEventSubClient.GetEventsubSubscriptions.g.cs +#nullable enable + +namespace G +{ + public partial interface IEventSubClient + { + /// + /// Gets a list of EventSub subscriptions that the client in the access token created.
+ /// Gets a list of EventSub subscriptions that the client in the access token created.
+ /// __Authorization:__
+ /// If you use [Webhooks](https://dev.twitch.tv/docs/eventsub/handling-webhook-events) or [Conduits](https://dev.twitch.tv/docs/eventsub/handling-conduit-events) to receive events, the request must specify an app access token. The request will fail if you use a user access token.
+ /// If you use [WebSockets to receive events](https://dev.twitch.tv/docs/eventsub/handling-websocket-events), the request must specify a user access token. The request will fail if you use an app access token. The token may include any scopes.
+ /// __Request Query Parameters:__
+ /// Use the _status_, _type_, and _user\_id_ query parameters to filter the list of subscriptions that are returned. The filters are mutually exclusive; the request fails if you specify more than one filter. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetEventsubSubscriptionsAsync( + global::G.GetEventsubSubscriptionsStatus? status = default, + global::G.GetEventsubSubscriptionsType? type = default, + string? userId = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.g.verified.cs new file mode 100644 index 0000000000..69d2f100fa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IEventSubClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IEventSubClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IEventSubClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.CreateExtensionSecret.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.CreateExtensionSecret.g.verified.cs new file mode 100644 index 0000000000..556aea8dd7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.CreateExtensionSecret.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IExtensionsClient.CreateExtensionSecret.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Creates a shared secret used to sign and verify JWT tokens.
+ /// Creates a shared secret used to sign and verify JWT tokens. Creating a new secret removes the current secrets from service. Use this function only when you are ready to use the new secret it returns.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateExtensionSecretAsync( + string extensionId, + int delay = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionBitsProducts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionBitsProducts.g.verified.cs new file mode 100644 index 0000000000..c23ba32788 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionBitsProducts.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IExtensionsClient.GetExtensionBitsProducts.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets the list of Bits products that belongs to the extension.
+ /// Gets the list of Bits products that belongs to the extension. The client ID in the app access token identifies the extension.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). The client ID in the app access token must be the extension’s client ID. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionBitsProductsAsync( + bool shouldIncludeAll = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs new file mode 100644 index 0000000000..1d583b0562 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IExtensionsClient.GetExtensionConfigurationSegment.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets the specified configuration segment from the specified extension.
+ /// Gets the specified configuration segment from the specified extension.
+ /// **Rate Limits**: You may retrieve each segment a maximum of 20 times per minute.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionConfigurationSegmentAsync( + string extensionId, + global::G.GetExtensionConfigurationSegmentSegment segment, + string? broadcasterId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionLiveChannels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionLiveChannels.g.verified.cs new file mode 100644 index 0000000000..7c7d194073 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionLiveChannels.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IExtensionsClient.GetExtensionLiveChannels.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets a list of broadcasters that are streaming live and have installed or activated the extension.
+ /// Gets a list of broadcasters that are streaming live and have installed or activated the extension.
+ /// It may take a few minutes for the list to include or remove broadcasters that have recently gone live or stopped broadcasting.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionLiveChannelsAsync( + string extensionId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionSecrets.g.verified.cs new file mode 100644 index 0000000000..b2d5cdbbb0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensionSecrets.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IExtensionsClient.GetExtensionSecrets.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets an extension’s list of shared secrets.
+ /// Gets an extension’s list of shared secrets.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionSecretsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensions.g.verified.cs new file mode 100644 index 0000000000..3680533f3b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetExtensions.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IExtensionsClient.GetExtensions.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets information about an extension.
+ /// Gets information about an extension.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role` field (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)), and the `role` field must be set to _external_. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetExtensionsAsync( + string extensionId, + string? extensionVersion = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetReleasedExtensions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetReleasedExtensions.g.verified.cs new file mode 100644 index 0000000000..f3cf4a5fec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.GetReleasedExtensions.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IExtensionsClient.GetReleasedExtensions.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Gets information about a released extension.
+ /// Gets information about a released extension. Returns the extension if its `state` is Released.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetReleasedExtensionsAsync( + string extensionId, + string? extensionVersion = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SendExtensionChatMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SendExtensionChatMessage.g.verified.cs new file mode 100644 index 0000000000..deee0b2dc8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SendExtensionChatMessage.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IExtensionsClient.SendExtensionChatMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Sends a message to the specified broadcaster’s chat room.
+ /// Sends a message to the specified broadcaster’s chat room. The extension’s name is used as the username for the message in the chat room. To send a chat message, your extension must enable **Chat Capabilities** (under your extension’s **Capabilities** tab).
+ /// **Rate Limits**: You may send a maximum of 12 messages per minute per channel.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role` and `user_id` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendExtensionChatMessageAsync( + string broadcasterId, + global::G.SendExtensionChatMessageBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Sends a message to the specified broadcaster’s chat room.
+ /// Sends a message to the specified broadcaster’s chat room. The extension’s name is used as the username for the message in the chat room. To send a chat message, your extension must enable **Chat Capabilities** (under your extension’s **Capabilities** tab).
+ /// **Rate Limits**: You may send a maximum of 12 messages per minute per channel.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role` and `user_id` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// + /// The message. The message may contain a maximum of 280 characters. + /// + /// + /// The ID of the extension that’s sending the chat message. + /// + /// + /// The extension’s version number. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendExtensionChatMessageAsync( + string broadcasterId, + string text, + string extensionId, + string extensionVersion, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SendExtensionPubsubMessage.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SendExtensionPubsubMessage.g.verified.cs new file mode 100644 index 0000000000..355ce8cd87 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SendExtensionPubsubMessage.g.verified.cs @@ -0,0 +1,112 @@ +//HintName: G.IExtensionsClient.SendExtensionPubsubMessage.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Sends a message to one or more viewers.
+ /// Sends a message to one or more viewers. You can send messages to a specific channel or to all channels where your extension is active. This endpoint uses the same mechanism as the [send](https://dev.twitch.tv/docs/extensions/reference#send) JavaScript helper function used to send messages.
+ /// **Rate Limits**: You may send a maximum of 100 messages per minute per combination of extension client ID and broadcaster ID.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)) along with the `channel_id` and `pubsub_perms` fields. The `role` field must be set to _external_.
+ /// To send the message to a specific channel, set the `channel_id` field in the JWT to the channel’s ID and set the `pubsub_perms.send` array to _broadcast_.
+ /// ```
+ /// {
+ /// "exp": 1503343947,
+ /// "user_id": "27419011",
+ /// "role": "external",
+ /// "channel_id": "27419011",
+ /// "pubsub_perms": {
+ /// "send":[
+ /// "broadcast"
+ /// ]
+ /// }
+ /// }
+ /// ```
+ /// To send the message to all channels on which your extension is active, set the `channel_id` field to _all_ and set the `pubsub_perms.send` array to _global_.
+ /// ```
+ /// {
+ /// "exp": 1503343947,
+ /// "user_id": "27419011",
+ /// "role": "external",
+ /// "channel_id": "all",
+ /// "pubsub_perms": {
+ /// "send":[
+ /// "global"
+ /// ]
+ /// }
+ /// }
+ /// ``` + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendExtensionPubsubMessageAsync( + global::G.SendExtensionPubSubMessageBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Sends a message to one or more viewers.
+ /// Sends a message to one or more viewers. You can send messages to a specific channel or to all channels where your extension is active. This endpoint uses the same mechanism as the [send](https://dev.twitch.tv/docs/extensions/reference#send) JavaScript helper function used to send messages.
+ /// **Rate Limits**: You may send a maximum of 100 messages per minute per combination of extension client ID and broadcaster ID.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)) along with the `channel_id` and `pubsub_perms` fields. The `role` field must be set to _external_.
+ /// To send the message to a specific channel, set the `channel_id` field in the JWT to the channel’s ID and set the `pubsub_perms.send` array to _broadcast_.
+ /// ```
+ /// {
+ /// "exp": 1503343947,
+ /// "user_id": "27419011",
+ /// "role": "external",
+ /// "channel_id": "27419011",
+ /// "pubsub_perms": {
+ /// "send":[
+ /// "broadcast"
+ /// ]
+ /// }
+ /// }
+ /// ```
+ /// To send the message to all channels on which your extension is active, set the `channel_id` field to _all_ and set the `pubsub_perms.send` array to _global_.
+ /// ```
+ /// {
+ /// "exp": 1503343947,
+ /// "user_id": "27419011",
+ /// "role": "external",
+ /// "channel_id": "all",
+ /// "pubsub_perms": {
+ /// "send":[
+ /// "global"
+ /// ]
+ /// }
+ /// }
+ /// ``` + ///
+ /// + /// The target of the message. Possible values are:
+ ///
+ /// * broadcast
+ /// * global
+ /// * whisper-<user-id>
+ ///
+ /// If `is_global_broadcast` is **true**, you must set this field to global. The broadcast and global values are mutually exclusive; specify only one of them. + /// + /// + /// The ID of the broadcaster to send the message to. Don’t include this field if `is_global_broadcast` is set to **true**. + /// + /// + /// A Boolean value that determines whether the message should be sent to all channels where your extension is active. Set to **true** if the message should be sent to all channels. The default is **false**. + /// + /// + /// The message to send. The message can be a plain-text string or a string-encoded JSON object. The message is limited to a maximum of 5 KB. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendExtensionPubsubMessageAsync( + global::System.Collections.Generic.IList target, + string broadcasterId, + string message, + bool isGlobalBroadcast = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs new file mode 100644 index 0000000000..5ccf8b3821 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IExtensionsClient.SetExtensionConfigurationSegment.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Updates a configuration segment.
+ /// Updates a configuration segment. The segment is limited to 5 KB. Extensions that are active on a channel do not receive the updated configuration.
+ /// **Rate Limits**: You may update the configuration a maximum of 20 times per minute.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetExtensionConfigurationSegmentAsync( + global::G.SetExtensionConfigurationSegmentBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a configuration segment.
+ /// Updates a configuration segment. The segment is limited to 5 KB. Extensions that are active on a channel do not receive the updated configuration.
+ /// **Rate Limits**: You may update the configuration a maximum of 20 times per minute.
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an Extension Backend Service (EBS). For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). The `role` field must be set to _external_. + ///
+ /// + /// The ID of the extension to update. + /// + /// + /// The configuration segment to update. Possible case-sensitive values are:
+ ///
+ /// * broadcaster
+ /// * developer
+ /// * global + /// + /// + /// The ID of the broadcaster that installed the extension. Include this field only if the `segment` is set to developer or broadcaster. + /// + /// + /// The contents of the segment. This string may be a plain-text string or a string-encoded JSON object. + /// + /// + /// The version number that identifies this definition of the segment’s data. If not specified, the latest definition is updated. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetExtensionConfigurationSegmentAsync( + string extensionId, + global::G.SetExtensionConfigurationSegmentBodySegment segment, + string? broadcasterId = default, + string? content = default, + string? version = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs new file mode 100644 index 0000000000..3afcb0f3c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IExtensionsClient.SetExtensionRequiredConfiguration.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Updates the extension’s required_configuration string.
+ /// Updates the extension’s required\_configuration string. Use this endpoint if your extension requires the broadcaster to configure the extension before activating it (to require configuration, you must select **Custom/My Own Service** in Extension [Capabilities](https://dev.twitch.tv/docs/extensions/life-cycle/#capabilities)). For more information, see [Required Configurations](https://dev.twitch.tv/docs/extensions/building#required-configurations) and [Setting Required Configuration](https://dev.twitch.tv/docs/extensions/building#setting-required-configuration-with-the-configuration-service-optional).
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an EBS. For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). Set the `role` field to _external_ and the `user_id` field to the ID of the user that owns the extension. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetExtensionRequiredConfigurationAsync( + string broadcasterId, + global::G.SetExtensionRequiredConfigurationBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates the extension’s required_configuration string.
+ /// Updates the extension’s required\_configuration string. Use this endpoint if your extension requires the broadcaster to configure the extension before activating it (to require configuration, you must select **Custom/My Own Service** in Extension [Capabilities](https://dev.twitch.tv/docs/extensions/life-cycle/#capabilities)). For more information, see [Required Configurations](https://dev.twitch.tv/docs/extensions/building#required-configurations) and [Setting Required Configuration](https://dev.twitch.tv/docs/extensions/building#setting-required-configuration-with-the-configuration-service-optional).
+ /// __Authorization:__
+ /// Requires a signed JSON Web Token (JWT) created by an EBS. For signing requirements, see [Signing the JWT](https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt). The signed JWT must include the `role`, `user_id`, and `exp` fields (see [JWT Schema](https://dev.twitch.tv/docs/extensions/reference/#jwt-schema)). Set the `role` field to _external_ and the `user_id` field to the ID of the user that owns the extension. + ///
+ /// + /// + /// The ID of the extension to update. + /// + /// + /// The version of the extension to update. + /// + /// + /// The required\_configuration string to use with the extension. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SetExtensionRequiredConfigurationAsync( + string broadcasterId, + string extensionId, + string extensionVersion, + string requiredConfiguration, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs new file mode 100644 index 0000000000..0c4d8e78fa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IExtensionsClient.UpdateExtensionBitsProduct.g.cs +#nullable enable + +namespace G +{ + public partial interface IExtensionsClient + { + /// + /// Adds or updates a Bits product that the extension created.
+ /// Adds or updates a Bits product that the extension created. If the SKU doesn’t exist, the product is added. You may update all fields except the `sku` field.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). The client ID in the app access token must match the extension’s client ID. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateExtensionBitsProductAsync( + global::G.UpdateExtensionBitsProductBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds or updates a Bits product that the extension created.
+ /// Adds or updates a Bits product that the extension created. If the SKU doesn’t exist, the product is added. You may update all fields except the `sku` field.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens). The client ID in the app access token must match the extension’s client ID. + ///
+ /// + /// The product's SKU. The SKU must be unique within an extension. The product's SKU cannot be changed. The SKU may contain only alphanumeric characters, dashes (-), underscores (\_), and periods (.) and is limited to a maximum of 255 characters. No spaces. + /// + /// + /// An object that contains the product's cost information. + /// + /// + /// The product's name as displayed in the extension. The maximum length is 255 characters. + /// + /// + /// A Boolean value that indicates whether the product is in development. Set to **true** if the product is in development and not available for public use. The default is **false**. + /// + /// + /// The date and time, in RFC3339 format, when the product expires. If not set, the product does not expire. To disable the product, set the expiration date to a date in the past. + /// + /// + /// A Boolean value that determines whether Bits product purchase events are broadcast to all instances of the extension on a channel. The events are broadcast via the `onTransactionComplete` helper callback. The default is **false**. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateExtensionBitsProductAsync( + string sku, + global::G.UpdateExtensionBitsProductBodyCost cost, + string displayName, + bool inDevelopment = default, + global::System.DateTime expiration = default, + bool isBroadcast = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.g.verified.cs new file mode 100644 index 0000000000..59bb8978c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IExtensionsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IExtensionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IExtensionsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.GetGames.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.GetGames.g.verified.cs new file mode 100644 index 0000000000..4381fab24f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.GetGames.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGamesClient.GetGames.g.cs +#nullable enable + +namespace G +{ + public partial interface IGamesClient + { + /// + /// Gets information about specified games.
+ /// Gets information about specified categories or games.
+ /// You may get up to 100 categories or games by specifying their ID or name. You may specify all IDs, all names, or a combination of IDs and names. If you specify a combination of IDs and names, the total number of IDs and names must not exceed 100.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGamesAsync( + global::System.Collections.Generic.IList? id = default, + global::System.Collections.Generic.IList? name = default, + global::System.Collections.Generic.IList? igdbId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.GetTopGames.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.GetTopGames.g.verified.cs new file mode 100644 index 0000000000..d245a5fafb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.GetTopGames.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGamesClient.GetTopGames.g.cs +#nullable enable + +namespace G +{ + public partial interface IGamesClient + { + /// + /// Gets information about all broadcasts on Twitch.
+ /// Gets information about all broadcasts on Twitch.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTopGamesAsync( + int first = default, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.g.verified.cs new file mode 100644 index 0000000000..39f97be1c0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGamesClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGamesClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGamesClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGoalsClient.GetCreatorGoals.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGoalsClient.GetCreatorGoals.g.verified.cs new file mode 100644 index 0000000000..a3104c30aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGoalsClient.GetCreatorGoals.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IGoalsClient.GetCreatorGoals.g.cs +#nullable enable + +namespace G +{ + public partial interface IGoalsClient + { + /// + /// Gets the broadcaster’s list of active goals.
+ /// Gets the broadcaster’s list of active goals. Use this endpoint to get the current progress of each goal.
+ /// Instead of polling for the progress of a goal, consider [subscribing](https://dev.twitch.tv/docs/eventsub/manage-subscriptions) to receive notifications when a goal makes progress using the [channel.goal.progress](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelgoalprogress) subscription type. [Read More](https://dev.twitch.tv/docs/api/goals#requesting-event-notifications)
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:goals** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetCreatorGoalsAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGoalsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGoalsClient.g.verified.cs new file mode 100644 index 0000000000..5abd083eef --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGoalsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGoalsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGoalsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.AssignGuestStarSlot.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.AssignGuestStarSlot.g.verified.cs new file mode 100644 index 0000000000..a7889a1ec3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.AssignGuestStarSlot.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IGuestStarClient.AssignGuestStarSlot.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Allows a previously invited user to be assigned a slot within the active Guest Star session.
+ /// BETA Allows a previously invited user to be assigned a slot within the active Guest Star session, once that guest has indicated they are ready to join.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AssignGuestStarSlotAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string guestId, + string slotId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.CreateGuestStarSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.CreateGuestStarSession.g.verified.cs new file mode 100644 index 0000000000..cc26cfdb2f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.CreateGuestStarSession.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IGuestStarClient.CreateGuestStarSession.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Programmatically creates a Guest Star session on behalf of the broadcaster.
+ /// BETA Programmatically creates a Guest Star session on behalf of the broadcaster. Requires the broadcaster to be present in the call interface, or the call will be ended automatically.
+ /// __Authorization:__
+ /// * Query parameter `broadcaster_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateGuestStarSessionAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.DeleteGuestStarInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.DeleteGuestStarInvite.g.verified.cs new file mode 100644 index 0000000000..8f9a48d1cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.DeleteGuestStarInvite.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IGuestStarClient.DeleteGuestStarInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Revokes a previously sent invite for a Guest Star session.
+ /// BETA Revokes a previously sent invite for a Guest Star session.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteGuestStarInviteAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string guestId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.DeleteGuestStarSlot.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.DeleteGuestStarSlot.g.verified.cs new file mode 100644 index 0000000000..8659edf0c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.DeleteGuestStarSlot.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IGuestStarClient.DeleteGuestStarSlot.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Allows a caller to remove a slot assignment from a user participating in an active Guest Star session.
+ /// BETA Allows a caller to remove a slot assignment from a user participating in an active Guest Star session. This revokes their access to the session immediately and disables their access to publish or subscribe to media within the session.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteGuestStarSlotAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string guestId, + string slotId, + string? shouldReinviteGuest = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.EndGuestStarSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.EndGuestStarSession.g.verified.cs new file mode 100644 index 0000000000..5811a31ddf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.EndGuestStarSession.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGuestStarClient.EndGuestStarSession.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Programmatically ends a Guest Star session on behalf of the broadcaster.
+ /// BETA Programmatically ends a Guest Star session on behalf of the broadcaster. Performs the same action as if the host clicked the “End Call” button in the Guest Star UI.
+ /// __Authorization:__
+ /// * Query parameter `broadcaster_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EndGuestStarSessionAsync( + string broadcasterId, + string sessionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetChannelGuestStarSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetChannelGuestStarSettings.g.verified.cs new file mode 100644 index 0000000000..7f8f8f5f83 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetChannelGuestStarSettings.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGuestStarClient.GetChannelGuestStarSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Gets the channel settings for configuration of the Guest Star feature for a particular host.
+ /// BETA Gets the channel settings for configuration of the Guest Star feature for a particular host.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:read:guest_star`, `channel:manage:guest_star`, `moderator:read:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelGuestStarSettingsAsync( + string broadcasterId, + string moderatorId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetGuestStarInvites.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetGuestStarInvites.g.verified.cs new file mode 100644 index 0000000000..7914f0fb1b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetGuestStarInvites.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IGuestStarClient.GetGuestStarInvites.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Provides the caller with a list of pending invites to a Guest Star session.
+ /// BETA Provides the caller with a list of pending invites to a Guest Star session, including the invitee’s ready status while joining the waiting room.
+ /// __Authorization:__
+ /// * Query parameter `broadcaster_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:read:guest_star`, `channel:manage:guest_star`, `moderator:read:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGuestStarInvitesAsync( + string broadcasterId, + string moderatorId, + string sessionId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetGuestStarSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetGuestStarSession.g.verified.cs new file mode 100644 index 0000000000..8195bc8c8d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.GetGuestStarSession.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IGuestStarClient.GetGuestStarSession.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Gets information about an ongoing Guest Star session for a particular channel.
+ /// BETA Gets information about an ongoing Guest Star session for a particular channel.
+ /// __Authorization:__
+ /// * Requires OAuth Scope: `channel:read:guest_star`, `channel:manage:guest_star`, `moderator:read:guest_star` or `moderator:manage:guest_star`
+ /// * Guests must be either invited or assigned a slot within the session + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetGuestStarSessionAsync( + string broadcasterId, + string moderatorId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.SendGuestStarInvite.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.SendGuestStarInvite.g.verified.cs new file mode 100644 index 0000000000..93a8681a6a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.SendGuestStarInvite.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IGuestStarClient.SendGuestStarInvite.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Sends an invite to a specified guest on behalf of the broadcaster for a Guest Star session in progress.
+ /// BETA Sends an invite to a specified guest on behalf of the broadcaster for a Guest Star session in progress.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendGuestStarInviteAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string guestId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs new file mode 100644 index 0000000000..b2681888da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs @@ -0,0 +1,63 @@ +//HintName: G.IGuestStarClient.UpdateChannelGuestStarSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Mutates the channel settings for configuration of the Guest Star feature for a particular host.
+ /// BETA Mutates the channel settings for configuration of the Guest Star feature for a particular host.
+ /// __Authorization:__
+ /// * Query parameter `broadcaster_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChannelGuestStarSettingsAsync( + string broadcasterId, + global::G.UpdateChannelGuestStarSettingsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// BETA Mutates the channel settings for configuration of the Guest Star feature for a particular host.
+ /// BETA Mutates the channel settings for configuration of the Guest Star feature for a particular host.
+ /// __Authorization:__
+ /// * Query parameter `broadcaster_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` + ///
+ /// + /// + /// Flag determining if Guest Star moderators have access to control whether a guest is live once assigned to a slot. + /// + /// + /// Number of slots the Guest Star call interface will allow the host to add to a call. Required to be between 1 and 6. + /// + /// + /// Flag determining if Browser Sources subscribed to sessions on this channel should output audio + /// + /// + /// This setting determines how the guests within a session should be laid out within the browser source. Can be one of the following values:
+ ///
+ /// * `TILED_LAYOUT`: All live guests are tiled within the browser source with the same size.
+ /// * `SCREENSHARE_LAYOUT`: All live guests are tiled within the browser source with the same size. If there is an active screen share, it is sized larger than the other guests.
+ /// * `HORIZONTAL_LAYOUT`: All live guests are arranged in a horizontal bar within the browser source
+ /// * `VERTICAL_LAYOUT`: All live guests are arranged in a vertical bar within the browser source + /// + /// + /// Flag determining if Guest Star should regenerate the auth token associated with the channel’s browser sources. Providing a true value for this will immediately invalidate all browser sources previously configured in your streaming software. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChannelGuestStarSettingsAsync( + string broadcasterId, + bool isModeratorSendLiveEnabled = default, + int slotCount = default, + bool isBrowserSourceAudioEnabled = default, + global::G.UpdateChannelGuestStarSettingsBodyGroupLayout? groupLayout = default, + bool regenerateBrowserSources = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateGuestStarSlot.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateGuestStarSlot.g.verified.cs new file mode 100644 index 0000000000..e5807ff75b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateGuestStarSlot.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IGuestStarClient.UpdateGuestStarSlot.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Allows a user to update the assigned slot for a particular user within the active Guest Star session.
+ /// BETA Allows a user to update the assigned slot for a particular user within the active Guest Star session.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateGuestStarSlotAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string sourceSlotId, + string? destinationSlotId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs new file mode 100644 index 0000000000..bde81d81a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IGuestStarClient.UpdateGuestStarSlotSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IGuestStarClient + { + /// + /// BETA Allows a user to update slot settings for a particular guest within a Guest Star session.
+ /// BETA Allows a user to update slot settings for a particular guest within a Guest Star session, such as allowing the user to share audio or video within the call as a host. These settings will be broadcasted to all subscribers which control their view of the guest in that slot. One or more of the optional parameters to this API can be specified at any time.
+ /// __Authorization:__
+ /// * Query parameter `moderator_id` must match the `user_id` in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `channel:manage:guest_star` or `moderator:manage:guest_star` + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateGuestStarSlotSettingsAsync( + string broadcasterId, + string moderatorId, + string sessionId, + string slotId, + bool isAudioEnabled = default, + bool isVideoEnabled = default, + bool isLive = default, + int volume = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.g.verified.cs new file mode 100644 index 0000000000..5f92cc5377 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IGuestStarClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IGuestStarClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IGuestStarClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IHypeTrainClient.GetHypeTrainEvents.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IHypeTrainClient.GetHypeTrainEvents.g.verified.cs new file mode 100644 index 0000000000..e4c1271aa2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IHypeTrainClient.GetHypeTrainEvents.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IHypeTrainClient.GetHypeTrainEvents.g.cs +#nullable enable + +namespace G +{ + public partial interface IHypeTrainClient + { + /// + /// Gets information about the broadcaster’s current or most recent Hype Train event.
+ /// Gets information about the broadcaster’s current or most recent Hype Train event.
+ /// Instead of polling for events, consider [subscribing](https://dev.twitch.tv/docs/eventsub/manage-subscriptions) to Hype Train events ([Begin](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainbegin), [Progress](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainprogress), [End](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype%5Ftrainend)).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:hype\_train** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetHypeTrainEventsAsync( + string broadcasterId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IHypeTrainClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IHypeTrainClient.g.verified.cs new file mode 100644 index 0000000000..8e42484262 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IHypeTrainClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IHypeTrainClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IHypeTrainClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddBlockedTerm.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddBlockedTerm.g.verified.cs new file mode 100644 index 0000000000..232a0c4bf9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddBlockedTerm.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IModerationClient.AddBlockedTerm.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Adds a word or phrase to the broadcaster’s list of blocked terms.
+ /// Adds a word or phrase to the broadcaster’s list of blocked terms. These are the terms that the broadcaster doesn’t want used in their chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:blocked\_terms** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddBlockedTermAsync( + string broadcasterId, + string moderatorId, + global::G.AddBlockedTermBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds a word or phrase to the broadcaster’s list of blocked terms.
+ /// Adds a word or phrase to the broadcaster’s list of blocked terms. These are the terms that the broadcaster doesn’t want used in their chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:blocked\_terms** scope. + ///
+ /// + /// + /// + /// The word or phrase to block from being used in the broadcaster’s chat room. The term must contain a minimum of 2 characters and may contain up to a maximum of 500 characters.
+ ///
+ /// Terms may include a wildcard character (\*). The wildcard character must appear at the beginning or end of a word or set of characters. For example, \*foo or foo\*.
+ ///
+ /// If the blocked term already exists, the response contains the existing blocked term. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddBlockedTermAsync( + string broadcasterId, + string moderatorId, + string text, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddChannelModerator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddChannelModerator.g.verified.cs new file mode 100644 index 0000000000..a361655f14 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddChannelModerator.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IModerationClient.AddChannelModerator.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Adds a moderator to the broadcaster’s chat room.
+ /// Adds a moderator to the broadcaster’s chat room.
+ /// **Rate Limits**: The broadcaster may add a maximum of 10 moderators within a 10-second window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:moderators** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddChannelModeratorAsync( + string broadcasterId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddChannelVip.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddChannelVip.g.verified.cs new file mode 100644 index 0000000000..6cb93e4827 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.AddChannelVip.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IModerationClient.AddChannelVip.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Adds the specified user as a VIP in the broadcaster’s channel.
+ /// Adds the specified user as a VIP in the broadcaster’s channel.
+ /// **Rate Limits**: The broadcaster may add a maximum of 10 VIPs within a 10-second window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:vips** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AddChannelVipAsync( + string userId, + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.BanUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.BanUser.g.verified.cs new file mode 100644 index 0000000000..1b1780d37d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.BanUser.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IModerationClient.BanUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Bans a user from participating in a broadcaster’s chat room or puts them in a timeout.
+ /// Bans a user from participating in the specified broadcaster’s chat room or puts them in a timeout.
+ /// For information about banning or putting users in a timeout, see [Ban a User](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat#TheBanFeature) and [Timeout a User](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat#TheTimeoutFeature).
+ /// If the user is currently in a timeout, you can call this endpoint to change the duration of the timeout or ban them altogether. If the user is currently banned, you cannot call this method to put them in a timeout instead.
+ /// To remove a ban or end a timeout, see [Unban user](https://dev.twitch.tv/docs/api/reference#unban-user).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:banned\_users** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BanUserAsync( + string broadcasterId, + string moderatorId, + global::G.BanUserBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Bans a user from participating in a broadcaster’s chat room or puts them in a timeout.
+ /// Bans a user from participating in the specified broadcaster’s chat room or puts them in a timeout.
+ /// For information about banning or putting users in a timeout, see [Ban a User](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat#TheBanFeature) and [Timeout a User](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat#TheTimeoutFeature).
+ /// If the user is currently in a timeout, you can call this endpoint to change the duration of the timeout or ban them altogether. If the user is currently banned, you cannot call this method to put them in a timeout instead.
+ /// To remove a ban or end a timeout, see [Unban user](https://dev.twitch.tv/docs/api/reference#unban-user).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:banned\_users** scope. + ///
+ /// + /// + /// + /// Identifies the user and type of ban. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BanUserAsync( + string broadcasterId, + string moderatorId, + global::G.BanUserBodyData data, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.CheckAutomodStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.CheckAutomodStatus.g.verified.cs new file mode 100644 index 0000000000..b7f31a9c09 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.CheckAutomodStatus.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IModerationClient.CheckAutomodStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Checks whether AutoMod would flag the specified message for review.
+ /// Checks whether AutoMod would flag the specified message for review.
+ /// AutoMod is a moderation tool that holds inappropriate or harassing chat messages for moderators to review. Moderators approve or deny the messages that AutoMod flags; only approved messages are released to chat. AutoMod detects misspellings and evasive language automatically. For information about AutoMod, see [How to Use AutoMod](https://help.twitch.tv/s/article/how-to-use-automod).
+ /// **Rate Limits**: Rates are limited per channel based on the account type rather than per access token.
+ /// | Account type | Limit per minute | Limit per hour |
+ /// | - | - | - |
+ /// | Normal | 5 | 50 |
+ /// | Affiliate | 10 | 100 |
+ /// | Partner | 30 | 300 |
+ /// The above limits are in addition to the standard [Twitch API rate limits](https://dev.twitch.tv/docs/api/guide#twitch-rate-limits). The rate limit headers in the response represent the Twitch rate limits and not the above limits.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderation:read** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckAutomodStatusAsync( + string broadcasterId, + global::G.CheckAutoModStatusBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Checks whether AutoMod would flag the specified message for review.
+ /// Checks whether AutoMod would flag the specified message for review.
+ /// AutoMod is a moderation tool that holds inappropriate or harassing chat messages for moderators to review. Moderators approve or deny the messages that AutoMod flags; only approved messages are released to chat. AutoMod detects misspellings and evasive language automatically. For information about AutoMod, see [How to Use AutoMod](https://help.twitch.tv/s/article/how-to-use-automod).
+ /// **Rate Limits**: Rates are limited per channel based on the account type rather than per access token.
+ /// | Account type | Limit per minute | Limit per hour |
+ /// | - | - | - |
+ /// | Normal | 5 | 50 |
+ /// | Affiliate | 10 | 100 |
+ /// | Partner | 30 | 300 |
+ /// The above limits are in addition to the standard [Twitch API rate limits](https://dev.twitch.tv/docs/api/guide#twitch-rate-limits). The rate limit headers in the response represent the Twitch rate limits and not the above limits.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderation:read** scope. + ///
+ /// + /// + /// The list of messages to check. The list must contain at least one message and may contain up to a maximum of 100 messages. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckAutomodStatusAsync( + string broadcasterId, + global::System.Collections.Generic.IList data, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.DeleteChatMessages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.DeleteChatMessages.g.verified.cs new file mode 100644 index 0000000000..50be7997d5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.DeleteChatMessages.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModerationClient.DeleteChatMessages.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Removes a single chat message or all chat messages from the broadcaster’s chat room.
+ /// Removes a single chat message or all chat messages from the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:chat\_messages** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteChatMessagesAsync( + string broadcasterId, + string moderatorId, + string? messageId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetAutomodSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetAutomodSettings.g.verified.cs new file mode 100644 index 0000000000..36d58a239e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetAutomodSettings.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IModerationClient.GetAutomodSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets the broadcaster’s AutoMod settings.
+ /// Gets the broadcaster’s AutoMod settings. The settings are used to automatically block inappropriate or harassing messages from appearing in the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:read:automod\_settings** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetAutomodSettingsAsync( + string broadcasterId, + string moderatorId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetBannedUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetBannedUsers.g.verified.cs new file mode 100644 index 0000000000..d24f24bcde --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetBannedUsers.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IModerationClient.GetBannedUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets all users that the broadcaster banned or put in a timeout.
+ /// Gets all users that the broadcaster banned or put in a timeout.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderation:read** or **moderator:manage:banned\_users** scope. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBannedUsersAsync( + string broadcasterId, + global::System.Collections.Generic.IList? userId = default, + int first = default, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetBlockedTerms.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetBlockedTerms.g.verified.cs new file mode 100644 index 0000000000..fc449dcc0b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetBlockedTerms.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IModerationClient.GetBlockedTerms.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets the broadcaster’s list of non-private, blocked words or phrases.
+ /// Gets the broadcaster’s list of non-private, blocked words or phrases. These are the terms that the broadcaster or moderator added manually or that were denied by AutoMod.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:read:blocked\_terms** or **moderator:manage:blocked\_terms** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBlockedTermsAsync( + string broadcasterId, + string moderatorId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetModeratedChannels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetModeratedChannels.g.verified.cs new file mode 100644 index 0000000000..c25646db74 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetModeratedChannels.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IModerationClient.GetModeratedChannels.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets a list of channels that the specified user has moderator privileges in.
+ /// Gets a list of channels that the specified user has moderator privileges in.
+ /// __Authorization:__
+ /// * Query parameter `user_id` must match the user ID in the [User-Access token](https://dev.twitch.tv/docs/authentication#user-access-tokens)
+ /// * Requires OAuth Scope: `user:read:moderated_channels` + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetModeratedChannelsAsync( + string userId, + string? after = default, + int first = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetModerators.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetModerators.g.verified.cs new file mode 100644 index 0000000000..8fcf693c0f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetModerators.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IModerationClient.GetModerators.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets all users allowed to moderate the broadcaster’s chat room.
+ /// Gets all users allowed to moderate the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderation:read** scope. If your app also adds and removes moderators, you can use the **channel:manage:moderators** scope instead. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetModeratorsAsync( + string broadcasterId, + global::System.Collections.Generic.IList? userId = default, + string? first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetShieldModeStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetShieldModeStatus.g.verified.cs new file mode 100644 index 0000000000..bf6d6e35da --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetShieldModeStatus.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IModerationClient.GetShieldModeStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets the broadcaster’s Shield Mode activation status.
+ /// Gets the broadcaster’s Shield Mode activation status.
+ /// To receive notification when the broadcaster activates and deactivates Shield Mode, subscribe to the [channel.shield\_mode.begin](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelshield%5Fmodebegin) and [channel.shield\_mode.end](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelshield%5Fmodeend) subscription types.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:read:shield\_mode** or **moderator:manage:shield\_mode** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetShieldModeStatusAsync( + string broadcasterId, + string moderatorId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetUnbanRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetUnbanRequests.g.verified.cs new file mode 100644 index 0000000000..6593a0ae0f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetUnbanRequests.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IModerationClient.GetUnbanRequests.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// NEW Gets a list of unban requests for a broadcaster’s channel.
+ /// NEW Gets a list of unban requests for a broadcaster’s channel.
+ /// __Authorization:__
+ /// * Requires a user access token that includes the **moderator:read:unban\_requests** or **moderator:manage:unban\_requests** scope.
+ /// * Query parameter `moderator_id` must match the `user_id` in the [user access token](https://dev.twitch.tv/docs/authentication/#user-access-tokens). + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUnbanRequestsAsync( + string broadcasterId, + string moderatorId, + string status, + string? userId = default, + string? after = default, + int first = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetVips.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetVips.g.verified.cs new file mode 100644 index 0000000000..2bbbb6bfda --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.GetVips.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IModerationClient.GetVips.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Gets a list of the broadcaster’s VIPs.
+ /// Gets a list of the broadcaster’s VIPs.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:vips** scope. If your app also adds and removes VIP status, you can use the **channel:manage:vips** scope instead. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVipsAsync( + string broadcasterId, + global::System.Collections.Generic.IList? userId = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.ManageHeldAutomodMessages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.ManageHeldAutomodMessages.g.verified.cs new file mode 100644 index 0000000000..c98aaa4679 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.ManageHeldAutomodMessages.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.IModerationClient.ManageHeldAutomodMessages.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Allow or deny the message that AutoMod flagged for review.
+ /// Allow or deny the message that AutoMod flagged for review. For information about AutoMod, see [How to Use AutoMod](https://help.twitch.tv/s/article/how-to-use-automod).
+ /// To get messages that AutoMod is holding for review, subscribe to the **automod-queue.<moderator\_id>.<channel\_id>** [topic](https://dev.twitch.tv/docs/pubsub#topics) using [PubSub](https://dev.twitch.tv/docs/pubsub). PubSub sends a notification to your app when AutoMod holds a message for review.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:automod** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ManageHeldAutomodMessagesAsync( + global::G.ManageHeldAutoModMessagesBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Allow or deny the message that AutoMod flagged for review.
+ /// Allow or deny the message that AutoMod flagged for review. For information about AutoMod, see [How to Use AutoMod](https://help.twitch.tv/s/article/how-to-use-automod).
+ /// To get messages that AutoMod is holding for review, subscribe to the **automod-queue.<moderator\_id>.<channel\_id>** [topic](https://dev.twitch.tv/docs/pubsub#topics) using [PubSub](https://dev.twitch.tv/docs/pubsub). PubSub sends a notification to your app when AutoMod holds a message for review.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:automod** scope. + ///
+ /// + /// The moderator who is approving or denying the held message. This ID must match the user ID in the access token. + /// + /// + /// The ID of the message to allow or deny. + /// + /// + /// The action to take for the message. Possible values are:
+ ///
+ /// * ALLOW
+ /// * DENY + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ManageHeldAutomodMessagesAsync( + string userId, + string msgId, + global::G.ManageHeldAutoModMessagesBodyAction action, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveBlockedTerm.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveBlockedTerm.g.verified.cs new file mode 100644 index 0000000000..958d1cbeb1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveBlockedTerm.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModerationClient.RemoveBlockedTerm.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Removes the word or phrase from the broadcaster’s list of blocked terms.
+ /// Removes the word or phrase from the broadcaster’s list of blocked terms.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:blocked\_terms** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RemoveBlockedTermAsync( + string broadcasterId, + string moderatorId, + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveChannelModerator.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveChannelModerator.g.verified.cs new file mode 100644 index 0000000000..3d40ee77a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveChannelModerator.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IModerationClient.RemoveChannelModerator.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Removes a moderator from the broadcaster’s chat room.
+ /// Removes a moderator from the broadcaster’s chat room.
+ /// **Rate Limits**: The broadcaster may remove a maximum of 10 moderators within a 10-second window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:moderators** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RemoveChannelModeratorAsync( + string broadcasterId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveChannelVip.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveChannelVip.g.verified.cs new file mode 100644 index 0000000000..31cef9281a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.RemoveChannelVip.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModerationClient.RemoveChannelVip.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Removes the specified user as a VIP in the broadcaster’s channel.
+ /// Removes the specified user as a VIP in the broadcaster’s channel.
+ /// If the broadcaster is removing the user’s VIP status, the ID in the _broadcaster\_id_ query parameter must match the user ID in the access token; otherwise, if the user is removing their VIP status themselves, the ID in the _user\_id_ query parameter must match the user ID in the access token.
+ /// **Rate Limits**: The broadcaster may remove a maximum of 10 VIPs within a 10-second window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:vips** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task RemoveChannelVipAsync( + string userId, + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.ResolveUnbanRequests.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.ResolveUnbanRequests.g.verified.cs new file mode 100644 index 0000000000..7bfea67204 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.ResolveUnbanRequests.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IModerationClient.ResolveUnbanRequests.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// NEW Resolves an unban request by approving or denying it.
+ /// NEW Resolves an unban request by approving or denying it.
+ /// __Authorization:__
+ /// * Requires a user access token that includes the **moderator:manage:unban\\\_requests** scope.
+ /// * Query parameter `moderator_id` must match the `user_id` in the[user access token](https://dev.twitch.tv/docs/authentication/#user-access-tokens). + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ResolveUnbanRequestsAsync( + string broadcasterId, + string moderatorId, + string unbanRequestId, + string status, + string? resolutionText = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UnbanUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UnbanUser.g.verified.cs new file mode 100644 index 0000000000..158efc641d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UnbanUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IModerationClient.UnbanUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Removes the ban or timeout that was placed on the specified user.
+ /// Removes the ban or timeout that was placed on the specified user.
+ /// To ban a user, see [Ban user](https://dev.twitch.tv/docs/api/reference#ban-user).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:banned\_users** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnbanUserAsync( + string broadcasterId, + string moderatorId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UpdateAutomodSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UpdateAutomodSettings.g.verified.cs new file mode 100644 index 0000000000..5e5193fe0d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UpdateAutomodSettings.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.IModerationClient.UpdateAutomodSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Updates the broadcaster’s AutoMod settings.
+ /// Updates the broadcaster’s AutoMod settings. The settings are used to automatically block inappropriate or harassing messages from appearing in the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:automod\_settings** scope.
+ /// __Request Body:__
+ /// Because PUT is an overwrite operation, you must include all the fields that you want set after the operation completes. Typically, you’ll send a GET request, update the fields you want to change, and pass that object in the PUT request.
+ /// You may set either `overall_level` or the individual settings like `aggression`, but not both.
+ /// Setting `overall_level` applies default values to the individual settings. However, setting `overall_level` to 4 does not necessarily mean that it applies 4 to all the individual settings. Instead, it applies a set of recommended defaults to the rest of the settings. For example, if you set `overall_level` to 2, Twitch provides some filtering on discrimination and sexual content, but more filtering on hostility (see the first example response).
+ /// If `overall_level` is currently set and you update `swearing` to 3, `overall_level` will be set to **null** and all settings other than `swearing` will be set to 0\. The same is true if individual settings are set and you update `overall_level` to 3 — all the individual settings are updated to reflect the default level.
+ /// Note that if you set all the individual settings to values that match what `overall_level` would have set them to, Twitch changes AutoMod to use the default AutoMod level instead of using the individual settings.
+ /// Valid values for all levels are from 0 (no filtering) through 4 (most aggressive filtering). These levels affect how aggressively AutoMod holds back messages for moderators to review before they appear in chat or are denied (not shown). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAutomodSettingsAsync( + string broadcasterId, + string moderatorId, + global::G.UpdateAutoModSettingsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates the broadcaster’s AutoMod settings.
+ /// Updates the broadcaster’s AutoMod settings. The settings are used to automatically block inappropriate or harassing messages from appearing in the broadcaster’s chat room.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:automod\_settings** scope.
+ /// __Request Body:__
+ /// Because PUT is an overwrite operation, you must include all the fields that you want set after the operation completes. Typically, you’ll send a GET request, update the fields you want to change, and pass that object in the PUT request.
+ /// You may set either `overall_level` or the individual settings like `aggression`, but not both.
+ /// Setting `overall_level` applies default values to the individual settings. However, setting `overall_level` to 4 does not necessarily mean that it applies 4 to all the individual settings. Instead, it applies a set of recommended defaults to the rest of the settings. For example, if you set `overall_level` to 2, Twitch provides some filtering on discrimination and sexual content, but more filtering on hostility (see the first example response).
+ /// If `overall_level` is currently set and you update `swearing` to 3, `overall_level` will be set to **null** and all settings other than `swearing` will be set to 0\. The same is true if individual settings are set and you update `overall_level` to 3 — all the individual settings are updated to reflect the default level.
+ /// Note that if you set all the individual settings to values that match what `overall_level` would have set them to, Twitch changes AutoMod to use the default AutoMod level instead of using the individual settings.
+ /// Valid values for all levels are from 0 (no filtering) through 4 (most aggressive filtering). These levels affect how aggressively AutoMod holds back messages for moderators to review before they appear in chat or are denied (not shown). + ///
+ /// + /// + /// + /// The Automod level for hostility involving aggression. + /// + /// + /// The Automod level for hostility involving name calling or insults. + /// + /// + /// The Automod level for discrimination against disability. + /// + /// + /// The Automod level for discrimination against women. + /// + /// + /// The default AutoMod level for the broadcaster. + /// + /// + /// The Automod level for racial discrimination. + /// + /// + /// The Automod level for sexual content. + /// + /// + /// The AutoMod level for discrimination based on sexuality, sex, or gender. + /// + /// + /// The Automod level for profanity. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAutomodSettingsAsync( + string broadcasterId, + string moderatorId, + int aggression = default, + int bullying = default, + int disability = default, + int misogyny = default, + int overallLevel = default, + int raceEthnicityOrReligion = default, + int sexBasedTerms = default, + int sexualitySexOrGender = default, + int swearing = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UpdateShieldModeStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UpdateShieldModeStatus.g.verified.cs new file mode 100644 index 0000000000..d1c93fd23a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.UpdateShieldModeStatus.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.IModerationClient.UpdateShieldModeStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IModerationClient + { + /// + /// Activates or deactivates the broadcaster’s Shield Mode.
+ /// Activates or deactivates the broadcaster’s Shield Mode.
+ /// Twitch’s Shield Mode feature is like a panic button that broadcasters can push to protect themselves from chat abuse coming from one or more accounts. When activated, Shield Mode applies the overrides that the broadcaster configured in the Twitch UX. If the broadcaster hasn’t configured Shield Mode, it applies default overrides.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:shield\_mode** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateShieldModeStatusAsync( + string broadcasterId, + string moderatorId, + global::G.UpdateShieldModeStatusBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Activates or deactivates the broadcaster’s Shield Mode.
+ /// Activates or deactivates the broadcaster’s Shield Mode.
+ /// Twitch’s Shield Mode feature is like a panic button that broadcasters can push to protect themselves from chat abuse coming from one or more accounts. When activated, Shield Mode applies the overrides that the broadcaster configured in the Twitch UX. If the broadcaster hasn’t configured Shield Mode, it applies default overrides.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **moderator:manage:shield\_mode** scope. + ///
+ /// + /// + /// + /// A Boolean value that determines whether to activate Shield Mode. Set to **true** to activate Shield Mode; otherwise, **false** to deactivate Shield Mode. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateShieldModeStatusAsync( + string broadcasterId, + string moderatorId, + bool isActive, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.g.verified.cs new file mode 100644 index 0000000000..87637e708e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IModerationClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IModerationClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IModerationClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.CreatePoll.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.CreatePoll.g.verified.cs new file mode 100644 index 0000000000..b3a70feca6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.CreatePoll.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.IPollsClient.CreatePoll.g.cs +#nullable enable + +namespace G +{ + public partial interface IPollsClient + { + /// + /// Creates a poll that viewers in the broadcaster’s channel can vote on.
+ /// Creates a poll that viewers in the broadcaster’s channel can vote on.
+ /// The poll begins as soon as it’s created. You may run only one poll at a time.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:polls** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePollAsync( + global::G.CreatePollBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Creates a poll that viewers in the broadcaster’s channel can vote on.
+ /// Creates a poll that viewers in the broadcaster’s channel can vote on.
+ /// The poll begins as soon as it’s created. You may run only one poll at a time.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:polls** scope. + ///
+ /// + /// The ID of the broadcaster that’s running the poll. This ID must match the user ID in the user access token. + /// + /// + /// The question that viewers will vote on. For example, _What game should I play next?_ The question may contain a maximum of 60 characters. + /// + /// + /// A list of choices that viewers may choose from. The list must contain a minimum of 2 choices and up to a maximum of 5 choices. + /// + /// + /// The length of time (in seconds) that the poll will run for. The minimum is 15 seconds and the maximum is 1800 seconds (30 minutes). + /// + /// + /// A Boolean value that indicates whether viewers may cast additional votes using Channel Points. If **true**, the viewer may cast more than one vote but each additional vote costs the number of Channel Points specified in `channel_points_per_vote`. The default is **false** (viewers may cast only one vote). For information about Channel Points, see [Channel Points Guide](https://help.twitch.tv/s/article/channel-points-guide). + /// + /// + /// The number of points that the viewer must spend to cast one additional vote. The minimum is 1 and the maximum is 1000000\. Set only if `ChannelPointsVotingEnabled` is **true**. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePollAsync( + string broadcasterId, + string title, + global::System.Collections.Generic.IList choices, + int duration, + bool channelPointsVotingEnabled = default, + int channelPointsPerVote = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.EndPoll.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.EndPoll.g.verified.cs new file mode 100644 index 0000000000..78042b7cf7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.EndPoll.g.verified.cs @@ -0,0 +1,47 @@ +//HintName: G.IPollsClient.EndPoll.g.cs +#nullable enable + +namespace G +{ + public partial interface IPollsClient + { + /// + /// End an active poll.
+ /// Ends an active poll. You have the option to end it or end it and archive it.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:polls** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EndPollAsync( + global::G.EndPollBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// End an active poll.
+ /// Ends an active poll. You have the option to end it or end it and archive it.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:polls** scope. + ///
+ /// + /// The ID of the broadcaster that’s running the poll. This ID must match the user ID in the user access token. + /// + /// + /// The ID of the poll to update. + /// + /// + /// The status to set the poll to. Possible case-sensitive values are:
+ ///
+ /// * TERMINATED — Ends the poll before the poll is scheduled to end. The poll remains publicly visible.
+ /// * ARCHIVED — Ends the poll before the poll is scheduled to end, and then archives it so it's no longer publicly visible. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EndPollAsync( + string broadcasterId, + string id, + global::G.EndPollBodyStatus status, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.GetPolls.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.GetPolls.g.verified.cs new file mode 100644 index 0000000000..c3325323e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.GetPolls.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IPollsClient.GetPolls.g.cs +#nullable enable + +namespace G +{ + public partial interface IPollsClient + { + /// + /// Gets a list of polls that the broadcaster created.
+ /// Gets a list of polls that the broadcaster created.
+ /// Polls are available for 90 days after they’re created.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:polls** or **channel:manage:polls** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPollsAsync( + string broadcasterId, + global::System.Collections.Generic.IList? id = default, + string? first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.g.verified.cs new file mode 100644 index 0000000000..e316481497 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPollsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPollsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPollsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.CreatePrediction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.CreatePrediction.g.verified.cs new file mode 100644 index 0000000000..b9872801e9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.CreatePrediction.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IPredictionsClient.CreatePrediction.g.cs +#nullable enable + +namespace G +{ + public partial interface IPredictionsClient + { + /// + /// Create a Channel Points Prediction.
+ /// Creates a Channel Points Prediction.
+ /// With a Channel Points Prediction, the broadcaster poses a question and viewers try to predict the outcome. The prediction runs as soon as it’s created. The broadcaster may run only one prediction at a time.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:predictions** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionAsync( + global::G.CreatePredictionBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create a Channel Points Prediction.
+ /// Creates a Channel Points Prediction.
+ /// With a Channel Points Prediction, the broadcaster poses a question and viewers try to predict the outcome. The prediction runs as soon as it’s created. The broadcaster may run only one prediction at a time.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:predictions** scope. + ///
+ /// + /// The ID of the broadcaster that’s running the prediction. This ID must match the user ID in the user access token. + /// + /// + /// The question that the broadcaster is asking. For example, _Will I finish this entire pizza?_ The title is limited to a maximum of 45 characters. + /// + /// + /// The list of possible outcomes that the viewers may choose from. The list must contain a minimum of 2 choices and up to a maximum of 10 choices. + /// + /// + /// The length of time (in seconds) that the prediction will run for. The minimum is 30 seconds and the maximum is 1800 seconds (30 minutes). + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreatePredictionAsync( + string broadcasterId, + string title, + global::System.Collections.Generic.IList outcomes, + int predictionWindow, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.EndPrediction.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.EndPrediction.g.verified.cs new file mode 100644 index 0000000000..6f05a403c3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.EndPrediction.g.verified.cs @@ -0,0 +1,56 @@ +//HintName: G.IPredictionsClient.EndPrediction.g.cs +#nullable enable + +namespace G +{ + public partial interface IPredictionsClient + { + /// + /// Locks, resolves, or cancels a Channel Points Prediction.
+ /// Locks, resolves, or cancels a Channel Points Prediction.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:predictions** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EndPredictionAsync( + global::G.EndPredictionBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Locks, resolves, or cancels a Channel Points Prediction.
+ /// Locks, resolves, or cancels a Channel Points Prediction.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:predictions** scope. + ///
+ /// + /// The ID of the broadcaster that’s running the prediction. This ID must match the user ID in the user access token. + /// + /// + /// The ID of the prediction to update. + /// + /// + /// The status to set the prediction to. Possible case-sensitive values are:
+ ///
+ /// * RESOLVED — The winning outcome is determined and the Channel Points are distributed to the viewers who predicted the correct outcome.
+ /// * CANCELED — The broadcaster is canceling the prediction and sending refunds to the participants.
+ /// * LOCKED — The broadcaster is locking the prediction, which means viewers may no longer make predictions.
+ ///
+ /// The broadcaster can update an active prediction to LOCKED, RESOLVED, or CANCELED; and update a locked prediction to RESOLVED or CANCELED.
+ ///
+ /// The broadcaster has up to 24 hours after the prediction window closes to resolve the prediction. If not, Twitch sets the status to CANCELED and returns the points. + /// + /// + /// The ID of the winning outcome. You must set this parameter if you set `status` to RESOLVED. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task EndPredictionAsync( + string broadcasterId, + string id, + global::G.EndPredictionBodyStatus status, + string? winningOutcomeId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.GetPredictions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.GetPredictions.g.verified.cs new file mode 100644 index 0000000000..0ab6accc17 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.GetPredictions.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IPredictionsClient.GetPredictions.g.cs +#nullable enable + +namespace G +{ + public partial interface IPredictionsClient + { + /// + /// Gets a list of Channel Points Predictions that the broadcaster created.
+ /// Gets a list of Channel Points Predictions that the broadcaster created.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:predictions** or **channel:manage:predictions** scope. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetPredictionsAsync( + string broadcasterId, + global::System.Collections.Generic.IList? id = default, + string? first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.g.verified.cs new file mode 100644 index 0000000000..887261cee5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IPredictionsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IPredictionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPredictionsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.CancelARaid.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.CancelARaid.g.verified.cs new file mode 100644 index 0000000000..1cb38bb44f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.CancelARaid.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.IRaidsClient.CancelARaid.g.cs +#nullable enable + +namespace G +{ + public partial interface IRaidsClient + { + /// + /// Cancel a pending raid.
+ /// Cancel a pending raid.
+ /// You can cancel a raid at any point up until the broadcaster clicks **Raid Now** in the Twitch UX or the 90-second countdown expires.
+ /// **Rate Limit**: The limit is 10 requests within a 10-minute window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:raids** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelARaidAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.StartARaid.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.StartARaid.g.verified.cs new file mode 100644 index 0000000000..6ba23c78eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.StartARaid.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IRaidsClient.StartARaid.g.cs +#nullable enable + +namespace G +{ + public partial interface IRaidsClient + { + /// + /// Raid another channel by sending the broadcaster’s viewers to the targeted channel.
+ /// Raid another channel by sending the broadcaster’s viewers to the targeted channel.
+ /// When you call the API from a chat bot or extension, the Twitch UX pops up a window at the top of the chat room that identifies the number of viewers in the raid. The raid occurs when the broadcaster clicks **Raid Now** or after the 90-second countdown expires.
+ /// To determine whether the raid successfully occurred, you must subscribe to the [Channel Raid](https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelraid) event. For more information, see [Get notified when a raid begins](https://dev.twitch.tv/docs/api/raids#get-notified-when-a-raid-begins).
+ /// To cancel a pending raid, use the [Cancel a raid](https://dev.twitch.tv/docs/api/reference#cancel-a-raid) endpoint.
+ /// **Rate Limit**: The limit is 10 requests within a 10-minute window.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:raids** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StartARaidAsync( + string? fromBroadcasterId = default, + string? toBroadcasterId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.g.verified.cs new file mode 100644 index 0000000000..0f76063a0b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IRaidsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IRaidsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IRaidsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs new file mode 100644 index 0000000000..bea333aecd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.IScheduleClient.CreateChannelStreamScheduleSegment.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Adds a single or recurring broadcast to the broadcaster’s streaming schedule.
+ /// Adds a single or recurring broadcast to the broadcaster’s streaming schedule. For information about scheduling broadcasts, see [Stream Schedule](https://help.twitch.tv/s/article/channel-page-setup#Schedule).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChannelStreamScheduleSegmentAsync( + string broadcasterId, + global::G.CreateChannelStreamScheduleSegmentBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds a single or recurring broadcast to the broadcaster’s streaming schedule.
+ /// Adds a single or recurring broadcast to the broadcaster’s streaming schedule. For information about scheduling broadcasts, see [Stream Schedule](https://help.twitch.tv/s/article/channel-page-setup#Schedule).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// The date and time that the broadcast segment starts. Specify the date and time in RFC3339 format (for example, 2021-07-01T18:00:00Z). + /// + /// + /// The time zone where the broadcast takes place. Specify the time zone using [IANA time zone database](https://www.iana.org/time-zones) format (for example, America/New\_York). + /// + /// + /// The length of time, in minutes, that the broadcast is scheduled to run. The duration must be in the range 30 through 1380 (23 hours). + /// + /// + /// A Boolean value that determines whether the broadcast recurs weekly. Is **true** if the broadcast recurs weekly. Only partners and affiliates may add non-recurring broadcasts. + /// + /// + /// The ID of the category that best represents the broadcast’s content. To get the category ID, use the [Search Categories](https://dev.twitch.tv/docs/api/reference#search-categories) endpoint. + /// + /// + /// The broadcast’s title. The title may contain a maximum of 140 characters. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateChannelStreamScheduleSegmentAsync( + string broadcasterId, + global::System.DateTime startTime, + string timezone, + string duration, + bool isRecurring = default, + string? categoryId = default, + string? title = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs new file mode 100644 index 0000000000..33b3e5160e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IScheduleClient.DeleteChannelStreamScheduleSegment.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Deletes a broadcast from the broadcaster’s streaming schedule.
+ /// Removes a broadcast segment from the broadcaster’s streaming schedule.
+ /// **NOTE**: For recurring segments, removing a segment removes all segments in the recurring schedule.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteChannelStreamScheduleSegmentAsync( + string broadcasterId, + string id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.GetChannelIcalendar.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.GetChannelIcalendar.g.verified.cs new file mode 100644 index 0000000000..6b1d0a4e8f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.GetChannelIcalendar.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.IScheduleClient.GetChannelIcalendar.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Gets the broadcaster’s streaming schedule as an iCalendar.
+ /// Gets the broadcaster’s streaming schedule as an [iCalendar](https://datatracker.ietf.org/doc/html/rfc5545).
+ /// __Authorization:__
+ /// The Client-Id and Authorization headers are not required.
+ /// __Response Body:__
+ /// The response body contains the iCalendar data (see [RFC5545](https://datatracker.ietf.org/doc/html/rfc5545)).
+ /// The Content-Type response header is set to `text/calendar`. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelIcalendarAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.GetChannelStreamSchedule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.GetChannelStreamSchedule.g.verified.cs new file mode 100644 index 0000000000..67aeb50120 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.GetChannelStreamSchedule.g.verified.cs @@ -0,0 +1,31 @@ +//HintName: G.IScheduleClient.GetChannelStreamSchedule.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Gets the broadcaster’s streaming schedule.
+ /// Gets the broadcaster’s streaming schedule. You can get the entire schedule or specific segments of the schedule. [Learn More](https://help.twitch.tv/s/article/channel-page-setup#Schedule)
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelStreamScheduleAsync( + string broadcasterId, + global::System.Collections.Generic.IList? id = default, + global::System.DateTime startTime = default, + string? utcOffset = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.UpdateChannelStreamSchedule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.UpdateChannelStreamSchedule.g.verified.cs new file mode 100644 index 0000000000..a14ee875b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.UpdateChannelStreamSchedule.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IScheduleClient.UpdateChannelStreamSchedule.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Updates the broadcaster’s schedule settings, such as scheduling a vacation.
+ /// Updates the broadcaster’s schedule settings, such as scheduling a vacation.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChannelStreamScheduleAsync( + string broadcasterId, + bool isVacationEnabled = default, + global::System.DateTime vacationStartTime = default, + global::System.DateTime vacationEndTime = default, + string? timezone = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs new file mode 100644 index 0000000000..b9b3e55868 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.IScheduleClient.UpdateChannelStreamScheduleSegment.g.cs +#nullable enable + +namespace G +{ + public partial interface IScheduleClient + { + /// + /// Updates a scheduled broadcast segment.
+ /// Updates a scheduled broadcast segment.
+ /// For recurring segments, updating a segment’s title, category, duration, and timezone, changes all segments in the recurring schedule, not just the specified segment.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChannelStreamScheduleSegmentAsync( + string broadcasterId, + string id, + global::G.UpdateChannelStreamScheduleSegmentBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a scheduled broadcast segment.
+ /// Updates a scheduled broadcast segment.
+ /// For recurring segments, updating a segment’s title, category, duration, and timezone, changes all segments in the recurring schedule, not just the specified segment.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:schedule** scope. + ///
+ /// + /// + /// + /// The date and time that the broadcast segment starts. Specify the date and time in RFC3339 format (for example, 2022-08-02T06:00:00Z).
+ ///
+ /// **NOTE**: Only partners and affiliates may update a broadcast’s start time and only for non-recurring segments. + /// + /// + /// The length of time, in minutes, that the broadcast is scheduled to run. The duration must be in the range 30 through 1380 (23 hours). + /// + /// + /// The ID of the category that best represents the broadcast’s content. To get the category ID, use the [Search Categories](https://dev.twitch.tv/docs/api/reference#search-categories) endpoint. + /// + /// + /// The broadcast’s title. The title may contain a maximum of 140 characters. + /// + /// + /// A Boolean value that indicates whether the broadcast is canceled. Set to **true** to cancel the segment.
+ ///
+ /// **NOTE**: For recurring segments, the API cancels the first segment after the current UTC date and time and not the specified segment (unless the specified segment is the next segment after the current UTC date and time). + /// + /// + /// The time zone where the broadcast takes place. Specify the time zone using [IANA time zone database](https://www.iana.org/time-zones) format (for example, America/New\_York). + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateChannelStreamScheduleSegmentAsync( + string broadcasterId, + string id, + global::System.DateTime startTime = default, + string? duration = default, + string? categoryId = default, + string? title = default, + bool isCanceled = default, + string? timezone = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.g.verified.cs new file mode 100644 index 0000000000..d41cfd37e6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IScheduleClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IScheduleClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IScheduleClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.SearchCategories.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.SearchCategories.g.verified.cs new file mode 100644 index 0000000000..77badfbc56 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.SearchCategories.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.ISearchClient.SearchCategories.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Gets the games or categories that match the specified query.
+ /// Gets the games or categories that match the specified query.
+ /// To match, the category’s name must contain all parts of the query string. For example, if the query string is 42, the response includes any category name that contains 42 in the title. If the query string is a phrase like _love computer_, the response includes any category name that contains the words love and computer anywhere in the name. The comparison is case insensitive.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchCategoriesAsync( + string query, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.SearchChannels.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.SearchChannels.g.verified.cs new file mode 100644 index 0000000000..7cb7f962fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.SearchChannels.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ISearchClient.SearchChannels.g.cs +#nullable enable + +namespace G +{ + public partial interface ISearchClient + { + /// + /// Gets the channels that match the specified query and have streamed content within the past 6 months.
+ /// Gets the channels that match the specified query and have streamed content within the past 6 months.
+ /// The fields that the API uses for comparison depends on the value that the _live\_only_ query parameter is set to. If _live\_only_ is **false**, the API matches on the broadcaster’s login name. However, if _live\_only_ is **true**, the API matches on the broadcaster’s name and category name.
+ /// To match, the beginning of the broadcaster’s name or category must match the query string. The comparison is case insensitive. If the query string is angel\_of\_death, it matches all names that begin with angel\_of\_death. However, if the query string is a phrase like _angel of death_, it matches to names starting with angelofdeath or names starting with angel\_of\_death.
+ /// By default, the results include both live and offline channels. To get only live channels set the _live\_only_ query parameter to **true**.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SearchChannelsAsync( + string query, + bool liveOnly = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.g.verified.cs new file mode 100644 index 0000000000..b0927ae1a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISearchClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISearchClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISearchClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.CreateStreamMarker.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.CreateStreamMarker.g.verified.cs new file mode 100644 index 0000000000..2f1487fcd2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.CreateStreamMarker.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IStreamsClient.CreateStreamMarker.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamsClient + { + /// + /// Adds a marker to a live stream.
+ /// Adds a marker to a live stream. A marker is an arbitrary point in a live stream that the broadcaster or editor wants to mark, so they can return to that spot later to create video highlights (see Video Producer, Highlights in the Twitch UX).
+ /// You may not add markers:
+ /// * If the stream is not live
+ /// * If the stream has not enabled video on demand (VOD)
+ /// * If the stream is a premiere (a live, first-viewing event that combines uploaded videos with live chat)
+ /// * If the stream is a rerun of a past broadcast, including past premieres.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:broadcast** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateStreamMarkerAsync( + global::G.CreateStreamMarkerBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Adds a marker to a live stream.
+ /// Adds a marker to a live stream. A marker is an arbitrary point in a live stream that the broadcaster or editor wants to mark, so they can return to that spot later to create video highlights (see Video Producer, Highlights in the Twitch UX).
+ /// You may not add markers:
+ /// * If the stream is not live
+ /// * If the stream has not enabled video on demand (VOD)
+ /// * If the stream is a premiere (a live, first-viewing event that combines uploaded videos with live chat)
+ /// * If the stream is a rerun of a past broadcast, including past premieres.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:broadcast** scope. + ///
+ /// + /// The ID of the broadcaster that’s streaming content. This ID must match the user ID in the access token or the user in the access token must be one of the broadcaster’s editors. + /// + /// + /// A short description of the marker to help the user remember why they marked the location. The maximum length of the description is 140 characters. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateStreamMarkerAsync( + string userId, + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetFollowedStreams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetFollowedStreams.g.verified.cs new file mode 100644 index 0000000000..2083c1d641 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetFollowedStreams.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IStreamsClient.GetFollowedStreams.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamsClient + { + /// + /// Gets the list of broadcasters that the user follows and that are streaming live.
+ /// Gets the list of broadcasters that the user follows and that are streaming live.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:follows** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetFollowedStreamsAsync( + string userId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreamKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreamKey.g.verified.cs new file mode 100644 index 0000000000..57d1283472 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreamKey.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IStreamsClient.GetStreamKey.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamsClient + { + /// + /// Gets the channel’s stream key.
+ /// Gets the channel’s stream key.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:stream\_key** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetStreamKeyAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreamMarkers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreamMarkers.g.verified.cs new file mode 100644 index 0000000000..6f2b223785 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreamMarkers.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IStreamsClient.GetStreamMarkers.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamsClient + { + /// + /// Gets a list of markers from the user’s most recent stream or from the specified VOD/video.
+ /// Gets a list of markers from the user’s most recent stream or from the specified VOD/video. A marker is an arbitrary point in a live stream that the broadcaster or editor marked, so they can return to that spot later to create video highlights (see Video Producer, Highlights in the Twitch UX).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:broadcast** or **channel:manage:broadcast** scope. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetStreamMarkersAsync( + string? userId = default, + string? videoId = default, + string? first = default, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreams.g.verified.cs new file mode 100644 index 0000000000..aceca67eac --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.GetStreams.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.IStreamsClient.GetStreams.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamsClient + { + /// + /// Gets a list of all streams.
+ /// Gets a list of all streams. The list is in descending order by the number of viewers watching the stream. Because viewers come and go during a stream, it’s possible to find duplicate or missing streams in the list as you page through the results.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetStreamsAsync( + global::System.Collections.Generic.IList? userId = default, + global::System.Collections.Generic.IList? userLogin = default, + global::System.Collections.Generic.IList? gameId = default, + global::G.GetStreamsType? type = default, + global::System.Collections.Generic.IList? language = default, + int first = default, + string? before = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.g.verified.cs new file mode 100644 index 0000000000..8d7938bc3f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IStreamsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IStreamsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IStreamsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.CheckUserSubscription.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.CheckUserSubscription.g.verified.cs new file mode 100644 index 0000000000..562be7d68c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.CheckUserSubscription.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.ISubscriptionsClient.CheckUserSubscription.g.cs +#nullable enable + +namespace G +{ + public partial interface ISubscriptionsClient + { + /// + /// Checks whether the user subscribes to the broadcaster’s channel.
+ /// Checks whether the user subscribes to the broadcaster’s channel.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:subscriptions** scope.
+ /// A Twitch extensions may use an app access token if the broadcaster has granted the **user:read:subscriptions** scope from within the Twitch Extensions manager. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckUserSubscriptionAsync( + string broadcasterId, + string userId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs new file mode 100644 index 0000000000..5740a6c10d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.ISubscriptionsClient.GetBroadcasterSubscriptions.g.cs +#nullable enable + +namespace G +{ + public partial interface ISubscriptionsClient + { + /// + /// Gets a list of users that subscribe to the specified broadcaster.
+ /// Gets a list of users that subscribe to the specified broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:read:subscriptions** scope.
+ /// A Twitch extensions may use an app access token if the broadcaster has granted the **channel:read:subscriptions** scope from within the Twitch Extensions manager. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBroadcasterSubscriptionsAsync( + string broadcasterId, + global::System.Collections.Generic.IList? userId = default, + string? first = default, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.g.verified.cs new file mode 100644 index 0000000000..3ee56ac03e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ISubscriptionsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ISubscriptionsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ISubscriptionsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.GetAllStreamTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.GetAllStreamTags.g.verified.cs new file mode 100644 index 0000000000..688b094311 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.GetAllStreamTags.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITagsClient.GetAllStreamTags.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagsClient + { + /// + /// Gets the list of all stream tags that Twitch defines. You can also filter the list by one or more tag IDs.
+ /// **IMPORTANT** Twitch is moving from Twitch-defined tags to channel-defined tags. **IMPORTANT** As of February 28, 2023, this endpoint returns an empty array. On July 13, 2023, it will return a 410 response.
+ /// Gets a list of all stream tags that Twitch defines. The broadcaster may apply any of these to their channel except automatic tags. For an online list of the possible tags, see [List of All Tags](https://www.twitch.tv/directory/all/tags).
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task GetAllStreamTagsAsync( + global::System.Collections.Generic.IList? tagId = default, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.GetStreamTags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.GetStreamTags.g.verified.cs new file mode 100644 index 0000000000..3f23020431 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.GetStreamTags.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ITagsClient.GetStreamTags.g.cs +#nullable enable + +namespace G +{ + public partial interface ITagsClient + { + /// + /// Gets the list of stream tags that the broadcaster or Twitch added to their channel.
+ /// **IMPORTANT** Twitch is moving from Twitch-defined tags to channel-defined tags. **IMPORTANT** As of February 28, 2023, this endpoint returns an empty array. On July 13, 2023, it will return a 410 response. If you use this endpoint, please update your code to use [Get Channel Information](https://dev.twitch.tv/docs/api/reference#get-channel-information).
+ /// Gets the list of stream tags that the broadcaster or Twitch added to their channel.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + [global::System.Obsolete("This method marked as deprecated.")] + global::System.Threading.Tasks.Task GetStreamTagsAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.g.verified.cs new file mode 100644 index 0000000000..82bafbdbce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITagsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITagsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITagsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.GetChannelTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.GetChannelTeams.g.verified.cs new file mode 100644 index 0000000000..e8716e6425 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.GetChannelTeams.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ITeamsClient.GetChannelTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Gets the list of Twitch teams that the broadcaster is a member of.
+ /// Gets the list of Twitch teams that the broadcaster is a member of.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetChannelTeamsAsync( + string broadcasterId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.GetTeams.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.GetTeams.g.verified.cs new file mode 100644 index 0000000000..7cd47d2698 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.GetTeams.g.verified.cs @@ -0,0 +1,23 @@ +//HintName: G.ITeamsClient.GetTeams.g.cs +#nullable enable + +namespace G +{ + public partial interface ITeamsClient + { + /// + /// Gets information about the specified Twitch team.
+ /// Gets information about the specified Twitch team. [Read More](https://help.twitch.tv/s/article/twitch-teams)
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetTeamsAsync( + string? name = default, + string? id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.g.verified.cs new file mode 100644 index 0000000000..ef54515046 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ITeamsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.ITeamsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITeamsClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.BlockUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.BlockUser.g.verified.cs new file mode 100644 index 0000000000..b2617a7333 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.BlockUser.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.IUsersClient.BlockUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Blocks the specified user from interacting with or having contact with the broadcaster.
+ /// Blocks the specified user from interacting with or having contact with the broadcaster. The user ID in the OAuth token identifies the broadcaster who is blocking the user.
+ /// To learn more about blocking users, see [Block Other Users on Twitch](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat?language=en%5FUS#BlockWhispersandMessagesfromStrangers).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:blocked\_users** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task BlockUserAsync( + string targetUserId, + global::G.BlockUserSourceContext? sourceContext = default, + global::G.BlockUserReason? reason = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserActiveExtensions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserActiveExtensions.g.verified.cs new file mode 100644 index 0000000000..22ce307b7e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserActiveExtensions.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUsersClient.GetUserActiveExtensions.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Gets the active extensions that the broadcaster has installed for each configuration.
+ /// Gets the active extensions that the broadcaster has installed for each configuration.
+ /// NOTE: To include extensions that you have under development, you must specify a user access token that includes the **user:read:broadcast** or **user:edit:broadcast** scope.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserActiveExtensionsAsync( + string? userId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserBlockList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserBlockList.g.verified.cs new file mode 100644 index 0000000000..7caa8d0554 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserBlockList.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.GetUserBlockList.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Gets the list of users that the broadcaster has blocked.
+ /// Gets the list of users that the broadcaster has blocked. [Read More](https://help.twitch.tv/s/article/how-to-manage-harassment-in-chat?language=en%5FUS#BlockWhispersandMessagesfromStrangers)
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:blocked\_users** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserBlockListAsync( + string broadcasterId, + int first = default, + string? after = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserExtensions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserExtensions.g.verified.cs new file mode 100644 index 0000000000..27bca0b34f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUserExtensions.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IUsersClient.GetUserExtensions.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Gets a list of all extensions (both active and inactive) that the broadcaster has installed.
+ /// Gets a list of all extensions (both active and inactive) that the broadcaster has installed. The user ID in the access token identifies the broadcaster.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:read:broadcast** or **user:edit:broadcast** scope. To include inactive extensions, you must include the **user:edit:broadcast** scope. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUserExtensionsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUsers.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUsers.g.verified.cs new file mode 100644 index 0000000000..dd9de7933a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.GetUsers.g.verified.cs @@ -0,0 +1,29 @@ +//HintName: G.IUsersClient.GetUsers.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Gets information about one or more users.
+ /// Gets information about one or more users.
+ ///
+ /// You may look up users using their user ID, login name, or both but the sum total of the number of users you may look up is 100\. For example, you may specify 50 IDs and 50 names or 100 IDs or names, but you cannot specify 100 IDs and 100 names.
+ ///
+ /// If you don’t specify IDs or login names, the request returns information about the user in the access token if you specify a user access token.
+ ///
+ /// To include the user’s verified email address in the response, you must use a user access token that includes the **user:read:email** scope.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetUsersAsync( + global::System.Collections.Generic.IList? id = default, + global::System.Collections.Generic.IList? login = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UnblockUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UnblockUser.g.verified.cs new file mode 100644 index 0000000000..dd397c9063 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UnblockUser.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IUsersClient.UnblockUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Removes the user from the broadcaster’s list of blocked users.
+ /// Removes the user from the broadcaster’s list of blocked users. The user ID in the OAuth token identifies the broadcaster who’s removing the block.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:blocked\_users** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UnblockUserAsync( + string targetUserId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UpdateUser.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UpdateUser.g.verified.cs new file mode 100644 index 0000000000..f53e24347f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UpdateUser.g.verified.cs @@ -0,0 +1,22 @@ +//HintName: G.IUsersClient.UpdateUser.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Updates the user’s information.
+ /// Updates the specified user’s information. The user ID in the OAuth token identifies the user whose information you want to update.
+ /// To include the user’s verified email address in the response, the user access token must also include the **user:read:email** scope.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:edit** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateUserAsync( + string? description = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UpdateUserExtensions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UpdateUserExtensions.g.verified.cs new file mode 100644 index 0000000000..b45cdb1a62 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.UpdateUserExtensions.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.IUsersClient.UpdateUserExtensions.g.cs +#nullable enable + +namespace G +{ + public partial interface IUsersClient + { + /// + /// Updates an installed extension’s information.
+ /// Updates an installed extension’s information. You can update the extension’s activation state, ID, and version number. The user ID in the access token identifies the broadcaster whose extensions you’re updating.
+ /// NOTE: If you try to activate an extension under multiple extension types, the last write wins (and there is no guarantee of write order).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:edit:broadcast** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateUserExtensionsAsync( + global::G.UpdateUserExtensionsBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates an installed extension’s information.
+ /// Updates an installed extension’s information. You can update the extension’s activation state, ID, and version number. The user ID in the access token identifies the broadcaster whose extensions you’re updating.
+ /// NOTE: If you try to activate an extension under multiple extension types, the last write wins (and there is no guarantee of write order).
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:edit:broadcast** scope. + ///
+ /// + /// The extensions to update. The `data` field is a dictionary of extension types. The dictionary’s possible keys are: panel, overlay, or component. The key’s value is a dictionary of extensions.
+ ///
+ /// For the extension’s dictionary, the key is a sequential number beginning with 1\. For panel and overlay extensions, the key’s value is an object that contains the following fields: `active` (true/false), `id` (the extension’s ID), and `version` (the extension’s version).
+ ///
+ /// For component extensions, the key’s value includes the above fields plus the `x` and `y` fields, which identify the coordinate where the extension is placed. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateUserExtensionsAsync( + global::G.UpdateUserExtensionsBodyData data, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.g.verified.cs new file mode 100644 index 0000000000..2be09a89a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IUsersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IUsersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUsersClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.DeleteVideos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.DeleteVideos.g.verified.cs new file mode 100644 index 0000000000..9f7183571f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.DeleteVideos.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IVideosClient.DeleteVideos.g.cs +#nullable enable + +namespace G +{ + public partial interface IVideosClient + { + /// + /// Deletes one or more videos.
+ /// Deletes one or more videos. You may delete past broadcasts, highlights, or uploads.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **channel:manage:videos** scope. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteVideosAsync( + global::System.Collections.Generic.IList id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.GetVideos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.GetVideos.g.verified.cs new file mode 100644 index 0000000000..a96af53c64 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.GetVideos.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IVideosClient.GetVideos.g.cs +#nullable enable + +namespace G +{ + public partial interface IVideosClient + { + /// + /// Gets information about one or more published videos.
+ /// Gets information about one or more published videos. You may get videos by ID, by user, or by game/category.
+ /// You may apply several filters to get a subset of the videos. The filters are applied as an AND operation to each video. For example, if _language_ is set to ‘de’ and _game\_id_ is set to 21779, the response includes only videos that show playing League of Legends by users that stream in German. The filters apply only if you get videos by user ID or game ID.
+ /// __Authorization:__
+ /// Requires an [app access token](https://dev.twitch.tv/docs/authentication#app-access-tokens) or [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens). + ///
+ /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetVideosAsync( + global::System.Collections.Generic.IList? id = default, + string? userId = default, + string? gameId = default, + string? language = default, + global::G.GetVideosPeriod? period = default, + global::G.GetVideosSort? sort = default, + global::G.GetVideosType? type = default, + string? first = default, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.g.verified.cs new file mode 100644 index 0000000000..99e97fde27 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IVideosClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IVideosClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IVideosClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IWhispersClient.SendWhisper.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IWhispersClient.SendWhisper.g.verified.cs new file mode 100644 index 0000000000..11e4e608a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IWhispersClient.SendWhisper.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: G.IWhispersClient.SendWhisper.g.cs +#nullable enable + +namespace G +{ + public partial interface IWhispersClient + { + /// + /// Sends a whisper message to the specified user.
+ /// Sends a whisper message to the specified user.
+ /// NOTE: The user sending the whisper must have a verified phone number (see the **Phone Number** setting in your [Security and Privacy](https://www.twitch.tv/settings/security) settings).
+ /// NOTE: The API may silently drop whispers that it suspects of violating Twitch policies. (The API does not indicate that it dropped the whisper; it returns a 204 status code as if it succeeded.)
+ /// **Rate Limits**: You may whisper to a maximum of 40 unique recipients per day. Within the per day limit, you may whisper a maximum of 3 whispers per second and a maximum of 100 whispers per minute.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:whispers** scope. + ///
+ /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendWhisperAsync( + string fromUserId, + string toUserId, + global::G.SendWhisperBody request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Sends a whisper message to the specified user.
+ /// Sends a whisper message to the specified user.
+ /// NOTE: The user sending the whisper must have a verified phone number (see the **Phone Number** setting in your [Security and Privacy](https://www.twitch.tv/settings/security) settings).
+ /// NOTE: The API may silently drop whispers that it suspects of violating Twitch policies. (The API does not indicate that it dropped the whisper; it returns a 204 status code as if it succeeded.)
+ /// **Rate Limits**: You may whisper to a maximum of 40 unique recipients per day. Within the per day limit, you may whisper a maximum of 3 whispers per second and a maximum of 100 whispers per minute.
+ /// __Authorization:__
+ /// Requires a [user access token](https://dev.twitch.tv/docs/authentication#user-access-tokens) that includes the **user:manage:whispers** scope. + ///
+ /// + /// + /// + /// The whisper message to send. The message must not be empty.
+ ///
+ /// The maximum message lengths are:
+ ///
+ /// * 500 characters if the user you're sending the message to hasn't whispered you before.
+ /// * 10,000 characters if the user you're sending the message to has whispered you before.
+ ///
+ /// Messages that exceed the maximum length are truncated. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendWhisperAsync( + string fromUserId, + string toUserId, + string message, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IWhispersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IWhispersClient.g.verified.cs new file mode 100644 index 0000000000..1b01f9cfe3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.IWhispersClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IWhispersClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IWhispersClient : global::System.IDisposable + { + /// + /// Helix + /// + public const string BaseUrl = "https://api.twitch.tv/helix"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.g.verified.cs index 94a5088953..db82f21575 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ModerationClient : global::System.IDisposable + public sealed partial class ModerationClient : global::G.IModerationClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.g.verified.cs index c60e517121..1eb6d19bc0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PollsClient : global::System.IDisposable + public sealed partial class PollsClient : global::G.IPollsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.g.verified.cs index b44b937926..b9d63d6342 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PredictionsClient : global::System.IDisposable + public sealed partial class PredictionsClient : global::G.IPredictionsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.g.verified.cs index 4491775664..0af3f47211 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class RaidsClient : global::System.IDisposable + public sealed partial class RaidsClient : global::G.IRaidsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.g.verified.cs index 3227e6987a..eebdc89090 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ScheduleClient : global::System.IDisposable + public sealed partial class ScheduleClient : global::G.IScheduleClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.g.verified.cs index 47b0beabdf..85dd959a81 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SearchClient : global::System.IDisposable + public sealed partial class SearchClient : global::G.ISearchClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.g.verified.cs index fd65725c3c..88b295a71f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class StreamsClient : global::System.IDisposable + public sealed partial class StreamsClient : global::G.IStreamsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.g.verified.cs index fd966304de..8bdc0f8178 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class SubscriptionsClient : global::System.IDisposable + public sealed partial class SubscriptionsClient : global::G.ISubscriptionsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.g.verified.cs index 7a0abf1915..e51f7102d2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TagsClient : global::System.IDisposable + public sealed partial class TagsClient : global::G.ITagsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.g.verified.cs index f1a211e6d4..e398e55f72 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TeamsClient : global::System.IDisposable + public sealed partial class TeamsClient : global::G.ITeamsClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.g.verified.cs index 8d0606dc07..3fd56f0626 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UsersClient : global::System.IDisposable + public sealed partial class UsersClient : global::G.IUsersClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.g.verified.cs index e6ed21f710..e270e1586e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class VideosClient : global::System.IDisposable + public sealed partial class VideosClient : global::G.IVideosClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.WhispersClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.WhispersClient.g.verified.cs index 90c3478a71..9747cab610 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.WhispersClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.WhispersClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class WhispersClient : global::System.IDisposable + public sealed partial class WhispersClient : global::G.IWhispersClient, global::System.IDisposable { /// /// Helix diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.Api.g.verified.cs index d55192ddee..43c004a92c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.Api.g.verified.cs @@ -30,7 +30,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.AssetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.AssetsClient.g.verified.cs index bf329af32f..27e8205c2d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.AssetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.AssetsClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AssetsClient : global::System.IDisposable + public sealed partial class AssetsClient : global::G.IAssetsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.CreateVideoAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.CreateVideoAPIClient.g.verified.cs index d8b984ee93..88502afb98 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.CreateVideoAPIClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.CreateVideoAPIClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CreateVideoAPIClient : global::System.IDisposable + public sealed partial class CreateVideoAPIClient : global::G.ICreateVideoAPIClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IApi.V1VideoStatusGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IApi.V1VideoStatusGet.g.verified.cs new file mode 100644 index 0000000000..c212c95f25 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IApi.V1VideoStatusGet.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IApi.V1VideoStatusGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// v1/video_status.get
+ /// v1/video_status.get + ///
+ /// + /// Example: <video_id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1VideoStatusGetAsync( + string? videoId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..188dcce6de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -0,0 +1,113 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// Welcome to the **HeyGen API** Postman Collection. This collection provides a convenient way to interact with the HeyGen API directly from Postman.
+ /// **Documentation**: [https://docs.heygen.com](https://docs.heygen.com/)
+ /// **Guides**: [https://docs.heygen.com/docs](https://docs.heygen.com/docs/quick-start)**API Reference**: [https://docs.heygen.com/reference](https://docs.heygen.com/reference/authentication-1)
+ /// ## Authorization
+ /// To send requests to the API endpoints, you must use a valid API token. You can get your API token from the [Settings &gt; API ](https://app.heygen.com/settings?nav=API) page in your HeyGen account.
+ /// 1. In Postman, go to the **Environments** tab on the left panel.
+ ///
+ /// 2. Select the **My HeyGen API Environment** environment provided by HeyGen.
+ ///
+ /// 3. Update the `heygen-api-token` value with your current HeyGen API token.
+ ///
+ /// 4. Ensure **My HeyGen API Environment** is selected as the active environment using the environment selector at the top right corner of Postman.
+ ///
+ /// ### 400 response
+ /// A 400 error response typically indicates that your request body is corrupted. To avoid this, ensure that your request body is correctly formatted and includes all necessary elements, such as closing parentheses.
+ /// ### **Need some help?**
+ /// If you need assistance, you can reach out to us through the following channels:
+ /// - **Customer Support Chat:** Available in our web interface.
+ ///
+ /// - **Emails:** api@heygen.com, [support@heygen.com](https://mailto:support@heygen.com)
+ ///
+ /// - **Community Discussions:** Check out our [discussions channel](https://null) – there's a good chance our community has the answer you're looking for.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + /// + /// + /// + public ListsClient Lists { get; } + + /// + /// Create personalized avatar videos with ease using the **HeyGen API**. By selecting an avatar and a voice, you can create engaging videos for various purposes. 🌟
+ /// **Guide**: [https://docs.heygen.com/docs/create-video](https://docs.heygen.com/docs/create-video)**Reference**: [https://docs.heygen.com/reference/create-an-avatar-video-v2](https://docs.heygen.com/reference/create-an-avatar-video-v2) + ///
+ public CreateVideoAPIClient CreateVideoAPI { get; } + + /// + /// Templates enable you to add and customize existing text, images, videos, audios (coming soon), voices and avatars, while avatar videos consist only of avatars without these elements. If you plan to use it within a workflow and need richer content, templates are likely a better fit for your use case compared to simple talking avatar videos. 🌟
+ /// **Quick Comparison:**
+ /// - **Avatar Videos:** Avatar videos are centered around avatars delivering content without any additional elements. They are ideal for straightforward, avatar-focused communication.
+ ///
+ /// - **Template Videos:** In contrast, template videos offer a wide canvas for creativity. They enable you to customize existing text, images, videos, audios, voices and avatars seamlessly. If you need a richer, more versatile content format for your workflow, templates are the perfect choice.
+ ///
+ /// **Guide**: [https://docs.heygen.com/docs/generate-video-from-template-v2](https://docs.heygen.com/docs/generate-video-from-template-v2)
+ /// **Reference**: [https://docs.heygen.com/reference/generate-from-template-v2](https://docs.heygen.com/reference/generate-from-template-v2)[](https://docs.heygen.com/reference/create-an-avatar-video-v2) + ///
+ public TemplateAPIClient TemplateAPI { get; } + + /// + /// The [Video Translate](https://labs.heygen.com/video-translate) by HeyGen provides a powerful solution for effortlessly translating videos, integrating natural voice cloning and authentic speaking styles seamlessly. Now, you can harness its capabilities programmatically through the **Video Translate API**!
+ /// **Guide**: [https://docs.heygen.com/docs/video-translate-api](https://docs.heygen.com/docs/video-translate-api)**Reference**: [https://docs.heygen.com/reference/video-translate](https://docs.heygen.com/reference/video-translate) + ///
+ public VideoTranslateAPIClient VideoTranslateAPI { get; } + + /// + /// HeyGen's **Streaming API** allows developers to seamlessly integrate dynamic digital avatars into their applications for immersive and interactive user experiences. With this API, you can create _virtual assistants, real-time training simulations,_ and more, with a focus on real-time, low-latency communication between _users_ and _avatars_ with power of WebRTC.
+ /// **Guide**: [https://docs.heygen.com/docs/streaming-api](https://docs.heygen.com/docs/streaming-api)**Reference**: [https://docs.heygen.com/reference/new-session](https://docs.heygen.com/reference/new-session) + ///
+ public StreamingAPIClient StreamingAPI { get; } + + /// + /// Webhook events are how the **HeyGen** notifies your _endpoints_ when a variety of interactions or events happen, including when avatar video processing _succeeds_ or _fails_. Webhook events are sent by HeyGen as POST requests to your webhook endpoint.
+ /// **Guide**: [https://docs.heygen.com/docs/using-heygens-webhook-events](https://docs.heygen.com/docs/using-heygens-webhook-events)**Reference**: [https://docs.heygen.com/reference/add-a-webhook-endpoint](https://docs.heygen.com/reference/add-a-webhook-endpoint) + ///
+ public WebhooksClient Webhooks { get; } + + /// + /// These API endpoints allow you to manage photo avatars in your account.
+ /// **Reference**: [https://docs.heygen.com/reference/upload-talking-photo](https://docs.heygen.com/reference/upload-talking-photo) + ///
+ public TalkingPhotoClient TalkingPhoto { get; } + + /// + /// Import contacts into your HeyGen **Personalized Video** campaign. 
+ /// **Guide**: [https://docs.heygen.com/docs/import-contacts-via-api](https://docs.heygen.com/docs/import-contacts-via-api)
+ /// Reference: [https://docs.heygen.com/reference/add-contact](https://docs.heygen.com/reference/add-contact) + ///
+ public PersonalizedVideoClient PersonalizedVideo { get; } + + /// + /// Obtain information about your account.
+ /// **Reference**: [https://docs.heygen.com/reference/get-remaining-quota-v2](https://docs.heygen.com/reference/get-remaining-quota-v2) + ///
+ public UserClient User { get; } + + /// + /// Upload an image or video asset to your account.
+ /// **Reference**: [https://docs.heygen.com/reference/upload-asset-1](https://docs.heygen.com/reference/upload-asset-1) + ///
+ public AssetsClient Assets { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IAssetsClient.V1AssetUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IAssetsClient.V1AssetUpload.g.verified.cs new file mode 100644 index 0000000000..0cfb6d5033 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IAssetsClient.V1AssetUpload.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IAssetsClient.V1AssetUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssetsClient + { + /// + /// v1/asset (upload)
+ /// v1/asset (upload) + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1AssetUploadAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IAssetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IAssetsClient.g.verified.cs new file mode 100644 index 0000000000..ae44937ea3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IAssetsClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IAssetsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Upload an image or video asset to your account.
+ /// **Reference**: [https://docs.heygen.com/reference/upload-asset-1](https://docs.heygen.com/reference/upload-asset-1)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAssetsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.V1VideoDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.V1VideoDelete.g.verified.cs new file mode 100644 index 0000000000..b285585df2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.V1VideoDelete.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICreateVideoAPIClient.V1VideoDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICreateVideoAPIClient + { + /// + /// v1/video.delete
+ /// v1/video.delete + ///
+ /// + /// Example: <video_id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1VideoDeleteAsync( + string? videoId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.V2VideoGenerate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.V2VideoGenerate.g.verified.cs new file mode 100644 index 0000000000..9c08d14f60 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.V2VideoGenerate.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ICreateVideoAPIClient.V2VideoGenerate.g.cs +#nullable enable + +namespace G +{ + public partial interface ICreateVideoAPIClient + { + /// + /// v2/video/generate
+ /// Generated Video: [https://app.heygen.com/share/67cd13935445457eaa99040070bdb545](https://app.heygen.com/share/67cd13935445457eaa99040070bdb545)
+ /// <img src="https://resource.heygen.ai/video/gifs/67cd13935445457eaa99040070bdb545.gif" alt=""> + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoGenerateAsync( + global::G.V2VideoGenerateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// v2/video/generate
+ /// Generated Video: [https://app.heygen.com/share/67cd13935445457eaa99040070bdb545](https://app.heygen.com/share/67cd13935445457eaa99040070bdb545)
+ /// <img src="https://resource.heygen.ai/video/gifs/67cd13935445457eaa99040070bdb545.gif" alt=""> + ///
+ /// + /// + /// + /// + /// Example: true + /// + /// + /// Example: My Title + /// + /// + /// Example: [] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoGenerateAsync( + global::G.V2VideoGenerateRequestAspectRatio? aspectRatio = default, + global::G.V2VideoGenerateRequestCallbackId? callbackId = default, + global::G.V2VideoGenerateRequestDimension? dimension = default, + bool test = default, + string? title = default, + global::System.Collections.Generic.IList? videoInputs = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.g.verified.cs new file mode 100644 index 0000000000..d2dc5e0bbc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ICreateVideoAPIClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ICreateVideoAPIClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Create personalized avatar videos with ease using the **HeyGen API**. By selecting an avatar and a voice, you can create engaging videos for various purposes. 🌟
+ /// **Guide**: [https://docs.heygen.com/docs/create-video](https://docs.heygen.com/docs/create-video)**Reference**: [https://docs.heygen.com/reference/create-an-avatar-video-v2](https://docs.heygen.com/reference/create-an-avatar-video-v2)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICreateVideoAPIClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1AvatarList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1AvatarList.g.verified.cs new file mode 100644 index 0000000000..47d68c48fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1AvatarList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IListsClient.V1AvatarList.g.cs +#nullable enable + +namespace G +{ + public partial interface IListsClient + { + /// + /// v1/avatar.list
+ /// v1/avatar.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1AvatarListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1VideoList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1VideoList.g.verified.cs new file mode 100644 index 0000000000..8b27ec5610 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1VideoList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IListsClient.V1VideoList.g.cs +#nullable enable + +namespace G +{ + public partial interface IListsClient + { + /// + /// v1/video.list
+ /// v1/video.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1VideoListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1VoiceList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1VoiceList.g.verified.cs new file mode 100644 index 0000000000..1b18059c74 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V1VoiceList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IListsClient.V1VoiceList.g.cs +#nullable enable + +namespace G +{ + public partial interface IListsClient + { + /// + /// v1/voice.list
+ /// v1/voice.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1VoiceListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V2Avatars.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V2Avatars.g.verified.cs new file mode 100644 index 0000000000..b436ba2e20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V2Avatars.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IListsClient.V2Avatars.g.cs +#nullable enable + +namespace G +{ + public partial interface IListsClient + { + /// + /// v2/avatars
+ /// v2/avatars + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2AvatarsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V2Voices.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V2Voices.g.verified.cs new file mode 100644 index 0000000000..eec8c86ad7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.V2Voices.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IListsClient.V2Voices.g.cs +#nullable enable + +namespace G +{ + public partial interface IListsClient + { + /// + /// v2/voices
+ /// v2/voices + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VoicesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.g.verified.cs new file mode 100644 index 0000000000..ef49c094f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IListsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IListsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IListsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAddContact.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAddContact.g.verified.cs new file mode 100644 index 0000000000..ba208f99c5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAddContact.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPersonalizedVideoClient.PersonalizedVideoAddContact.g.cs +#nullable enable + +namespace G +{ + public partial interface IPersonalizedVideoClient + { + /// + /// personalized_video/add_contact
+ /// personalized_video/add_contact + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PersonalizedVideoAddContactAsync( + global::G.PersonalizedVideoAddContactRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// personalized_video/add_contact
+ /// personalized_video/add_contact + ///
+ /// + /// Example: <project_id> + /// + /// + /// Example: [] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PersonalizedVideoAddContactAsync( + string? projectId = default, + global::System.Collections.Generic.IList? variablesList = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAudienceDetail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAudienceDetail.g.verified.cs new file mode 100644 index 0000000000..4aa33b19fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAudienceDetail.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IPersonalizedVideoClient.PersonalizedVideoAudienceDetail.g.cs +#nullable enable + +namespace G +{ + public partial interface IPersonalizedVideoClient + { + /// + /// personalized_video/audience/detail
+ /// personalized_video/audience/detail + ///
+ /// + /// Example: <video-id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PersonalizedVideoAudienceDetailAsync( + string? id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoProjectDetail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoProjectDetail.g.verified.cs new file mode 100644 index 0000000000..8b0554523c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.PersonalizedVideoProjectDetail.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IPersonalizedVideoClient.PersonalizedVideoProjectDetail.g.cs +#nullable enable + +namespace G +{ + public partial interface IPersonalizedVideoClient + { + /// + /// personalized_video/project/detail
+ /// personalized_video/project/detail + ///
+ /// + /// Example: <project-id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PersonalizedVideoProjectDetailAsync( + string? id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.g.verified.cs new file mode 100644 index 0000000000..ba7aaea97c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IPersonalizedVideoClient.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IPersonalizedVideoClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Import contacts into your HeyGen **Personalized Video** campaign. 
+ /// **Guide**: [https://docs.heygen.com/docs/import-contacts-via-api](https://docs.heygen.com/docs/import-contacts-via-api)
+ /// Reference: [https://docs.heygen.com/reference/add-contact](https://docs.heygen.com/reference/add-contact)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPersonalizedVideoClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingAvatarList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingAvatarList.g.verified.cs new file mode 100644 index 0000000000..b43358fdee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingAvatarList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IStreamingAPIClient.StreamingAvatarList.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming/avatar.list
+ /// streaming/avatar.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingAvatarListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingCreateToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingCreateToken.g.verified.cs new file mode 100644 index 0000000000..86a6caa4d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingCreateToken.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IStreamingAPIClient.StreamingCreateToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.create_token
+ /// streaming.create_token + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingCreateTokenAsync( + global::G.StreamingCreateTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.create_token
+ /// streaming.create_token + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingCreateTokenAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingIce.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingIce.g.verified.cs new file mode 100644 index 0000000000..84d26b461b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingIce.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IStreamingAPIClient.StreamingIce.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.ice
+ /// streaming.ice + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingIceAsync( + global::G.StreamingIceRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.ice
+ /// streaming.ice + ///
+ /// + /// + /// Example: <SESSION_ID> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingIceAsync( + global::G.StreamingIceRequestCandidate? candidate = default, + string? sessionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingInterrupt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingInterrupt.g.verified.cs new file mode 100644 index 0000000000..56a826eb71 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingInterrupt.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IStreamingAPIClient.StreamingInterrupt.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.interrupt
+ /// This is endpoint is to interrupt a speaking avatar. If the avatar is not speaking, it doesn't do anything. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingInterruptAsync( + global::G.StreamingInterruptRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.interrupt
+ /// This is endpoint is to interrupt a speaking avatar. If the avatar is not speaking, it doesn't do anything. + ///
+ /// + /// Example: <session_id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingInterruptAsync( + string? sessionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingList.g.verified.cs new file mode 100644 index 0000000000..026aaa6491 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IStreamingAPIClient.StreamingList.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.list
+ /// streaming.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingNew.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingNew.g.verified.cs new file mode 100644 index 0000000000..cc357f7b45 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingNew.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IStreamingAPIClient.StreamingNew.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.new
+ /// streaming.new + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingNewAsync( + global::G.StreamingNewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.new
+ /// streaming.new + ///
+ /// + /// Example: medium + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingNewAsync( + string? quality = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingStart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingStart.g.verified.cs new file mode 100644 index 0000000000..8ef28222db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingStart.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IStreamingAPIClient.StreamingStart.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.start
+ /// streaming.start + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingStartAsync( + global::G.StreamingStartRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.start
+ /// streaming.start + ///
+ /// + /// + /// Example: f8c1f5bd-edbd-11ee-ac61-06daf6be75b4 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingStartAsync( + global::G.StreamingStartRequestSdp? sdp = default, + string? sessionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingStop.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingStop.g.verified.cs new file mode 100644 index 0000000000..278f6c264a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingStop.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IStreamingAPIClient.StreamingStop.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.stop
+ /// streaming.stop + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingStopAsync( + global::G.StreamingStopRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.stop
+ /// streaming.stop + ///
+ /// + /// Example: <session_id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingStopAsync( + string? sessionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingTask.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingTask.g.verified.cs new file mode 100644 index 0000000000..df959a5890 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.StreamingTask.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IStreamingAPIClient.StreamingTask.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.task
+ /// streaming.task + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingTaskAsync( + global::G.StreamingTaskRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.task
+ /// streaming.task + ///
+ /// + /// Example: <session_id> + /// + /// + /// Example: Hey, there! + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingTaskAsync( + string? sessionId = default, + string? text = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.g.verified.cs new file mode 100644 index 0000000000..b680105a0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IStreamingAPIClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IStreamingAPIClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// HeyGen's **Streaming API** allows developers to seamlessly integrate dynamic digital avatars into their applications for immersive and interactive user experiences. With this API, you can create _virtual assistants, real-time training simulations,_ and more, with a focus on real-time, low-latency communication between _users_ and _avatars_ with power of WebRTC.
+ /// **Guide**: [https://docs.heygen.com/docs/streaming-api](https://docs.heygen.com/docs/streaming-api)**Reference**: [https://docs.heygen.com/reference/new-session](https://docs.heygen.com/reference/new-session)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IStreamingAPIClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V1TalkingPhotoList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V1TalkingPhotoList.g.verified.cs new file mode 100644 index 0000000000..0d07f70420 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V1TalkingPhotoList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITalkingPhotoClient.V1TalkingPhotoList.g.cs +#nullable enable + +namespace G +{ + public partial interface ITalkingPhotoClient + { + /// + /// v1/talking_photo.list
+ /// v1/talking_photo.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1TalkingPhotoListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V1TalkingPhotoUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V1TalkingPhotoUpload.g.verified.cs new file mode 100644 index 0000000000..90a329d9a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V1TalkingPhotoUpload.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITalkingPhotoClient.V1TalkingPhotoUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface ITalkingPhotoClient + { + /// + /// v1/talking_photo (upload)
+ /// v1/talking_photo (upload) + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1TalkingPhotoUploadAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V2TalkingPhotoIdDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V2TalkingPhotoIdDelete.g.verified.cs new file mode 100644 index 0000000000..e058ebd7b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.V2TalkingPhotoIdDelete.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITalkingPhotoClient.V2TalkingPhotoIdDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface ITalkingPhotoClient + { + /// + /// v2/talking_photo/<id> (delete)
+ /// v2/talking_photo/<id> (delete) + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2TalkingPhotoIdDeleteAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.g.verified.cs new file mode 100644 index 0000000000..3672f2dee5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITalkingPhotoClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITalkingPhotoClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// These API endpoints allow you to manage photo avatars in your account.
+ /// **Reference**: [https://docs.heygen.com/reference/upload-talking-photo](https://docs.heygen.com/reference/upload-talking-photo)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITalkingPhotoClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2TemplateGenerate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2TemplateGenerate.g.verified.cs new file mode 100644 index 0000000000..53bd7aa896 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2TemplateGenerate.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ITemplateAPIClient.V2TemplateGenerate.g.cs +#nullable enable + +namespace G +{ + public partial interface ITemplateAPIClient + { + /// + /// v2/template/generate
+ /// Generated Video: [https://app.heygen.com/videos/7cba9d29d6db46b88471221fdbc4fb75](https://app.heygen.com/videos/7cba9d29d6db46b88471221fdbc4fb75)
+ /// <img src="https://resource.heygen.ai/video/gifs/7cba9d29d6db46b88471221fdbc4fb75.gif" alt=""> + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2TemplateGenerateAsync( + global::G.V2TemplateGenerateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// v2/template/generate
+ /// Generated Video: [https://app.heygen.com/videos/7cba9d29d6db46b88471221fdbc4fb75](https://app.heygen.com/videos/7cba9d29d6db46b88471221fdbc4fb75)
+ /// <img src="https://resource.heygen.ai/video/gifs/7cba9d29d6db46b88471221fdbc4fb75.gif" alt=""> + ///
+ /// + /// Example: false + /// + /// + /// + /// Example: false + /// + /// + /// Example: New Video + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2TemplateGenerateAsync( + bool caption = default, + global::G.V2TemplateGenerateRequestDimension? dimension = default, + bool test = default, + string? title = default, + global::G.V2TemplateGenerateRequestVariables? variables = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2TemplateId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2TemplateId.g.verified.cs new file mode 100644 index 0000000000..7145791dff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2TemplateId.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITemplateAPIClient.V2TemplateId.g.cs +#nullable enable + +namespace G +{ + public partial interface ITemplateAPIClient + { + /// + /// v2/template/<id>
+ /// v2/template/<id> + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2TemplateIdAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2Templates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2Templates.g.verified.cs new file mode 100644 index 0000000000..5e64cb9e3a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.V2Templates.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITemplateAPIClient.V2Templates.g.cs +#nullable enable + +namespace G +{ + public partial interface ITemplateAPIClient + { + /// + /// v2/templates
+ /// v2/templates + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2TemplatesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.g.verified.cs new file mode 100644 index 0000000000..f02fafe456 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ITemplateAPIClient.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.ITemplateAPIClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Templates enable you to add and customize existing text, images, videos, audios (coming soon), voices and avatars, while avatar videos consist only of avatars without these elements. If you plan to use it within a workflow and need richer content, templates are likely a better fit for your use case compared to simple talking avatar videos. 🌟
+ /// **Quick Comparison:**
+ /// - **Avatar Videos:** Avatar videos are centered around avatars delivering content without any additional elements. They are ideal for straightforward, avatar-focused communication.
+ ///
+ /// - **Template Videos:** In contrast, template videos offer a wide canvas for creativity. They enable you to customize existing text, images, videos, audios, voices and avatars seamlessly. If you need a richer, more versatile content format for your workflow, templates are the perfect choice.
+ ///
+ /// **Guide**: [https://docs.heygen.com/docs/generate-video-from-template-v2](https://docs.heygen.com/docs/generate-video-from-template-v2)
+ /// **Reference**: [https://docs.heygen.com/reference/generate-from-template-v2](https://docs.heygen.com/reference/generate-from-template-v2)[](https://docs.heygen.com/reference/create-an-avatar-video-v2)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITemplateAPIClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IUserClient.V2UserRemainingQuota.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IUserClient.V2UserRemainingQuota.g.verified.cs new file mode 100644 index 0000000000..a1da4bda4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IUserClient.V2UserRemainingQuota.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUserClient.V2UserRemainingQuota.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// v2/user/remaining_quota
+ /// v2/user/remaining_quota + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2UserRemainingQuotaAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IUserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IUserClient.g.verified.cs new file mode 100644 index 0000000000..0acbb60dc4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IUserClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUserClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Obtain information about your account.
+ /// **Reference**: [https://docs.heygen.com/reference/get-remaining-quota-v2](https://docs.heygen.com/reference/get-remaining-quota-v2)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUserClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslate.g.verified.cs new file mode 100644 index 0000000000..6fdc8b126b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslate.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IVideoTranslateAPIClient.V2VideoTranslate.g.cs +#nullable enable + +namespace G +{ + public partial interface IVideoTranslateAPIClient + { + /// + /// v2/video_translate
+ /// Generated Video: [https://app.heygen.com/video-translation/share/dab5a987e6154b0cb7e606c858043fa9](https://app.heygen.com/video-translation/share/dab5a987e6154b0cb7e606c858043fa9) + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoTranslateAsync( + global::G.V2VideoTranslateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// v2/video_translate
+ /// Generated Video: [https://app.heygen.com/video-translation/share/dab5a987e6154b0cb7e606c858043fa9](https://app.heygen.com/video-translation/share/dab5a987e6154b0cb7e606c858043fa9) + ///
+ /// + /// Example: English - American Accent + /// + /// + /// Example: 1 + /// + /// + /// Example: My Title + /// + /// + /// Example: false + /// + /// + /// Example: https://static.heygen.ai/heygen/asset/originalnew.mp4 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoTranslateAsync( + string? outputLanguage = default, + double speakerNum = default, + string? title = default, + bool translateAudioOnly = default, + string? videoUrl = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateIdStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateIdStatus.g.verified.cs new file mode 100644 index 0000000000..d1325a8ffc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateIdStatus.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IVideoTranslateAPIClient.V2VideoTranslateIdStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IVideoTranslateAPIClient + { + /// + /// v2/video_translate/<id> (status)
+ /// v2/video_translate/<id> (status) + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoTranslateIdStatusAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateTargetLanguages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateTargetLanguages.g.verified.cs new file mode 100644 index 0000000000..d376d5aed6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateTargetLanguages.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IVideoTranslateAPIClient.V2VideoTranslateTargetLanguages.g.cs +#nullable enable + +namespace G +{ + public partial interface IVideoTranslateAPIClient + { + /// + /// v2/video_translate/target_languages
+ /// v2/video_translate/target_languages + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoTranslateTargetLanguagesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.g.verified.cs new file mode 100644 index 0000000000..88244a566b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IVideoTranslateAPIClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IVideoTranslateAPIClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// The [Video Translate](https://labs.heygen.com/video-translate) by HeyGen provides a powerful solution for effortlessly translating videos, integrating natural voice cloning and authentic speaking styles seamlessly. Now, you can harness its capabilities programmatically through the **Video Translate API**!
+ /// **Guide**: [https://docs.heygen.com/docs/video-translate-api](https://docs.heygen.com/docs/video-translate-api)**Reference**: [https://docs.heygen.com/reference/video-translate](https://docs.heygen.com/reference/video-translate)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IVideoTranslateAPIClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointAdd.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointAdd.g.verified.cs new file mode 100644 index 0000000000..5c0edfb07f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointAdd.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IWebhooksClient.V1WebhookEndpointAdd.g.cs +#nullable enable + +namespace G +{ + public partial interface IWebhooksClient + { + /// + /// v1/webhook/endpoint.add
+ /// v1/webhook/endpoint.add + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1WebhookEndpointAddAsync( + global::G.V1WebhookEndpointAddRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// v1/webhook/endpoint.add
+ /// v1/webhook/endpoint.add + ///
+ /// + /// Example: [] + /// + /// + /// Example: <url> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1WebhookEndpointAddAsync( + global::System.Collections.Generic.IList? events = default, + string? url = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointDelete.g.verified.cs new file mode 100644 index 0000000000..90b0bd3ef3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointDelete.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IWebhooksClient.V1WebhookEndpointDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface IWebhooksClient + { + /// + /// v1/webhook/endpoint.delete
+ /// v1/webhook/endpoint.delete + ///
+ /// + /// Example: <endpoint_id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1WebhookEndpointDeleteAsync( + string? endpointId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointList.g.verified.cs new file mode 100644 index 0000000000..dbf29d2c02 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookEndpointList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IWebhooksClient.V1WebhookEndpointList.g.cs +#nullable enable + +namespace G +{ + public partial interface IWebhooksClient + { + /// + /// v1/webhook/endpoint.list
+ /// v1/webhook/endpoint.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1WebhookEndpointListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookWebhookList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookWebhookList.g.verified.cs new file mode 100644 index 0000000000..0242910d25 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.V1WebhookWebhookList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IWebhooksClient.V1WebhookWebhookList.g.cs +#nullable enable + +namespace G +{ + public partial interface IWebhooksClient + { + /// + /// v1/webhook/webhook.list
+ /// v1/webhook/webhook.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1WebhookWebhookListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.g.verified.cs new file mode 100644 index 0000000000..e7d62ca0bc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.IWebhooksClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IWebhooksClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Webhook events are how the **HeyGen** notifies your _endpoints_ when a variety of interactions or events happen, including when avatar video processing _succeeds_ or _fails_. Webhook events are sent by HeyGen as POST requests to your webhook endpoint.
+ /// **Guide**: [https://docs.heygen.com/docs/using-heygens-webhook-events](https://docs.heygen.com/docs/using-heygens-webhook-events)**Reference**: [https://docs.heygen.com/reference/add-a-webhook-endpoint](https://docs.heygen.com/reference/add-a-webhook-endpoint)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IWebhooksClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ListsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ListsClient.g.verified.cs index fe0c19658a..e69ce3f0ad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ListsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.ListsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ListsClient : global::System.IDisposable + public sealed partial class ListsClient : global::G.IListsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.PersonalizedVideoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.PersonalizedVideoClient.g.verified.cs index 304770e94b..722cd69bf0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.PersonalizedVideoClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.PersonalizedVideoClient.g.verified.cs @@ -11,7 +11,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PersonalizedVideoClient : global::System.IDisposable + public sealed partial class PersonalizedVideoClient : global::G.IPersonalizedVideoClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.StreamingAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.StreamingAPIClient.g.verified.cs index 47a18882c8..259a1c6419 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.StreamingAPIClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.StreamingAPIClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class StreamingAPIClient : global::System.IDisposable + public sealed partial class StreamingAPIClient : global::G.IStreamingAPIClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.TalkingPhotoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.TalkingPhotoClient.g.verified.cs index e485599bf0..bb2fe51f62 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.TalkingPhotoClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.TalkingPhotoClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TalkingPhotoClient : global::System.IDisposable + public sealed partial class TalkingPhotoClient : global::G.ITalkingPhotoClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.TemplateAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.TemplateAPIClient.g.verified.cs index 43a2783481..4f92a2d8c1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.TemplateAPIClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.TemplateAPIClient.g.verified.cs @@ -16,7 +16,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TemplateAPIClient : global::System.IDisposable + public sealed partial class TemplateAPIClient : global::G.ITemplateAPIClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.UserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.UserClient.g.verified.cs index d115314133..119fb3c76d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.UserClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.UserClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UserClient : global::System.IDisposable + public sealed partial class UserClient : global::G.IUserClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.VideoTranslateAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.VideoTranslateAPIClient.g.verified.cs index 2b3306cf10..cd131069f7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.VideoTranslateAPIClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.VideoTranslateAPIClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class VideoTranslateAPIClient : global::System.IDisposable + public sealed partial class VideoTranslateAPIClient : global::G.IVideoTranslateAPIClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.WebhooksClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.WebhooksClient.g.verified.cs index 6819acfcb3..97b4840321 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.WebhooksClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/NewtonsoftJson/_#G.WebhooksClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class WebhooksClient : global::System.IDisposable + public sealed partial class WebhooksClient : global::G.IWebhooksClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.g.verified.cs index c97de82afd..963a577b3c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.Api.g.verified.cs @@ -30,7 +30,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class Api : global::System.IDisposable + public sealed partial class Api : global::G.IApi, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.AssetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.AssetsClient.g.verified.cs index 6d9c3c3af8..383f170fb8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.AssetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.AssetsClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class AssetsClient : global::System.IDisposable + public sealed partial class AssetsClient : global::G.IAssetsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.CreateVideoAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.CreateVideoAPIClient.g.verified.cs index a8a4486114..cf4e3184c3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.CreateVideoAPIClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.CreateVideoAPIClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class CreateVideoAPIClient : global::System.IDisposable + public sealed partial class CreateVideoAPIClient : global::G.ICreateVideoAPIClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IApi.V1VideoStatusGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IApi.V1VideoStatusGet.g.verified.cs new file mode 100644 index 0000000000..c212c95f25 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IApi.V1VideoStatusGet.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IApi.V1VideoStatusGet.g.cs +#nullable enable + +namespace G +{ + public partial interface IApi + { + /// + /// v1/video_status.get
+ /// v1/video_status.get + ///
+ /// + /// Example: <video_id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1VideoStatusGetAsync( + string? videoId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IApi.g.verified.cs new file mode 100644 index 0000000000..88cb71b4cf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IApi.g.verified.cs @@ -0,0 +1,113 @@ +//HintName: G.IApi.g.cs + +#nullable enable + +namespace G +{ + /// + /// Welcome to the **HeyGen API** Postman Collection. This collection provides a convenient way to interact with the HeyGen API directly from Postman.
+ /// **Documentation**: [https://docs.heygen.com](https://docs.heygen.com/)
+ /// **Guides**: [https://docs.heygen.com/docs](https://docs.heygen.com/docs/quick-start)**API Reference**: [https://docs.heygen.com/reference](https://docs.heygen.com/reference/authentication-1)
+ /// ## Authorization
+ /// To send requests to the API endpoints, you must use a valid API token. You can get your API token from the [Settings &gt; API ](https://app.heygen.com/settings?nav=API) page in your HeyGen account.
+ /// 1. In Postman, go to the **Environments** tab on the left panel.
+ ///
+ /// 2. Select the **My HeyGen API Environment** environment provided by HeyGen.
+ ///
+ /// 3. Update the `heygen-api-token` value with your current HeyGen API token.
+ ///
+ /// 4. Ensure **My HeyGen API Environment** is selected as the active environment using the environment selector at the top right corner of Postman.
+ ///
+ /// ### 400 response
+ /// A 400 error response typically indicates that your request body is corrupted. To avoid this, ensure that your request body is correctly formatted and includes all necessary elements, such as closing parentheses.
+ /// ### **Need some help?**
+ /// If you need assistance, you can reach out to us through the following channels:
+ /// - **Customer Support Chat:** Available in our web interface.
+ ///
+ /// - **Emails:** api@heygen.com, [support@heygen.com](https://mailto:support@heygen.com)
+ ///
+ /// - **Community Discussions:** Check out our [discussions channel](https://null) – there's a good chance our community has the answer you're looking for.
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IApi : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + /// + /// + /// + public ListsClient Lists { get; } + + /// + /// Create personalized avatar videos with ease using the **HeyGen API**. By selecting an avatar and a voice, you can create engaging videos for various purposes. 🌟
+ /// **Guide**: [https://docs.heygen.com/docs/create-video](https://docs.heygen.com/docs/create-video)**Reference**: [https://docs.heygen.com/reference/create-an-avatar-video-v2](https://docs.heygen.com/reference/create-an-avatar-video-v2) + ///
+ public CreateVideoAPIClient CreateVideoAPI { get; } + + /// + /// Templates enable you to add and customize existing text, images, videos, audios (coming soon), voices and avatars, while avatar videos consist only of avatars without these elements. If you plan to use it within a workflow and need richer content, templates are likely a better fit for your use case compared to simple talking avatar videos. 🌟
+ /// **Quick Comparison:**
+ /// - **Avatar Videos:** Avatar videos are centered around avatars delivering content without any additional elements. They are ideal for straightforward, avatar-focused communication.
+ ///
+ /// - **Template Videos:** In contrast, template videos offer a wide canvas for creativity. They enable you to customize existing text, images, videos, audios, voices and avatars seamlessly. If you need a richer, more versatile content format for your workflow, templates are the perfect choice.
+ ///
+ /// **Guide**: [https://docs.heygen.com/docs/generate-video-from-template-v2](https://docs.heygen.com/docs/generate-video-from-template-v2)
+ /// **Reference**: [https://docs.heygen.com/reference/generate-from-template-v2](https://docs.heygen.com/reference/generate-from-template-v2)[](https://docs.heygen.com/reference/create-an-avatar-video-v2) + ///
+ public TemplateAPIClient TemplateAPI { get; } + + /// + /// The [Video Translate](https://labs.heygen.com/video-translate) by HeyGen provides a powerful solution for effortlessly translating videos, integrating natural voice cloning and authentic speaking styles seamlessly. Now, you can harness its capabilities programmatically through the **Video Translate API**!
+ /// **Guide**: [https://docs.heygen.com/docs/video-translate-api](https://docs.heygen.com/docs/video-translate-api)**Reference**: [https://docs.heygen.com/reference/video-translate](https://docs.heygen.com/reference/video-translate) + ///
+ public VideoTranslateAPIClient VideoTranslateAPI { get; } + + /// + /// HeyGen's **Streaming API** allows developers to seamlessly integrate dynamic digital avatars into their applications for immersive and interactive user experiences. With this API, you can create _virtual assistants, real-time training simulations,_ and more, with a focus on real-time, low-latency communication between _users_ and _avatars_ with power of WebRTC.
+ /// **Guide**: [https://docs.heygen.com/docs/streaming-api](https://docs.heygen.com/docs/streaming-api)**Reference**: [https://docs.heygen.com/reference/new-session](https://docs.heygen.com/reference/new-session) + ///
+ public StreamingAPIClient StreamingAPI { get; } + + /// + /// Webhook events are how the **HeyGen** notifies your _endpoints_ when a variety of interactions or events happen, including when avatar video processing _succeeds_ or _fails_. Webhook events are sent by HeyGen as POST requests to your webhook endpoint.
+ /// **Guide**: [https://docs.heygen.com/docs/using-heygens-webhook-events](https://docs.heygen.com/docs/using-heygens-webhook-events)**Reference**: [https://docs.heygen.com/reference/add-a-webhook-endpoint](https://docs.heygen.com/reference/add-a-webhook-endpoint) + ///
+ public WebhooksClient Webhooks { get; } + + /// + /// These API endpoints allow you to manage photo avatars in your account.
+ /// **Reference**: [https://docs.heygen.com/reference/upload-talking-photo](https://docs.heygen.com/reference/upload-talking-photo) + ///
+ public TalkingPhotoClient TalkingPhoto { get; } + + /// + /// Import contacts into your HeyGen **Personalized Video** campaign. 
+ /// **Guide**: [https://docs.heygen.com/docs/import-contacts-via-api](https://docs.heygen.com/docs/import-contacts-via-api)
+ /// Reference: [https://docs.heygen.com/reference/add-contact](https://docs.heygen.com/reference/add-contact) + ///
+ public PersonalizedVideoClient PersonalizedVideo { get; } + + /// + /// Obtain information about your account.
+ /// **Reference**: [https://docs.heygen.com/reference/get-remaining-quota-v2](https://docs.heygen.com/reference/get-remaining-quota-v2) + ///
+ public UserClient User { get; } + + /// + /// Upload an image or video asset to your account.
+ /// **Reference**: [https://docs.heygen.com/reference/upload-asset-1](https://docs.heygen.com/reference/upload-asset-1) + ///
+ public AssetsClient Assets { get; } + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IAssetsClient.V1AssetUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IAssetsClient.V1AssetUpload.g.verified.cs new file mode 100644 index 0000000000..0cfb6d5033 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IAssetsClient.V1AssetUpload.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IAssetsClient.V1AssetUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface IAssetsClient + { + /// + /// v1/asset (upload)
+ /// v1/asset (upload) + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1AssetUploadAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IAssetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IAssetsClient.g.verified.cs new file mode 100644 index 0000000000..8e009c56eb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IAssetsClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IAssetsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Upload an image or video asset to your account.
+ /// **Reference**: [https://docs.heygen.com/reference/upload-asset-1](https://docs.heygen.com/reference/upload-asset-1)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAssetsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.V1VideoDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.V1VideoDelete.g.verified.cs new file mode 100644 index 0000000000..b285585df2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.V1VideoDelete.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.ICreateVideoAPIClient.V1VideoDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface ICreateVideoAPIClient + { + /// + /// v1/video.delete
+ /// v1/video.delete + ///
+ /// + /// Example: <video_id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1VideoDeleteAsync( + string? videoId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.V2VideoGenerate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.V2VideoGenerate.g.verified.cs new file mode 100644 index 0000000000..9c08d14f60 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.V2VideoGenerate.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.ICreateVideoAPIClient.V2VideoGenerate.g.cs +#nullable enable + +namespace G +{ + public partial interface ICreateVideoAPIClient + { + /// + /// v2/video/generate
+ /// Generated Video: [https://app.heygen.com/share/67cd13935445457eaa99040070bdb545](https://app.heygen.com/share/67cd13935445457eaa99040070bdb545)
+ /// <img src="https://resource.heygen.ai/video/gifs/67cd13935445457eaa99040070bdb545.gif" alt=""> + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoGenerateAsync( + global::G.V2VideoGenerateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// v2/video/generate
+ /// Generated Video: [https://app.heygen.com/share/67cd13935445457eaa99040070bdb545](https://app.heygen.com/share/67cd13935445457eaa99040070bdb545)
+ /// <img src="https://resource.heygen.ai/video/gifs/67cd13935445457eaa99040070bdb545.gif" alt=""> + ///
+ /// + /// + /// + /// + /// Example: true + /// + /// + /// Example: My Title + /// + /// + /// Example: [] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoGenerateAsync( + global::G.V2VideoGenerateRequestAspectRatio? aspectRatio = default, + global::G.V2VideoGenerateRequestCallbackId? callbackId = default, + global::G.V2VideoGenerateRequestDimension? dimension = default, + bool test = default, + string? title = default, + global::System.Collections.Generic.IList? videoInputs = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.g.verified.cs new file mode 100644 index 0000000000..b039f33ecd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ICreateVideoAPIClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ICreateVideoAPIClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Create personalized avatar videos with ease using the **HeyGen API**. By selecting an avatar and a voice, you can create engaging videos for various purposes. 🌟
+ /// **Guide**: [https://docs.heygen.com/docs/create-video](https://docs.heygen.com/docs/create-video)**Reference**: [https://docs.heygen.com/reference/create-an-avatar-video-v2](https://docs.heygen.com/reference/create-an-avatar-video-v2)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ICreateVideoAPIClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1AvatarList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1AvatarList.g.verified.cs new file mode 100644 index 0000000000..47d68c48fe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1AvatarList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IListsClient.V1AvatarList.g.cs +#nullable enable + +namespace G +{ + public partial interface IListsClient + { + /// + /// v1/avatar.list
+ /// v1/avatar.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1AvatarListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1VideoList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1VideoList.g.verified.cs new file mode 100644 index 0000000000..8b27ec5610 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1VideoList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IListsClient.V1VideoList.g.cs +#nullable enable + +namespace G +{ + public partial interface IListsClient + { + /// + /// v1/video.list
+ /// v1/video.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1VideoListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1VoiceList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1VoiceList.g.verified.cs new file mode 100644 index 0000000000..1b18059c74 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V1VoiceList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IListsClient.V1VoiceList.g.cs +#nullable enable + +namespace G +{ + public partial interface IListsClient + { + /// + /// v1/voice.list
+ /// v1/voice.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1VoiceListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V2Avatars.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V2Avatars.g.verified.cs new file mode 100644 index 0000000000..b436ba2e20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V2Avatars.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IListsClient.V2Avatars.g.cs +#nullable enable + +namespace G +{ + public partial interface IListsClient + { + /// + /// v2/avatars
+ /// v2/avatars + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2AvatarsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V2Voices.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V2Voices.g.verified.cs new file mode 100644 index 0000000000..eec8c86ad7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.V2Voices.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IListsClient.V2Voices.g.cs +#nullable enable + +namespace G +{ + public partial interface IListsClient + { + /// + /// v2/voices
+ /// v2/voices + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VoicesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.g.verified.cs new file mode 100644 index 0000000000..95b9793443 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IListsClient.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.IListsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IListsClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAddContact.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAddContact.g.verified.cs new file mode 100644 index 0000000000..ba208f99c5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAddContact.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IPersonalizedVideoClient.PersonalizedVideoAddContact.g.cs +#nullable enable + +namespace G +{ + public partial interface IPersonalizedVideoClient + { + /// + /// personalized_video/add_contact
+ /// personalized_video/add_contact + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PersonalizedVideoAddContactAsync( + global::G.PersonalizedVideoAddContactRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// personalized_video/add_contact
+ /// personalized_video/add_contact + ///
+ /// + /// Example: <project_id> + /// + /// + /// Example: [] + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PersonalizedVideoAddContactAsync( + string? projectId = default, + global::System.Collections.Generic.IList? variablesList = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAudienceDetail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAudienceDetail.g.verified.cs new file mode 100644 index 0000000000..4aa33b19fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoAudienceDetail.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IPersonalizedVideoClient.PersonalizedVideoAudienceDetail.g.cs +#nullable enable + +namespace G +{ + public partial interface IPersonalizedVideoClient + { + /// + /// personalized_video/audience/detail
+ /// personalized_video/audience/detail + ///
+ /// + /// Example: <video-id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PersonalizedVideoAudienceDetailAsync( + string? id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoProjectDetail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoProjectDetail.g.verified.cs new file mode 100644 index 0000000000..8b0554523c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.PersonalizedVideoProjectDetail.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IPersonalizedVideoClient.PersonalizedVideoProjectDetail.g.cs +#nullable enable + +namespace G +{ + public partial interface IPersonalizedVideoClient + { + /// + /// personalized_video/project/detail
+ /// personalized_video/project/detail + ///
+ /// + /// Example: <project-id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task PersonalizedVideoProjectDetailAsync( + string? id = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.g.verified.cs new file mode 100644 index 0000000000..66eae13bd0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IPersonalizedVideoClient.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IPersonalizedVideoClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Import contacts into your HeyGen **Personalized Video** campaign. 
+ /// **Guide**: [https://docs.heygen.com/docs/import-contacts-via-api](https://docs.heygen.com/docs/import-contacts-via-api)
+ /// Reference: [https://docs.heygen.com/reference/add-contact](https://docs.heygen.com/reference/add-contact)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IPersonalizedVideoClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingAvatarList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingAvatarList.g.verified.cs new file mode 100644 index 0000000000..b43358fdee --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingAvatarList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IStreamingAPIClient.StreamingAvatarList.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming/avatar.list
+ /// streaming/avatar.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingAvatarListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingCreateToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingCreateToken.g.verified.cs new file mode 100644 index 0000000000..86a6caa4d0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingCreateToken.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IStreamingAPIClient.StreamingCreateToken.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.create_token
+ /// streaming.create_token + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingCreateTokenAsync( + global::G.StreamingCreateTokenRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.create_token
+ /// streaming.create_token + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingCreateTokenAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingIce.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingIce.g.verified.cs new file mode 100644 index 0000000000..84d26b461b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingIce.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IStreamingAPIClient.StreamingIce.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.ice
+ /// streaming.ice + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingIceAsync( + global::G.StreamingIceRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.ice
+ /// streaming.ice + ///
+ /// + /// + /// Example: <SESSION_ID> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingIceAsync( + global::G.StreamingIceRequestCandidate? candidate = default, + string? sessionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingInterrupt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingInterrupt.g.verified.cs new file mode 100644 index 0000000000..56a826eb71 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingInterrupt.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IStreamingAPIClient.StreamingInterrupt.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.interrupt
+ /// This is endpoint is to interrupt a speaking avatar. If the avatar is not speaking, it doesn't do anything. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingInterruptAsync( + global::G.StreamingInterruptRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.interrupt
+ /// This is endpoint is to interrupt a speaking avatar. If the avatar is not speaking, it doesn't do anything. + ///
+ /// + /// Example: <session_id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingInterruptAsync( + string? sessionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingList.g.verified.cs new file mode 100644 index 0000000000..026aaa6491 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IStreamingAPIClient.StreamingList.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.list
+ /// streaming.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingNew.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingNew.g.verified.cs new file mode 100644 index 0000000000..cc357f7b45 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingNew.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IStreamingAPIClient.StreamingNew.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.new
+ /// streaming.new + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingNewAsync( + global::G.StreamingNewRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.new
+ /// streaming.new + ///
+ /// + /// Example: medium + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingNewAsync( + string? quality = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingStart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingStart.g.verified.cs new file mode 100644 index 0000000000..8ef28222db --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingStart.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IStreamingAPIClient.StreamingStart.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.start
+ /// streaming.start + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingStartAsync( + global::G.StreamingStartRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.start
+ /// streaming.start + ///
+ /// + /// + /// Example: f8c1f5bd-edbd-11ee-ac61-06daf6be75b4 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingStartAsync( + global::G.StreamingStartRequestSdp? sdp = default, + string? sessionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingStop.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingStop.g.verified.cs new file mode 100644 index 0000000000..278f6c264a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingStop.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IStreamingAPIClient.StreamingStop.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.stop
+ /// streaming.stop + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingStopAsync( + global::G.StreamingStopRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.stop
+ /// streaming.stop + ///
+ /// + /// Example: <session_id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingStopAsync( + string? sessionId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingTask.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingTask.g.verified.cs new file mode 100644 index 0000000000..df959a5890 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.StreamingTask.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IStreamingAPIClient.StreamingTask.g.cs +#nullable enable + +namespace G +{ + public partial interface IStreamingAPIClient + { + /// + /// streaming.task
+ /// streaming.task + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingTaskAsync( + global::G.StreamingTaskRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// streaming.task
+ /// streaming.task + ///
+ /// + /// Example: <session_id> + /// + /// + /// Example: Hey, there! + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamingTaskAsync( + string? sessionId = default, + string? text = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.g.verified.cs new file mode 100644 index 0000000000..4d53dd7361 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IStreamingAPIClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IStreamingAPIClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// HeyGen's **Streaming API** allows developers to seamlessly integrate dynamic digital avatars into their applications for immersive and interactive user experiences. With this API, you can create _virtual assistants, real-time training simulations,_ and more, with a focus on real-time, low-latency communication between _users_ and _avatars_ with power of WebRTC.
+ /// **Guide**: [https://docs.heygen.com/docs/streaming-api](https://docs.heygen.com/docs/streaming-api)**Reference**: [https://docs.heygen.com/reference/new-session](https://docs.heygen.com/reference/new-session)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IStreamingAPIClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V1TalkingPhotoList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V1TalkingPhotoList.g.verified.cs new file mode 100644 index 0000000000..0d07f70420 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V1TalkingPhotoList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITalkingPhotoClient.V1TalkingPhotoList.g.cs +#nullable enable + +namespace G +{ + public partial interface ITalkingPhotoClient + { + /// + /// v1/talking_photo.list
+ /// v1/talking_photo.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1TalkingPhotoListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V1TalkingPhotoUpload.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V1TalkingPhotoUpload.g.verified.cs new file mode 100644 index 0000000000..90a329d9a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V1TalkingPhotoUpload.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITalkingPhotoClient.V1TalkingPhotoUpload.g.cs +#nullable enable + +namespace G +{ + public partial interface ITalkingPhotoClient + { + /// + /// v1/talking_photo (upload)
+ /// v1/talking_photo (upload) + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1TalkingPhotoUploadAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V2TalkingPhotoIdDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V2TalkingPhotoIdDelete.g.verified.cs new file mode 100644 index 0000000000..e058ebd7b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.V2TalkingPhotoIdDelete.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITalkingPhotoClient.V2TalkingPhotoIdDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface ITalkingPhotoClient + { + /// + /// v2/talking_photo/<id> (delete)
+ /// v2/talking_photo/<id> (delete) + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2TalkingPhotoIdDeleteAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.g.verified.cs new file mode 100644 index 0000000000..a7e5b1a6a5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITalkingPhotoClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.ITalkingPhotoClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// These API endpoints allow you to manage photo avatars in your account.
+ /// **Reference**: [https://docs.heygen.com/reference/upload-talking-photo](https://docs.heygen.com/reference/upload-talking-photo)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITalkingPhotoClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2TemplateGenerate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2TemplateGenerate.g.verified.cs new file mode 100644 index 0000000000..53bd7aa896 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2TemplateGenerate.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.ITemplateAPIClient.V2TemplateGenerate.g.cs +#nullable enable + +namespace G +{ + public partial interface ITemplateAPIClient + { + /// + /// v2/template/generate
+ /// Generated Video: [https://app.heygen.com/videos/7cba9d29d6db46b88471221fdbc4fb75](https://app.heygen.com/videos/7cba9d29d6db46b88471221fdbc4fb75)
+ /// <img src="https://resource.heygen.ai/video/gifs/7cba9d29d6db46b88471221fdbc4fb75.gif" alt=""> + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2TemplateGenerateAsync( + global::G.V2TemplateGenerateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// v2/template/generate
+ /// Generated Video: [https://app.heygen.com/videos/7cba9d29d6db46b88471221fdbc4fb75](https://app.heygen.com/videos/7cba9d29d6db46b88471221fdbc4fb75)
+ /// <img src="https://resource.heygen.ai/video/gifs/7cba9d29d6db46b88471221fdbc4fb75.gif" alt=""> + ///
+ /// + /// Example: false + /// + /// + /// + /// Example: false + /// + /// + /// Example: New Video + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2TemplateGenerateAsync( + bool caption = default, + global::G.V2TemplateGenerateRequestDimension? dimension = default, + bool test = default, + string? title = default, + global::G.V2TemplateGenerateRequestVariables? variables = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2TemplateId.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2TemplateId.g.verified.cs new file mode 100644 index 0000000000..7145791dff --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2TemplateId.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITemplateAPIClient.V2TemplateId.g.cs +#nullable enable + +namespace G +{ + public partial interface ITemplateAPIClient + { + /// + /// v2/template/<id>
+ /// v2/template/<id> + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2TemplateIdAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2Templates.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2Templates.g.verified.cs new file mode 100644 index 0000000000..5e64cb9e3a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.V2Templates.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.ITemplateAPIClient.V2Templates.g.cs +#nullable enable + +namespace G +{ + public partial interface ITemplateAPIClient + { + /// + /// v2/templates
+ /// v2/templates + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2TemplatesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.g.verified.cs new file mode 100644 index 0000000000..d1c44b1b0e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ITemplateAPIClient.g.verified.cs @@ -0,0 +1,33 @@ +//HintName: G.ITemplateAPIClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Templates enable you to add and customize existing text, images, videos, audios (coming soon), voices and avatars, while avatar videos consist only of avatars without these elements. If you plan to use it within a workflow and need richer content, templates are likely a better fit for your use case compared to simple talking avatar videos. 🌟
+ /// **Quick Comparison:**
+ /// - **Avatar Videos:** Avatar videos are centered around avatars delivering content without any additional elements. They are ideal for straightforward, avatar-focused communication.
+ ///
+ /// - **Template Videos:** In contrast, template videos offer a wide canvas for creativity. They enable you to customize existing text, images, videos, audios, voices and avatars seamlessly. If you need a richer, more versatile content format for your workflow, templates are the perfect choice.
+ ///
+ /// **Guide**: [https://docs.heygen.com/docs/generate-video-from-template-v2](https://docs.heygen.com/docs/generate-video-from-template-v2)
+ /// **Reference**: [https://docs.heygen.com/reference/generate-from-template-v2](https://docs.heygen.com/reference/generate-from-template-v2)[](https://docs.heygen.com/reference/create-an-avatar-video-v2)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface ITemplateAPIClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IUserClient.V2UserRemainingQuota.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IUserClient.V2UserRemainingQuota.g.verified.cs new file mode 100644 index 0000000000..a1da4bda4d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IUserClient.V2UserRemainingQuota.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IUserClient.V2UserRemainingQuota.g.cs +#nullable enable + +namespace G +{ + public partial interface IUserClient + { + /// + /// v2/user/remaining_quota
+ /// v2/user/remaining_quota + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2UserRemainingQuotaAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IUserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IUserClient.g.verified.cs new file mode 100644 index 0000000000..402dda4ae2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IUserClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IUserClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Obtain information about your account.
+ /// **Reference**: [https://docs.heygen.com/reference/get-remaining-quota-v2](https://docs.heygen.com/reference/get-remaining-quota-v2)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IUserClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslate.g.verified.cs new file mode 100644 index 0000000000..6fdc8b126b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslate.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.IVideoTranslateAPIClient.V2VideoTranslate.g.cs +#nullable enable + +namespace G +{ + public partial interface IVideoTranslateAPIClient + { + /// + /// v2/video_translate
+ /// Generated Video: [https://app.heygen.com/video-translation/share/dab5a987e6154b0cb7e606c858043fa9](https://app.heygen.com/video-translation/share/dab5a987e6154b0cb7e606c858043fa9) + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoTranslateAsync( + global::G.V2VideoTranslateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// v2/video_translate
+ /// Generated Video: [https://app.heygen.com/video-translation/share/dab5a987e6154b0cb7e606c858043fa9](https://app.heygen.com/video-translation/share/dab5a987e6154b0cb7e606c858043fa9) + ///
+ /// + /// Example: English - American Accent + /// + /// + /// Example: 1 + /// + /// + /// Example: My Title + /// + /// + /// Example: false + /// + /// + /// Example: https://static.heygen.ai/heygen/asset/originalnew.mp4 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoTranslateAsync( + string? outputLanguage = default, + double speakerNum = default, + string? title = default, + bool translateAudioOnly = default, + string? videoUrl = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateIdStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateIdStatus.g.verified.cs new file mode 100644 index 0000000000..d1325a8ffc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateIdStatus.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IVideoTranslateAPIClient.V2VideoTranslateIdStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IVideoTranslateAPIClient + { + /// + /// v2/video_translate/<id> (status)
+ /// v2/video_translate/<id> (status) + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoTranslateIdStatusAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateTargetLanguages.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateTargetLanguages.g.verified.cs new file mode 100644 index 0000000000..d376d5aed6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.V2VideoTranslateTargetLanguages.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IVideoTranslateAPIClient.V2VideoTranslateTargetLanguages.g.cs +#nullable enable + +namespace G +{ + public partial interface IVideoTranslateAPIClient + { + /// + /// v2/video_translate/target_languages
+ /// v2/video_translate/target_languages + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V2VideoTranslateTargetLanguagesAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.g.verified.cs new file mode 100644 index 0000000000..e11c29a5f8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IVideoTranslateAPIClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IVideoTranslateAPIClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// The [Video Translate](https://labs.heygen.com/video-translate) by HeyGen provides a powerful solution for effortlessly translating videos, integrating natural voice cloning and authentic speaking styles seamlessly. Now, you can harness its capabilities programmatically through the **Video Translate API**!
+ /// **Guide**: [https://docs.heygen.com/docs/video-translate-api](https://docs.heygen.com/docs/video-translate-api)**Reference**: [https://docs.heygen.com/reference/video-translate](https://docs.heygen.com/reference/video-translate)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IVideoTranslateAPIClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointAdd.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointAdd.g.verified.cs new file mode 100644 index 0000000000..5c0edfb07f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointAdd.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IWebhooksClient.V1WebhookEndpointAdd.g.cs +#nullable enable + +namespace G +{ + public partial interface IWebhooksClient + { + /// + /// v1/webhook/endpoint.add
+ /// v1/webhook/endpoint.add + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1WebhookEndpointAddAsync( + global::G.V1WebhookEndpointAddRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// v1/webhook/endpoint.add
+ /// v1/webhook/endpoint.add + ///
+ /// + /// Example: [] + /// + /// + /// Example: <url> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1WebhookEndpointAddAsync( + global::System.Collections.Generic.IList? events = default, + string? url = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointDelete.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointDelete.g.verified.cs new file mode 100644 index 0000000000..90b0bd3ef3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointDelete.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IWebhooksClient.V1WebhookEndpointDelete.g.cs +#nullable enable + +namespace G +{ + public partial interface IWebhooksClient + { + /// + /// v1/webhook/endpoint.delete
+ /// v1/webhook/endpoint.delete + ///
+ /// + /// Example: <endpoint_id> + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1WebhookEndpointDeleteAsync( + string? endpointId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointList.g.verified.cs new file mode 100644 index 0000000000..dbf29d2c02 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookEndpointList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IWebhooksClient.V1WebhookEndpointList.g.cs +#nullable enable + +namespace G +{ + public partial interface IWebhooksClient + { + /// + /// v1/webhook/endpoint.list
+ /// v1/webhook/endpoint.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1WebhookEndpointListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookWebhookList.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookWebhookList.g.verified.cs new file mode 100644 index 0000000000..0242910d25 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.V1WebhookWebhookList.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IWebhooksClient.V1WebhookWebhookList.g.cs +#nullable enable + +namespace G +{ + public partial interface IWebhooksClient + { + /// + /// v1/webhook/webhook.list
+ /// v1/webhook/webhook.list + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task V1WebhookWebhookListAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.g.verified.cs new file mode 100644 index 0000000000..b2aaad9a7b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.IWebhooksClient.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.IWebhooksClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// Webhook events are how the **HeyGen** notifies your _endpoints_ when a variety of interactions or events happen, including when avatar video processing _succeeds_ or _fails_. Webhook events are sent by HeyGen as POST requests to your webhook endpoint.
+ /// **Guide**: [https://docs.heygen.com/docs/using-heygens-webhook-events](https://docs.heygen.com/docs/using-heygens-webhook-events)**Reference**: [https://docs.heygen.com/reference/add-a-webhook-endpoint](https://docs.heygen.com/reference/add-a-webhook-endpoint)
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IWebhooksClient : global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = "https://api.heygen.com"; + + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ListsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ListsClient.g.verified.cs index 35ef8f514a..e90e6458fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ListsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.ListsClient.g.verified.cs @@ -8,7 +8,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class ListsClient : global::System.IDisposable + public sealed partial class ListsClient : global::G.IListsClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.PersonalizedVideoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.PersonalizedVideoClient.g.verified.cs index 3aeb1d5e9e..87368960d1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.PersonalizedVideoClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.PersonalizedVideoClient.g.verified.cs @@ -11,7 +11,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class PersonalizedVideoClient : global::System.IDisposable + public sealed partial class PersonalizedVideoClient : global::G.IPersonalizedVideoClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.StreamingAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.StreamingAPIClient.g.verified.cs index e90c13b83d..a2b498b971 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.StreamingAPIClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.StreamingAPIClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class StreamingAPIClient : global::System.IDisposable + public sealed partial class StreamingAPIClient : global::G.IStreamingAPIClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.TalkingPhotoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.TalkingPhotoClient.g.verified.cs index dbb523f1dc..f613e6cda1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.TalkingPhotoClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.TalkingPhotoClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TalkingPhotoClient : global::System.IDisposable + public sealed partial class TalkingPhotoClient : global::G.ITalkingPhotoClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.TemplateAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.TemplateAPIClient.g.verified.cs index 924865ac73..6340f3cf3d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.TemplateAPIClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.TemplateAPIClient.g.verified.cs @@ -16,7 +16,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class TemplateAPIClient : global::System.IDisposable + public sealed partial class TemplateAPIClient : global::G.ITemplateAPIClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.UserClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.UserClient.g.verified.cs index f31fc92f64..b4575a6f49 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.UserClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.UserClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class UserClient : global::System.IDisposable + public sealed partial class UserClient : global::G.IUserClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.VideoTranslateAPIClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.VideoTranslateAPIClient.g.verified.cs index 2fac9709ee..d36724dbe6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.VideoTranslateAPIClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.VideoTranslateAPIClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class VideoTranslateAPIClient : global::System.IDisposable + public sealed partial class VideoTranslateAPIClient : global::G.IVideoTranslateAPIClient, global::System.IDisposable { /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.WebhooksClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.WebhooksClient.g.verified.cs index f8774e208a..51ccfb17d6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.WebhooksClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/heygen/SystemTextJson/_#G.WebhooksClient.g.verified.cs @@ -10,7 +10,7 @@ namespace G /// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. ///
- public sealed partial class WebhooksClient : global::System.IDisposable + public sealed partial class WebhooksClient : global::G.IWebhooksClient, global::System.IDisposable { /// ///